Invalid bower fields.

Got some warnings when installing via bower:
bower invalid-meta  The "name" is recommended to be lowercase, can contain digits, dots, dashes
bower invalid-meta  The "main" field cannot contain minified files

Since I haven't had a lot of people use bower, I haven't kept up with newer version. A PR for this would be greatly appreciated though :)

Fixed by #27. Thanks :)


Fixed using authentication provider credentials with get_aws_account_id

Description
Fixes #3236.

TODOs
Read the Gruntwork contribution guidelines.

[ ] Update the docs.
[ ] Run the relevant tests successfully, including pre-commit checks.
[ ] Ensure any 3rd party code adheres with our license policy or delete this line if its not applicable.
[ ] Include release notes. If this PR is backward incompatible, include a migration guide.

Release Notes (draft)

Added / Removed / Updated [X].
Migration Guide

@denis256, thanks for the review!


luci-app-bmx7: transfer from routing

The Makefile is minified as the LuCi build system does most of the job.
@p4u @rogerpueyo
Signed-off-by: Paul Spooren<EMAIL_ADDRESS>

It was initially added an openwrt-routing because the maintainer (myself) got access to that repository. Now if it's transfer to luci, I will loose the ability to directly merge anything. It's not a drama, but will be less operational. Is there anyone with merge rights to this repository who would maintain this packet (and review the PR) ?

I've invited @p4u to the luci maintainers team, so he got commit access here to keep maintaining the luci-app-bmx7 package once moved.

@aparcar Thanks for your work.
It'd be nice for me also to be able to take care of the bmx6/7-related packages, if it's fine for you.

@dangowrt thanks. However @rogerpueyo is right now a better candidate that myself. So either you add us both or just add him.

@rogerpueyo I've invited you to the team as well.

@rogerpueyo @p4u are you okay with a merge? If so I'd remove the package from routing.git

@rogerpueyo @p4u are you okay with a merge? If so I'd remove the package from routing.git

Sure, go ahead!


Extension with jme function that returns a promise

@christianp I am trying to develop an extension to evaluate SQL knowledge op students. The (initial version of the) code can be found at https://github.com/jhoobergs/numbas-extension-sqlite
My main issue is situated at https://github.com/jhoobergs/numbas-extension-sqlite/blob/5024b57e0ffce3a565fba81833e71128f571e26a/extension.js#L296 were I have a Promise (which yields a TBool) instead of a TBool. Do you know of a way to solve this? If not I will need to do the operations with sql.js in a synchronous way but I would rather not.
EDIT: For now I changed the design so the correct resultset is calculated on creation of the SQL editor and every time a query is executed, that resultset is saved. When the user clicks submit, the last saved resultset is compared with the correct resultset.
PS: Maybe it is an idea to add the 'hacktoberfest' topic to the Numbas repo's? (see https://hacktoberfest.digitalocean.com/)

@chrismgraham and @georgestagg have written a very similar extension for their programming courses, with the same problem. We've tried a few different ways of getting round the fact that the code has to run asynchronously.
The way we've got it at the moment is that we have a custom part type whose input widget is a code editor. We override the part's submit and mark_answer methods to do the following:

Initialise a list of promises that must be fulfilled before the part can be properly marked.
Submit once, to find all the places that mark_answer would be called.
Whenever mark_answer is called, send the code off to be evaluated, producing a Promise, and add that promise to the list. Return an error state.
Reset the part's feedback, because it'll be full of errors. Add a warning "Waiting for code to be evaluated" to the part, so the student knows what's going on.
After each promise resolves, it saves its result to an attribute on the part that created it.
Once all the promises have resolved, submit again. This time, mark_answer can put the results of the promise in the marking_parameters, and run the marking algorithm as normal.

This is still a bit flakey, but it looks OK to students when it's used properly.
There are two ways of improving this: make it possible for JME functions to evaluate to a promise, or have a built-in method for registering a promise that must be resolved before a part can be marked. I think that the second option is the one to go for: making the marking process promise-aware will lead to far fewer breaking changes than making jme.evaluate return a promise!
I'd like to release our coding extension as open source, but at the moment it relies on a backend that is specific to Newcastle. George and I are looking into making it use Jupyter kernels instead, which would be much easier to replicate elsewhere.


Potential security issue -recruitics.com iframe

I started integrating react-gtm and noticed that an unexpected iframe was being injected into the bottom of the body, hosted at http://jsv3.recruitics.com.  Opening up the source, it appears to be some sort of event tracker.  I didn't take time to figure out which dependency this comes from.  Any chance there is a legitimate purpose?

Ah, I see that Recruitics hosts several legitimate advertising services that can integrate with GTM, so this is perhaps not as alarming as I first thought.


Add left click capability to change promotion status & tests

Change cursor to a hand when mousing over the icons, and allow left click to open context menu

Done in 0.1.19


Add migrate methods to contracts

As the flow for introducing contract migration is the same for most contracts I suggest implementing it for LPer, LSer and depositor at the same time?


ENH: Should we allow querying certain implementation details

I am wondering if it would make sense to standardize a bit of information about the exported namespace.  For example

immutability: If arrays are always immutable, sometimes a copy may not be needed?
Is it interesting to know whether in-place operations are actually in-place?

I somewhat suspect that such information will be useful eventually, but not sure that we have anything explicit right now that would be.

Should this be a query on the namespace or on an array object?

I was thinking of namespace, but maybe immutability would need to be array object specific and not namespace...  I suppose we can probably close this for now though, I think it may be useful to "bag" details, but right now I am not sure if users actually have a need for any information :).

@seberg Can you think of any practical use cases where an array API consumer would/should branch based on the implementation info you mention in the OP?
E.g., what would be an example of when an array API consumer should be concerned with whether an array library supports mutation? You mention determining whether a copy is needed; any practical examples of where this would be applicable and a downstream library responsibility rather than in the array library itself?

The thing why I was wondering was the discussion about esuring you have a copy:
api = getnamespace
if not api.mutable:
    # ensure user input cannot be mutated:
    arr = arr.copy()

# continue using in-place ops:
arr += 1
arr *= 5

In the meeting there were a few other things that came up and may be interesting:

Support for non-native byte order
Actually supported dtypes
Supported devices

api = getnamespace
if not api.mutable:
    # ensure user input cannot be mutated:
    arr = arr.copy()

I assume the second line was supposed to be if api.mutable:? Either way, not sure this is a convincing example, because for immutable arrays copy() should be a no-op, so you may as well leave out the check.
For the other things, that seems like potentially useful info when using a single library. But when you're using the standard API, I'm wondering what you are going to do with something like "yes, supports non-native byte order". Because it doesn't come back anywhere else in the API, so it seems more like an FYI.
The actual dtypes and devices I can imagine using; they can be passed on to dtype= or device= keywords.

I was reminded of this issue because of gh-609. It's still a pain that we have data-dependent features in the API that are optional to implement. So for writing portable and performant code across those libraries that do and don't perform it, we need something like:
if xp.supports_dynamic_shapes:
    y = x[mask]
    z = xp.nonzero(x)
    ...
else:
    # longer workarounds
    ...

This is the most concrete case that needs library-specific querying I think. Unless we can avoid any optional features at all in the standard, those should be introspectable somehow.

Maybe we should standardize libraries being able to not support a subset of the dtypes. Right now all dtypes are required, and libraries like PyTorch and JAX are strictly out of compliance by not including them.

JAX does include all dtypes – just run the tests with JAX_ENABLE_X64=true.

JAX does include all dtypes – just run the tests with JAX_ENABLE_X64=true.

Right, and this could just be fine for practical applications of using JAX + Array API. My concern is downstream libraries need to know they're dealing with JAX so they can enable this (or avoid double-precision dtypes), which hurts the use case a bit using this spec.


Does not work for other Pom.xml

Your program only runs on the given pom

Just fixed with latest commit. Forces mvn to use latest so it works with majority of pom files.


Project/User Badges

Currently this issue is more of a discussion.
I think it'd be a good idea for both Projects and Users to have earnable Badges, either automatically, or through a manual approval process. These badges could be a way to filter searches for plugins providing an incentive to follow whatever "good practices" we think they should follow. I have some proposals below and I'd love to get feedback on them and suggestions for more.
Projects

Open Source
Verified (for larger projects I think a verification badge would be a useful way to distinguish them easily)
???k Downloads

Users

Open Source FanaticEnthusiast (Users who all of their projects (> 2 projects) are open source)

Enthusiasts rather than fanatics, as it has a better connotation :)

Bringing this here:
Also I don't see the point of "verification" unless you have requirements that could themselves be badges

Well I was thinking of it in a similar fashion to twitter. Where the "verified" badge was given out purely by hand. We could come up with a set of criteria though.
The verified badge actually probably makes more sense on the HangarAuth account. Since that will take over login for the forums as well.

I suppose verification for users No table and above would be appropriate. On projects, I don't see the value in it.

I think having at least a verified badge for the dev of plugins would be good.
Could help distinguish known, popular devs from possible impostors. It of course could become subjective, if no clear rule-sets are applied.
Some suggestions for this badge as requirements:

Specific amount of downloads for his resource (Not sure if only on Hangar itself or also other platforms).
If open source, certain amount of stars the repository received.
Maybe even check for if it has a verified Discord Server and/or is showing in Discord's OS list?

Those are just some ideas I had.

I think having at least a verified badge for the dev of plugins would be good.
Could help distinguish known, popular devs from possible impostors. It of course could become subjective, if no clear rule-sets are applied.
Some suggestions for this badge as requirements:

Specific amount of downloads for his resource (Not sure if only on Hangar itself or also other platforms).
If open source, certain amount of stars the repository received.
Maybe even check for if it has a verified Discord Server and/or is showing in Discord's OS list?

Those are just some ideas I had.


Improve Docker image interfaces

Slack discussion
Currently, the Docker image interface is extremely demanding UX-wise. This should be much easier to use and not require you to know anything about the inner workings of the image. For example, -r can be an optional parameter that expects a particular directory structure (as in pre-alpha expected config.json and security.json to be in cd).
For reference API providers have no idea about what they are doing with the commands and even we, the internal users can’t easily tell if there is an error in a command or not.
This needs proper research and discussion.

@amarthadan Can you tell a bit about the reasoning behind the config/ and output/ directories? Is it because we don't want to expose the file that keeps the cloud provider credentials to the container?

I mean everything used to be in a single directory and you implemented the two directories. I think if there is a good reason to have multiple directories we should always do that or if not we should always use a flat directory. Having two options will complicate things.

You have always multiple options, it's up to you how you map the directories into a container. But yes, we can encourage (and write docs and examples that way) one.
So, would you like to keep everything (config.json, secrets.env, aws.env, gcp.json, and receipt.json) in one config directory? It is possible to do it that way. I personally, as a user, would prefer the tool not to output anything among configuration files (receipt.json) but that might be just my preference.
Another issue I think you encountered and didn't like is the -r option to remove Airnode deployment via receipt.json. We can't really set a default for that option (like we do for config.json and secrets.env) because you don't need to provide a receipt to remove an Airnode, you can also provide other parameters, describing the deployment (e.g. stage, short address, etc.). What we can do, is divide the remove command into two, one removing via receipt and one using descriptive parameters.

So, would you like to keep everything in one config directory?

I think this is much easier to communicate, so makes things easy for the new user. We already display a message about outputting the receipt.json, which is something.

What we can do, is divide the remove command into two

I don't see any downsides to this, feels like the right way to go

Summarizing, this entails:

[ ] Reconfiguring the directory structure: remove the output/ directory and instead output receipt.json to the config/ directory

[ ] Dividing the deployer remove command in two: one version, remove-with-receipt that assumes (but accepts as an option) the receipt.json is in config/ and the other remove-without-receipt that accepts other parameters that allow for airnode removal

@amarthadan - do I have the above summary correct? Anything missing?

Yes, I think that's correct :slightly_smiling_face: Do you want me to break it into two smaller issues, or are you fine with this one?

I think this one should work fine.

Hi @dcroote, I've run test deployments of the basic coingecko example both on AWS and GCP. I basically followed the standard example scenario but instead of running the remove-airnode script, I ran the docker commands for airnode-deployer.

I ran remove-with-receipt, which completed fine.
Then, I redeployed and remove-with-deployment-credentials with receipt.json moved out of the config directory and typing in the data from the file as command parameters. This also worked.
Finally, just for good measure, I redeployed again, left the receipt.json file where it was but ran remove-with-deployment-details again, to check nothing breaks when the file stays put. This worked as well, no hiccups.

Moving this to Done :)

Fantastic, thanks for the thorough testing @kolenic-martin


New PR to test SignCLA at 2018-03-26 14:30:45.046791643 -0700 PDT m=+5.847265244

Body of PR

indiv-pass-fork-staging: test succeeded


UI: make a nice build card

The custom element for a build has a rudimentary look. It should transformed into a nice card in a div.
See https://lit.dev/docs/components/styles/ on how to style a lit custom element.

This is now nice enough for a MVP.


auth

Add authentication middleware like OAuth, Basic auth, etc.

Basic auth could be done using https://github.com/Zewo/BasicAuthMiddleware . I'm not familiar with it myself.
OAuth already exists for Swift 2.2 at https://github.com/p2/OAuth2 . I haven't used it.. but we could make it C7/S4 compliant and modify it for Swift 3.0 .

that oauth2 lib looks good, anyone tried compiling to see what its linux status is?

Just cleaning up a misconception: OAuth is not authentication. It's authorization.

I wonder, should we make functionalities like Authentication and Authorization separate packages maybe? I don't mind to make them "default dependencies", I just like to have them in separate packages, because I find it cleaner.
Any thoughts?

I think auth is necessary for virtually all web applications and usually a big headache for most web developers which makes me think it would be easiest for everyone to include a great solution by default.

@tannernelson authentication is necessary. authorization is for platforms.
I think authentication is necessary as you say. But authorization is a lower priority imo

@tannernelson and making it a separate package and including that as a default dependency is, in your opinion, not as good as just putting it in vapor? :-)
To me that's the same thing, only the separate package option promotes better code separation and motivates me to write it more loosely coupled from vapor itself.

This is being covered in #529


Template

How can I change the module's template?

The actual suggestion box is just a list. You can control what ever is rendered inside every list element by passing a template of you own as "label".
See the "Passing objects" example on the github page.


Only display allowedLanguages

Only Yii::$app->i18n->getAllowedLanguages() should be displayed IMO

It's just for internal use, so I don't think to respect this variable.


GitHub bot

For issues:

[ ] respond to car bugs with common info

[ ] openpilot long, pedal, etc.

[ ] pull & preserve routes

For PRs:

[ ] pull & preserve routes

Hi, could you elaborate more on the problem?
One suggestion would be to use.

Description
How to reproduce the error.
Expected outcome


fuzzel: 1.7.0 -> 1.8.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/fuzzel/versions.
meta.description for fuzzel is: "Wayland-native application launcher, similar to rofi’s drun mode"
meta.homepage for fuzzel is: "https://codeberg.org/dnkl/fuzzel"
meta.changelog for fuzzel is: "https://codeberg.org/dnkl/fuzzel/releases/tag/1.8.0"
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.8.0 with grep in /nix/store/qz6mkm5z7j9csrcz4camyfzxwpnk9npp-fuzzel-1.8.0
found 1.8.0 in filename of file in /nix/store/qz6mkm5z7j9csrcz4camyfzxwpnk9npp-fuzzel-1.8.0

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
fuzzel

Instructions to test this update (click to expand)

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

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

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

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

1 package built:

fuzzel

Maintainer pings
cc @fionera @polykernel for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/fuzzel/versions.
meta.description for fuzzel is: "Wayland-native application launcher, similar to rofi’s drun mode"
meta.homepage for fuzzel is: "https://codeberg.org/dnkl/fuzzel"
meta.changelog for fuzzel is: "https://codeberg.org/dnkl/fuzzel/releases/tag/1.8.2"
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.8.2 with grep in /nix/store/1j89y4hi2p1vyqlsi7jn6v405n7pgy97-fuzzel-1.8.2
found 1.8.2 in filename of file in /nix/store/1j89y4hi2p1vyqlsi7jn6v405n7pgy97-fuzzel-1.8.2

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
fuzzel

Instructions to test this update (click to expand)

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

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

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

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

1 package built:

fuzzel

Maintainer pings
cc @fionera @polykernel for testing.


need help

can i connect ur websocket in my own html. because i want to translate in Simplified Chinese .emmmmm

Generally yeah, there's sort of some basic code over here, though SignalR in general isn't too complicated.

ok,got it thks


E2E test fail with german locale

Describe the Bug
The tests do not really change the language to english resulting in all tests failing.
Steps to Reproduce the Problem
Have a browser with the app running in german.
Expected Result
All tests pass.
Actual Result
Every single test cant login.
PermaplanT version
master
Operating System
any
Browser
any

Thx for creating the issue! Can you please specify which tests it is about? Is it urgent (master broken etc.) or release-critical (relevant for 3.3)?

Is it urgent (master broken etc.)

Ah, I didnt know urgent means master ist broken.
I put urgent, because I thought its urgent for developers to tests manually maybe.

Urgent is if everyone is affected, not if someone might be affected. It does not necessarily need to be a broken master, it could also be if some part of infrastructure is down/non-functional.
But anyway, quick fixes are always appreciated :rose:


Upload crashes browser at "handshaking..." step

This might be a problem with my configuration, I apologise in advance if that's the case and I'm wrongfully reporting this as a bug with copyparty itself.
Describe the bug
When attempting to uploading a file with up2k, it will get stuck at the "handshaking..." step. The page will be frozen, and eventually will crash. I was able to get this crash reporting page on my phone:

(on desktop the browser only shows the "tab crashed" page)
I have tested this on Firefox mobile, Chromium Linux, Firefox Linux, and this behaviour is identical on all of them.
To Reproduce
Upload any file, of any size.
Server details

server OS / version: Fedora Server 40
python version: 3.12.6
copyparty arguments:

  p: 3938
  e2dsa
  e2ts
  z
  xff-src: lan
  shr: /share
  name: maisha
  u2sz: 96
  ftp: 3921

filesystem: xfs

Client details
Issue occurs on:

Linux desktop with Firefox 131.0.3
Linux desktop with Chromium 129.0.6668.100
Android phone with Firefox 113

Additional context
The issue occurs even on a local network, over HTTP. The server is usually behind a cloudflare proxy with HTTPS, and the issue occurs there too. The simple uploader works fine. The copyparty server is behind an nginx proxy using the recommended configuration with cpp_tcp.
Server logs:
20:03:10.688 <IP_ADDRESS> 51284   GET  /test/?tree= @edward
20:03:10.688 <IP_ADDRESS> 51268   GET  /test/?ls @edward
20:03:30.711 <IP_ADDRESS> 51268   POST /test/ @edward
20:03:30.712 <IP_ADDRESS> 51268   POST len=9919 type=utf-8 ip=<IP_ADDRESS> user=edward req='/test/' json={'name': 'RimWorld1-5-4241Linux.tar.gz', 'size': 219002129, 'lmod':<PHONE_NUMBER>.881, 'life': 0, 'hash': '209 chunks'}
20:03:30.713 fstab                 inspecting mtab for changes
20:03:30.720 fstab                 mtab has changed; reevaluating support for sparse files
20:03:30.720 fstab                 found xfs at home/copyparty/files_test/test
20:03:30.721 up2k                  sparse files ok on xfs filesystem at /home/copyparty/files_test/test
20:03:30.721 <IP_ADDRESS> 51268   {"name": "RimWorld1-5-4241Linux.tar.gz", "purl": "/test/", "size": 219002129, "lmod":<PHONE_NUMBER>, "sprs": true, "hash": ["X7izbzqaxcEGzRyRIbqIgtvxBBMvtYZOBHw_stVdDfIu", "cgs2Ybk3Z5Sm82tTdyGUlHlqjY0g7fbVwj9CqM4nHGFz", ...

I changed the configuration to:
u2sz: 1,96,96

and now it works great! Thanks for the help, and I'm glad I was able to fix a small issue!


Schema work - port field should be integer not a string

See the example start message below:
{"format":"ndjson","info":{"process":{"libscopever":"v1.0.0-rc0-28-g22576b94cdf8","pid":583,"ppid":582,"gid":0,"groupname":"root","uid":0,"username":"root","hostname":"5410bd79722f","procname":"curl","cmd":"curl wttr.in","id":"5410bd79722f-curl-curl wttr.in"},"configuration":{"current":{"metric":{"enable":"true","transport":{"type":"udp","host":"<IP_ADDRESS>","port":"8125","tls":{"enable":"false","validateserver":"true","cacertpath":""}},"format":{"type":"statsd","statsdprefix":"","statsdmaxlen":512,"verbosity":4},"watch":[{"type":"statsd"}]},"libscope":{"log":{"level":"warning","transport":{"type":"file","path":"/tmp/scope.log","buffering":"line"}},"configevent":"true","summaryperiod":10,"commanddir":"/tmp"},"event":{"enable":"true","transport":{"type":"tcp","host":"<IP_ADDRESS>","port":"9109","tls":{"enable":"false","validateserver":"true","cacertpath":""}},"format":{"type":"ndjson","maxeventpersec":10000,"enhancefs":"true"},"watch":[{"type":"file","name":"(\\/logs?\\/)|(\\.log$)|(\\.log[.\\d])","field":".*","value":".*"},{"type":"console","name":"(stdout)|(stderr)","field":".*","value":".*"},{"type":"http","name":".*","field":".*","value":".*","headers":[]},{"type":"net","name":".*","field":".*","value":".*"},{"type":"fs","name":".*","field":".*","value":".*"},{"type":"dns","name":".*","field":".*","value":".*"}]},"payload":{"enable":"false","dir":"/tmp"},"tags":{},"protocol":[]}},"environment":{}}}

See that port field is represented as a string and should be number as a net_peer_port, net_host_port as in https://github.com/criblio/appscope/pull/732
The changes should be done around this part of the code:
https://github.com/criblio/appscope/blob/82ef87575192c5c658e2103d9940f4af79f1e6f2/src/cfgutils.c#L2145-L2146

I'm don't think we want to change this.  When we configure, it's legal to have a port value of “ntp”, or “ssh” for example.  We’ll handle that as well as 123 or 22.
On the data side, (like in #732) we’ll never report a report value of ntp or ssh, so I think we’re probably exactly the way we want to be.
I think we should close this with no action.  Are you ok with this @michalbiesek?

Sounds good. I am closing the issue.


No target tractability data notification not always visible

@PruMM has identified an issue where the sentence about no tractability data is not visible for some targets. For a target like TRIP11, we display the sentence No tractability data for TRIP11 is available in the Target Tractability section:

However, for a target like BRCA2, the sentence about no tractability data does not show:

In reviewing the API response for both targets, the BRCA2 API response has an empty object for tractability compared to the API response for TRIP11 which has the full tractability schema but no data in the respective buckets fields.
@LucaFumis, can we please update the logic in the target-tractability.html file to check if the tractability key is an empty object { } in addition to both arrays being empty?

The real cause of this issue is that TRIP11 (ENSG00000100815) appears in the tractability file whereas BRCA2 (ENSG00000139618) doesn't, is this expected? My understanding was that the tractability pipeline was supposed to generate an entry for all the genes regardless of whether they are tractable or not.


Install Date: Rewrite function

Description
Rationale
In Linux and Solaris, their commands are hardcoded to use GNU coreutils, so the function cannot be shown in systems without it, like Alpine (Busybox) and Oracle Solaris (xpg4).
This PR will change the behaviour of install_date overall, so it will detect which ls program is being used: Busybox, GNU coreutils, xpg4 (indicated by the use of crtime because --version doesn't work) or BSD ones (fallback), instead of hardcoding them per OS.
Issues
Because I don't have a Windows (Cygwin) system, I cannot test it. As for Mac OS X, there's always Travis.
TODO

[ ] Testing

[x] Linux

[x] Any Linux with GNU coreutils
[x] Alpine Linux

[x] BSD

[x] FreeBSD
[x] OpenBSD/Bitrig
[x] NetBSD/DragonFlyBSD

[x] Solaris

[x] OpenIndiana
[x] Oracle Solaris

[x] MINIX
[x] Mac OS X (Travis)
[ ] Windows (Cygwin)
[x] Haiku

I'll test this on CYGWIN tomorrow, I don't remember what ls version it uses.

I'll test this on CYGWIN tomorrow, I don't remember what ls version it uses.

This should be fine to merge. :+1:


adding dropgz test dockerfile for e2e testing

Reason for Change:

Adding cniTest.Dockerfile in order to test any changes to azure-ipam and azure-vnet as a part of dropgz.
Building and testing a separate cni-dropgz-test image for e2e validation. Keeping this separate from the existing cni-dropgz image, so that image can remain and be used when needed for release.
Issue Fixed:

Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests

Notes:

pls don't update with merge, use rebase. merge adds all these extra commits that hide real changes 😢
the GH UI even lets you update with rebase:


New features request

can you !update feature to update the bot whenever you add some new things to bot

Please add Facebook downloding

Hey, Add some more comments. code is hard to read.

Please add Facebook downloding

Umm heroku wont love download upload stuff and may start banning if it went wrong


Implement endpoint where lobby owner can set the visibility and lobby name

https://github.com/sopra-fs24-group-41/sopra-fs24-group-41-server/commit/e580299d77fe9c8cfa85e875c0fa3174e42b532c


Expression to check if a tag exists

Hi,
I know you can build conditions like: {{ if ne .Level "CRITICAL" }} .. {{ else }} .. {{ end }}
How to check if a specific tag or field exists?
Also, is there any specific documentation I should refer to regarding this templating syntax?
Thank you for your help.

For docs on the template engine see https://golang.org/pkg/text/template/
There is no method to check if the field exists, you have to compare against a value of the field or tag. The DefaultNode is useful here, since it can set a value if the field or tag doesn't exist.

@nathanielc, thanks for the tip about DefaultNode. I think I can take it from there now.


Resolves methods with the same signature in different plugins

Is your feature request related to a problem? Please describe.
Now we generate bridges based on the method signature. However, methods in different plugins that have the same signature will cause incorrect behavior when lookup for symbols. This should typically occur on iOS/macOS platforms.
Describe the solution you'd like
Maybe generate symbols with the package name as prefix.
Describe alternatives you've considered
Adding hash based identifiers would also be considered as a solution. Such as generated providers from the riverpod.

Totally agree!

Adding hash based identifiers would also be considered as a solution. Such as generated providers from the riverpod.

This sounds also quite reasonable, because this can make the name shorter, at the cost that it is less readable.
TODO: Add link to an old issue, I remembered there were some discussions about adding prefixes.


Parrallel usage using the age wrapper

I was trying to parrallelise a sync script from postgres to an age graph to make it more efficient using go routines. The prepared statement started giving issues when I did it.
parrallelVerticeCreation := func(flow models.Flow) {
		defer wg.Done()
		tx, err := age.Begin()
		// TODO: see if flow aready exists before putting in
		if err != nil {
			fmt.Println("Error in creating tx", err)
		}
		err = s.repo.CreateVertice(context.TODO(), tx, &flow)
		if err != nil {
			fmt.Println("Error in creating vertice", err)
		}
		tx.Commit()
	}
	for _, flow := range flows {
		wg.Add(1)
		go parrallelVerticeCreation(flow)
	}
        wg.Wait()
	fmt.Println("All flows created")
	return nil

the create vertice just runs a create cypher query. This did not work. The error was:
SELECT * FROM age_prepare_cypher($1, $2); weber CREATE (n:Flow {id: '2', created_at: '2024-07-26 13:22:24.289636 +0530 IST', updated_at: '2024-07-26 13:22:24.289636 +0530 IST'})
Error in creating vertice pq: function age_prepare_cypher(unknown, unknown) does not exist
SELECT * FROM age_prepare_cypher($1, $2); weber CREATE (n:Flow {id: '1', created_at: '2024-07-26 13:18:19.30531 +0530 IST', updated_at: '2024-07-26 13:18:27.125151 +0530 IST'})
Error in creating vertice pq: function age_prepare_cypher(unknown, unknown) does not exist

Although if I tried with the simple sql statement this used to work to an extent (till db got overloaded and gave up if i made >500 requests or so) which is fine.
Wanted to understand what is different with age since it must be using the same sql connection that the rdb was using so wanted to u nderstand the only thing I felt was different was the prepared statement being used. If not wanted to know how I can do this better.

@ishaan812 age_prepare_string is meant to be called by a driver or something passing cstrings.
CREATE FUNCTION ag_catalog.age_prepare_cypher(cstring, cstring)
    RETURNS boolean
    LANGUAGE c
    STABLE
PARALLEL SAFE
AS 'MODULE_PATHNAME';

commit f49c322eee85e47e4cfe4a2b1cacdbe74c9f4496
Author: John Gemignani<EMAIL_ADDRESS>Date:   Mon Nov 21 09:33:58 2022 -0800

    Add the ability to pass parameters to the cypher function

    Added the ability to pass parameters to the cypher() function via
    a function called age_prepare_cypher().

    This extra function is necessary because the cypher() function itself
    isn't actually executed - it is instead transformed and replaced. This
    means that it needs to have its input parameters resolved prior to
    that transform. However, parameters aren't resolved until the
    execution phase. So, another command to resolve them needs to run
    prior to the cypher() function call.

    This mainly impacts the drivers, which will need to be updated.

    Additionally, modified the golang driver as an example of this new
    usage.

    Added regression tests.

@jrgemignani How hard would it be to make this function
CREATE FUNCTION ag_catalog.age_prepare_cypher(cstring, cstring)
    RETURNS boolean
    LANGUAGE c
    STABLE
PARALLEL SAFE
AS 'MODULE_PATHNAME';

return an handle to an prepared statement, so that it can be called using something like
select * from ag_catalog.age_execute_prepared_cypher(handle, parameter_map) as t(a agtype);
many times in a loop. The advantage being fairly obvious, on my mind. Once compiled statement called in the loop in theory should bring an significant performance improvement.
The question regarding multiple threads will still remains. It's not related to multiple thread invocation. Only retention of execution plan using handle variable.
@ishaan812 I apologies for barging into question with my own, somewhat unrelated sideline. Hope it is accepted in vein of caring to make age graph database better :)

@MironAtHome This command was added to fix a very specific security issue in the drivers. It allows the cypher() command to be parameterized and the wrapping to be separated from the parameters. It really isn't meant for anything else. Look at the Python and Golang drivers to see how it is used.

Thanks John.
I didn't realise it is actually working the way I asked.
Took a bit more learning :)

@MironAtHome Just understand that it wasn't intended nor expected to be used outside of this [security issue] context. So it may not work as expected. And, come to think of it, it may not work in parallel. I need to think about the latter.
The general idea behind it was to allow parameters to be passed to the cypher() function. The issue being that cypher($1, $2) doesn't work due to when parameters ($1, $2) are resolved (in the execution phase) and when they are needed (in the cypher parse phase which comes before the execution phase).
By using age_prepare_cypher($1, $2) the parameters are resolved at execution and a global structure for that specific process is set up to contain, for one time only, the graph name and cypher command. The very next command needs to be cypher(NULL, NULL). Any other cypher command will error out and reset it. That next cypher(NULL, NULL) will then use those resolved parameters. The structure is then cleared.
That is basically how the two commands work together age_prepare_cypher($1, $2) then cypher(NULL, NULL).

@jrgemignani appreciate clarification and thank you John for your additional notes. Very - very nice and very helpful.
@ishaan812 once again, thank you for your kindly letting me ask a few clarifying questions regarding this feature in your question.

Understood

@MironAtHome Just understand that it wasn't intended nor expected to be used outside of this [security issue] context. So it may not work as expected. And, come to think of it, it may not work in parallel. I need to think about the latter.
The general idea behind it was to allow parameters to be passed to the cypher() function. The issue being that cypher($1, $2) doesn't work due to when parameters ($1, $2) are resolved (in the execution phase) and when they are needed (in the cypher parse phase which comes before the execution phase).
By using age_prepare_cypher($1, $2) the parameters are resolved at execution of this command and a global structure for that specific process is set up to contain, for one time only, the graph name and cypher command. The very next command needs to be cypher(NULL, NULL). Any other cypher command will error out and reset it. That next cypher(NULL, NULL) will then use those resolved parameters. The structure is then cleared so that it can be used again.
That is basically how the two commands work together age_prepare_cypher($1, $2) then cypher(NULL, NULL).

Oooo, makes sense now, So if I want to run it in parrallel I will have to run a cypher(NULL, NULL) after every age_prepare_cypher call.

Hey @jrgemignani, sorry to tag you again on this but  could you help me out with this question since it is not predicatable when the function breaks. How can I recover from this will it just be a cypher(NULL,NULL) if it breaks and it'll be fine?

@ishaan812 The function resets if it isn't used immediately by the process that created it. However, I do see some issues with the logic it uses and will need to work on it once I finish this other higher priority issue.


Create converter for nested dictionaries / objects

Create a new utility method (or enhance init?) to convert nested dictionaries into nested CleverDicts, so that deeper levels can be accesses easily with "." notation.  For example:
>>> d = CleverDict({"level1": {"level2A": "A", "level2B": "B"}})
>>> d.level1.level2B
'B'
>>> d
CleverDict({'level1': CleverDict({'level2A': 'A', 'level2B': 'B'}, _aliases={}, _vars={})}, _aliases={}, _vars={})

I'd also like to extend this functionality to attributes, which might be trickier. For example:
>>> ac1 = AnotherClass()
>>> ac2 = AnotherClass()
>>> ac1.level2 = "Level Two"
>>> ac2.level1 = "Level One"
>>> d = CleverDict(ac1, ac2)
>>> d.ac1.level2
"Level Two"
>>> d.ac2.level1
"Level One"

And the absolute ideal would be to handle any mixture of dictionaries and objects/attributes. For example:
>>> d = CleverDict({"First Item":  {"level1": {"level2A": "A", "level2B": "B"}}},
                     ac1, {"Second Item": {"obj": ac2}}}
>>> d.First_Item.level1.level2A
"A"
>>> d.ac1.level2
"Level Two"
>>> d.Second_Item.obj.level1
"Level One"

Parked for now.   Non essential addition to the intended scope of CleverDict.

Parked for now.   Non essential addition to the intended scope of CleverDict.

Revisiting this after some time and while writing tests for my new Whatsapp class...  I think the solution may be to set an option and if True, every time a new value is set, check to see if its value (or recursively, any of the values contained therein) is a Dictionary; if it is a dictionary, convert it to a cleverdict.


mediation support

please add support for facebook mediation for godot 3.4.3

Closing this pull request because it's not finished yet


Shouldn't we clean after ourselves?

Hi guys,
recently I found a lot of diego-manifest.xxxxx directories in my /tmp and decided to clean it all.
Also I've added rm sentence to generation script.
I hope you'll found it helpful.

Thanks, @axelaris, sounds like a good idea. Would rm -r (no -f) suffice? Seems a bit safer.
Best,
Eric

Merged by diego-release/9b61459.


[toward #5102, refuse ancient servers] Parse zulip_version in api.getServerSettings and api.registerForEvents

This will help with #5102 by making it convenient to have these API bindings validate the server version and throw a new error type with a name like ServerTooOldError.
(Those bindings are two of the ways we can learn about the server version. There is a third, that I know of: 'restart' events, which happen when the server is upgraded. I suppose we'd also get one on server downgrades, and in theory, on downgrades where the server version crosses the two-old threshold in the wrong direction. But that seems unlikely.)

Thanks for the review! Revision pushed.

Thanks! Looks good -- merging, with one tweak to make that last summary-line prefix say "api:" too:
6d14c12ac api types: Shorten name of "cooked" response to ServerSettings
e83938b80 api: Parse realm_uri into a URL object in api.getServerSettings
814bf18bf AuthScreen [nfc]: Make realm-url expressions less of a mouthful
b7926526c api: Make ServerSettings a bit more "cooked"
abfbd622d api: Transform zulip_{version,feature_level} in registerForEvents

Thanks!


OOM errors in container despite setting high -m memory limit

While trying to run hadoop on docker container on OSX (10.9.4) via Boot2Docker, am running into OOM errors despite starting container with -m 6g or even -m 8g. I understand that running top/free commands on the container do not accurately reflect its memory, but it doesn't seem like the entire 6gb of memory is being made available to the container (I created the docker image by running docker import on a tar from a CentosOS VM where the setup was running fine on 4gb RAM). The 'docker inspect' does show memory allocation being correct.
It seems like I am missing something basic but was not able to find the answer in the existing issues or online. Sorry for the noob question and thanks in advance for the help.
docker command (run via boot2docker):
docker run -m 6g -c 3 -i -t -h myhost -p 8000:8000 -p 8080:8080   myimage /bin/bash

sample error:
Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00007fa03d380000, 65536,
1) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 65536 bytes for committing reserved memory.

containers memory attributes
bash-3.2$ docker inspect b957018487f2 | grep Memory
        "Memory":<PHONE_NUMBER>,
        "MemorySwap": 0,

Env details
bash-3.2$ uname -a
Darwin HW11304.local 13.3.0 Darwin Kernel Version 13.3.0: Tue Jun  3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64

bash-3.2$ docker version
Client version: 1.2.0
Client API version: 1.14
Go version (client): go1.3.1
Git commit (client): fa7b24f
OS/Arch (client): darwin/amd64
Server version: 1.2.0
Server API version: 1.14
Go version (server): go1.3.1
Git commit (server): fa7b24f

bash-3.2$ docker -D info
Containers: 2
Images: 9
Storage Driver: aufs
 Root Dir: /mnt/sda1/var/lib/docker/aufs
 Dirs: 13
Execution Driver: native-0.2
Kernel Version: 3.16.1-tinycore64
Operating System: Boot2Docker 1.2.0 (TCL 5.3); 3.16.1-config-file : e75396e - Fri Aug 22 06:45:30 UTC 2014
Debug mode (server): true
Debug mode (client): true
Fds: 19
Goroutines: 26
EventsListeners: 0
Init Path: /usr/local/bin/docker

bash-3.2$ boot2docker version
Client version: v1.2.0
Git commit: a551732

Running top on container shows:
Mem:   2056252k total,  1912140k used,   144112k free,     2512k buffers
Swap:  1434876k total,  1430032k used,     4844k free,    67056k cached

Oct  8 10:14:14 gke-kube-c3119bfc-node-d5v8 kernel: [ 4586.096129] Task in /c7a94d7747ece5a3bd4fb11003a19316c2e296ca4efbfb5dc99a543851e32fc2 killed as a result of limit of /c7a94d7747ece5a3bd4fb11003a19316c2e296ca4efbfb5dc99a543851e32fc2
Oct  8 10:14:14 gke-kube-c3119bfc-node-d5v8 kernel: [ 4586.113051] memory: usage 204768kB, limit 204800kB, failcnt 3799913
Oct  8 10:14:14 gke-kube-c3119bfc-node-d5v8 kernel: [ 4586.119434] memory+swap: usage 0kB, limit<PHONE_NUMBER>9481983kB, failcnt 0
Oct  8 10:14:14 gke-kube-c3119bfc-node-d5v8 kernel: [ 4586.126254] kmem: usage 0kB, limit<PHONE_NUMBER>9481983kB, failcnt 0
Oct  8 10:14:14 gke-kube-c3119bfc-node-d5v8 kernel: [ 4586.132470] Memory cgroup stats for /c7a94d7747ece5a3bd4fb11003a19316c2e296ca4efbfb5dc99a543851e32fc2: cache:600KB rss:204044KB rss_huge:0KB mapped_file:244KB writeback:0KB inactive_anon:0KB active_anon:204128KB inactive_file:264KB active_file:216KB unevictable:0KB
Oct  8 10:14:14 gke-kube-c3119bfc-node-d5v8 kernel: [ 4586.171374] [ pid ]   uid  tgid total_vm      rss nr_ptes swapents oom_score_adj name
Oct  8 10:14:14 gke-kube-c3119bfc-node-d5v8 kernel: [ 4586.179372] [ 4543]     0  4543     1111       21       7        0             0 sh
Oct  8 10:14:14 gke-kube-c3119bfc-node-d5v8 kernel: [ 4586.187170] [ 4552]     0  4552    24918     4817      54        0             0 google-fluentd
Oct  8 10:14:14 gke-kube-c3119bfc-node-d5v8 kernel: [ 4586.196009] [ 2488]     0  2488   200357    47668     176        0             0 google-fluentd
Oct  8 10:14:14 gke-kube-c3119bfc-node-d5v8 kernel: [ 4586.204832] Memory cgroup out of memory: Kill process 2488 (google-fluentd) score 934 or sacrifice child
Oct  8 10:14:14 gke-kube-c3119bfc-node-d5v8 kernel: [ 4586.214461] Killed process 2488 (google-fluentd) total-vm:801428kB, anon-rss:190672kB, file-rss:0kB


Arlec Smart Power Monitoring Plug (PC399HA) Power info missing in official tuya2 integration

Describe the bug
I have a number of Arlec branded power switches that also report power consumption. The old integration did not expose the power usage info but with the Tuya2 custom integration power consumption, volts, etc appeared as separate entities. With the Tuya2 official integration, that information is no longer available. Looking at the debug log, the raw data appears to still be there.
Expected behavior
The power, volts etc would either appear as attributes for the switch entity, or as separate entities.
Screenshots
n/a
Home Assistant Version

core-2021.10.6

**Device info
    {
      "active_time":<PHONE_NUMBER>,
      "biz_type": 18,
      "category": "cz",
      "create_time":<PHONE_NUMBER>,
      "icon": "smart/icon/ay1536534747810ekKBj/1567489983a750d08c70e.png",
      "id": "6552561***********",
      "ip": "***",
      "lat": "***",
      "local_key": "***",
      "lon": "***",
      "model": "PC399HA",
      "name": "Gaming PC",
      "online": true,
      "owner_id": "5974179",
      "product_id": "4ooy6eeqo6hnlax1",
      "product_name": "Smart Plug with Energy Meter PC399HA",
      "status": [
        {
          "code": "switch_1",
          "value": true
        },
        {
          "code": "countdown_1",
          "value": 0
        },
        {
          "code": "add_ele",
          "value": 78
        },
        {
          "code": "cur_current",
          "value": 1350
        },
        {
          "code": "cur_power",
          "value": 1716
        },
        {
          "code": "cur_voltage",
          "value": 250
        }
      ],
      "sub": false,
      "time_zone": "+10:00",
      "uid": "***",
      "update_time":<PHONE_NUMBER>,
      "uuid": "6552561***********"
    },

**Device specifications
2021-10-19 08:05:13 DEBUG (SyncWorker_0) [tuya iot] Response: {
  "result": {
    "category": "cz",
    "functions": [
      {
        "code": "switch_1",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "countdown_1",
        "type": "Integer",
        "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
      }
    ],
    "status": [
      {
        "code": "switch_1",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "countdown_1",
        "type": "Integer",
        "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
      },
      {
        "code": "add_ele",
        "type": "Integer",
        "values": "{\"unit\":\"\",\"min\":0,\"max\":50000,\"scale\":3,\"step\":100}"
      },
      {
        "code": "cur_current",
        "type": "Integer",
        "values": "{\"unit\":\"mA\",\"min\":0,\"max\":30000,\"scale\":0,\"step\":1}"
      },
      {
        "code": "cur_power",
        "type": "Integer",
        "values": "{\"unit\":\"W\",\"min\":0,\"max\":50000,\"scale\":1,\"step\":1}"
      },
      {
        "code": "cur_voltage",
        "type": "Integer",
        "values": "{\"unit\":\"V\",\"min\":0,\"max\":5000,\"scale\":1,\"step\":1}"
      }
    ]
  },
  "success": true,
  "t":<PHONE_NUMBER>134
}

Additional context
Well, basically it did work when the Tuya2 integration was custom but moving it into the stable HA release it disappeared. It makes me think that perhaps a parser from the old integration has been used....

Saw something from https://twitter.com/Frenck saying that he had finished adding in support, and then I found https://github.com/home-assistant/core/pull/57668. So maybe it is coming?

Any updates on this? It's really frustrating that no power consumption is available for all my 10 switches...

I closed this as I saw support was coming, and in fact the most recent update brought back power monitoring for my switches (had to enable it though). This may not be the case for your specific devices, but the good news is that support for additional devices is increasing....

Still no progress on this? I was hoping for an update in The .12 update but nothing..

Still no progress on this? I was hoping for an update in The .12 update but nothing..
Again, as noted above it works for me now with the Arlec devices. Check the integration itself (configuration/devices & services, tuya (click on devices), then click on the specific device itself. For mine I now have a control (the on/off switch) and sensors for current, power and voltage. They may not be enabled by default, and if this is the case there should be an option to toggle them on. If you still only have the switch, then hopefully it will come eventually!

Yeah, i do now get the power as a sensor on the plugs and they are showing valid data however they are not available within Energy for monitoring.
Where as my plugs are named to a certain level of logic such as: sensor.power_monitor_05_fridge_power
The list of sensors i have in Energy are some sort of GUID such as: sensor.tybf21d6f1ae2e7bc36ed53m_4 - none of which show within the Tuya entities..
I guess my next step would be to remove Tuya and re-add and see if that fixes the issue

Hmm, removed Tuya however the phantom energy sensors (that dont function) are still in Energy.. Looks like i have to dig a little deeper.

Yeah, i do now get the power as a sensor on the plugs and they are showing valid data however they are not available within Energy for monitoring.

Ah. By default the energy monitoring didn't magically appear either - I had to add in entries in my sensor.yaml for each device eg:
- platform: integration
    source: sensor.tybf21d6f1ae2e7bc36ed53m_4
    name: Fridge power
    unit_prefix: k
    round: 2


NewBCContainer with connection to AWS RDS database

PLEASE DO NOT INCLUDE ANY PASSWORDS OR TOKENS IN YOUR ISSUE!!!
Describe the issue
Hey,
we would like to use the NewBCContainer script with an external database hosted on AWS RDS.
We are able to connect to the RDS locally with our SQL Server Manangement Studio via AWS SSM (fake example of the command):
aws-vault exec profileName -- aws ssm start-session --target yourTargetID
--document-name AWS-StartPortForwardingSessionToRemoteHost
--parameters host="businesscentral.fakeRDS.rds.amazonaws.com",
portNumber="1433",localPortNumber="1433" --region region

For the connection to the SSMS we use <IP_ADDRESS>,1433.
Is it possible to use the same config on NewBCContainer?
How can I set the database port to 1433?
Thanks for your help.

I don't know anything about AWS db, but let me explain what I understand from the above command and what I know about Docker, ContainerHelper, Business Central and database connections.
<IP_ADDRESS> is localhost - all communication to localhost (on any machine) normally never leaves the machine
It looks like your aws command above forwards all communication to <IP_ADDRESS> on port 1433 (standard SQL port) to your AWS database, enabling you to use SSMS with localhost:1433
When running scripts inside the container, localhost (and hence also <IP_ADDRESS>) is the container, not the host on which your ports are forwarded to AWS DB. While you might be able to run the aws command above inside the container, I don't think you would be able to make it work with containerhelper and the BC generic images.
Instead, inside the container, you will have a "magic hostname" added to hosts by ContainerHelper - host.containerhelper.internal - this contains the IP number of the host.
This blog post: https://freddysblog.com/2019/11/04/using-sql-server-on-the-host/ explains how to use SQL Server on the host, and while you might not be able to run the scripts un-altered, you might be able to use "host.containerhelper.internal" as databaseServer on New-BcContainer and set the right database names and credentials. Note that you cannot use Windows authentication with containers.
Good luck:-)


feat: add projectcalico crds

@sumsumbee can you please give a reference to the repo that is containing the CRDs?
we will need it for future updates of the schemas.

@eyarz I didn't know that this was a requirement, was this documented anywhere and I just didn't see? Anyhow I reached out to their support and will let you know once I get a reply.

you're right, need to update the docs because this is not listed anywhere.

@eyarz there is an archive available containing the manifests which is attached to the release notes.
For example here https://docs.tigera.io/calico-enterprise/latest/release-notes/

I get that, but I have no influence on the way Tigera provides the crds. I have no issue in maintaining them, as I have to do it either way locally or here. I just figured other people could use them so I do it here.

Sorry to meddle in this discussion, but what can we do if the CRD schema definitions are not on a public git repo? Sometimes the developers of the CRD don't publish those. From what I understood we can only extract the schemas from a live k8s cluster and put them in here.

@eyarz do you got any update on this?

@andreamaruccia you're raising a good point.
this is the first time I'm addressing this issue of having schemas that are not open source.
the problem is that I don't have any way to verify that the schemas were extracted correctly.
also, the vision for this project is that one day the schema will auto-update when there is a new release and I'm wondering how it will work with "closed-source" schemas.
@sumsumbee you should reach out to the tigera team and ask them if the CRDs are publicly available or not.

@eyarz I already did that. They provide it publicly via the channel I mentioned above and they also don't want to do it another way.

Of course Calico CRDs are public. Here they are.
CRDs, that are not public, should land to this repo. Use your own fork then.


Cannot switch from steps array to regular steps with ticks values

Steps to reproduce

Instantiate a slider with a stepsArray
Update the slider options to instead use regular steps with showTicksValues set to true

Demo: http://jsfiddle.net/3jjye1cL/135/
Expected behaviour
The slider should update to the new settings
Actual behaviour
TypeError: Cannot read property '0' of null, slider is broken

Good catch! ;) Do you want to submit a PR for this or can you wait for me to fix it?
Actually, these lines:
if (this.options.getLegend) {
   this.getLegend = this.options.getLegend;
}

should be replaced by:
this.getLegend = this.options.getLegend;

At least, for the current error, I don't know yet if toggling stepsArray at runtime can have other impacts.

I'm just prototyping the use of this slider for an app so I won't PR right now. If we decide to use it I'll fix the bug if you didn't do it already :)

OK, so can you just try the fix I suggested to see if it does the job?

Yep, just did and it fixes the bug for my use case, thanks ! It doesn't break the tests neither


Moving a child Node3D with "Use Local Space" is broken

Godot version
v4.2.dev4.official [549fcce5f]
System information
Godot v4.2.dev4 - Windows 10.0.22621 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2070 (NVIDIA; <IP_ADDRESS>40) - AMD Ryzen 7 5800X 8-Core Processor (16 Threads)
Issue description
Moving a child Node3D with "Use Local Space" causes it to jump and then not be translated in along the local axes.
Nodes that are direct children of the current scene works, but not one step.
See screen capture:
https://github.com/godotengine/godot/assets/2920473/a8ef7306-997f-4479-bf6d-f06cb9f30722
Steps to reproduce

Create a new project using v4.2.dev4.official [549fcce5f]
Create a 3D scene
Create a MeshInstance3D as a child and assign any mesh to it (I used a cube) (Parent Cube)
Create another MeshInstance3D, give it a shape and parent this to the previous (Child Cube)
Rotate and move the Parent Cube a bit
Enable "Use Local Space" in the scene view toolbar
Move the Child Cube using the movement gizmo.
Observe how the Child Cube first snaps to the wrong position and then moves along the wrong axis/plane

Minimal reproduction project
godot-local-space-bug.zip

Duplicate of https://github.com/godotengine/godot/issues/81604


Config - position

A configuration for position is desired, where the location of the restart button can be set. The options would be:

Top
Bottom
<offset from top, as a number>

Request for middle position: https://discord.com/channels/562704639141740588/567832879879553037/799509290762502175

Request for middle position: https://discord.com/channels/562704639141740588/567832879879553037/799509290762502175


optadd local file support for 2.1 (#45632)

bp: #45632

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.
Please clearly describe your PR:

What problem was fixed (it's best to include specific error reporting information). How it was fixed.
Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
What features were added. Why was this function added?
Which code was refactored and why was this part of the code refactored?
Which functions were optimized and what is the difference before and after the optimization?

run buildall


US NHTSA FARS Crash NL

SV Index Differ

/gcbrun

Is the step to update the integration golden files executed by running ./run_test.sh -g ?

/gcbrun

/gcbrun

/gcbrun

/gcbrun


Bump handlebars version to ^4.0.0

This includes a downstream bump to the uglify version (to 2.4.24) which fixes a vulnerability reported by the Node security project. See https://nodesecurity.io/advisories/uglifyjs_incorrectly_handles_non-boolean_comparisons for more information.
To see the compatibility notes for Handlebars 4, please go to https://github.com/wycats/handlebars.js/blob/master/release-notes.md
Thank you for your time. :)

:+1:  same here, it breaks our build

Thanks for doing this, I'll have to spend some time to understand the Handlebars v4 changes. In the meantime you can always pass handlebars as a config option to Express Handlebars.

@ericf, Any recent news?

@ericf just want to bump this. We're manually passing in a handlebars config parameter, but our security checks are alerting on wycats/handlebars.js#1084 and I would love to squelch the false positive.

:+1: LGTM!

:+1: this would be really helpful

Oops. Didn't mean to close this temporarily.

@ericf, would love this one to be merged. Is it still on the radar?

@ericf let me know if there's any way I can help-- I'd like to get this patched in Sails if possible.

Thanks @sahat -- don't forget to npm publish as well!


Crash running pipenv lock -r

This is a regression that started in 11.1.2
Describe your environment

MacOS
Python version: Python 3.6.4
Pipenv version: pipenv, version 11.1.3

Expected result
a list of requirements
Actual result
$ pipenv lock --verbose -r
Traceback (most recent call last):
  File "/usr/local/bin/pipenv", line 11, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/pipenv/cli.py", line 245, in lock
    core.do_init(dev=dev, requirements=requirements)
  File "/usr/local/lib/python3.6/site-packages/pipenv/core.py", line 1373, in do_init
    requirements_dir=requirements_dir.name)
  File "/usr/local/lib/python3.6/site-packages/pipenv/core.py", line 827, in do_install_dependencies
    click.echo('\n'.join(d[0] for d in sorted(deps_list)))
TypeError: '<' not supported between instances of 'tuple' and 'list'

Steps to replicate
On a local project with install_requires dependencies defined in setup.cfg:
pipenv install -e .
pipenv lock -r

omg

I'm having the same issue. Reverting back to pipenv 11.0.2 solves if you need this feature desperately =/


remove levelCounts in Factor

@phvu @nhanitvn @lebinh
Please help review

not done yet

This is a big change, please help build a cluster to test when this is done
@lebinh @thxph

@nhanitvn @lebinh please help review

lgtm

@Huandao0812 can we have some high level overview of the change here? It's hard navigating through the changes without that.

I'm gonna merge this, @Huandao0812 fix help create tickets for later fix / improvement if necessary


Need a way to set SharedLibraryName option for each TranslateUnit

currently, the SharedLibraryName cannot change during the generation in one Library which may include multiple translationUnits.

I'm not sure I understand the issue here...
There should just be one final shared library generated per library, so why do you need to change the name during generation?

@tritao there are two possible explanations:

@javagg, you want to have separate wrappers, perhaps one per header, for a single native library - we won't support this because it makes no sense;
@javagg, you want a wrapper per native library but do not know how to get it - you need to create one ILibrary implementation per native library and call ConsoleDriver.Run for each in succession. In case you use auto-compilation of the wrappers, you need to sort your libraries by dependencies so that each library only depends on ones before it in the list - you can use https://gitlab.com/ddobrev/QtSharp/blob/master/QtSharp.CLI/Program.cs#L82 for reference.

@javagg have you been able to handle this? If so, could you please close it?

@ddobrev I used your method, the problem is solved. Thanks!

@javagg excellent, I am glad you have fixed your problem. Just a small clarification: I meant to say you needed one ILibrary object per native library, not one implementation per library because you can pass headers and libraries to a single implementation thus avoiding code repetition.


Sorting column has same values in all the row but still it sorts by another column

I'm using version 6 of react-table. I'm not really sure if its a bug or feature but as per my understanding how it should work, its a bug to me. The problem is, if one column of react table has same value in all the rows of the table, and we sort the table by this column, it still sorts but ideally shouldn't.
For example, there are 3 columns in the table (name, age, dob) with 10 records. If all the 10 people are of age 30, and we sort the table by age, it is sorting by name column. Ideally it should not do anything at all as data is anyway sorted.

I am having the same Issue, Any solution for this?

This is called a stable sort. If values are the same, the order of the rows in the original data set are used to sort the data. This ensures that if you reverse rows that have the same value, they are inverted. This is expected functionality and is how enterprise datagrids should behave. If you want, you can use a custom sort function to disable this, but I wouldn't recommend it.

@tannerlinsley Could you give more insight, I am little confused a little about ensures that if you reverse rows that have the same value, they are inverted

Consider some data with three users:
const data = [
  { name: 'Bob', age: '2' },
  { name: 'Bob', age: '1' },
  { name: 'Bob', age: '3' },
]

Since all of the names are the same, if we sort by name the rows will collide by having the same name and eventually fall back to using the row index. The data will essentially look the same:
const data = [
  { name: 'Bob', age: '2' },
  { name: 'Bob', age: '1' },
  { name: 'Bob', age: '3' },
]

If we click to sort again and invert the sorting, we would still run into the same problem, but this time, the row index is inverted, so we would get this sorted data set:
const data = [
  { name: 'Bob', age: '3' },
  { name: 'Bob', age: '1' },
  { name: 'Bob', age: '2' },
]

Stable sort means that things are deterministic and always the same given the same dataset. It also means that row index is used as a fallback.
To further explain why this is important, consider a similar dataset, but with a thousand records:
const data = [
  { name: 'Bob', age: '0' },
  { name: 'Bob', age: '1' },
  { name: 'Bob', age: '2' },
  ...
  { name: 'Bob', age: '1000' }
]

If stable sort wasn't used here, and row indices were ignored, it would either mean 2 things:

Every time you resort this dataset by name, all of the Bob's would be randomly placed every time.
You would never consistently be able to get to the top or bottom of the Bob's when sorted by name

Using a stable sort with index fallback ensures that all rows are treated equally and consistently.

@tannerlinsley Does it fallback directly to index or it also sort by any other column? Also you said Every time you resort this dataset by name, all of the Bob's would be randomly placed every time. why would that happen? Suppose you only use stable sort, but did not used index fallback, won't it solve this issue and the second one also? What is index fallback providing extra?

I think you misunderstood me. React Table does use a stable sort and does fall back to the index.
If multiple columns are sorted, then each row is sorted in that order, with the index used as the fallback at the very end.

Every time you resort this dataset by name, all of the Bob's would be randomly placed every time. why would that happen?

Across browsers and node environments, Array.sort behaves differently. Some of them even have some level of "randomness" that happens when used on same-value sorting. For that very reason, React Table uses a stable sort with index fallback. That way, sorting will be the same across every browser and environment.

Does by fallback to index you mean, when no sort is applied? Actually I think I got confused a little back, and that is why maybe I am unable to grasp it.

When no sort is applied, the rows are displayed in the same order as the data array you pass React Table (sorted by original index).
If a sort is applied and multiple rows have the same sort value within that sort, those rows will fallback to sorting by that same original index order from the original array.


Fix failing cmd_processor tests

A lot of the mocked cmd_processor functions were mocked to return OK_REPLY.
Then, the tests were checking to make sure that exactly strlen(OK_REPLY) bytes were written.
However, https://github.com/nqminds/EDGESec/commit/260584216ba1eefd0bb9d7c2ca6c9e4dbc5a7a35 added a newline to many writes, so instead we need to check for strlen(RESULT "\n").

You could use os_zalloc instead of malloc and adding a null charcater at the end.

It seems like it would be faster to use malloc and only add a null character at the end, instead of adding null characters everywhere and replacing it later.
But, knowing C, malloc and os_zalloc might be the same speed :)


fix: Add correct categories to the providerconfig types

Description of your changes
Added categories to the providerconfig and providerconfigusages types to shown them on
kubectl get ionoscloud

Checklist

I have:

[x] Add PR name as appropriate (e.g. feat/fix/doc/test/refactor)
[x] Run make reviewable to ensure this PR is ready for review
[x] Add or update tests
[x] Add or update Documentation
[] Update CHANGELOG.md (label: upcoming release)
[ ] Check Sonar Cloud Scan
[ ] Update Github or Jira Issue

Added the CRDs.

Added the CRDs.

Please use make crds.clean as well.
Thank you!


[Event Request] Table 39 Purchase Line - UpdateVATAmounts - OnUpdateVATAmountsOnBeforeCalcAmounts

We would like to get the same publisher in Purchase Line as in table Sales line in the UpdateVATAmounts  function.
Location

OnUpdateVATAmountsOnBeforeCalcAmounts(
                Rec, PurchLine2, TotalAmount, TotalAmountInclVAT, TotalLineAmount, TotalInvDiscAmount, TotalVATBaseAmount, TotalQuantityBase, TotalVATDifference, IsHandled);
            if IsHandled then
                exit;

Signature
 [IntegrationEvent(false, false)]
    local procedure OnUpdateVATAmountsOnBeforeCalcAmounts(var PurchaseLine: Record "Purchase Line"; var PurchaseLine2: Record "Purchase Line"; var TotalAmount: Decimal; TotalAmountInclVAT: Decimal; var TotalLineAmount: Decimal; var TotalInvDiscAmount: Decimal; var TotalVATBaseAmount: Decimal; var TotalQuantityBase: Decimal; TotalVATDifference: Decimal; var IsHandled: Boolean);
    begin
    end;

PS: Please see #21850 to ensure  including TotalVATDifference

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 10818.


Number of connections does not work in mvglive sensor

Home Assistant release with the issue:
78.3
Last working Home Assistant release (if known):
n/a
Operating environment (Hass.io/Docker/Windows/etc.):
Hass
Component/platform:
sensor.mvglive
Description of problem:
The "number" parameter does not impact the number of records in the response. With "number: 4" I get between 2 and 5 results (and every value in between). I suspect that it would work if you do not filter the results with "products" / "destinations", but I haven't tried it yet.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
sensor:
  - platform: mvglive
    nextdeparture:
      - station: "Solln Bf."
        products: "S-Bahn"
        destinations: ["Aying","Kreuzstraße","Höhenkirchen-Siegertsbrunn","Pasing"]
        number: 4

Traceback (if applicable):

Additional information:

Correct, this is the number of departures requested from the API. Since there is no way to filter by transport mode, destination or direction in the API call, we need to filter out results ex-Post, which reduces the number of results you see.
Unfortunately, it is not possible to foresee the number of results that will be filtered out, so you will need to roughly guess this.
Will clarify the documentation on this when I get a chance

Closing as it looks like this is by design based on @mountainsandcode 's comments


transactionTimeHash redundant to transactionTime aka blockNumber

https://github.com/decentralized-identity/sidetree-core/blob/master/docs/implementation.md#response-body-schema-2
Recently came across this when rendering a UI component for sidetree ethereum transactions...
{
      "transactionNumber": "1",
      "transactionTime": "5546321",
      "transactionTimeHash": "0xc5546a7b58e9470c1a5f9dc6e629637161e18a7d8ed71fb4b908f68cc73c2685",
      "anchorFileHash": "<protected>"
    }

https://ropsten.etherscan.io/block/0xc5546a7b58e9470c1a5f9dc6e629637161e18a7d8ed71fb4b908f68cc73c2685
Seems like transactionTimeHash is redundant to transactionTime, but the actual transaction where the anchor occurs is:
https://ropsten.etherscan.io/tx/0x203a1c37bb9b5d967e5ed298b59d38a714f7728ac3bda96bd0d2f68c4e24bc92
Did I implement this wrong? Seems like:
transactionTime should be '5546321' aka block number.
transactionTimeHash should be 0x203a1c37bb9b5d967e5ed298b59d38a714f7728ac3bda96bd0d2f68c4e24bc92
which is transactionHash not blockHash... but when I read the implementation guide:
     "transactionTime": "The logical blockchain time this transaction is anchored. Used for protocol version selection.",
      "transactionTimeHash": "The hash associated with the transaction time.",

I'm not familiar enough with the bitcoin implementation to know if this issue exists on that side as well.

Hi @OR13,
transactionTimeHash is needed for detecting block reorgs. Imagine the chain forks and two blocks with the same block number now have different transactions. Without transactionTimeHash there is no way for sidetree-core to detect this which can lead to incorrect states.
As you are aware of, the protocol intentionally creates this abstraction and does not dictate the implementation as long as the transactionTime is monotonically increasing, and the time hash is always deterministic based on the transaction time. But one obvious way to implement it is to use the block number and block number hash. Using transaction number and transaction hash as an alternative seems dangerous, because in the even of a reorg, the same transaction can appear in both forks and sidetree-core would not know the difference between the two if transaction hash is used as opposed to block hash.
transactionTime being 5546321 looks good.
transactionTimeHash being 0xc5546a7b58e9470c1a5f9dc6e629637161e18a7d8ed71fb4b908f68cc73c2685 would be the correct hash.

@thehenrytsai thanks, i'm going to close this!


[💡 Feature]: Markdown todo list support

Is your feature request related to a problem?
No
Describe the solution you'd like.

Describe alternatives you've considered.

Render todo content with a markdown renderer, so embedded markdown (including todo lists) render as such?
Have todo's actually be backed by markdown, and allow it to be editable as markdown?
We could do editing in the markdown widget, allowing someone to do this.

Additional context
No response
Code of Conduct

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

Allowing creating/editing todos this way would be a complete new experience and would require a complete implementation of the todo widget. I am not sure if the value add would justify the work required to implement this.
I could imagine it makes more sense to enhance the markdown parse of the markdown widget to support GitHub flavored markdown and allow users to use the markdown widget to maintain todos this way.

Details


Update to upstream master

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 14 committers have signed the CLA.:white_check_mark: kssenii:white_check_mark: itrofimow:x: Tony Roussel:x: rwols:x: RafalGoslawski:x: EmielBruijntjes:x: pgit:x: Niederb:x: benjamg:x: matwey:x: boimart1:x: pablorcum:x: jacksonn-gtc:x: SebDieBlnTony Roussel seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


CL parity issues

Description

CL Should be able to send announcements from the consoles. It requires ACCESS_MARINE_SENIOR which they don't get
CLs can't view marine tacmaps and can't draw or edit any of them either. Their faction is technically not the marines so they don't get accesses from them (I think this means sentries might hit them aswell in some cases if they're only set to not hurt unmc personel?)
Reproduction

Screenshots

Additional context

CLs in 13 do have the marine faction, so USCM turrets won’t fire on them (it would be really bad optics for one of them to gun a CL down on the Almayer). They can see the tacmap every marine can see by looking at the map table, but they can’t see the live tacmap/edit it because that’s tied the Overwatch skill, which they don’t have.

Weird. When looking at the tacmap in a dev environment it just showed up blank. Tbf I spawned in a liason to do this ,so maybe they're given the faction on spawn or something weird.


Warn people to stay away from enso ex

This so called enso ex is not from original developer and can cause soft brick if SD2VITA driver provided by it is enabled.
Source: personal experience and Reddit.

I don't know the details about this. Do you have some links to further info?

Hi,
Sorry for not including them in the first place:
https://www.reddit.com/r/VitaPiracy/comments/b8qz2f/post_ensoex_everything_has_gone_wrong/
https://www.reddit.com/r/vitahacks/comments/b4z3ez/faq_enso_ex_v30/

Ouch. Yeah I can add a sentence at the end saying to stay away from mods like that unless the user really knows what they're doing.

This should stay open until it's actually fixed (otherwise I'll forget about it).


[bug]: Cannot add components using the CLI because of failed certificate verification

Describe the bug
I am trying to add the Tooltip component by running npx shadcn-ui@latest add tooltip, but the command fails with the following error message:
FetchError: request to https://ui.shadcn.com/registry/index.json failed, reason: unable to verify the first certificate
    at ClientRequest.<anonymous> (file:///C:/Users/js/AppData/Local/npm-cache/_npx/125ee17d583c4e03/node_modules/node-fetch/src/index.js:108:11)
    at ClientRequest.emit (node:events:513:28)
    at TLSSocket.socketErrorListener (node:_http_client:496:9)
    at TLSSocket.emit (node:events:513:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  type: 'system',
  errno: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE',
  code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE',
  erroredSysCall: undefined
}
Failed to fetch components from registry.

It worked fine yesterday and nothing changed on my side, is it possible that some certificate has expired?
Affected component/components
Tooltip
How to reproduce
Run npx shadcn-ui@latest add tooltip
Codesandbox/StackBlitz link
No response
Logs
FetchError: request to https://ui.shadcn.com/registry/index.json failed, reason: unable to verify the first certificate
    at ClientRequest.<anonymous> (file:///C:/Users/js/AppData/Local/npm-cache/_npx/125ee17d583c4e03/node_modules/node-fetch/src/index.js:108:11)
    at ClientRequest.emit (node:events:513:28)
    at TLSSocket.socketErrorListener (node:_http_client:496:9)
    at TLSSocket.emit (node:events:513:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  type: 'system',
  errno: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE',
  code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE',
  erroredSysCall: undefined
}
Failed to fetch components from registry.

### System Info

```bash
Windows 10.0.19042 Build 19042
npm 8.19.3
node 18.13.0

Before submitting

[x] I've made research efforts and searched the documentation
[X] I've searched for existing issues

@jakub-sekula are you able to add those components like button input card etc... or same problem with all components add?

@jakub-sekula Are you by any chance using ESET Antivirus?
https://forum.eset.com/topic/40702-eset-ssl-protection-produces-an-invalid-certificate-chain-for-nodejs-apps/

@jakub-sekula Are you by any chance using ESET Antivirus?
https://forum.eset.com/topic/40702-eset-ssl-protection-produces-an-invalid-certificate-chain-for-nodejs-apps/

I am actually, it's being used on my company network. I think this may be it, I'll check in with the IT people this week and let you know if and how it's solved. But it does sound like this issue is external to shadcn though.

If you have access to ESET settings, you can disable the HTTPS Traffic scanning.
Setup > Internet Protection > Web access protection (gear icon) > HTTP(S) traffic scanning > then turn off the HTTPS Traffic scanning


PP-181: Update wallet to use the references to new js package.

What
Update wallet to use the references to the new js package. Replace zksync js with rif-aggregation release.
This PR depends on https://github.com/rsksmart/ri-aggregation/pull/28 to be merged
Why
Update the zksync js release with the new changes
References
https://rsklabs.atlassian.net/browse/PP-181
https://rsklabs.atlassian.net/browse/PP-179

It depends on the SDK PR


#Upload Rom

its not proper way, how can you know full name of the zip file before compile?

Sry it's already compiled n failed on upload n got filename from logs so tried to upload directly,nvm file got by u ,closed👍


GRC files are not precompiled on Windows platform

C preprocessor should be executed on the GRC files before using ResConv tool to resolve the symbolic constants used in the GRC files.

Thanks @tlorantfy for the fix!


Link generation support in Razor components

Need to figure out if we want to provide a way to generate links to non-Razor Components things (Controller actions, Razor Pages, etc.) when in the context of a Razor Component.

This should now be possible with LinkGenerator


Lt Sai should not have charges

I checked this out and yes it shouldn't be there. Pull request 71 has been raised to remove it.


Feature Request: allow only 1 Marker> InfoWindow open at a time

Issue description
When a user clicks on a marker, the embedded InfoWindow opens without closing any previously open InfoWindows.
Steps to reproduce and a minimal demo of the problem
_Use https://plnkr.co or similar -- try this template as a starting point: http://plnkr.co/edit/YX7W20?p=preview
What steps should we try in your demo to see the problem?
Current behavior
User can open multiple Marker > InfoWindows on the active Map. It gets crowded.
Expected/desired behavior
Close open InfoWindow before opening new InfoWindow. here is my current workaround:
    <sebm-google-map-marker
        *ngFor="let m of sebmMarkers; let i = index"
        (markerClick)="clickedMarker(m, i)"
        [latitude]="m.lat"
        [longitude]="m.lng"
        [label]="m.label"
        [openInfoWindow]="false">

      <sebm-google-map-info-window
        [isOpen]="m.isOpen">

      </sebm-google-map-info-window>
    </sebm-google-map-marker>

  private _lastOpenIndex: number = -1;
  clickedMarker( data: any, index: number) {
    data['isOpen'] = true;
    if (this._lastOpenIndex > -1) this.sebmMarkers[this._lastOpenIndex]['isOpen'] = false;
    this._lastOpenIndex = index;
  }

angular2 & angular2-google-maps version
Other information

I use another method, maybe it is slower than yours (I'm not a professional programmer), but just another thought.
<sebm-google-map-marker *ngFor="let m of markers; let i = index"                                              (markerClick)="clickedMarker(m.name, i)"                                             [latitude]="m.lat"                                             [longitude]="m.lng"                                             [iconUrl]="activeMarker.showActiveMarker(i)"                                             [markerDraggable]=true                                             (dragEnd)="markerDragEnd(m, $event)">                         <sebm-google-map-info-window [isOpen]="activeMarker.showActiveBubble(i)">                             {{m.name}}                         </sebm-google-map-info-window>                     </sebm-google-map-marker>
activeMarker:any = {
    activeIndex:null as number,
    showActiveMarker(i: number) {
        if (i == this.activeIndex) {
            return 'http://www.iconsdb.com/icons/preview/orange/map-marker-2-xxl.png'
        }
    },
    showActiveBubble(i: number) {
        let openbox: boolean;
        if (i == this.activeIndex) {
             openbox = true
        } else {
            openbox = false
        }
        return openbox
    }
}

@mixersoft Does the above code solves the problem? I tried implementing it, not working for me.

Changing the isOpen property does indeed close and open the infoWindows. I did it another way tho:
This method on a mapMarker opens the window of m: SebmMapMarker and closes the rest who are located in an Array of SebmMapMarker called "markers".
markerMouseOver(m: SebmGoogleMapMarker, $event){     let markerIndex = this.markers.indexOf(m);     this.markers[markerIndex].infoWindow.isOpen = true;     for (let i of this.markers) {       if(m != i){         i.infoWindow.isOpen = false;       }     }   }

Do you have good approach to implment this when we have more than one sebm-google-map-marker layer?

i solved it by below code:
html file:
<sebm-google-map-marker
*ngFor="let m of markers; let i = index"
(markerClick)="clickedMarker(infoWindow,m, i)"
[latitude]="m.lat"
[longitude]="m.lng"
[label]="m.label"
(mouseOver)="hovervent(infoWindow,m, i)"
(mouseOut)="closeinfowindow(infoWindow,i)"
[markerDraggable]="m.draggable"
(dragEnd)="markerDragEnd(m, $event)"
>
<sebm-google-map-info-window #infoWindow (infoWindowClose)="onInfoWindowClose($event)">
ts file:
clickedMarker(infoWindow:any,property: any,markernum:number) {
this.clickedmarker=true;
this.clickeddata=property;
if( this.infoWindowOpened ===  infoWindow)
return;
	if(this.infoWindowOpened !== null)
	this.infoWindowOpened.close();
	this.infoWindowOpened = infoWindow;

}
hovervent(infoWindow:any,property: any,markernum:number) {
this.clickeddata=property;
this.infoWindowOpened =  infoWindow;
this.infoWindowOpened.open();
}
closeinfowindow(infoWindow:any,markernum:number)
{
if(!this.clickedmarker)
{
if(this.infoWindowOpened !== null)
this.infoWindowOpened.close();
this.infoWindowOpened = infoWindow;
}
}
onInfoWindowClose(event:any)
{
this.clickedmarker=false;
console.log("closed");
}


Race condition for figure properties

fig = Figure(title='bad title')
display(fig)
fig.title = 'good title'

displays a figure with 'bad title'

This seems to be working using latest bqplot


Investigate Cockatiel

A resilience and transient-fault-handling library that allows developers to express policies such as Backoff, Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback. Inspired by .NET Polly.

https://github.com/connor4312/cockatiel

Revisit later, maybe.


v2.4.0 Release - 📂✨

Improving the file manager 📂✨

[x] Show loading indicator where ls takes longer than 1s (https://github.com/ipfs-shipyard/ipfs-webui/issues/926)
[x] Lazy render the directory listing to improve rendering perf for large directory listings. (https://github.com/ipfs-shipyard/ipfs-webui/issues/856)
[x] Show file actions on the file preview page (https://github.com/ipfs-shipyard/ipfs-webui/issues/813)
[x] Show file actions on right click on a file item in the dir listing (https://github.com/ipfs-shipyard/ipfs-webui/issues/917)
[x] Increase file-drop area to entire window (https://github.com/ipfs-shipyard/ipfs-webui/issues/916)
[x] Improve add file flow (the current add to IPFS drop down is confusing)
[x] Improve create folder flow (https://github.com/ipfs-shipyard/ipfs-webui/issues/915)
[x] Improve import / pin from IPFS path flow

Other improvements

[x] Add self-hosted usage analytics (https://github.com/ipfs-shipyard/ipfs-webui/issues/774 and https://github.com/ipfs/ipfs-gui/issues/72)
[x] fix mixed content warnings where webui is hosted on a domain (https://github.com/ipfs-shipyard/ipfs-webui/issues/925)

🚢 Shipped in v2.4.0 release.


bug: fix install deps script

cargo-nextest and  cargo-udeps requires --locked on installation.

cc @tabVersion You might be interested.


Angular 8.0/TypeScript 3.4 Update

@thedavidharris - since Angular is at version 10.X, is it better to bypass 8.0 and go to say, 9.X or 10.X?

Upgraded to version 9.1


add opt-in to newsletter

request: https://trello.com/c/EbZKffod/349-add-extra-opt-in-to-newsletter-per-legal

@laserchicken I know that @katelynp43 has been making some similar updates in backpack. She got rid of [sailthru] https://github.com/lonelyplanet/backpack-ui/blob/master/src/components/newsletter/index.jsx#L199. Just wanted to point that out, but I am not fully aware of the fix, so it might not be an issue

@nickfranciosi yeah, she asked me for help with newsletter form in the footer; she is using new notation but sailthru is still supported (https://github.com/lonelyplanet/gonzo/blob/master/app/controllers/newsletter_controller.rb#L18) - should be ok, thanks

as I said above @katelynp43 sailthru is still supported, so no need to update anything here

@laserchicken I know it is still supported but there has been big effort to remove sailthru variables as much as possible so I would like to remove them and leave the code cleaner than we found it. :)

updated @katelynp43

@thomasthesecond if I use button it will not validate the form - you can submit empty inputs

You can add type="submit" on the button


Add coveragerc file

@anupriyatripathi, the coverage script now works. We are at 86% coverage 👍

Thanks, looks great!

Pull Request Test Coverage Report for Build 11

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+66.9%) to 85.915%

Totals

Change from base Build 9:
66.9%

Covered Lines:
90

Relevant Lines:
108

💛  - Coveralls


Add controller without description

Create branch: issue-10-add-controller-without-description from develop.

Create branch: issue-10-add-controller-without-description from develop.


PSO-operator build on top of the operator-sdk framework. (DO NOT MERGE)

Everything of interest is in the pso-operator directory.
Reference:
https://github.com/operator-framework/operator-sdk/blob/master/doc/helm/user-guide.md

pso-operator/deploy : All the YAMLs that need to be applied to the
cluster
pso-operator/deploy/crd/purestorage_v1alpha1_psoplugin_cr.yaml : Add
any changes to default values.yaml. NOTE: Need to add arrays here.

Currently the docker-image is built and pushed to
pc2-dtr.dev.purestorage.com/purestorage/pso-operator:v0.0.2

Description of the change:
Motivation for the change:

@trevormeiss the reconciler/controller is the helm-reconciler which is already in the operator-sdk here: operator-framework/operator-sdk/pkg/helm/controller

This looks pretty cool. Any thoughts on whether we should we make a pso-operator repo on our internal github? Or do we want to keep this as a public thing like the helm charts?

This looks pretty cool. Any thoughts on whether we should we make a pso-operator repo on our internal github? Or do we want to keep this as a public thing like the helm charts?

If we make the repo-public then we give users the ability to update their helm chart and build a new operator themselves. Just like users can clone our helm repo and use it without waiting for the next release cycle. This may be necessary for some users who cannot wait to try a change.
While making a public repo we should not include the operator-sdk repo code .... maybe just the operator-sdk binary so that users can build the operator-image without having to clone the operator-sdk repo?


Form working group to construct representative queries

As agreed at the 28/APR/21 Lasair internal review, @andyxerxes has written a report  for the A3.09 activity. At the above meeting it was agreed to close all tickets in the A3.09 current activity.


Fix build html report url

merged as part of https://github.com/YOU54F/cypress-slack-reporter/pull/988


Missing slash in url path

The sample shown in the Computer Vision quickstart for REST in Python is missing a slash. I was getting errors without it. I then added it in, and it worked great.
https://docs.microsoft.com/en-us/azure/cognitive-services/computer-vision/quickstarts/python-analyze
Here is where I added it in: analyze_url = endpoint + "/vision/v2.1/analyze"
It was the forward slash before the word vision. The quickstart is missing that.
The error without it are here (amongst many other lines):
socket.gaierror: [Errno 11001] getaddrinfo failed
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='westus.api.cognitive.microsoft.comvision', port=443): Max retries exceeded with url: /v2.0/analyze?visualFeatures=Categories%2CDescription%2CColor (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x00000205B3A301C8>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))

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

ID: 1ca59440-24bf-dba5-b540-eadcaeec4f56
Version Independent ID: e8997fd0-cb84-c41d-84d3-c30b218a5922
Content: Quickstart: Analyze a remote image - REST, Python - Azure Cognitive Services
Content Source: articles/cognitive-services/Computer-vision/QuickStarts/python-analyze.md
Service: cognitive-services
Sub-service: computer-vision
GitHub Login: @PatrickFarley
Microsoft Alias: pafarley

I am getting a similar error:
gaierror: [Errno -3] Temporary failure in name resolution
NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f193b2d9048>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution
MaxRetryError: HTTPSConnectionPool(host='mike-test.cognitiveservices.azure.com', port=443): Max retries exceeded with url: /vision/v2.1/ocr/?language=en&detectOrientation=false (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f193b2d9048>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
ConnectionError: HTTPSConnectionPool(host='mike-test.cognitiveservices.azure.com', port=443): Max retries exceeded with url: /vision/v2.1/ocr/?language=en&detectOrientation=false (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f193b2d9048>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
This is the list errors when I execute:
response = requests.post(ocr_url, headers=headers, params=params, data=image_data)

@inthevortex thanks, what does your ocr_url look like? In the error, they don't show the http:// in the host url, I have also seen that problem before, where it's being truncated for some reason. If you add the http:// back in will that work? For example add it in, in the end of the URL process (right before the API call takes it) like this:
response = requests.post('http://' + ocr_url, headers=headers, params=params, data=image_data)

I have found the issue to be in the OS, I researched a bit and found that Windows and Mac OSX are having outdated openSSL versions installed by default which force the connection to be TLS 1.0 but the cognitive services API requires a minimum of TLS 1.2. So I tried it on a debian system and it worked like it should. I think the documentation should include this point.

@inthevortex Great, thanks for sharing that. I'll forward this to our docs and service team.

Thanks, it will help out other who get stuck with this.


WIP: add helm deployment

This is still a WIP, as I want to templatize a few more things, like the ability to add annotations and labels to the different deployments. Also should add some docs, but I think that will go in the https://github.com/k8guard/k8guard.github.io repo.

fixes: https://github.com/k8guard/k8guard-start-from-here/issues/37

Thanks @r0fls could you also please add a few lines to the site docs ? how to use the helm feature ?
https://k8guard.github.io/deploy/