button on contact form not working

Hello!
tring to integrate netlify form for submishons i notice that the button in Form.astro its not responding. I used old versino befor adding '~/components/ui/Button.astro' component and it worked on clik now its not.

Hi @SveDar
Thanks for the feedback, you are correct. When we updated from <button> to <Button> we didn't take this into account.
It is already resolved in: https://github.com/onwidget/astrowind/commit/9818cd08b86c85f95a0789a79c1631135be80a7d


gittyup: init at 1.2.2

Description of changes

Things done

Built on platform(s)

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

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

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

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

[x] Fits CONTRIBUTING.md.

CC @superherointj @AndersonTorres

CC @superherointj.

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

1 package built:

gittyup


Renamed some field names to remove confusion

We'll be introducing node object in the next PR,
this will differentiate betweeen node name, node ip and node object.
Sub.Sub is confusing, Subnet is used for referring object and
SubnetIP for the subnetwork IP.

@rajatchopra @danwinship PTAL

Looks good. Did you run gofmt on it? Looks off.. or travis will tell anyway.

yes, I did gofmt on the changed files


Stored XSS #1

Hi,
I am a security researcher and I found a stored xss vulnerability.
Steps:

Go to https://www.secretsantaorganizer.com
Fill the fields. Please look at the attachment (photo).
Click "Create your event!" button.
You will see xss alert.

Photo: https://i.hizliresim.com/Ll0Rmb.jpg
PoC: https://www.secretsantaorganizer.com/created/lbn48m5mh68s88cgc4gw8kg4c0wg0oc
Regards.

see #445


Feature request

Did you have also create a script to generate the logo.h from a image (png/bmp/..) file?
Ciao,
Francesco.

I think I used GIMP to convert to black&white with dithering, and then exported it as a "C header file". The format of a test image I just exported like that, looks identical to what i have in 3dxdisp.

Thanks! I try with GIMP. Do you remember which is size in pixel of the image?

Certainly, it's in the example program: 240x64


Windows compile error

By default there will be a compile error in most Visual Studio projects due to a Windows macro for min and max. You can fix this by replacing this line in picojson.h:
if (errno == 0 && std::numeric_limits<int64_t>::min() <= ival && ival <= std::numeric_limits<int64_t>::max() &&
With this:
if (errno == 0 && (std::numeric_limits<int64_t>::min)() <= ival && ival <= (std::numeric_limits<int64_t>::max)() &&

tinygltf does not use picojson.h anymore. devel is primary branch and master is too old and at some point master will be replaced by devel. So please use devel branch.

In the branches folder, I see a folder called "devel-picojson". Is that what you are referring to?


Implemented snapshot loading capabilities

Signed-off-by: David Son<EMAIL_ADDRESS>Taking most of the code from #348 and modifying it a bit, I was able to implement the ability to load snapshots as an option within the Start function in machine.go via WithSnapshot. This fixes the issue addressed in #348, where machine.go exposing LoadSnapshot function in said PR was deemed suboptimal due to its guaranteed failure outside of the scope of Start.
The actual implemention in opts.go initially felt a bit messy, as I felt the extra added imports made it clunky, but @austinvazquez and I looked over it today and decided it was fine given that it ultimately did similar things compared to other options, but feel free to disagree below if you feel otherwise.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Made changes that included both a config file and an extra handler to load snapshots, so that we can choose when to call it during device setup.
I tried to do @kzys's approach of having LoadSnapshotHandler after AttachDrivesHandler but having either one in front of the other makes Firecracker unhappy and gives me an error saying that whatever handler is called second cannot be called after start config is set (e.g. AttachDrivesHandler -> LoadSnapshotHandler makes Firecracker complain about LoadSnapshotHandler, while LoadSnapshotHandler -> AttachDrivesHandler makes Firecracker complain about LoadSnapshot handler, both for the same reason). Based on this information, I feel like either a. Attaching drives is handled by loading the snapshot, or b. I'm not fully understanding how LoadSnapshot works.
In any case, the above seems to run fine, so take that as you will. I'm planning on adding some testing tomorrow to make sure that the proper snapshot is being loaded. This will be done as follows:

Create MicroVM
ssh into it
Run sleep 492 (or some other weird uncommon value)
Run CreateSnapshot
Close the VM
Create another MicroVM loaded from that snapshot
ssh into that
see if ps -aux | grep "sleep 492" returns more than one line

If said test succeeds, we can assume that said snapshot is properly loaded and forget about it, but I also would like to make sure I fully understand this to ensure we're not skipping over anything crucial.

Worth mentioning the install step seems to be flaky — sometimes it doesn't set up the loop device during mounting (e.g. the install step in this build, line 83), but just restarting the test makes it run fine. Unsure of cause but good to document in my opinion.


When creating a venv pay attention to preferred Python version set via PY_PYTHON

As of uv 0.2.37 (15dfb660a 2024-08-15) the environment variable PY_PYTHON is ignored. On my windows system I have 3.12 set as default version via the environment variable PY_PYTHON but have also 3.13.0rc1 installed.
C:\Users\david\MyProg\temp>echo %PY_PYTHON%
3.12

C:\Users\david\MyProg\temp>uv venv
Using Python 3.13.0rc1 interpreter at: C:\dev\Python313\python.exe
Creating virtualenv at: .venv
Activate with: .venv\Scripts\activate

C:\Users\david\MyProg\temp>py -m venv .venv_py
C:\Users\david\MyProg\temp>.venv_py\Scripts\activate
(.venv_py) C:\Users\david\MyProg\temp>python --version
Python 3.12.5

Feature request:
Read the preferred Python version for the virtual env from the env var PY_PYTHON (at least on Windows). This variable is used by the launcher and documented in the Python documentation under customizing-default-python-versions.

Interesting, somehow I've never heard of PY_PYTHON. \cc @zanieb

I just discovered "pin" and thought that uv python pin 3.12 might configure uv to create a 3.12 venv by default afterwards but it doesn't. Then I found #4972 which seems to address this use case already.


'animal organ development' logical definition doesn't match label

The logical definition for animal organ development is:
 'anatomical structure development'
 and ('results in development of' some organ)

This isn't restricted to animals. I think either the existential restriction should become a relation, or else should relate 'animal organ' (which is probably not a term).

I think this is right - since 'organ' is from UBERON, it is implicitely animal.
For plants there is PPO:0009008 'plant organ'.
Is that not OK?

'organ' is in the common_anatomy subset of Uberon, which applies to animals, plants, and fungi.

Ah ok ! thanks
What is the animal-specific term?

I don't think there is one; for that reason I don't think this term can have an equivalent class expression.

The textual definition as well as the reference Wikipedia:Organogenesis does not specify animal. Thus I think it makes sense to change the label to "organ development".

Let's remove the logical definition and close this ticket.
Overall the GO development branch needs a lot of work but rather than discussing this in a fragmented fashion across multiple tickets, let us tackle this top-down. Recall we have an outline doc here: https://docs.google.com/document/d/1FafBfb44nAk-7PwUDj42XQLgwJYxPdq8ec4n-cWwKkg/edit


Search similar issues before creating it

I'm not that sure about how to implement this, but plugins repos are getting flooded with duplicate issues reported by deprecation-cop (see, for example, thomaslindstrom/color-picker#49, thomaslindstrom/color-picker#48, thomaslindstrom/color-picker#50 and thomaslindstrom/color-picker#52).
May be querying GitHub's api to check if there already is an issue with the same subject would work - as the subjects are being auto-generated.

This might be best handled in the notifications repo since that's the package that asks users to submit a bug report.  Could you reopen this issue over there?

Thanks, @50Wliu - it seems there's already an issue for this there.

This is slightly different. Deprecation cop has a link in the interface that is always create issue on *. No searching happens.

Oh, sorry.   I've had people create about 20 dupes over the past day because of the atom.services deprecation. Most assume some checking already occurs, and then feel bad for creating the dupes once they are made aware.
Not absolutely essential, but certainly a nice to have.

+1. I just created another dupe and deleted it after a while.

I've thought about a dupe finder service that basically uses Bayesian pattern matching to determine if a given bunch of text is a dupe of a currently open or closed bug. It would be best at finding the ones that people report often, of course, but I think that would be the biggest bang for the buck anyway.
Yet another one of those projects that I need to find time to get around to one day.

Just finding exact-matching title's would be a great improvement - since Atom is on the run to 1.0, lots of issues are being created from that button. A better, long term solution would be great, but I think that a quick fix would help a lot now.

I've thought about a dupe finder service that basically uses Bayesian pattern matching to determine if a given bunch of text is a dupe of a currently open or closed bug.

I like this idea. Even a module that does something naive like notifications would be nice. It would be good to have something reusable. I think it should just be an npm module, though, rather than some package that needs to be installed (unless it's in the core dist?).

@benogle I agree that an npm module would probably be best. I was thinking of a web service for the full-on Bayesian thing so that each Atom instance wouldn't have to calculate the word frequencies themselves. But if we start with something naïve then putting it client side wouldn't be a big deal. (Except for perhaps people with slow network connections?)

This awesome intelligent bayesian search approach sure would be great, but I'm totally against waiting for it. Let's implement exact string matching now. I believe that exact matching would be right in 90% of the cases, because usually people leave whatever issue title was suggested.


Expose Clientchannel constructor in Dart gRPC to support UNIX domain sockets

https://b.corp.google.com/issues/143528277.
cc @a-siva -- can you help route? Should I open a parallel issue in the dart-lang repository for this issue?

/cc @kf6gpe Can you update this one?

Looks like we are blocked until the Dart team implements this then we'll have to expose something in our embedding API.

expose something in our embedding API.

Can you clarify this? It is not clear how this affects the engine or the embedder API.

Not sure, that was a note taken during our triage meeting. cc @cbracken, do you recall what that was about? If there's nothing for us to add (and it's all in gRPC exclusively) then we can close this.

Sounds like this is not something we need to do anything about in Flutter itself.


Update assets and fixes JS files composition

Fixes #913
Fix deprecating warnings enabling single runtime chunk:

Thanks a lot Yonel!


Dynamic Content Template. Substitution do not show up.

Please help
I'm not using any library. I'm making a post requests directly to your API. The email shows up without the replacement.
This my html

Email Send By {{ **dynamicTemplateData.portalsender** }}
My JSON Call dynamicTemplateData with camel case
https://api.sendgrid.com/v3/mail/send
{
"personalizations": [
{
"to": [
{
"email"<EMAIL_ADDRESS>"name": "John Doe"
}
],
"dynamicTemplateData ": {
"portalsender": "Test"
}
}
],
"from": {
"email"<EMAIL_ADDRESS>"name": "Sam Smith"
},
"reply_to": {
"email"<EMAIL_ADDRESS>"name": "Sam Smith"
},
"template_id": "d-asfasdfsdfasdfasdfasdfasdf"
}

Hey @coredomain
It is best to bring things like this to support so they can look at your account and the specific data around what you are doing. To solve issues like these we have to look at the template in your account and check the data you are passing. You can hit up the support team here.


feat: more c# improvements

/claim #438

adding more fields to the grammar
added a throw test

I also tested it on this C# repo: https://github.com/dme-compunet/YoloSharp
https://streamable.com/tsyxyp

/claim #588


ch02 - Calico Installation

Hi,
Having problems when installing Calico to the KinD cluster.
Here's the steps followed and output so far

Create the cluster

codebox@localhost:~/Kubernetes---An-Enterprise-Guide-2E/chapter2$ **kind create cluster --name cluster01 --config ./cluster01-kind.yaml**
Creating cluster "cluster01" ...
 ✓ Ensuring node image (kindest/node:v1.24.0) 🖼
 ✓ Preparing nodes 📦 📦
 ✓ Writing configuration 📜
 ✓ Starting control-plane 🕹
 ✓ Installing StorageClass 💾
 ✓ Joining worker nodes 🚜
Set kubectl context to "kind-cluster01"
You can now use your cluster with:

kubectl cluster-info --context kind-cluster01

Have a nice day! 👋

Install Calico

codebox@localhost:~/Kubernetes---An-Enterprise-Guide-2E/chapter2$ **kubectl create -f https://docs.projectcalico.org/manifests/tigera-operator.yaml**
namespace/tigera-operator created
customresourcedefinition.apiextensions.k8s.io/bgpconfigurations.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/bgppeers.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/blockaffinities.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/caliconodestatuses.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/clusterinformations.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/felixconfigurations.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/globalnetworkpolicies.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/globalnetworksets.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/hostendpoints.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/ipamblocks.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/ipamconfigs.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/ipamhandles.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/ippools.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/ipreservations.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/kubecontrollersconfigurations.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/networkpolicies.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/networksets.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/apiservers.operator.tigera.io created
customresourcedefinition.apiextensions.k8s.io/imagesets.operator.tigera.io created
customresourcedefinition.apiextensions.k8s.io/installations.operator.tigera.io created
customresourcedefinition.apiextensions.k8s.io/tigerastatuses.operator.tigera.io created
Warning: policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
podsecuritypolicy.policy/tigera-operator created
serviceaccount/tigera-operator created
clusterrole.rbac.authorization.k8s.io/tigera-operator created
clusterrolebinding.rbac.authorization.k8s.io/tigera-operator created
deployment.apps/tigera-operator created

Apply the Calico custom configuration

codebox@localhost:~/Kubernetes---An-Enterprise-Guide-2E/chapter2$ kubectl create -f ./calico.yaml
clusterrole.rbac.authorization.k8s.io/calico-kube-controllers created
clusterrolebinding.rbac.authorization.k8s.io/calico-kube-controllers created
clusterrole.rbac.authorization.k8s.io/calico-node created
clusterrolebinding.rbac.authorization.k8s.io/calico-node created
Warning: spec.template.spec.nodeSelector[beta.kubernetes.io/os]: deprecated since v1.14; use "kubernetes.io/os" instead
Warning: spec.template.metadata.annotations[scheduler.alpha.kubernetes.io/critical-pod]: non-functional in v1.16+; use the "priorityClassName" field instead
daemonset.apps/calico-node created
serviceaccount/calico-node created
deployment.apps/calico-kube-controllers created
serviceaccount/calico-kube-controllers created
Error from server (AlreadyExists): error when creating "./calico.yaml": configmaps "calico-config" already exists
[resource mapping not found for name: "felixconfigurations.crd.projectcalico.org" namespace: "" from "./calico.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
ensure CRDs are installed first, resource mapping not found for name: "ipamblocks.crd.projectcalico.org" namespace: "" from "./calico.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
ensure CRDs are installed first, resource mapping not found for name: "blockaffinities.crd.projectcalico.org" namespace: "" from "./calico.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
ensure CRDs are installed first, resource mapping not found for name: "ipamhandles.crd.projectcalico.org" namespace: "" from "./calico.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
ensure CRDs are installed first, resource mapping not found for name: "ipamconfigs.crd.projectcalico.org" namespace: "" from "./calico.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
ensure CRDs are installed first, resource mapping not found for name: "bgppeers.crd.projectcalico.org" namespace: "" from "./calico.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
ensure CRDs are installed first, resource mapping not found for name: "bgpconfigurations.crd.projectcalico.org" namespace: "" from "./calico.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
ensure CRDs are installed first, resource mapping not found for name: "ippools.crd.projectcalico.org" namespace: "" from "./calico.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
ensure CRDs are installed first, resource mapping not found for name: "hostendpoints.crd.projectcalico.org" namespace: "" from "./calico.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
ensure CRDs are installed first, resource mapping not found for name: "clusterinformations.crd.projectcalico.org" namespace: "" from "./calico.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
ensure CRDs are installed first, resource mapping not found for name: "globalnetworkpolicies.crd.projectcalico.org" namespace: "" from "./calico.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
ensure CRDs are installed first, resource mapping not found for name: "globalnetworksets.crd.projectcalico.org" namespace: "" from "./calico.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
ensure CRDs are installed first, resource mapping not found for name: "networkpolicies.crd.projectcalico.org" namespace: "" from "./calico.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
ensure CRDs are installed first, resource mapping not found for name: "networksets.crd.projectcalico.org" namespace: "" from "./calico.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
ensure CRDs are installed first]

Am assuming the contents of the calico.yaml file are no longer compatible with the version of Calico being pulled down in the tigera-operator.yaml manifest.
Much appreciate any help that can be provided!

I skipped the operator and just used the calico.yaml. I also executed kubectl -n kube-system set env daemonset/calico-node FELIX_IGNORELOOSERPF=true. The networking seems to be working for now; I did encounter issues with the operator like you did.
Another option is to use the default CNI plugin. I will experiment with that if Calico continues to be an issue on my cluster.

The warnings are popping up due to scirpt trying to create the same CRDs, they are not actual errors and wont cause any issues with Calico.


Add 2.17 release notes

Description
Add 2.17 release notes
Related Issues
Par of release

Check List

[ ] Functionality includes testing.
[ ] API changes companion pull request created, if applicable.
[ ] Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@reta all PRs still going to 2.17 will have conflicts now because changelog under 2.x is empty :/ plus they need to add a new entry into the release notes

@reta all PRs still going to 2.17 will have conflicts now because changelog under 2.x is empty :/ plus they need to add a new entry into the release notes

@harshavamsi the conflicts have to be resolved either by author or maintainers


[dcmtk] Document dcmtk port usage

Fixes #31395.

Note: I will be converting your PR to draft status. When you respond, please revert to "ready for review". That way, I can be aware that you've responded since you can't modify the tags.

@malaterre, Ping for response.

@malaterre, please also change vcpkg.json file, change port-version to 6, then run command ./vcpkg x-add-version dcmtk --overwrite-version .

Closing this PR since it seems that no progress is being made. Please ping us to reopen if work is still being done.


Inaccurate BTC balance info

I wasn't following some of the balance work happening so closely, perhaps this is related.
I've funded a Native Segwit wallet, and transferred straight to TR (as the exchange I used doesn't withdraw to TR).
Observations
Activity screen shows pending both in and outbound.

Even with outbound tx, balance remains unchanged

We essentially need to deduct pending outbound BTC amounts from the balance, correct?


fixed instances where docker was changed to moby and broke links

What's changed

Fixed several instances where docker was incorrectly changed to moby

It looks like there was a brute search-and-replace for this on all docs (i.e., for future reference, paths with docker/dockercloud in them should not be changed to moby/mobycloud; paths with docker/docker/ should be changed to moby/moby/)

Related
#3592
Netlify preview
This is the topic on which the user reported the broken link, but there were several others fixed as a part of this PR (see Files changed in the PR): https://deploy-preview-3593--docker-docs.netlify.com/docker-cloud/getting-started/deploy-app/3_prepare_the_app/
Reviewers
@shotokai @pkennedyr @KickingTheTV @mstanleyjones @thaJeztah
Signed-off-by: Victoria Bialas<EMAIL_ADDRESS>

Validation test
$  git clone https://github.com/docker/dockercloud-quickstart-python.git
Cloning into 'dockercloud-quickstart-python'...
remote: Counting objects: 10, done.
remote: Total 10 (delta 0), reused 0 (delta 0), pack-reused 10
Unpacking objects: 100% (10/10), done.

vmb at snapair in ~/sandbox
$ ls
djangoSample                  getstart                      wordpress
dockercloud-quickstart-python rails

vmb at snapair in ~/sandbox
$ cd dockercloud-quickstart-python/

vmb at snapair in ~/sandbox/dockercloud-quickstart-python on master
$ ls
Dockerfile              README.md               docker-cloud.yml        docker-compose.yml
LICENSE                 app.py                  docker-compose.test.yml requirements.txt

Looks good, merging.


Added regex to hostname input

Change according to Card-68963958

Sorry, maybe I did not test it carefully.
I just retest the change, the hostname regex doesn't seem to be working.

Ahh, really weird, when i was testing it worked. We can revert it or one of us find the time this week to fix it.
I am unexpectedly busy this week, so i can't write much as a want to.


Distinguish between maybe and no side effects in contains_effects()

Summary

This change introduce the Maybe to contains_effects() to be able to distinguish between possible and no side effects cases, and thus make some previously unsafe fixes safe.
This was talked about in this comment issue as a way to address the issue.

https://github.com/astral-sh/ruff/issues/12953#issuecomment-2295449654

Test Plan
TODO

Would it makes sense to wait for red knot to better detect side effects instead of duplicating work here?

Would it makes sense to wait for red knot to better detect side effects instead of duplicating work here?

Hi @JonathanPlasse
Red Knot is far out and we should not block Ruff improvements because of it.

Understood, will continue working on it.

This is ready for review.

Thanks @JonathanPlasse for working on this. I'll close this PR because of inactivity. If someone's interested to pick up the work, feel free to submit a new PR based on it and reference this PR in your description


moveGradientsOutsideSymbol doesn't move '' tag in Firefox

Hi!
There is no <filter> tag in
const defaultSelector = 'linearGradient, radialGradient, pattern';
in
svg-baker/packages/svg-baker-runtime/src/utils/move-gradients-outside-symbol.js
So filters don't work correctly in Firefox if they are not outside of symbols. Can I add any tags for this option in config or whats the right way to do it ?

Hey Alex! I'll add this tag to default list recently.

Ok, thank you!


avoid signed unsigned comparison warning

I signed it!

Nagging Assignee @martinwicke: It has been 29 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Is this PR still alive? @walyong, please address the review comments, thanks.

It has been 20 days with no activity and the awaiting response label was assigned. Is this PR still valid? Assigning the stalled label. Please comment to reassure me that this is still being worked on.

I'll close this for inactivity. Reopen a new PR if you want to continue this.


Update the registry api to match CLI requirements #137

I've updated the API layer only no changes for the service and the database layers I think we should have separate issues for them.

Also please update the swagger file accordingly
(or better : autogen it ?)

:+1:


Not showing latest tweets

Tweets stopped at June 17.

Work in progress, I encounter a big problem as the rate limit from Twitter API.

Fixed.


Angular2 server-side rendering not working with matrix-formatted URLs

Hi,
I have started a new angular2 project with the yeoman generator. I'm setting up the routing but I'm having an issue with the query parameters in matrix URL notation (angular's default) with server-side prerendering.
I'm trying to render http://localhost:5000/shop;page=1;genres=Alternative,Rock, but the = are being encoded and it breaks angular's parsing.
I'm posting here because the first message from the dotnet cli output seems to indicate there's an issue with how the URL is being sent to node from the aspnet side. Having said that, maybe I'm wrong and this is an issue with https://github.com/angular/universal, so let me know!
PS C:> dotnet run
Project MyProject (.NETCoreApp,Version=v1.0) was previously compiled. Skipping compilation.
Hosting environment: Production
Content root path: C:\Users\............
Now listening on: http://localhost:5000
Application started. Press Ctrl+C to shut down.
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/1.1 GET http://localhost:5000/shop;page%3D1;genres%3DAlternative,Rock

If you need a repro I can work on that, but maybe you already know where and how the urls are being encoded and can easily spot the issue :).
Thanks!

I do believe on the Universal-side, you shouldn't have a problem with these URLs, it may be being encoded before its sent to node since it believes it's a Querystring?
Not by a computer at the moment but I can try and take a look at the code tomorrow !

Run yo aspnetcore-spa and choose Angular2
Replace home.ts with:

import * as ng from '@angular/core';
import { ActivatedRoute } from '@angular/router';

@ng.Component({
  selector: 'home',
  template: require('./home.html')
})
export class Home {
  constructor(private route: ActivatedRoute) {
    this.route.params.subscribe((p: any) => console.log("params: ", p));
  }
}

Go to /home;test=hello!
See the logged params in the server (params:  { 'test%3Dhello!': 'true' })
Compare to the browser's (params:  Object {test: "hello!"})

Thanks for the clear repro info.
The issue comes down to the fact when ASP.NET gets incoming path segments containing reserved characters (like =), then HttpContext.Request.Path returns them with URL encoding, whereas JavaScript's location.pathname API returns them without URL encoding.
One workaround you could do right now would be to edit your boot-server.ts file and change this line:
ngCore.provide(REQUEST_URL, { useValue: params.url }),

to this:
ngCore.provide(REQUEST_URL, { useValue: decodeURIComponent(params.url) }),

However, I'm still discussing with colleagues on the ASP.NET team whether this is really a good idea and what would be the right way to reconcile ASP.NET's behaviour with Node/browser-based-JS. I want to get more feedback from people on whether the use of decodeURIComponent like that could constitute any security issue in any scenario we can imagine.

Amazing! Please keep us posted if you come to any conclusion.

OK, I've pushed a change (c53bd8f) that should make the URL encoding (or lack thereof) consistent between server and client, so the problem should go away in your example at least.
I'm still curious about how these matrix URLs are meant to work though. What is supposed to happen if an embedded key or value contains a space? It looks to me like this would be broken (not because of JavaScriptServices, but even just with a client-only app), because although the HTML5 pushState APIs let you set a URL with a space, if you tried to reload the page or navigate to it from somewhere else, Chrome at least will change the space to %20, and then location.pathname will see it as the characters %20 rather than a space. Does Angular 2 do something to fix this?

You're right, I'm getting spaces. Not only with matrix notation, but also with regular params. I'll have to do a replace I guess.


README in english

Please make this library accessible to the whole world by translating it to english

We have related issue :smile:  https://github.com/vsouza/awesome-ios/pull/628

done, thank you.


Add doc_builder_revision as workflow input to ease debugging

Doesn't change much for existing repo (will still use the main branch) but useful if we want to quickly try a 'doc-builder' PR on another library repo.


serverpod default app not runing

just created a new app am runed the tables script and still having this issue

You running on windows? The tables are not created in the database. There should be a.bat script in the root folder that will help you set up the database the first time you run the app.
You can also checkout this answer for how to setup the tables manually without the script: https://stackoverflow.com/questions/76180598/serverpod-sql-error-when-starting-a-clean-project


Support output caching

We need to design and support output caching for MVC actions. Along with integration to popular caching mechanisms

Previously in MVC5 we supported OutputCacheProfiles in Web.config which is a pre-defined set of parameters for OutputCache. This provided a way to reuse the settings in multiple controllers/actions and a centralized place manage all Cache profiles. We do not have an equivalent for this in vNext.
It looked like this:
In Web.config:
<caching>
<outputCacheSettings>
   <outputCacheProfiles>
        <add name="Cache1Hour" duration="3600" varyByParam="none"/>
    </outputCacheProfiles>
</outputCacheSettings>
</caching>

Accessed in the Action like this:
[OutputCache(CacheProfile="Cache1Hour")]
public string Index()
{
    return DateTime.Now.ToString("T");
}

Proposal for vNext:
We can use MvcOptions to achieve the same. It would look something like this:
In Startup.cs
services.Configure<MvcOptions>(options =>
{
    options.CacheProfiles.Add(new CacheProfile() {
         Name = ”Cache1Hour”,
         Duration = 3600,
         VaryByHeader = “Accept”
    });
});

And my action would look like:
[ResponseCache(CacheProfile="Cache1Hour")]
public string Index()
{
    return DateTime.Now.ToString("T");
}

ResponseCache’s OnActionExecuting will look up the MvcOptions and get the CacheProfile with the particular name and populate the parameters needed to set the headers.

@JunTaoLuo

I think there is still some work to do here. The [ResponseCache] only solves half of the problem.
The [ResponseCache] only adds caching HTTP headers and does not actually cache the response like the old [OutputCache] did. We have the cache and distributed-cache tag helpers but these are only useful for MVC views. We also have the IMemoryCache and IDistributedCache services but these will not let you easily cache the response body itself without some effort.
I think there needs to be two attributes [InMemoryCache] and [DistributedCache] which could use the IMemoryCache and IDistributedCache services under the covers. These could have similar properties to the [ResponseCache] including CacheProfileName so that it could be configured elsewhere but with the addition of VaryByParam like the old [OutputCache] did.

Hi, it looks like you are posting on a closed issue/PR/commit!
We're very likely to lose track of your bug/feedback/question unless you:

Open a new issue
Explain very clearly what you need help with
If you think you have found a bug, include detailed repro steps so that we can investigate the problem

Thanks!

Just wanted to guage interest from interested parties before I raised another issue. I've raised https://github.com/aspnet/Mvc/issues/6559

How close does https://github.com/aspnet/responsecaching come to fulfilling your in memory caching requirements? It reacts to the headers set by [ResponseCache].


Snapshot iOS: device.plist not readable!

I keep getting this error about CI not being able to read the device.plist . The device GUID referenced in the error does not exist, but I can't work out why fast lane is trying to use it.
Found no similar issues. To create a new issue, please visit:
https://github.com/fastlane/fastlane/issues/new
Run fastlane env to append the fastlane environment to your issue
/Library/Ruby/Gems/2.3.0/gems/CFPropertyList-3.0.0/lib/cfpropertylist/rbCFPropertyList.rb:333:in load': [!] File /Users/philipc/Library/Developer/CoreSimulator/Devices/8CDAB961-8043-42BA-BB14-105E7A232AEC/device.plist not readable! (IOError) 	from /Library/Ruby/Gems/2.3.0/gems/CFPropertyList-3.0.0/lib/cfpropertylist/rbCFPropertyList.rb:238:in initialize'
from /Library/Ruby/Gems/2.3.0/gems/simctl-1.6.5/lib/simctl/device.rb:233:in new' 	from /Library/Ruby/Gems/2.3.0/gems/simctl-1.6.5/lib/simctl/device.rb:233:in plist'
from /Library/Ruby/Gems/2.3.0/gems/simctl-1.6.5/lib/simctl/device.rb:38:in devicetype' 	from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.105.2/snapshot/lib/snapshot/test_command_generator.rb:96:in block in get_device_type_with_simctl'
from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.105.2/snapshot/lib/snapshot/test_command_generator.rb:93:in map' 	from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.105.2/snapshot/lib/snapshot/test_command_generator.rb:93:in get_device_type_with_simctl'
from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.105.2/snapshot/lib/snapshot/test_command_generator.rb:61:in verify_devices_share_os' 	from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.105.2/snapshot/lib/snapshot/test_command_generator.rb:36:in destination'
from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.105.2/snapshot/lib/snapshot/test_command_generator.rb:15:in generate' 	from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.105.2/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:85:in launch_simultaneously'
from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.105.2/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:70:in block (3 levels) in take_screenshots_simultaneously' 	from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.105.2/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:69:in each'
from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.105.2/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:69:in block (2 levels) in take_screenshots_simultaneously' 	from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.105.2/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:46:in each'
from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.105.2/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:46:in each_with_index' 	from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.105.2/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:46:in block in take_screenshots_simultaneously'
from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.105.2/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:45:in each' 	from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.105.2/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:45:in take_screenshots_simultaneously'
from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.105.2/snapshot/lib/snapshot/runner.rb:45:in work' 	from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.105.2/snapshot/lib/snapshot/commands_generator.rb:40:in block (2 levels) in run'
from /Library/Ruby/Gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in call' 	from /Library/Ruby/Gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in run'
from /Library/Ruby/Gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in run_active_command' 	from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.105.2/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in run!'
from /Library/Ruby/Gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in run!' 	from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.105.2/snapshot/lib/snapshot/commands_generator.rb:104:in run'
from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.105.2/snapshot/lib/snapshot/commands_generator.rb:14:in start' 	from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.105.2/fastlane/lib/fastlane/cli_tools_distributor.rb:100:in take_off'
from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.105.2/bin/fastlane:20:in <top (required)>' 	from /usr/local/bin/fastlane:22:in load'
from /usr/local/bin/fastlane:22:in `'

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description

Complete output when running fastlane, including the stack trace and command used

[INSERT OUTPUT HERE]

Environment

✅ fastlane environment ✅
Stack

Key
Value

OS
10.13.6

Ruby
2.3.7

Bundler?
false

Git
git version 2.17.1 (Apple Git-112)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.13.6 (17G65)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib

OpenSSL Version
LibreSSL 2.2.7

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
10.0

System Locale

Variable
Value

LANG
en_GB.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://docs.fastlane.tools/actions
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://docs.fastlane.tools/actions

# fastlane reports which actions are used
# No personal data is recorded. Learn more at https://github.com/fastlane/enhancer

`./fastlane/Appfile`
# app_identifier "xxxxxx" # The bundle identifier of your app
apple_id "xxxxxx@xxxxxxx" # Your Apple email address
git_url "https://xxxxxx-xxxx@xxxxxx/xxxx/xxxxxx"
team_id "xxxxxxxx" # Developer Portal Team ID

#build stuff
for_lane :Build do
 app_identifier 'xxxxxxxxx'
end

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

fastlane
2.105.2
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.0.0

slack-notifier
2.3.2

atomos
0.1.3

CFPropertyList
3.0.0

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.6

xcodeproj
1.6.0

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
1.8.0

unicode-display_width
1.4.0

terminal-table
1.8.0

plist
3.4.0

public_suffix
2.0.5

addressable
2.5.2

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.6.5

tty-cursor
0.6.0

tty-spinner
0.8.0

babosa
1.0.2

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.62.0

faraday
0.15.3

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20180417

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.4

gh_inspector
1.1.3

mini_magick
4.5.1

multi_json
1.13.1

multi_xml
0.6.0

rubyzip
1.2.2

security
0.1.3

xcpretty-travis-formatter
1.0.0

dotenv
2.5.0

bundler
1.16.5

faraday_middleware
0.12.2

naturally
2.2.0

simctl
1.6.5

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mime-types-data
3.2018.0812

mime-types
3.2.2

jwt
2.1.0

signet
0.10.0

memoist
0.16.0

os
1.0.0

googleauth
0.6.6

httpclient
2.8.3

google-api-client
0.23.9

emoji_regex
0.1.1

json
2.1.0

io-console
0.4.5

libxml-ruby
2.9.0

generated on: 2018-10-01

I've put a temporary hack fix into CFPropertyList-3.0.0/lib/cfpropertylist/rbCFPropertyList.rb load method to swap out the path that fastlane is trying to use for the simulator to the correct one... Where does Fastlane get the device folders from? wherever they come from it isnt getting the correct guid for the simulator its trying to test, its one that doesnt exist on the machine...


BigInt: RangeError thrown from % operator

Dart VM version: 2.0.0-dev.43.0.flutter-52afcba357 (Fri Mar 30 20:33:12 2018 +0000) on "macos_x64"
(Running in a Flutter app on iOS)
The following code:
      BigInt a = BigInt.from(3051792470);
      BigInt t = BigInt.from(3051710550);
      BigInt b = a % t;

Generates the following exception:
RangeError (index): Index out of range: index should be less than 2: 2
#0      Uint32List.[]= (dart:typed_data/runtime/libtyped_data_patch.dart:2465:7)
#1      _BigIntImpl._divRem (dart:core/runtime/libbigint_patch.dart:1382:19)
#2      _BigIntImpl._rem (dart:core/runtime/libbigint_patch.dart:1306:5)
#3      _BigIntImpl.% (dart:core/runtime/libbigint_patch.dart:1697:18)
...

Possible duplicate of issue #32739

Yes, this is indeed a duplicate. I verified that this does not fail with the current build.
Closing issue.


Refactor error reporting component

As of today, kernel is reporting multiple error events from a single instance, resulting in many difficulties when trying to analyze the errors arisen in segment.io/metabase.

@pablitar @caminoezequiel Is this still happening? Can we fix it?

Already fixed. It was released in December 2020.

Already fixed. It was released in December 2020.


chore(docs-app): ensure ToC links contain the path

Without the path the browser address changes so the hash
fragment is directly on the base url. Then on refresh the
browser navigates to an invalid page.
Closes #16608

Refreshes are fine as AngularJS updates the URL correctly. :) It’s just the native interpretation that breaks which affects manual, non-AngularJS navigation like opening the link in a new tab or copying it & pasting.
I’d tweak the commit message as it’s not correct now.

Other than that the patch looks good to me.

Landed and cherry picked to 1.6.x for good measure.


How on carousel image click to open modal gallery with current clicked image

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[x] Feature request
[ ] Documentation issue or request
[x] Support request

Current behavior

Expected behavior

Minimal reproduction of the problem with instructions

My official live example on StackBlitz (based on https://stackblitz.com/edit/angular-modal-gallery-v7) is:
What is the motivation / use case for changing the behavior?

Environment (the most important section to fill very carefully)

- @ks89/angular-modal-gallery version: X.X.X
- Node version: X.X.X
- npm version: X.X.X
- Operating System and version:
- Angular version: X.Y.Z
- angular-cli version (or SystemJS/Webpack): X.Y.Z
- I'm using Server Side Rendering with angular-universal: YES/NO
- I'm compiling with mode: DEBUG / PROD / PROD with AOT

Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX

Others:

Hi @varun2508 the official example already has this.
Go here and select "carousel" from the navigation bar (of the live example on the right), then check the example called B2 - (id=111) - carousel example with fixed maxWidth (766px), custom previews and open modal on click.

Close because inactive.
Feel free to comment and/or reopen if it's still an issue.


Adds Support For PwnedPasswords API

These add support for checking if a password is pwned.

cool, thanks @Grantimus9 for your contribution :+1:

Cool, what's it take to get the hex package updated? This is just a minor version bump. I plan to start using this in a project.

@Grantimus9 I will make a new release tonight and let you know

@Grantimus9 it has been released to hex. Thanks again for your contribution. Much appreciated


Urgent: distribute perl-File-Copy* packages with /cvmfs/singularity.opensciencegrid.org/fermilab/fnal-wn-el9:latest

Good morning,
I hope this finds you OK.
CSCS WLCG-Tier2 site is serving ATLAS, CMS, and LHCb VOs, hosted on HPC resources.
For this reason, WLCG pilots and jobs cannot run directly on the node, but a singularity container is spawned as a dedicated environment to be used by the jobs. /cvmfs/singularity.opensciencegrid.org/fermilab/fnal-wn-* is used as a base docker image.
CSCS has recently migrated from /cvmfs/singularity.opensciencegrid.org/fermilab/fnal-wn-sl7:latest to /cvmfs/singularity.opensciencegrid.org/fermilab/fnal-wn-el9:latest.
Both images are missing perl-File-Copy* packages.
After a long maintenance/downtime period at CSCS, production has restarted with CMS VO severely affected. ATLAS and LHCb are running OK, and they use configuration and environment shared among all VOs.
Debug has been ongoing on several levels:

https://ggus.eu/index.php?mode=ticket_info&ticket_id=167495
https://mattermost.web.cern.ch/cms-o-and-c/pl/y9jrgumfb7gw8khgcqhrj17crr
https://mattermost.web.cern.ch/cms-o-and-c/pl/z8czque49fr78pr7cq6g5iqmic

Colleagues from SubmissionInfrastructure are suggesting having perl-File-Copy available on the WNs as CMS pilots cannot find them. For us, this means having the aforementioned packages available in /cvmfs/singularity.opensciencegrid.org/fermilab/fnal-wn-el9:latest.
I have already mentioned those packages are missing from /cvmfs/singularity.opensciencegrid.org/fermilab/fnal-wn-sl7:latest as well, but may you please add them to the el9 image to disprove this and remove the uncertainty during the debug process?
Best regards,
Riccardo

Other packages that I see in the SL7 image are:
perl perl-autodie perl-Carp perl-constant perl-Data-Dumper perl-Digest perl-Digest-SHA perl-Exporter perl-File-Path perl-File-Temp perl-Getopt-Long perl-libs perl-PathTools perl-Scalar-List-Utils \
    perl-JSON perl-Archive-Tar perl-IO-Compress \

any of these is needed?


Make parquet extension correctly parse List

Fixes https://github.com/druid-io/druid/issues/5433
This change makes Parquet input row reader corrects handle List data type.
Code is inspired from the avro extension since parquet extension also defers the schema handling logic to avro extension.

Failed build is due to a timeout exception in kafka-indexing-service tests, unrelated to my PR. Can somebody retrigger the build?

Hi @gauravkumar37, are you still interested in pursuing this contribution? If so, please let us know if the review comments were helpful.

Hi @gauravkumar37, some similar functionality is added in #6360, so we'll close this PR. But thank you anyway!


[Help wanted] I2C problem

Hello FASTSHIFT.
I am a hobbyist of Arduino and recently discovered your job and I have been playing with it for 2 or 3 days, I blinked a LED, fade in and out and printed to serial using your examples, so far, so good.
I bought some months ago a board with STM32F030F4P6 (SSOP-20 package), really cheap and I have been working to move some of attiny84 projects to this MCU, not luck with it, code was too big until I found your project.
Now I am trying to Port some of the Arduino libraries for my sensors and screens, many of them are I2C (BMP085, BME280, OLED SSD1306...) So first I tried to use the I2C scanner code from the Arduino community but seems it hangs up the whole thing and don't even get serial Port outputs.
I will be very happy if you can help me on it.
This is the code:

/I2C Scanner
//#define pinSDA PA1
//#define pinSCL PA2
#define SDA_Pin PA1
#define SCL_Pin PA2

#include <Wire.h>
//TwoWire Wire(pinSCL, pinSDA, SOFT_FAST);

void Serial_EventHandler()
{
    togglePin(LED_Pin);
}

void setup()
{
  Wire.begin();
  Serial.begin(9600);
                //Serial.setTimeout(10);
  //Serial.attachInterrupt(Serial_EventHandler);
  Serial.println("\nI2C Scanner");
}

void loop()
{
  byte error, address;
  int nDevices;

  Serial.println("Scanning...");

  nDevices = 0;
  for(address = 1; address < 127; address++ )
  {
    // The i2c_scanner uses the return value of
    // the Write.endTransmisstion to see if
    // a device did acknowledge to the address.
    Wire.beginTransmission(address);
    error = Wire.endTransmission();

    if (error == 0)
    {
      Serial.printf("I2C device found at address 0x");
      if (address<16)
        Serial.printf("0");
      Serial.print(address,HEX);
      Serial.println("  !");

      nDevices++;
    }
    else if (error==4)
    {
      Serial.printf("Unknow error at address 0x");
      if (address<16)
        Serial.printf("0");
      Serial.println(address,HEX);
    }
  }
  if (nDevices == 0)
    Serial.println("No I2C devices found\n");
  else
    Serial.println("done\n");

  delay(5000);           // wait 5 seconds for next scan
}

int main(void)
{
    Delay_Init();
    setup();
    for(;;)loop();
}

This is my board:
By the way, the code use the internal oscillator or external?

@klerone

If you want to modify the default software I2C pins, you need to modify the pins in the "Wire.h" file.
The 8M external crystal oscillator is used by default. If you want to use the built-in crystal oscillator, you need to call the "InternalClocks_Init()" function before the "Delay_Init()" function.
If you want to download programs larger than 16KB into "STM32F030F4P6", you can try to change the MCU selection to "STM32F030C6" in "Options for Target->Device".

Hope to help you.

Great!
Now it's working, I read the BMP085 using adafruit's library, but there is a problem with function pow(), anyway I just cancelled that part because it used too much resources.
You are telling me that 16Kb is not the real flash in this MCU? I loaded one that the compiler said is 18kb, I thought is the compiler was calculating wrong.
Thank you for your support.
You are the man!

@klerone
The FLASH of "STM32F030F4P6" is actually 32KB. The manufacturer only tested the space of the first 16KB, and the stability of the latter 16KB is not guaranteed, but it can be used.

@FASTSHIFT
I have problems to get the interrupts working, my board has a button connected to PA0, it has a PULLUP resistor and the button is active LOW.
I'm using the code from the example EXTI, with the changes for my settings.
It just do nothing when i push the button, nothing happens.
the button is fine, i tested it using the button in the arduino style (reading the status inside the loop).
Can you please point me in the right direction?
`//External interrupts
#include "Arduino.h"
#define LED_Pin PA4
#define KEY_Pin PA0
void LED_Toggle()
{
//Serial.println("KEY is pressed!");
togglePin(LED_Pin);
}
void setup()
{
Serial.begin(57600);
pinMode(LED_Pin, OUTPUT);
digitalWrite(LED_Pin, HIGH);
pinMode(KEY_Pin, INPUT);
attachInterrupt(KEY_Pin, LED_Toggle, FALLING);
//attachInterrupt(digitalPinToInterrupt(KEY_Pin), LED_Toggle, FALLING);
}
void loop()
{ }`

@klerone
EXTI problem has been solved, please update.

Great, it works!
Thank you!

@FASTSHIFT
I have been testing different libraries, all work. but since yesterday I got a problem that i have not idea how to solve.
with the new release of the code suddenly started to get this error:
FCARM - Output Name not specified, please check 'Options for Target - Utilities'
I checked if i change something by mistake and all looks fine, then I downloaded one more copy of the example and compile, i works, then i added a library and could not compile.
before this started to happen all was OK, I loaded many libraries and compile and test.
the old release is fine.
I hope you can point me in the right direction, I cannot find too much help in keil's website.

@klerone
You can try to recreate the project manually, and then import the necessary files.

Ok, problem solved.
One more question, is it possible to use the PF0 and PF1 as normal GPIO? I tried to blink a LED, it did not work.

Blue pill I2c not found on your library but on Arduino I2C is 0x27.

Blue pill I2c not found on your library but on Arduino I2C is 0x27.

@namkihop
Try to reduce the I2C rate.
You can try to comment out the FULL_SPEED_I2C macro definition of Wire.h. If communication still cannot be established, you can try to set SOFT_FAST -> SOFT_STANDARD of the Wire instance at the end of Wire.cpp to further reduce the I2C rate.

@namkihop
Try to reduce the I2C rate.
You can try to comment out the FULL_SPEED_I2C macro definition of Wire.h. If communication still cannot be established, you can try to set SOFT_FAST -> SOFT_STANDARD of the Wire instance at the end of Wire.cpp to further reduce the I2C rate.

tôi đã thử nhưng nó không hoạt động, bạn có mẫu ví dụ nào về i2c không?

tôi đã thử nhưng nó không hoạt động, bạn có mẫu ví dụ nào về i2c không?

@namkihop
Bạn có thể thử các thiết bị I2C khác không? Đảm bảo hủy FULL_SPEED_I2C.

@namkihop
Bạn có thể thử các thiết bị I2C khác không? Đảm bảo hủy FULL_SPEED_I2C.

it worked, let me ask is this i2c soft or hard? thank you.

it worked, let me ask is this i2c soft or hard? thank you.

@namkihop
Software I2C.

@namkihop
Software I2C.


Tab Modifier Crashes with LP5 with legacy extensions

Description
Running the server with Tab Modifier crashes using LP5, I have tried all combinations of with and without both default and legacy LP extensions.
Reproduction steps
Install latest LP with both extensions added;
Install latest Tab Modifier;
Run server
Expected behaviour
Should use LPAPI from legacy.
Environment details
Data Center in New York
Rapid Deploy Server - Intel Xeon E5 1650 V3 64GB (PNJ)

Server type/version: spongeforge-1.12.2-2838-7.3.0
LuckPerms version: LuckPerms-Sponge-5.3.0

Any other relevant details
I have tried to force LP to be read 1st by placing it in the mods folders as I redirect plugins and configs for sponge.
It seems to crash directly after the servers first [FML]: Attempting connection with missing mods [my plugins]
I am willing to accept not using Tab Modifier, this is my last ditch effort to get the plugin to work
.log --> https://pastebin.com/kNkHCcwa
\crashreport --> https://pastebin.com/k3EaG89y

Tab modifier needs to update. It's using outdated luckperms API.

This is why i noted using the LP extensions; "An extension for LuckPerms v5, which implements the legacy v4 API."

Actually, you are using a very old LP version. Update first and try https://luckperms.net/download. But Tab modifier seriously needs to update.

Thank you, I really need to get into the habit of not relying on Sponge Ore to post most recent updates. Tab Modifier is an abandon project, its unique and I'm trying to squeeze as much use of it as I can, I will update to latest dev build and repost here.

No change, same log and crashreport. Do you have any ideas on how to delay Tab Modifier from being read to AFTER the extensions are loaded; because right now they are useless due to how fast its crashing.

I dont code sponge, but in general, the plugin that uses the API needs to tell the server to load after the API they depend on, LP cant really control that order.

Ok, I will go and remove Tab Modifier's dependencies and report back, didn't think about that until now. Or as this is really not a LP issue you can feel free to close; if its still open ill share if this works or not.

The plugin 100% just doesnt work with Sponge7.3, I appreciate your help with this though. kudos!


Unexpected error creating api.

Hi,
Trying to log in and i get that error.

Oh, and i live in Finland so i guess i´m trying to connect Polestar europe server, if that matters?

@jarkodesign Have you tried with the latest version 1.6.15?
If you have, and still have problems, please post the appropriate error message from the Home Assistant logs.

@jarkodesign Have you tried with the latest version 1.6.15?
If you have, and still have problems, please post the appropriate error message from the Home Assistant logs.

Moi,
En löydä lokista / historiasta mitään tähän viittaavaa. 1.6.15 on käytössä, pääsen kirjautumaan polestarin sivuille yms hyvin.

Just tried and got the same error.

I can login fine to the URL in the README
My app certainly shows cars

2024-09-20 15:41:52.750 ERROR (MainThread) [custom_components.polestar_api.pypolestar.polestar] No cars found in account
NoneType: None
2024-09-20 15:41:52.750 ERROR (MainThread) [custom_components.polestar_api.config_flow] Unexpected error creating device
Traceback (most recent call last):
  File "/config/custom_components/polestar_api/config_flow.py", line 43, in _create_device
    await device.init()
  File "/config/custom_components/polestar_api/polestar.py", line 35, in init
    await self.polestarApi.init()
  File "/config/custom_components/polestar_api/pypolestar/polestar.py", line 47, in init
    await self._get_vehicle_data()
  File "/config/custom_components/polestar_api/pypolestar/polestar.py", line 128, in _get_vehicle_data
    raise PolestarNoDataException("No cars found in account")
custom_components.polestar_api.pypolestar.exception.PolestarNoDataException: No cars found in account

if you just login on polestar website:
https://www.polestar.com/nl-be/login/profile/
do you see there your car?

No. It's not there. And I can't add it either, it gives me an error with a bunch of possibilities. One of them is that it's a lease (which it is), another option is that it has already been added (which It has, to the app).
So I'm not sure I understand their system. I even logged out of the app and logged back in, and my car is there. But on the website, it's not.

No. It's not there. And I can't add it either, it gives me an error with a bunch of possibilities. One of them is that it's a lease (which it is), another option is that it has already been added (which It has, to the app).
So I'm not sure I understand their system. I even logged out of the app and logged back in, and my car is there. But on the website, it's not.

Send a mail to polestar to link them on your account.
duplicate issue like here: https://github.com/leeyuentuen/polestar_api/issues/90
https://github.com/leeyuentuen/polestar_api/issues/133

I might be just making things more complex, but I remember when my car was not yet converted to the right market area by the service center, and was still in the previous owner's account, it was not visible in the web but I could add it to my phone app and control it there.


Update iot-azure-and-iot.md

It should be a typo ... "device-to-cloud telemetry data" for machine learning and not "cloud-to-device"

Hi @ppatierno, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, AZPRBOT;

@sethmanheim - Could you review this contribution, please?

@tysonn @dominicbetts Hey Dominic, this gets pulled into one of your articles, so can you please verify?

@tysonn @sethmanheim it looks like this change has already been made so we don't need this PR.

@ppatierno - Paolo, thanks for this update; it looks like it's been taken care of already, so I'm going to close. Thanks again for taking the time to make a suggestion!


Migrate / refactor users

The users (src/main/java/tech/jhipster/lite/generator/server/springboot/user) seems to be very important for many JHipster users but also comes with a lot of problems.
Do we just migrate it or do we take time to totally rethink that (probably with a user / account separation going in the direction started in OAuth2 account)? Any advice?

I'd prefer to rethink it, because the user domain should be common between different database: mysql, psql, mongodb, etc...

So, following our discussions on https://github.com/jhipster/jhipster-lite/issues/2612 what's the goal of this?
If it is to have a working example of a changeset and persistence I think we should really base that on the dummy feature.
My concern here is: I really don't want to promote local accounts management as I think this is, in 99% cases, a mistake (the % left: you are coding keycloak / cognito / and IDP).
Local user management is ok but, most of the time, you don't want to manage your user authentication in the app, you want some business related information for your users.
@pascalgrimaud @Bolo89 @DanielFran @MSaguer  you contributed to users entity or changelog at some point. What is your usage of those?

After some discussion out of github we are taking the direction to remove that and use dummy as an example. @pascalgrimaud I think we should remove the bounty from this one

Yes, let's remove user, which is related to JWT
The default option for security in JH Lite is OAuth2
The reason is, there are too much features to implement to make the whole JWT feature completed:

entities User and Authority for all existing databases
jpa repository for all databases
link between security and the repository
workflow to register a new user
workflow for forgot password
etc

Too much work for a system which is probably less used than OAuth2


nftables triggers kernel panics when "socket cgroupv2" expressions are being used

Describe the bug
Adding a rule that contains a socket cgroupv2 expression (example) to nftables triggers a kernel after a short delay (~1s).
Steps To Reproduce
Steps to reproduce the behavior:

use the latest linux kernel (linuxPackages_latest)
create the following file:

table ip tpxy {
  chain prerouting {
    type filter hook prerouting priority mangle; policy accept;
    socket cgroupv2 level 1 "system.slice" accept
  }
}

run sudo nft -f YOUR_FILE_NAME
wait for a few seconds

Expected behavior
Clearly it should not cause a kernel panic
Additional context
I've heard from an Arch Linux user that this expression works on Arch and does not trigger a kernel panic, so I think this might have something to do with NixOS's kernel config? IDK. But again, I've never verified his claim on an Arch machine myself.
Metadata

system: "x86_64-linux"
host os: Linux 5.14.10, NixOS, 21.11 (Porcupine)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.5pre20211007_844dd90
nixpkgs: /nix/store/bjq298kb21bmvyad0ks3r78mvyklc1kq-source

btw I'm using my own fork of nixpkgs, which is basically just nixos-unstable with some unmerged PR cherry-picked in.
Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

@poscat0x04 is this still an issue? Could this be an upstream kernel bug? I'd be very surprised of this being a NixOS-specific bug…

Nope this is no longer an issue. I'm fairly certain it was a kernel bug, but it might also had something to do with NixOS's kernel configuration (which triggered the bug). Anyways, I should close this issue as resolved.


PHPUnit version selection

ISSUE TYPE

Feature request

SUMMARY

Actually, the devilbox comes preinstalled with PHPUnit, however, it comes only with one version of PHPUnit. So I would like the devilbox to allow me to select multiple versions of phpunit.

Goal

Multiple versions of PHPUnit, so that, I would be able to test different versions of certain application.

Adding more versions of PHPUnit would be a never-ending story, as many different developer would require too many different pre-installed versions. This would  make the image size way too big.
I'd rather recommend to install it locally on a per project base via composer:
composer require --dev phpunit/phpunit ^8.4

[1] https://phpunit.readthedocs.io/en/8.4/installation.html

I will close this feature request. Feel free to start a community discussion around this topic here: https://devilbox.discourse.group/


Reconnection Bug on Windows Platform

Describe the bug:
When pressing reconnect on Windows, the program won't reconnect to the device unless a new access token is granted to the program (by pressing and holding down the power button).
Expected behavior:
Pressing reconnect should use the saved access token.
Desktop:

OS: Windows
Version v1.2-beta

Nanoleaf Device:

Type of Device: Canvas (and probably Light Panels)

Additional context:
Discovered in testing done for issue #12. I have a strong hunch this is related to the storage of reconnection data on the Windows platform, since it doesn't happen on MacOS.

I can't reproduce the bug with Light Panels on Windows. It's kind of a strange bug because the program shouldn't run to the point where the successful reconnection dialog is shown if the access token, host or port is malformed because it won't be able to make a NLDevice object. Another thing that's strange is the remedy. Pressing the indicator for 5 seconds puts the device in an elevated state so that an access token can be requested from it. Only 1 endpoint is used with this elevated state, and nowhere in the reconnection code does it call that endpoint and pressing it when the endpoint isn't being called should not have any effect.
I'm thinking this might have been a 1-off issue with the API or device. Especially since it can't be reproduced on MacOS.

I can't reproduce the bug with Light Panels on Windows. It's kind of a strange bug because the program shouldn't run to the point where the successful reconnection dialog is shown if the access token, host or port is malformed because it won't be able to make a NLDevice object. Another thing that's strange is the remedy. Pressing the indicator for 5 seconds puts the device in an elevated state so that an access token can be requested from it. Only 1 endpoint is used with this elevated state, and nowhere in the reconnection code does it call that endpoint and pressing it when the endpoint isn't being called should not have any effect.
I'm thinking this might have been a 1-off issue with the API or device. Especially since it can't be reproduced on MacOS.


Support for additional external record storage (ERS) connection adapter

In addition to native connection (using existing connection to corteza db), add support for additional record storages.
This adapter needs to support all CRUD & filtering operations to fetch & store records from and to external storage.
Examples:

use records tables inside primary database (current & default behaviour)

no extra configuration is needed
2 tables are used record + record_values

use a dedicated physical table to store records inside primary database

admin can set a dedicated db table
??? how to solve multi-value fields
??? should table exist or will we create it?

interface to MongoDB
interface to ElasticSearch
interface to a specific endpoint on external REST API
…

New ERS are enabled and configured through general admin interface.
All interaction with records should be then transparently handled by adapter.
Module configuration interface is extended - admin can then pick one of the adaptors and provide extra config if needed

Hi, do you know if this is implemented or will be implemented?


Add two NetBSD targets:

aarch64_be-unknown-netbsd
riscv64gc-unknown-netbsd

The former is already slated for inclusion in rust, the latter will be requested shortly.

Thanks!

This is now released in 0.12.9.


[PHP8] Add support for union types in methods

I want to use in my entity classes methods smth like this:
public function setProperties(array|string $properties) : self
{
    $this->properties = is_string($properties) ? $properties : json_encode($properties);
    return $this;
}

When a model loaded directly (fetchOne(), findByPk() and etc) everything is fine.
But when I want to use lazy load of relations (it happens through promises classes) I receive a 500 error with the message

Call to undefined method ReflectionUnionType::getName() in ... /Promise/Declaration/Extractor/Methods.php at line 215

I also use union types in class properties, but with them all seems good.

Found one more problem in the same method.
Until union types are not supported I tried to use mixed type for methods.
The problem is again linked to a ReflectionType in the defineType method.
When you check type for allowsNull here for mixed type it'll return true;
After that ?mixed string goes to nikic/php-parser to the normalizeType method, which has a check that mixed type cannot be nullable
Sorry if I wrote something strange.
I hope my investigation will help you.

Found one more problem in the same method.
Until union types are not supported I tried to use mixed type for methods.
The problem is again linked to a ReflectionType in the defineType method.
When you check type for allowsNull here for mixed type it'll return true;
After that ?mixed string goes to nikic/php-parser to the normalizeType method, which has a check that mixed type cannot be nullable
Sorry if I wrote something strange.
I hope my investigation will help you.

First of all we need to check that the type isn't "mixed" where we prepend "?" as a nullable declaration (since it's allows in the type hinting, isn't it?)

First of all we need to check that the type isn't "mixed" where we prepend "?" as a nullable declaration (since it's allows in the type hinting, isn't it?)

@sheronov I would be very grateful if you add a test with a negative use case so we would easily fix it

@sheronov I would be very grateful if you add a test with a negative use case so we would easily fix it


Fix the rustup toolchain channel regex

The regex used to extract the channel from the output of rustup show active-toolchain misidentifies aarch64 as part of the channel on Linux:
$ vargo build
error: rustup is using a toolchain with channel 1.76.0-aarch64, we expect 1.76.0
do you have a rustup override set?
$ rustup show active-toolchain
1.76.0-aarch64-unknown-linux-gnu (overridden by '/verus/rust-toolchain.toml')

This is the result of a regex that consumes - as part of the channel name: ^(([A-Za-z0-9.-]+)-[A-Za-z0-9_]+-[A-Za-z0-9]+-[A-Za-z0-9-]+)
The first capture group can't contain _, so it works on x86_64.  According to the toolchain spec
grammar, we'll need to use a less liberal regex to avoid capturing too much as the channel/date.
<channel>[-<date>][-<host>]

<channel>       = stable|beta|nightly|<major.minor>|<major.minor.patch>
<date>          = YYYY-MM-DD
<host>          = <target-triple>

The regex also causes problems on platforms that use a target "triple" that isn't a triple, like 1.76.0-aarch64-apple-darwin, so we make no assumptions about the number of --separated words in the target triple.

I ran into this issue too.  With help from @jaybosamiya, we came up with this alternate approach https://github.com/verus-lang/verus/pull/1103/commits/592ad9b554cf1240f7f516df6c0771b3999bcd47 (ignore the accidental removal of the raw string annotation).

Sorry for the delay on this, and thanks @parno for the alternate approach.
I think the combination of https://github.com/verus-lang/verus/commit/592ad9b554cf1240f7f516df6c0771b3999bcd47 and https://github.com/verus-lang/verus/commit/560a53857e3ffb5b46f2e6a3b029f5f1862c4828 should address the same issue. Both are now in main, so I'll close this. If a similar problem comes up again, please reopen, or open an issue.


Add clarity around service_account_email

Fixes GH-95

@sethvargo something I just noticed, we require service_account_key but mark it as optional in the Readme

@bharathkkb it's only required to setup auth. If you don't want to configure auth (i.e. you just want gcloud), or if you want to export just the project ID, you don't need to provide a key.

@sethvargo yup makes sense and just the functionality I was looking for
Successfully installed gcloud Cloud SDK
No credentials provided, skipping authentication

I assumed it would fail because it was marked required in the action.yml

Oh sorry, I misunderstood your comment. Updated.


Cleanup darwin usage of strtok and strncpy in DNS implementation

Problem

Use after free: strtok returns a pointer into a string, so trying to use the falue after a free is wrong
unchecked (and unneeded) strdup usage (may return nullptr)
replaced strncpy with CopyString (chip implementation guarantees null terminator)

Change overview

use CopyString
do an in-place change to truncate the type to the first . character.

Testing
Expect CI to validate the changes (I made the changes on a linux machine)

fast track: CI passes (finally) and was checked by platform owner.


Handshake failed: no matching host key format

Hi There,
I am hoping you can help me trace down this error that's coming from this lib. we have a service using this library to connect to sftp and when we moved the docker to another host one of the sftp accounts started failing and generating these errors. I can sftp directly from that node to the valid account, however we fail when using this library.
I am a bit unsure what would be causing this, so any direction you can point me in is much appreciated.
Error: Handshake failed: no matching host key format
    at check_KEXINIT (/var/www/node_modules/ssh2-streams/lib/ssh.js:2268:15)
    at check (/var/www/node_modules/ssh2-streams/lib/ssh.js:2179:9)
    at onKEXINIT (/var/www/node_modules/ssh2-streams/lib/ssh.js:2176:5)
    at SSH2Stream.<anonymous> (/var/www/node_modules/ssh2-streams/lib/ssh.js:204:39)
    at emitOne (events.js:77:13)
    at SSH2Stream.emit (events.js:169:7)
    at parse_KEXINIT (/var/www/node_modules/ssh2-streams/lib/ssh.js:4028:8)
    at parsePacket (/var/www/node_modules/ssh2-streams/lib/ssh.js:3927:12)
    at SSH2Stream._transform (/var/www/node_modules/ssh2-streams/lib/ssh.js:652:13)
    at SSH2Stream.Transform._read (_stream_transform.js:167:10)
    at SSH2Stream._read (/var/www/node_modules/ssh2-streams/lib/ssh.js:236:15)
    at SSH2Stream.Transform._write (_stream_transform.js:155:12)

If I had to guess, the remote host probably only has dss/dsa host keys, or other unsupported (by default) host key formats. You can verify this by setting debug: console.log in your connection config object. In ssh2 v0.5.0, the default ciphers, host key formats, etc. changed to align with recent versions of OpenSSH. You can override these by providing absolute lists (ssh2 does not have a way to just append or just remove individual list items like OpenSSH does with the + and - prefixes to names) via the algorithms property in the connection config object. See the documentation for the format of this object.
At any rate, I will try to add the local and remote lists to the error (in one way or another) so it's more evident what both sides support.

Also, what version of node are you using?

the kicker is that it is working fine on another node, pretty much everything i can control is the same between the nodes.
current node version on both servers: v4.2.3

update: i think it's a build issue. lets close this out and i'll debug with dev later. thanks!

Hi @mscdex,
It looks like the issue we had was related to an update which removed support for "ssh-dss". I tested with a modified lib/constants.js and changed the below variable setting. This seemingly allowed us to at least get past the error we were running into.
We ended up pinning down our dependencies back to an earlier version which had some different logic. I'm not sure if this change I tested is a fix for an issue or if it was just cheating, so i'm not going to submit a PR for it. I'll just leave this as reference in case it's really an issue or perhaps just needs to be detailed a bit more how to address it.
From:
var DEFAULT_SERVER_HOST_KEY = [
    'ssh-rsa'
];

To:
var DEFAULT_SERVER_HOST_KEY = [
    'ssh-rsa',
    'ssh-dss'
];

As I previously mentioned, you can already change the list of algorithms used during the handshake by setting the algorithms property of the connection config appropriately, so there is no need to modify the module's source code. For example:
ssh.connect({
  // ...
  algorithms: {
    serverHostKey: [ 'ssh-rsa', 'ssh-dss' ],
  }
});

@Pushpinder2751 The following example works for me:
var ssh2 = require('ssh2')
var Client = require('ssh2').Client
var conn = new Client()
conn.on('ready', () => {
  console.log('Client :: ready')
}).connect({
  host: 'xxx',
  port: '22',
  username: 'xxx',
  password: 'xxx',
  algorithms: {
    serverHostKey: ['ssh-rsa', 'ssh-dss']
  }
})


Update Helm chart kubeVersion check

Change the kubeVersion constraint to permit pre-release versions as per: https://helm.sh/docs/chart_template_guide/function_list/#working-with-prerelease-versions
Without this change, if I attempt to install the helm chart into k8s version v1.27.1-3443+19254894103e33-dirty  I see this error:
Error: INSTALLATION FAILED: chart requires kubeVersion: >= 1.16.0 which is incompatible with Kubernetes v1.27.1-3443+19254894103e33-dirty

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.06%) to 25.683%

Totals

Change from base Build<PHONE_NUMBER>:
-0.06%

Covered Lines:
2358

Relevant Lines:
9181

💛  - Coveralls


add user role to sakai support google analytics

should this be a GA event or something else?

/assigned to @profmikegreene

Might be useful to have other metadata like and LTI post almost. Low priority though.


remove PHP 7.0 from allow failures in tests + improve readme

From history in Travis-CI I see that this library is stable for use with PHP 7.0. And PHP 7 is coming soon.. :-)

:+1:
Another thing is that hhvm-nightly is no longer supported for undisclosed time, so we could remove it from Travis tests.

@hkdobrev thanks for your comment. I agree with your opinion about hhvm-nightly.


UI and API

Do you intend to separate UI and Api into two separate projects?

Do you intend to separate UI and Api into two separate projects?

Hi ordgamefi,
Thank you for your comment.  I do not intend to separate the UI and API into two separate projects. I believe that the purpose of separating the front-end and back-end is to cater to different front-end technologies, such as web, mobile devices, and mini-programs. However, my project is designed to support small projects and can be used as a single browser application. Of course, with some modifications, the business logic can be written in the Application Layer, and you can simply add an ApiController to enable web API access.

Hi @neozhu, thank you for your quick reply.
And can you add a dynamic component for the data grid? That is, an empty grid compnent, then rely on the header and datasource array to build a complete grid at runtime.

@lordgamefi
You can take a look at this website, https://mudblazor.com/  It might help you

I agree that it is not necessary to separate the two projects. Currently, if need to integrate more mobile apps, i can not reuse the code. For example login for the app will have to write more api without taking advantage of the existing login function.

@lordgamefi what do you mean exactly by having to write more API without taking advantage of existing login function?
If you want to make use of the existing login function, your best option would be to leverage external login providers, also known as Single Sign-On (SSO). Even in this project setup, you can disable local login and utilize external login function with your desired Identity Provider (you can setup your own too using open-source solution such as Duende) for which you'd set up single client. However, there are a few considerations based on whether your mobile apps are XAML/MAUI apps or something else like Flutter or React Native.
If your mobile apps are XAML/MAUI based, you can create NuGet packages and share the API (not the web API) across different solutions/projects. If MAUI, you can even use the same components. If your mobile apps are part of the same solution, you can connect them to use the same infrastructure in the backend as you Blazor Server app. On the other hand, if your apps are built for example with Flutter or React Native, you can expose your services through a web API and secure them using JWT authentication configured to use the same client as your other apps. In this scenario, your mobile app would initiate the authentication flow for that client and pass the retrieved access token to the web API.


Change regex for cpu detection

Updated from #55
Samples for Hardware.+:.(\w+)

SStar
Grain
Goke
isvp
hi3516a
xm530
Freescale
Marvell

Samples for vendor_id.+:.(\w+)

AuthenticAMD
GenuineIntel

Test from board:
root@openipc-ssc338q:/tmp# ./ipctool
---
chip:
  vendor: SStar
  model: id 0xf1
board:
  vendor: OpenIPC
  version: <IP_ADDRESS>

Good job. Lets try that out, although, as i  remember, there might difference between regex implementations at regex101 and the one in C


Refactor emote parsing, fix some emote display issues

While cleaning up my code for the emote picker, I ended up rewriting most of the emote parsing code.
To avoid making the other PR even bigger, here's a separate one.
Most important bug fixes are the emote overlays that should now be properly centered on top of the base emote, and emotes smaller than the width of 1 terminal cell were not being displayed.
There is a more complete list of fixes in my commits messages.
I also added a bunch of tests for the conversion from &str to vec![Span].
A lot of those additions are from adding tests, so hopefully this is not too large of a PR to review.
Let me know if you find any issues, or need any changes.

Just confirming so I don't absolutely nuke your other branch - you'd like to get this merged before #524, yeah?

Yes, I still need to clean up and split into different commits the other branch.

I hope to go over this code in the next couple of days.


Don't override endsWithSlash when adding an empty Path segment

Fixes #6562.
Read this only with the hiding of whitespace changes in UI!

After merging, would you mind opening a merge 0.23->main?

hehe, I'm feeling that you're sick of merging after my PRs to 0.23 😄  I apologize for this and sure will do a merge. 🙇🏻♂

@danicheg not sick at all, I promise, we all do our fair share of merges here :) I was working quietly on the https://github.com/typelevel/fs2/security/advisories/GHSA-2cpx-6pqp-wf35 release train today and needed to keep the branches updated so we could release in sync.


Cleanup and real-time 2D/3D thresholding preview

Added real-time preview of coloring (using dynamically adjusted color transfer functions in slice views and in volume rendering).
Also made the code and GUI simpler and more conform to 3D Slicer conventions, improved performance, and implemented saving of all settings into the scene (so that a study can be saved and reloaded).
Overview of the revamped module:
https://youtu.be/0plsoy94hFE
Have a look at the changed CovidQ computation, I've changed it, as this seemed to be incorrect (it should have been affected/functional, according to the label):
https://github.com/rbumm/SlicerCTLungAnalyzer/blob/1811dd8b0d4f53e43a82e11f50399c06d5429492/CTLungAnalyzer/CTLungAnalyzer.py#L843

Thank you for the good work, the real-time displays really help. I also think the CovidQ fits better now.

Used the last week or so to write a lung mask generator (separate module) from scratch. A pull request will follow soon, as it can be used to prepare the lung masks for the CT Lung Analyzer in a few minutes. Should be separate in my view because of the fact that one should always fine-tune the masks before the analysis ...

Yes, having a separate lung segmentation module makes sense. If necessary, you can create a high-level module layer that uses multiple other modules to implement a specific workflow.
How do you segment the lungs? I've found that Grow from seeds in an intensity range works quite quickly and robustly, with minimal use input.

I get my best results if I theshold the lungs, then surface cut the upper trachea and bifurcation, then use the "Islands" function and keep right bzw. left lung. In the I smooth the result with a kernel size of 4-5. Packed that into a script (https://github.com/rbumm/SlicerLungMaskGenerator) which helps a lot when I quickly have to analyze a patient. Maybe the grow from seeds function is a  better way to do this ?


Lint: fix few "no-unused-var" warnings for imports

Summary
This small PR fixes few "no-unused-var" issues and  and removes two old entries for no longer existing files from the .eslintignore.
Changelog
[Internal] [Fixed] - Lint: fix few "no-unused-var" warnings for imports
Test Plan
Successfully run of yarn lint script. Warnings count has been reduced from 61 to 58.

Hi @appden, can I help you somehow with fixing the warning on the FB Internal pipeline?


[WIP] xwayland: add incoming drag'n'drop support

Fixes #295

[x] Figure out how the client knows about the Wayland window position: just draw a window that spans the whole screen
[ ] Figure out how to map X11 protocol to Wayland protocol
[x] Receive DND_ENTER
[x] Receive DND_POSITION
[ ] Receive DND_DROP
[x] Send DND_STATUS
[ ] Receive DND_LEAVE
[ ] Send DND_FINISHED

Test clients:

Firefox
GTK+ (under Wayland and Xwayland)
Chromium
Gimp

It seems that starting an implicit grab on button down is required to make this work (sway does it, rootston doesn't).
KDE got it working recently: https://phabricator.kde.org/D15627

@emersion With #1427 merged, Whats the status of this?

wlroots has migrated to gitlab.freedesktop.org. This pull request has been moved to:
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/841


Please include Aurelia on the scaffolding options when generating code.

Pretty self explanatory:
Please include Aurelia on the scaffolding options when generating code.
I know Aurelia is not RTM yet, but certainly a good framework that is being talked about in the JS space, so maybe for next version if you could include it Id appreciate it and I guess other developers as well.
www.aurelia.io

Please look at issue 272. The response to should should be a bit similar. We should make it easy to add sub generators and custom generators.

@levalencia we do not have plans to include Aurelia JS right now.
As mentioned in #272 We have this item in backlog. That said, we are planning to bring a model where 3rd parties can extend the generator to add their own support for frameworks that Microsoft does not provide in the generator.
In that regards, i am closing this issue. Please open a new issue if you find any specific issue with Aurelia JS and SPFx. Thanks!


Parsing while it's parsing exception fixed.

Sometimes in slow mobile environment,
When I push ',' or ';' or 'space' key repeatedly fast, it makes some bug.
Adding state for that would fix it !

I've just made a huge refactor of this component here: https://github.com/jwohlfert23/react-native-tag-input/pull/15
could you test it? and also add the changes of this PR to the new master?

closing due inactivity


oslc bug -- getmatrix failed to note that the matrix argument is written

This could lead to a cascade of optimization errors at runtime.
I have no idea why this never showed up as a problem before today.
In addition to fixing it on the oslc side, add a hacky fix to make sure    that old compiled shaders are retroactively fixed as they are loaded at    runtime.

LGTM


Increase timeout to make unit test stable

What this PR does / why we need it:
kserve agent watcher unit test is not stable and it fails a lot locally. I am not sure it is related to my system but it always fails with the following errors:
2024/07/18 07:03:18 Deleted temp dir /tmp/example3994517843

------------------------------
• [FAILED] [1.001 seconds]
Watcher Use HTTP(S) Downloader Getting new model events [It] should download and load the new models
/home/kserve/pkg/agent/watcher_test.go:679

  [FAILED] Timed out after 1.000s.
  Expected
      <int>: 0
  to equal
      <int>: 1
  In [It] at: /home/kserve/pkg/agent/watcher_test.go:739 @ 07/18/24 07:03:18.357

After increasing the timeout to 2 minutes, it always succeeds. This is just a timeout increase, so if a unit test passes faster than the timeout, it will take the same amount of time as before.
slack discussion: https://cloud-native.slack.com/archives/C06AH2C3K8B/p1721286710777179
Type of changes
Please delete options that are not relevant.

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

Feature/Issue validation/testing:
Please describe the tests that you ran to verify your changes and relevant result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.
no code changes. so it does not need to be tested.
make test

Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Checklist:

[ ] Have you added unit/e2e tests that prove your fix is effective or that this feature works?
[ ] Has code been commented, particularly in hard-to-understand areas?
[ ] Have you made corresponding changes to the documentation?

Release note:

Re-running failed tests

/rerun-all - rerun all failed workflows.
/rerun-workflow <workflow name> - rerun a specific failed workflow. Only one workflow name can be specified. Multiple /rerun-workflow commands are allowed per comment.

/retest

/rerun-all

/lgtm

@yuzisun if you have time, please review this. it is a simple change.

/approve


fix: Import icons in the correct way

Switch to importing individual icons since that was polluting the bundle. But this is just step 1. It might be that we need to publish individual exports like we do in elements repo.
Currently using icons: 1.3.0-next.2

Shouldn't this wait until there is a stable new release of icons and use that instead of the latest next-release? I thought we were supposed to avoid adding the "-next" releases to our component-repos, but maybe I've minsunderstood that. :)

Ah, the meta.json is used for bundle analysis. I'll remove that file and show that in my Show & Tell for Tree-shaking :)


waypointOrders not working

Very well-written library, my compliments.
I encountered a problem with waypointOrders (info needed when turning on waypoints optimization). Maybe an outdated mapping (?).
Working mapping (with request in XML format) is (at least for me):
<property             name="waypointOrders"             type="array<key=integer,value=integer>"             expose="true"             xml-inline="true"             xml-entry="waypoint_index"             xml-key-as-attribute="false"         />
Note waypoint_index instead of waypoint_order.
Unfortunately with request in JSON format, still is not working.

To be honest with you, I have added waypoint order at the very beginning and while rewriting the library I was about to delete it. But then, I let it there just for people like you to explain me how you would like to see the library behave when using optimized waypoints...
So, first, there is a mapping issue if I'm right? I will look into it tonight after my workday. But then, Giving you an array of optimized waypoints index is a mess IMO as it does not bring real value since you will still need to do extra work to get waypoints in the right order or am I missing something?
Then, how would you like to see behave when there are waypoint orders? Re-order waypoints according to optimized indexes automatically? or let you reorder things?

I @egeloen ! Thank you for your quick answer.
I would only like to have the optimized waypoints index, just like Google put them into the response.
Just for completeness. I am willing to do the extra work to reorder things (it's just a little price to pay;-)

@charlieboygis AFAIR, why I don't add strong support for it from the beginning is I was not able to make a requests which return ordered waypoints... A little list of questions before investigating your issue:

Can you provide a simple request (uri) in order to get waypoint orders?
Which http client do you use?
Which format do you use (xml or json)?
Do you use an API key?

@charlieboygis Your issue should be fixed by the referenced PR :)

@charlieboygis If you can confirm that it's working for you, I will tag the 2.0.1.

tested right now, everything is ok and working (JSON and XML)! thank you.

Thanks! Just tag the 2.0.1.


Make fallback locale configurable

I don't think this will work with a global translator -- if 1 plugin changes the default, it's likely to break another plugin that depends on another default.

@Electroid Yep, I agree - I made another PR #167 to resolve this.

#179


How to configure the bazel BUILD file to create a dynamic framework for face detection cpu for iOS?

System information

OS Platform and Distribution (iOS 12.0):
Programming Language and version (Swift 5.0):
MediaPipe version: v<IP_ADDRESS>
Bazel version: 4.2.1
XCode and Tulsi versions (if iOS): XCode 12.5.1/ Tulsi 0.20210318.88

I already got to build FaceDetectionCpu App example for iOS, but I cant to configure the same BUILD file to create a dynamic framework.
Can anyone provide or help me to configure the BUILD file to create a dynamic framework for FaceDetectionCpu?
I know that exists the bazel rule ios_framework to setting this, but is quite confuse to setting them. Can anyone help me with this?

Hi @IsaacCavalcante, You may refer this issues for the above #364,#725,#1549,#2275. Thanks!


add sensitive field note in create_or_update

 (1) Do not allow a user sync update to change a users auth identifier or email address unless a top-level field is passed 'change_sensitive_fields' with value 'true'

good


Clearly define our standard for Altitude, Azimuth, Theta, and Phi

here we write:
Azimuth = 0 is North, Azimuth = PI/2 is East.
Altitude = 0 is the horizon, Altitude = PI/2 is upwards / Zenith.
But what are phi and theta? From our irradiance data I see that Phi is the azimuth (as it is in [0, 2PI]).

@MartGro and me decided to not use phi and theta anymore in simshady and only talk about azimuth and altitude, as defined above.