Support for Smart Lock v4

I tried last week to pair with Smart Lock v4, but it doesn't work.
Are there any plans to support this?
Nukihub works with v4, but I would like to use Esphome.

Same request here! Thanks.

Another v4 owner here

Apologies for the late response. AFAIK, the underlying library NukiBleEsp32 does not yet support v4.

Its author says it does: https://github.com/I-Connect/NukiBleEsp32/issues/65

Great. There is no specific code in this module for either V2, V3 and V4.
Since I don't have the V4 version, can you explain what is the problem you experience?

It is simply not pairing.

Please post the logs and the yaml.

Unfortunately I can't test it anymore, my dad is happy with the nukihub project, sorry.
I only have a Nuki V3 myself.

I will be able to test once https://github.com/uriyacovy/ESPHome_nuki_lock/issues/51 is fixed

I will be able to test once #51 is fixed

You can try now.

Adding more verbose logs
[17:24:29]I[37400][D][NukiBle.cpp:109] pairNuki(): Nuki in pairing mode found
[17:24:29] NimBLEScan: Updated advertiser: b8:7c:6f:7b:91:e3
[17:24:29]D NimBLEScan: >> stop()
[17:24:29]I NimBLEAdvertisedDevice: No service data found
[17:24:29]D NimBLEScan: << stop()
[17:24:29]I N[ 37419][D][NukiBle.cpp:163] connectBle(): connecting within: loopTask
[17:24:29][ 37426][D][NukiBle.cpp:177] connectBle(): connection attemnpt 0
[17:24:29]imBLEScan: Updated advertiser: e7:a7:29:e1:39:c8
[17:24:29]D NimBLEClient: >> connect(54:d2:72:93:48:bd)
[17:24:29]D NimBLEClient: Got Client event
[17:24:29]I NimBLEClient: Connected event
[17:24:29]D NimBLEClient: Got Client event
[17:24:29]I NimBLEClient: mtu update event; conn_handle=0 mtu=247
[17:24:29]I NimBLEClient: Connection established
[17:24:29]D NimBLEClient: >> deleteServices
[17:24:29]D NimBLEClient: Got Client event
[17:24:29]D NimBLEClient: << deleteServices
[17:24:29]D [ 37749][D][NukiBle.cpp:1506] onConnect(): BLE connected
[17:24:29]NimBLEClient: Peer requesting to update connection parameters
[17:24:29]D NimBLEClient: MinInterval: 12, MaxInterval: 12, Latency: 0, Timeout: 600
[17:24:29]D NimBLEClient: << connect()
[17:24:29]D NimBLEClientCallbacks: onConnParamsUpdateRequest: default
[17:24:29]D NimBLEClient: >> getService: uuid: a92ee100-5501-11e4-916c-0800200c9a66
[17:24:29]D NimBLEClient: Accepted peer params
[17:24:29]D NimBLEClient: >> retrieveServices
[17:24:29]D NimBLEClient: Got Client event
[17:24:29]I NimBLEClient: mtu update event; conn_handle=0 mtu=247
[17:24:29]D NimBLEClient: Service Discovered >> status: 0 handle: 23
[17:24:29]D NimBLERemoteService: >> NimBLERemoteService()
[17:24:29]D NimBLERemoteService: << NimBLERemoteService(): a92ee100-5501-11e4-916c-0800200c9a66
[17:24:29]D NimBLEClient: Service Discovered >> status: 14 handle: -1
[17:24:29]D NimBLEClient: << Service Discovered
[17:24:29]D NimBLEClient: << retrieveServices
[17:24:29]D NimBLERemoteService: >> getCharacteristic: uuid: a92ee101-5501-11e4-916c-0800200c9a66
[17:24:29]D NimBLERemoteService: >> retrieveCharacteristics() for service: a92ee100-5501-11e4-916c-0800200c9a66
[17:24:29]D NimBLEClient: Got Client event
[17:24:29]I NimBLEClient: Connection parameters updated.
[17:24:29]D NimBLERemoteService: Characteristic Discovered >> status: 0 handle: 25
[17:24:29]D NimBLERemoteCharacteristic: >> NimBLERemoteCharacteristic()
[17:24:29]D NimBLERemoteCharacteristic: << NimBLERemoteCharacteristic(): a92ee101-5501-11e4-916c-0800200c9a66
[17:24:29]D NimBLERemoteService: Characteristic Discovered >> status: 14 handle: -1
[17:24:29]D NimBLERemoteService: << Characteristic Discovered
[17:24:29]D NimBLERemoteService: << retrieveCharacteristics()
[17:24:29]D NimBLERemoteCharacteristic: >> setNotify(): Characteristic: uuid: a92ee101-5501-11e4-916c-0800200c9a66, handle: 25 0x0019, props:  0x28, 02
[17:24:29]D NimBLERemoteCharacteristic: >> getDescriptor: uuid: 0x2902
[17:24:29]D NimBLERemoteCharacteristic: >> retrieveDescriptors() for characteristic: a92ee101-5501-11e4-916c-0800200c9a66
[17:24:29]D NimBLERemoteCharacteristic: Next Characteristic >> status: 14 handle: -1
[17:24:29]D NimBLERemoteCharacteristic: Descriptor Discovered >> status: 0 handle: 26
[17:24:29]D NimBLERemoteDescriptor: >> NimBLERemoteDescriptor()
[17:24:29]D NimBLERemoteDescriptor: << NimBLERemoteDescriptor(): 0x2902
[17:24:29]D NimBLERemoteCharacteristic: << Descriptor Discovered. status: 0
[17:24:29]D NimBLERemoteCharacteristic: << retrieveDescriptors(): Found 1 descriptors.
[17:24:29]D NimBLERemoteCharacteristic: << setNotify()
[17:24:29]D NimBLERemoteDescriptor: >> Descriptor writeValue: Descriptor: uuid: 0x2902, handle: 26
[17:24:29]I NimBLERemoteDescriptor: Write complete; status=0 conn_handle=0
[17:24:29]D NimBLERemoteDescriptor: << Descriptor writeValue, rc: 0
[17:24:29][ 38420][D][NukiBle.cpp:1242] registerOnGdioChar(): GDIO characteristic registered
[17:24:30]D NimBLEClient: >> getService: uuid: a92ee200-5501-11e4-916c-0800200c9a66
[17:24:30]D NimBLEClient: >> retrieveServices
[17:24:30]D NimBLEClient: Service Discovered >> status: 0 handle: 27
[17:24:30]D NimBLERemoteService: >> NimBLERemoteService()
[17:24:30]D NimBLERemoteService: << NimBLERemoteService(): a92ee200-5501-11e4-916c-0800200c9a66
[17:24:30]D NimBLEClient: Service Discovered >> status: 14 handle: -1
[17:24:30]D NimBLEClient: << Service Discovered
[17:24:30]D NimBLEClient: << retrieveServices
[17:24:30]D NimBLERemoteService: >> getCharacteristic: uuid: a92ee202-5501-11e4-916c-0800200c9a66
[17:24:30]D NimBLERemoteService: >> retrieveCharacteristics() for service: a92ee200-5501-11e4-916c-0800200c9a66
[17:24:30]D NimBLERemoteService: Characteristic Discovered >> status: 0 handle: 32
[17:24:30]D NimBLERemoteCharacteristic: >> NimBLERemoteCharacteristic()
[17:24:30]D NimBLERemoteCharacteristic: << NimBLERemoteCharacteristic(): a92ee202-5501-11e4-916c-0800200c9a66
[17:24:30]D NimBLERemoteService: Characteristic Discovered >> status: 14 handle: -1
[17:24:30]D NimBLERemoteService: << Characteristic Discovered
[17:24:30]D NimBLERemoteService: << retrieveCharacteristics()
[17:24:30]D NimBLERemoteCharacteristic: >> setNotify(): Characteristic: uuid: a92ee202-5501-11e4-916c-0800200c9a66, handle: 32 0x0020, props:  0x28, 02
[17:24:30]D NimBLERemoteCharacteristic: >> getDescriptor: uuid: 0x2902
[17:24:30]D NimBLERemoteCharacteristic: >> retrieveDescriptors() for characteristic: a92ee202-5501-11e4-916c-0800200c9a66
[17:24:30]D NimBLERemoteCharacteristic: Next Characteristic >> status: 0 handle: 35
[17:24:30]D NimBLERemoteCharacteristic: Descriptor Discovered >> status: 0 handle: 33
[17:24:30]D NimBLERemoteDescriptor: >> NimBLERemoteDescriptor()
[17:24:30]D NimBLERemoteDescriptor: << NimBLERemoteDescriptor(): 0x2902
[17:24:30]D NimBLERemoteCharacteristic: << Descriptor Discovered. status: 0
[17:24:30]D NimBLERemoteCharacteristic: << retrieveDescriptors(): Found 1 descriptors.
[17:24:30]D NimBLERemoteCharacteristic: << setNotify()
[17:24:30]D NimBLERemoteDescriptor: >> Descriptor writeValue: Descriptor: uuid: 0x2902, handle: 33
[17:24:30]I NimBLERemoteDescriptor: Write complete; status=0 conn_handle=0
[17:24:30]D NimBLERemoteDescriptor: << Descriptor writeValue, rc: 0
[17:24:30][ 38855][D][NukiBle.cpp:1286] registerOnUsdioChar(): USDIO characteristic registered
[17:24:30][ 38977][D][NukiBle.cpp:980] pairStateMachine(): ##################### REQUEST REMOTE PUBLIC KEY #########################
[17:24:30]D NimBLEScan: >> stop()
[17:24:30]D NimBLEScan: << stop()
[17:24:30]D NimBLERemoteCharacteristic: >> writeValue(), length: 6
[17:24:30]I NimBLERemoteCharacteristic: Write complete; status=0 conn_handle=0
[17:24:30]D NimBLERemoteCharacteristic: << writeValue, rc: 0
[17:24:32]D NimBLEClient: Got Client event
[17:24:32]D NimBLEClient: Notify Recieved for handle: 25
[17:24:32]D NimBLEClient: checking service a92ee100-5501-11e4-916c-0800200c9a66 for handle: 25
[17:24:32]D NimBLEClient: Got Notification for characteristic Characteristic: uuid: a92ee101-5501-11e4-916c-0800200c9a66, handle: 25 0x0019, props:  0x28
[17:24:32]Descriptor: uuid: 0x2902, handle: 26
[17:24:32]D NimBLEClient: Invoking callback for notification on characteristic Characteristic: uuid: a92ee101-5501-11e4-916c-0800200c9a66, handle: 25 0x0019, props:  0x28
[17:24:32]Descriptor: uuid: 0x2902, handle: 26
[17:24:32][ 40889][D][NukiBle.cpp:1318] notifyCallback():  Notify callback for characteristic: a92ee101-5501-11e4-916c-0800200c9a66 of length: 36
[17:24:32][ 40901][D][NukiUtils.cpp:103] crcValid(): CRC CHECK OKE
[17:24:32][ 40971][D][NukiBle.cpp:996] pairStateMachine(): ##################### SEND CLIENT PUBLIC KEY #########################
[17:24:32]D NimBLEScan: >> stop()
[17:24:32]D NimBLEScan: << stop()
[17:24:32]D NimBLERemoteCharacteristic: >> writeValue(), length: 36
[17:24:32]I NimBLERemoteCharacteristic: Write complete; status=0 conn_handle=0
[17:24:32]D NimBLERemoteCharacteristic: << writeValue, rc: 0
[17:24:32]D NimBLEClien[ 41001][D][NukiBle.cpp:1003] pairStateMachine(): ##################### CALCULATE DH SHARED KEY s #########################
[17:24:32]t: Got Client event
[17:24:32]D NimBLEClient: Notify Recieved for handle: 25
[17:24:32]D NimBLEClient: checking service a92ee100-5501-11e4-916c-0800200c9a66 for handle: 25
[17:24:32]D NimBLEClient: Got Notifica[ 41028][D][NukiBle.cpp:1010] pairStateMachine(): ##################### DERIVE LONG TERM SHARED SECRET KEY k #########################
[17:24:32]tion for characteristic Characteristic: uuid: a92ee101-5501-11e4-916c-0800200c9a66, handle: 25 0x0019, props:  0x28
[17:24:32]Descriptor: uuid: 0x2902, handle: 26
[17:24:32]D NimBLEClient: Invoking callback for notification on characteristic Characteristic: uuid: a92ee101-5501-11e4-916c-0800200c9a66, handle: 25 0x0019, props:  0x28
[17:24:32]Descriptor: uuid: 0x2902, handle: 26
[17:24:32][ 41071][D][NukiBle.cpp:1318] notifyCallback():  Notify callback for characteristic: a92ee101-5501-11e4-916c-0800200c9a66 of length: 36
[17:24:32][ 41083][D][NukiUtils.cpp:103] crcValid(): CRC CHECK OKE
[17:24:32][ 41091][D][NukiBle.cpp:1022] pairStateMachine(): ##################### CALCULATE/VERIFY AUTHENTICATOR #########################
[17:24:32][ 41150][D][NukiBle.cpp:1039] pairStateMachine(): ##################### SEND AUTHENTICATOR #########################
[17:24:32]D NimBLEScan: >> stop()
[17:24:32]D NimBLEScan: << stop()
[17:24:32]D NimBLERemoteCharacteristic: >> writeValue(), length: 36
[17:24:32]I NimBLERemoteCharacteristic: Write complete; status=0 conn_handle=0
[17:24:32]D NimBLERemoteCharacteristic: << writeValue, rc: 0
[17:24:33]E (49286) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
[17:24:33]E (49286) task_wdt:  - loopTask (CPU 1)
[17:24:33]E (49286) task_wdt: Tasks currently running:
[17:24:33]E (49286) task_wdt: CPU 0: btController
[17:24:33]E (49286) task_wdt: CPU 1: IDLE
[17:24:33]E (49286) task_wdt: Aborting.
[17:24:33]
[17:24:33]abort() was called at PC 0x401035d8 on core 0
[17:24:33]
[17:24:34]
[17:24:34]Backtrace:0x40083701:0x3ffbeb1c |<-CORRUPTED
[17:24:34]
[17:24:34]
[17:24:34]
[17:24:34]
[17:24:34]ELF file SHA256:<PHONE_NUMBER>000000

Thanks.

Please post the full yaml.
Instead of using this library   - https://github.com/uriyacovy/NukiBleEsp32 please try the original repo https://github.com/I-Connect/NukiBleEsp32 and see if it works.

Hi,
Thanks @uriyacovy  for your replay.
I was already using https://github.com/I-Connect/NukiBleEsp32 with the differentes releases / branches.
After a full day of testing I thing i find the root cause, and a work arround allowing me to pair my device.
So the issues is that Esphome has reduce the wst watchdog timer to 5s and any task taking more time causing a reset.
Nuki is taking too much time to answer to the "SEND AUTHENTICATOR" test causing watchdog reset.
Adding a "esp_task_wdt_reset();" in the loop to prevent the watchdog to trigger had allow me to successfully end the pairing process (tested several time to confirm)
you can find there my ugly workarround
https://github.com/I-Connect/NukiBleEsp32/commit/a1d9f9d5f7df09f84fb3c5659aebfb6a7ac42997
you can try it using
https://github.com/AntorFr/NukiBleEsp32#test instead of https://github.com/I-Connect/NukiBleEsp32

Good catch! Thanks a lot!
I wonder why pairing takes longer in Nuki V4.
In any case, maybe there's a workaround that can be done in this library. Can you check the following?
In nuki_lock.cpp add #include "esphome/core/application.h" and just before line 266 add App.feed_wdt();
Let me know if it works, and if it does, I'll add it to the code.

Hi @uriyacovy
Thanks, I tried it (you can look at the fix there https://github.com/AntorFr/ESPHome_nuki_lock/tree/fix-pairing-watchdog-reset) but a still had a watch dog reset.
I will try to find more time to investigate but for now I'm hosting some friends and family so do have much to do tecky stuff ^^

I also use a v4 and solved it increasing the timeout by adding
esp_task_wdt_init(15, false); to void NukiLockComponent::setup()  a few months ago.
App.feed_wdt(); was not enough.

I think this can be closed as support for v4 was merged from @AzonInc


Add support for multiple domain names

This PR adds a backwards-compatible way to create certificates for multiple domain names.
The domain names are requested using the set_requested_certificates method, and a live_all method to get all generated certificates. The config value and live still work exactly the same. Using both config value and set_requested_certificates at the same time is even supported.
Example of a layer using this functionality to create a https reverseproxy: https://github.com/tengu-team/layer-ssl-termination-proxy
So, what do you think?

We use it to give our ssl-termination-proxy support for multiple "upstreams": traffic to a different fqdn gets routed to a different backend server.
Thus, we need a way to specify which fqdn is linked to which upstream. How we do this is with subordinates to the ssl-termination-proxy: each subordinate is linked to an upstream using the http interface and contains an fqdn config. The subordinate sends the fqdn+upstream pair to the ssl-termination-proxy over a relationship after which the proxy uses layer-lets-encrypt to generate a cert and configures nginx to route all traffic with that hostname to that upstream.
I think this is a good solution because it clearly shows in the model which traffic goes to which upstream.
So for our use-case, we really want to do it using an API instead of a config value because the charm using layer-lets-encrypt gets the fqdns from a relationship.


Refactor IoC.

Is now attribute driven and more compile time enforced (with interfaces). IoC can now resolve types (and create them with a helper to reduce boilerplate).
Should allow for better modularization and stuff later down the line.

@ComicIronic Should I make [IoCTarget] required or optional? Right now it's optional.

Optional for what, to actually get the type? It should definitely be mandatory for that, I don't want to shim a test implementation and it gets used in the game by accident.

@ComicIronic alright then.

Has the usage changed with this PR?
If so, can you do a small example for clarity?

@psykzz yes.
To allow IoC to resolve an interface, the interface needs to inherit IIoCInterface:
public interface IFoo : IIoCInterface { ... }

To allow IoC to find an implementation, said implementation needs the [IoCTarget] attribute:
[IoCTarget]
public class Bar : IFoo { ... }

Do you still use IoCManager.Resolve<T>() ?

Yes.
There's also ResolveType<T>() which returns a type instead of an instance, NewType<T>() which returns a new instance (no services), and ResolveEnumerable<T>() which returns an IEnumerable<Type> over all implementors.


Cannot add button utility classes for default, primary, secondary, and highlight theme colours

Added required utility classes


Major shadow banding issues in Firefox

Preview in: https://developer.playcanvas.com/en/tutorials/animate-entities-with-curves/
In Firefox:

No console Errors that I can see, except for a few expected text.
Console: Warnings

Console: Logs

Console: Info

Could you please post on the forum to get some support, as this likely is not an actual bug but perhaps incorrect settings:
https://forum.playcanvas.com/

@mvaligursky sure.
But first I'd like to verify with you whether this issue could be resolved simply by republishing the build link to check whether this is simply incompatible source.
The current build link is: https://playcanv.as/p/cp3OGFrJ

Firefix 97.0 on Win 10:

The WEBGL_debug_renderer_info message is unrelated. Mozilla are removing support for that WebGL extension. PlayCanvas does query it but doesn't actually need it itself.

Looks good for me too

Perhaps check you're on up to date drivers for the video card.

@willeastcott

What operating system are you using? What version of Firefox?

Windows 11 Home
Firefox 97 (64-bit)

Although it is for Acer, not sure what's that on about.

Screenshot

@mvaligursky

Perhaps check you're on up to date drivers for the video card.

I have an NVIDIA GeForce RTX 3050 Ti Laptop GPU and it's up to date.
Literally auto-updated my OS + GPU Drivers again yesterday too.
Still same issue.
Double-checked my NVIDIA graphics settings from maximum performance to maximum quality and still no luck.

Fyi, perhaps I should have mentioned this in my first post, but the shadows issue doesn't appear in MS Edge for me.

Screenshot

could you please try this example:
https://playcanvas.github.io/#/graphics/shadow-cascades
and play around with the controls to see if they make any difference.

VSM8 & VSM16 glitch. The other shadow types work fine, even when I tweak them.

I tried the shadow cascades on my Windows 10 box, and I get the same behaviour, in both Firefox and Chrome - when using VSM8 and VSM16.

Repro on Win 11, Chrome with VSM 8 and 16:
https://user-images.githubusercontent.com/5677782/154163406-dd98fd39-9bec-4335-833f-1292d1b8dc02.mp4

Is this a regression? Surely someone would have noticed this before...

Another repro case to look at
https://forum.playcanvas.com/t/weird-artifacting-on-textures-generated-on-an-ipad-running-ios-15/24668/17


Cannot open labelling dialog immediately after using tool

Hi everyone,
I try to show the labelling dialog immediately after using end of tool,
example when I using rectangle to draw in image, after draw, We want to show labelling immediately,
but when I set open it in onMeasurementAdded, it make site really slow. It really bad.
So how can we apply this. please let us know

Hey trung1704ptit, you need to create your own custom tool and add a callback to open a labelling dialog after the measurement has been placed, similar to how arrowAnnotate does it.


Clear config better

Turns out it would still pick up the local toml because of a funny interaction where another fixture would change the dict, so this fixture would clear an old unused dict.

@prbot approve


Create dhruvik.txt

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

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

adding the file

Please reference issue 1.

Any update, @dhruvik1999 ?


Add 'comment' or 'label' block

In larger programs, it might be useful to comment on (label) parts of the graph that are special, tricky or harder to decipher than usual.

May I ask for a more detailed documentation?


"Locked" on the BuildWizard not "Locked" In-Game

The Build Wizard references "Locked" runes.  Internally, locked means the lock state in-game.  This option actually allows runes already used by other Loadouts.  The naming should be clarified to match the function.

Note that "Assigned" means equipped in the original.

UsedInBuild is the internal variable indicating this condition, but it is really mis-labeled since we call the processed build a Loadout

We also have "Locked" monsters which sort-of applies.


WIP feat(washboard-ui): indicate if asset is managed by wamd

Feature or Problem

Some of the resources are managed by wadm and it is not easy to know which one is manually created and which one is by wadm.
Obviously the feature flag part is part of the WIP only.
Related Issues

#844
asset annotation for wadm assets
Release Information

Consumer Impact

Testing

Testing might be interesting and I am waiting for your opinion as well.
Steps:

cd washboard-ui
make run-ui
Go to localhost:5173 (or as the output of the previous)
Start multiple assets with wadm and without wadm.
Switch between the features and reload.

Unit Test(s)

Acceptance or Integration

Manual Verification

Hey @brooksmtownsend, sorry for the ping and the delay. I know that this PR is failing. (since I created multiple options and did not bother to cleanup until we pick one). If you would look at this would be great, although this is kinda a cosmetic thing only.
Appreciate.

Thank you for the poke @markkovari ! I left a comment on the issue itself with a tag for Lachlan who made the washboard to see if he has any opinions 😄

Closes #844


prefill duplications

When you board a vessel that has been boarded before, and prefill the crew, then save a draft....
Then you edit the draft and go to Crew, it asks if you want to prefill again. it should just save what you do.

Cannot replicate

Dmitry, can you replicate this bug? if not, feel free to close it.

Cannot replicate


Update sbt-typelevel-github-actions to 0.7.2

About this PR
📦 Updates org.typelevel:sbt-typelevel-github-actions from 0.7.1 to 0.7.2
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel", artifactId = "sbt-typelevel-github-actions" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.typelevel", artifactId = "sbt-typelevel-github-actions" }
}]

labels: sbt-plugin-update, early-semver-minor, semver-spec-patch, version-scheme:early-semver, commit-count:n:2

Superseded by #156.


[question] Cannot publish to private registry via the Node.js API

Describe the bug
I have different behavior when publishing via the CLI and the Node.js API. I set a repository to demonstrate the issue. For the completeness, I would like to publish a bunch of npm packages to verdaccio and use the private NPM registry when building my electron application.
To Reproduce
Node.js API
Steps to reproduce the behavior:

Clone https://github.com/kittaakos/verdaccio-publish.git.
Run yarn --cwd ./publisher-node-api && yarn --cwd ./publisher-node-api test

Successfully logged in.
Publishing 'my-private-package' into the private NPM registry.
[1/4] Bumping version...
info Current version: 1.0.0
[2/4] Logging in...
[3/4] Publishing...
error Couldn't publish package: "http://localhost:4873/my-private-package: ESOCKETTIMEDOUT"
info Visit https://yarnpkg.com/en/docs/cli/publish for documentation about this command.

It seems to work when I use the CLI way. But I usually end up with a dangling verdaccio process. I would like to start and stop the server in JS. Is it possible? It seems to work with the CLI way:
CLI
Steps to reproduce the behavior:

Clone https://github.com/kittaakos/verdaccio-publish.git.
Run yarn --cwd ./publisher-cli && yarn --cwd ./publisher-cli test

Waiting for the NPM registry startup.
.. warn --- config file  - /Users/akos.kitta/Desktop/verdaccio-publish/publisher-cli/verdaccio-config.yml
 warn --- Plugin successfully loaded: htpasswd
 warn --- Plugin successfully loaded: audit
 warn --- http address - http://localhost:4873/ - verdaccio/3.8.6
 http <-- 200, user: null(<IP_ADDRESS>), req: 'HEAD /', bytes: 0/0
 http <-- 201, user: 2402372f-7afd-43ca-8349-860e514cadba(<IP_ADDRESS>), req: 'PUT /-/user/org.couchdb.user:2402372f-7afd-43ca-8349-860e514cadba', bytes: 97/189

info attempt registry request try #1 at 17:31:22
http request PUT http://localhost:4873/-/user/org.couchdb.user:2402372f-7afd-43ca-8349-860e514cadba
Successfully logged in.
Publishing 'my-private-package' into the private NPM registry.
[1/4] Bumping version...
info Current version: 1.0.0
[2/4] Logging in...
[3/4] Publishing...
 http --> 404, req: 'GET https://registry.npmjs.org/my-private-package' (streaming)
 http --> 404, req: 'GET https://registry.npmjs.org/my-private-package', bytes: 0/21
 http <-- 201, user: 2402372f-7afd-43ca-8349-860e514cadba(<IP_ADDRESS>), req: 'PUT /my-private-package', bytes: 1198/53
success Published.
[4/4] Revoking token...
info Not revoking login token, specified via config file.
🎉
 http <-- 409, user: null(<IP_ADDRESS>), req: 'PUT /-/user/org.couchdb.user:2402372f-7afd-43ca-8349-860e514cadba', error: username is already registered
http 409 http://localhost:4873/-/user/org.couchdb.user:2402372f-7afd-43ca-8349-860e514cadba
info attempt registry request try #1 at 17:31:24
http request GET http://localhost:4873/-/user/org.couchdb.user:2402372f-7afd-43ca-8349-860e514cadba?write=true
 http <-- 200, user: null(<IP_ADDRESS>), req: 'GET /-/user/org.couchdb.user:2402372f-7afd-43ca-8349-860e514cadba?write=true', bytes: 0/53
http 200 http://localhost:4873/-/user/org.couchdb.user:2402372f-7afd-43ca-8349-860e514cadba?write=true
info attempt registry request try #1 at 17:31:24
http request PUT http://localhost:4873/-/user/org.couchdb.user:2402372f-7afd-43ca-8349-860e514cadba/-rev/undefined
 http <-- 201, user: 2402372f-7afd-43ca-8349-860e514cadba(<IP_ADDRESS>), req: 'PUT /-/user/org.couchdb.user:2402372f-7afd-43ca-8349-860e514cadba/-rev/undefined', bytes: 385/201
http 201 http://localhost:4873/-/user/org.couchdb.user:2402372f-7afd-43ca-8349-860e514cadba/-rev/undefined
(node:30369) [DEP0013] DeprecationWarning: Calling an asynchronous function without callback is deprecated.

What is the preferred way if the Node.js API cannot be used. By the way, It was strange, I had to manually set the self_path on the configuration object. See here.
If this issue nneeds more context, please let me know.
Thank you!

@juanpicado, let me know if you need more input for this issue. Thanks!

@kittaakos I had no time to look deeply into it yet, but your provided input is quite good 👍 . First time I see this approach. This is on my queue of tasks 📓 .


Mobile api release

Also:

Resolves some issues with public api locations, as identified in #27
Resolves #21


Determine a concrete set of MoSCoW requirements and properties of our tool that will enable us to answer the established research questions

Idea here is to discuss the requirements with external specialists both from academia and industry and make changes along the way


[BUTTON IDEA] Discord Button:

1. Name of button:
Discord button
2. Description:
I found that discord has it's own OAuth API and we don't yet have a button for it
3. Button Type (Animated, Special, etc...):
Social
4. Will you work on it?:
Yes

Ok you may work on it @ryuzaki221

#650
Please review the changes. Thank You


diger implementation

Rationale
Diger is built upon Matter and hashing algorithms alone. It was a pretty simple next step after implementing Matter.
Testing
Pretty complete this time, though I didn't examine the KERIpy tests. The code was so simple I merely exhausted the primary control flows. The digest tests ensure we don't mismatch an algorithm, they aren't intended to test the hasing functions themselves.
Notes
With 512-bit digests, ahead of KERIpy.

We should include at least one test vector from keripy, it's been our "measure of interoperability" so far.

I'll do this tonight

Codecov Report

Merging #30 (74a206f) into main (3445463) will increase coverage by 2.32%.
The diff coverage is 76.36%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main      #30      +/-   ##
==========================================
+ Coverage   65.59%   67.92%   +2.32%
==========================================
  Files           3        4       +1
  Lines         529      636     +107
==========================================
+ Hits          347      432      +85
- Misses        182      204      +22

Impacted Files
Coverage Δ

src/core/matter/tables.rs
80.76% <51.02%> (-13.63%)
:arrow_down:

src/core/diger.rs
96.61% <96.61%> (ø)

src/core/matter/mod.rs
76.01% <100.00%> (+1.52%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

I added the most comprehensive python test and fixed a bunch of stuff in Matter. Let me know if you want to go through anything I did. Basically, we were passing things by value and doing a lot of unnecessary clones and conversions. It broke down when the test code got more complex and needed to reuse borrowed values.


Could you kindly provide a pretrained model?

Hi @Zhang-O,
there is a pretrained model in pretrained directory. :)


Missing script train.py

[Enter feedback here]
The section for the training component is missing the script train.py, therefore, the examples aren't functional.
Section:
https://learn.microsoft.com/en-us/azure/machine-learning/tutorial-pipeline-python-sdk#create-component-2-training-using-yaml-definition

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

ID: 789ff09b-04b0-6262-420b-90770d0f8a1f
Version Independent ID: cbdf5d7d-0c4b-65fc-256b-f13816d6ab4c
Content: Tutorial: ML pipelines with Python SDK v2 - Azure Machine Learning
Content Source: articles/machine-learning/tutorial-pipeline-python-sdk.md
Service: machine-learning
Sub-service: core
GitHub Login: @msdpalam
Microsoft Alias: meeral

@adriantorrie
Thanks for your feedback! We will investigate and update as appropriate.

Hi @adriantorrie ,
I've delegated this to @msdpalam, a content author, to review and share their valuable insights.


fix: remove nonsensitive call from runner_user_data output variable

Description
This removes the nonsensitive call added to the runner_user_data output variable in order to fix the issue found in #1031.
Closes #1031.
Migrations required
NO
Verification
Running this locally removes the error.

I just noticed #1018 and #1019, so I've changed this to always mark this variable as sensitive.

As this variable is already deprecated and used for debugging only, we should simply delete it (like in #1019). Users can set debug.write_runner_user_data_to_file to true to write the data to the local disk.

Thanks for improving the module, @ryancausey


New Feature: Colour picker

So, I'm red/green colourblind, and I can't see the code when it's highlighted. I need to be able to change the colours the added/removed highlights use. It's kind of an accessibility issue I'm sure others would benefit from too.

Definitely agree! I wanted to do this when I implemented the option to change between red/green, but wasn't sure how to dynamically change the color of those line markers. Not sure the Atom API has a way of doing that yet.
In the mean time, you can actually style those line highlights in your user stylesheet:
.split-diff-added,
::shadow .split-diff-added {
  background-color: fade(blue, 40%) !important;
}

.minimap .added {
  background: blue !important;
}

.split-diff-removed,
::shadow .split-diff-removed {
  background-color: fade(blue, 40%) !important;
}

.minimap .removed {
  background: blue !important;
}

Hope that helps at least a little bit, while I work on implementing an actual color picker!

Thaaaaaaank youuuuuu!!! lol

The first part of the code block works for me:
.split-diff-added,
::shadow .split-diff-added {
  background-color: fade(blue, 40%) !important;
}

.minimap .added {
  background: blue !important;
}

But this second portion doesn't do anything. I try to remove a word on the left to see if it gets a highlight on the right, but it just shows the removed word without a highlight. Not sure if I'm doing something wrong here.
.split-diff-removed,
::shadow .split-diff-removed {
  background-color: fade(red, 40%) !important;
}

.minimap .removed {
  background: red !important;
}

Thanks a lot for putting time into this project!

Dang, @megamaiku, I investigated your problem a bit when I read your message and totally forgot to reply! Really sorry about that.
Did you ever figure out the issue? I wasn't able to reproduce it with my setup. What syntax theme are you using?
Also, as a note, you can remove the ::shadow selectors from that css, they are no longer needed as of Atom v1.13


How to train

Hello!
I would like to train a model using the Egowholebody dataset with the code you provided on GitHub.
Could you please let me know which files you used for training?"

Hello,
I have been quite busy recently, so I just provided the readme about the training code for body pose estimation.
I will add other parts of the readme later.

Thank you!


fix(TDI-43729): exclude plexus-utils dep

What is the current behavior? (You can also link to an open issue here)
https://jira.talendforge.org/browse/TDI-43729
What is the new behavior?
Exclude plexus-utils
Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[x] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

Pull request test result: success :star:
Sonar results

Pull request test result: success :star:
Sonar results


Added Optimised Fibonacci Series Formula

This code of fibonacci series works in linear time complexity O(1)

This Pull Request solves  issue #404


Second engineer running make infra-update-app-database causes role manage lambda to lose dependencies

When a second engineer runs make infra-update-app-database locally, since infra/modules/database/role_manager/requirements.txt won't have changed, it won't trigger this pip install command, which causes the resulting zip archive to not contain all the required dependencies.
Ideas for fixing this:

update the vendor_packages resource to always run pip3 install
use filset to list the files in the infra/modules/database/role_manager/vendor folder and include that file list in the triggers_replace clause for the vendor resource
add vendor dependencies to source control

Tried using fileset which initially looked like it worked until I went to test again. Full sequence:

Change triggers_replace value in infra/modules/database/role-manager.tf:54 to fileset(path.module, "role_manager/*") (no requirements installed)
Run make  infra-update-app-database. Requirements were installed as expected (triggers_replace was updated from the requirements file context to the fileset function readout)
Manually delete requirements from module directory and rerun make  infra-update-app-database. This did not reinstall requirements as expected. By my understanding, the triggers_replace value should have changed, triggering a replacement.
Add a dummy file to the module directory and rerun make  infra-update-app-database. Packages are installed and uploaded as expected

My best guess at this point is that fileset is not recursive and the vendors directory being deleted does not register as a change. Will follow up with further testing Monday


Nicovideo - Unable to extract thumbPlayKey;

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.12.01. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2016.12.01

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[x] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
C:\Users\aleks\Downloads>youtube-dl.exe -v http://www.nicovideo.jp/watch/sm5473120
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.nicovideo.jp/watch/sm5473120']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2016.12.01
[debug] Python version 3.4.4 - Windows-10-10.0.14393
[debug] exe versions: none
[debug] Proxy map: {}
[niconico] sm5473120: Downloading webpage
[niconico] sm5473120: Downloading video info page
[niconico] sm5473120: Downloading webpage
ERROR: Unable to extract thumbPlayKey; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp6j6yd3lp\build\youtube_dl\YoutubeDL.py", line 694, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp6j6yd3lp\build\youtube_dl\extractor\common.py", line 357, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp6j6yd3lp\build\youtube_dl\extractor\niconico.py", line 141, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp6j6yd3lp\build\youtube_dl\extractor\common.py", line 660, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract thumbPlayKey; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Single video: http://www.nicovideo.jp/watch/sm5473120

Description of your issue, suggested solution and other information
I'm not sure if the listed support on the website for:

niconico: ニコニコ動画
NiconicoPlaylist

is also accounting for NicoVideo as it seems they rebranded / changed how the service works.

Duplicate of #11170.


Issues when generated empty files

Typescript seems to complain with empty file. For example with a css file which only contains global declarations.
It may be great to just add a /* empty */ comment to prevent errors in rollup builds (for example) :

Thanks ! Your plugin is amazing !

an export {} can fix this

typescript > 2.6 disallow that.
There is an issue about that in this repo

@DavidBabel  are you sure it's not export default {} that is not allowed in TS > 2.6? export {} seems acceptable.


DataCrate spec link broken

In spec.yml:
- title: DataCrate 1.0 review (imported from datacrate)
  url: https://docs.google.com/document/d/150SzIG8Zs3wecPTUue7wxKn6V26oi7rYucS5lxnmWZU/edit

links to a page saying "Sorry, the file you have requested has been deleted. Make sure you have the correct URL and the owner of the file hasn't deleted it."

Can link to https://github.com/UTS-eResearch/datacrate/blob/master/spec/1.0/data_crate_specification_v1.0.md instead

Remove Datacrate and ROLite from specification sidebar (should still be listed on spec homepage)

@elichad Maybe you can use a permalink instead https://github.com/UTS-eResearch/datacrate/blob/ba37cc707d48d3569663ab04f9d4f5c25dac6e34/spec/1.0/data_crate_specification_v1.0.md


Docker bound volume mounts resolve to OS local path

Encountering an issue when attempting to create a container which includes a bind typed volume mount.
The problem is internally, the path is resolved as the local OS system. This is fine when docker is also running locally, however, when accessing a separate Docker context from WSL, the path is incorrect.
Even when providing an absolute path, the path is resolved to a Windows path.
For example, say we create a container with a single volume mount:
var resource = new ContainerResource(name);

builder.AddResource(resource)
            .WithVolumeMount("/etc/container-test", $"/app/{name}", VolumeMountType.Named)
            .WithAnnotation(new ContainerImageAnnotation { Image = "some-image", Tag = "latest" });

The path specified at "/etc/container-test" ends up being resolved to: "C:\project-directory\etc\container-test".
Problematic code is located here:
https://github.com/dotnet/aspire/blob/69937e218b7dd8fd03f2b7e92ecdad3fcd4fbc8a/src/Aspire.Hosting/Dcp/ApplicationExecutor.cs#L476
My proposal would be to check if the path is rooted (Path.IsPathRooted) before calling Path.GetFullPath. This should continue to work cross platform (whilst accessing a subsystem like in this case).

Send a PR?

Done via https://github.com/dotnet/aspire/pull/997


Use Microsoft Graph PowerShell

Content here is outdated.
We should walk through using Microsoft Graph PowerShell module to upload the certificate as well as to pull the sign-in logs

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

ID: 0a950d6b-db1f-8338-f80a-a3fde54c4b4c
Version Independent ID: 8256d37f-d6dc-a8bf-6a39-d18419c94ac3
Content: Tutorial for AD Reporting API with certificates - Microsoft Entra
Content Source: articles/active-directory/reports-monitoring/tutorial-access-api-with-certificates.md
Service: active-directory
Sub-service: report-monitor
GitHub Login: @MarkusVi
Microsoft Alias: markvi

@willfiddes
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

#reassign:@shlipsey3

Updates to the Microsoft Graph related content will be published today. Improvements will continue to be made to this content. Thanks so much for your feedback!

#please-close


issue with onSubmitEditing and useState

💬 Question
Here when I call onSubmit editing I get the error message:
Error: Objects are not valid as a React Child.
I can see the expense updating onChange in my  field correctly. The issue then becomes when I have the user click "done" on the keyboard this error is thrown. Not sure why that is the case.
import React, { useState } from 'react';
import { StyleSheet } from 'react-native';
import { Layout, Text, useTheme, Card, Input } from '@ui-kitten/components';

export default function AddExpenseScreen() {
  const theme = useTheme();
  const [expense, setExpense] = useState(0.0);
  return (
    <Layout
      style={[
        styles.container,
        { backgroundColor: theme['color-primary-default'] },
      ]}
    >
      <Card style={styles.card}>
        <Text
          style={[styles.headerText, { color: theme['color-primary-default'] }]}
          category="h5"
        >
          //THIS UPDATES CORRECTLY WITH onChange BUT NOT onSubmitEditing
          {expense}
        </Text>
        <Input
          style={styles.input}
          keyboardType="numeric"
          returnKeyType="done"
          size="large"
          placeholder="Enter expense here"
          value={expense}
          onChangeText={setExpense}
          onSubmitEditing={(text) => setExpense(text)}
        />
      </Card>
    </Layout>
  );
}

UI Kitten and Eva version

Package
Version

@eva-design/eva
^2.0.0

@ui-kitten/components
^5.0.0

realized I was using this incorrectly. Needed to call onSubmitEditing={Keyboard.dismiss} instead. I was thinking of the don button in the incorrect context.


Hello Zig Build example doesn't work for 0.13.0

Hi there,
I can't get the Hello Zig Build example at https://zig.guide/build-system/zig-build to work. With a copy & paste of build.zig and src/main.zig:
const std = @import("std");

pub fn build(b: *std.Build) void {
    const exe = b.addExecutable(.{
        .name = "hello",
        .root_source_file = .{ .path = "src/main.zig" },
        .target = b.standardTargetOptions(.{}),
        .optimize = b.standardOptimizeOption(.{}),
    });

    b.installArtifact(exe);
}

jhy@jhy-m1 zig-test % zig version
0.13.0

jhy@jhy-m1 zig-test % zig build
/Users/jhy/projects/zig-test/build.zig:6:33: error: no field named 'path' in union 'Build.LazyPath'
        .root_source_file = .{ .path = "src/main.zig" },
                                ^~~~
/opt/homebrew/Cellar/zig/0.13.0/lib/zig/std/Build.zig:2171:22: note: union declared here
pub const LazyPath = union(enum) {
                     ^~~~~
referenced by:
    runBuild__anon_8407: /opt/homebrew/Cellar/zig/0.13.0/lib/zig/std/Build.zig:2116:27
    main: /opt/homebrew/Cellar/zig/0.13.0/lib/zig/compiler/build_runner.zig:301:29
    remaining reference traces hidden; use '-freference-trace' to see all reference traces

From reading the Build.zig, I found this works:
        .root_source_file = .{ .cwd_relative = "src/main.zig" },

But the docs say:
    /// An absolute path or a path relative to the current working directory of
    /// the build runner process.
    /// This is uncommon but used for system environment paths such as `--zig-lib-dir` which
    /// ignore the file system path of build.zig and instead are relative to the directory from
    /// which `zig build` was invoked.
    /// Use of this tag indicates a dependency on the host system.

So I'm not sure what the idiomatic zig example should be.

Hi Jonathan, this example should probably be using b.path("src/main.zig"). LazyPath changed somewhat recently; this code unfortunately isn't covered by testing yet so it was missed. I'll have a look at this later.

Great, yes .root_source_file = b.path("src/main.zig"), works.
Thanks for your work on the guide, very much appreciated!


Cannot use CLI tool

Description
I've used the guide on the website to install the project through pip on Arch, but I keep getting this error whenever I try to use the CLI tool.
What Platform / OS are you running?
Linux
What version are you running?
N/A
Anything in the logs or a references that might be useful?
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/fluffy/.local/lib/python3.11/site-packages/systembridgecli/__main__.py", line 11, in <module>
    from systembridgeshared.const import SECRET_API_KEY, SETTING_PORT_API
ImportError: cannot import name 'SECRET_API_KEY' from 'systembridgeshared.const' (/home/fluffy/.local/lib/python3.11/site-packages/systembridgeshared/const.py)

### Additional information

As I cannot access the CLI tool, I'm not too sure what version I'm running

#2888

This should now be fixed in 4.0.0


Rotate EEF over 90 degrees (as the stage name says)

As per subject.
Stage was named "rx +90°" but rotated over 45 degrees.

Great. Thanks!


feat(commit-reference): add support for triple-dot syntax

Enhances commit reference handling by introducing support for the triple-dot syntax in commit ranges. This allows users to specify comparison ranges more flexibly, improving the functionality of the diff command.

This is an awesome change!


Zigbee device DELETE malfunction

Home Assistant Core 2022.5.4
Xiaomi Gateway 3 version 2.1.0
Two gateways. First gateway on Firmware: 1.4.7_0115, second gateway on Firmware: 1.5.0_0102
Relates to issue #650
With the latest integration version there is a 'DELETE' option on the device screen.
Where the device (e.g. Aqara Motion Sensor) is attached to 2 gateways there are 2 'DELETE' options.
I selected the gateway that I wanted to delete the device from and selected the first 'DELETE' option.
The device was deleted from BOTH gateways. The Xiaomi app still shows the device attached to the second gateway correctly and accessible..
I deleted the integration for the second gateway and re-installed it. The device that was deleted from the first gateway but is still attached to the second gateway does not show up on either gateway.
Rebooted gateway, rebooted HA, device still does not show up.
Interestingly (and probably not related) the 10 BLE Mesh sensors which were showing up on both gateways also do not now show up on the re-installed integration.

Question ? What was the question ?

This is a question from you, which I already answered last time. You moved devices from one gateway to another. But they remained in the database of the old gateway. Now Hass showing them on both integration and can't delete it properly. And gateways can't delete them properly.
Maybe someday I'll make function for cleaning gateway databases from trash.

Ok, My mistake. I thought that is what the DELETE option was added to achieve, but I see that it is not as simple as that.
Not a problem. I have deleted the 5 affected devices on the second gateway from the MiHome app and reinstalled them attached to the second gateway and now they appear correctly in the second integration.
The 10 BLE Mesh sensors which were showing up on both gateways are still not shown on the second gateway.

You can download BLE device diagnostics. And you can see real gateways list there

The diagnostics for the BLE device show it being attached / available to the 3 gateways that I have but the BLE devices are only listed under two of the gateway integrations, not under the new one set up.
Also, (and probably out the of control of the integration) the options shown for the BLE devices are somewhat misleading as (from previous experience) using either DELETE option would presumably delete the device from ALL gateway integrations (again only showing two sets of options because it is only listed under two gateway integrations).

Please reopen the issue if it is still relevant


HDDS-2119. Use checkstyle.xml and suppressions.xml in hdds/ozone projects for checkstyle validation.

After #1423 hdds/ozone no more relies on hadoop parent pom, so we have to use separate checkstyle.xml and suppressions.xml in hdds/ozone projects for checkstyle validation.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
40
Docker mode activated.

_ Prechecks _

+1
dupname
1
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

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

_ trunk Compile Tests _

0
mvndep
67
Maven dependency ordering for branch

+1
mvninstall
1472
trunk passed

+1
compile
1224
trunk passed

-1
mvnsite
1118
root in trunk failed.

+1
shadedclient
4588
branch has no errors when building and testing our client artifacts.

-1
javadoc
371
root in trunk failed.

_ Patch Compile Tests _

0
mvndep
36
Maven dependency ordering for patch

-1
mvninstall
27
root in the patch failed.

-1
mvninstall
23
hadoop-hdds in the patch failed.

-1
mvninstall
23
build-tools in the patch failed.

-1
compile
27
root in the patch failed.

-1
javac
27
root in the patch failed.

-1
mvnsite
27
root in the patch failed.

-1
whitespace
0
The patch 1  line(s) with tabs.

+1
xml
8
The patch has no ill-formed XML file.

+1
shadedclient
774
patch has no errors when building and testing our client artifacts.

-1
javadoc
30
root in the patch failed.

_ Other Tests _

-1
unit
31
root in the patch failed.

+1
asflicense
44
The patch does not generate ASF License warnings.

6246

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1435/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/1435

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient xml

uname
Linux 5504c393c11c 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 4852a90

Default Java
1.8.0_222

mvnsite
https://builds.apache.org/job/hadoop-multibranch/job/PR-1435/2/artifact/out/branch-mvnsite-root.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-1435/2/artifact/out/branch-javadoc-root.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1435/2/artifact/out/patch-mvninstall-root.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1435/2/artifact/out/patch-mvninstall-hadoop-hdds.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1435/2/artifact/out/patch-mvninstall-hadoop-hdds_build-tools.txt

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1435/2/artifact/out/patch-compile-root.txt

javac
https://builds.apache.org/job/hadoop-multibranch/job/PR-1435/2/artifact/out/patch-compile-root.txt

mvnsite
https://builds.apache.org/job/hadoop-multibranch/job/PR-1435/2/artifact/out/patch-mvnsite-root.txt

whitespace
https://builds.apache.org/job/hadoop-multibranch/job/PR-1435/2/artifact/out/whitespace-tabs.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-1435/2/artifact/out/patch-javadoc-root.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-1435/2/artifact/out/patch-unit-root.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-1435/2/testReport/

Max. process+thread count
412 (vs. ulimit of 5500)

modules
C: . hadoop-hdds hadoop-hdds/build-tools U: .

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1435/2/console

versions
git=2.7.4 maven=3.3.9

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

/retest

Thanks @nandakumar131 the patch. Unfortunately it seems to be failing for me with testing it with the checkstyle.sh.
Until now the checkstyle.sh did a mvn checkstyle:check without compilation (which made it very fast). But now you should have the build-tools compiled and installed to do a full checkstyle check.
I don't know what is the good solution here

We can use file references instead of artifact references to define the checkstyle rule files
Or we can add the required build-tools install to the checkstyle.sh

I liked that it was very fast until know, therefore I would prefer the first one, but there could be other options...

Thanks for the suggestion @elek . Modified pom.ozone.xml to use the files from the project instead of maven artifact.

Since we are not using maven artifact anymore, we don't need a new maven module hadoop-hdds-build-tools exactly. I'm happy to leave it as it is if we can use this to add more build tools, or else we can remove this module and move the files somewhere else.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
60
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

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

_ trunk Compile Tests _

0
mvndep
70
Maven dependency ordering for branch

+1
mvninstall
1696
trunk passed

+1
compile
1359
trunk passed

-1
mvnsite
1093
root in trunk failed.

+1
shadedclient
4937
branch has no errors when building and testing our client artifacts.

+1
javadoc
482
trunk passed

_ Patch Compile Tests _

0
mvndep
36
Maven dependency ordering for patch

-1
mvninstall
26
root in the patch failed.

-1
mvninstall
25
hadoop-hdds in the patch failed.

-1
mvninstall
22
build-tools in the patch failed.

-1
compile
28
root in the patch failed.

-1
javac
28
root in the patch failed.

-1
mvnsite
27
root in the patch failed.

-1
whitespace
0
The patch 1  line(s) with tabs.

+1
xml
8
The patch has no ill-formed XML file.

+1
shadedclient
772
patch has no errors when building and testing our client artifacts.

-1
javadoc
30
root in the patch failed.

_ Other Tests _

-1
unit
30
root in the patch failed.

+1
asflicense
46
The patch does not generate ASF License warnings.

6735

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1435/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/1435

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient xml

uname
Linux 81b07cd59e9d 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / e04b8a4

Default Java
1.8.0_222

mvnsite
https://builds.apache.org/job/hadoop-multibranch/job/PR-1435/3/artifact/out/branch-mvnsite-root.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1435/3/artifact/out/patch-mvninstall-root.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1435/3/artifact/out/patch-mvninstall-hadoop-hdds.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1435/3/artifact/out/patch-mvninstall-hadoop-hdds_build-tools.txt

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1435/3/artifact/out/patch-compile-root.txt

javac
https://builds.apache.org/job/hadoop-multibranch/job/PR-1435/3/artifact/out/patch-compile-root.txt

mvnsite
https://builds.apache.org/job/hadoop-multibranch/job/PR-1435/3/artifact/out/patch-mvnsite-root.txt

whitespace
https://builds.apache.org/job/hadoop-multibranch/job/PR-1435/3/artifact/out/whitespace-tabs.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-1435/3/artifact/out/patch-javadoc-root.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-1435/3/artifact/out/patch-unit-root.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-1435/3/testReport/

Max. process+thread count
455 (vs. ulimit of 5500)

modules
C: . hadoop-hdds hadoop-hdds/build-tools U: .

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1435/3/console

versions
git=2.7.4 maven=3.3.9

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

Thanks @nandakumar131 the update. I would remove the build-tools for now. We can (re)create it when we can see the exact need.
I think we can use hadoop-hdds/dev-support/... to store the checksyle as of now...

Currently all the checkstyle checks are showing false negative answers. I will commit this with the suggested change (moving checkstyle XML files to the dev-support) if no objections...

Thanks @elek  for taking care of this!


Fix two typos in README

Hello, I noticed these two types while reading the docs and thought I could help out by fixing them.

Thanks, that is helpful.


It should generate an eTag which is just the MD5 of the file for a non-multipart upload file when file size is smaller than the part size

Fixes #215

@gabriel-cloud Published with v1.0.5


Remove insert latency burstiness, fix issue #83

As reported in issue #83, insertion latency sometimes shows large spikes due to two defects in NuDB's write throttling code:

If a burst of inserts occurs immediately after a batch write finishes, they may temporarily exceed the proven sustained write
rate. This is common and doesn't require any throttling.

When a small batch write completes, the execution time may be dominated by overhead, resulting in an artificially low measurement of the sustained store rate. We don't want to replace our measurement from a large batch with that one.

This change adds a default "burst size" of 4MB. For write batches below this size, we do not update our measurement of the sustained store writes. And until the size of the new write batch reaches this size, we do not throttle writes.
The burst size can be set with a "set_burst" function. Setting a burst size of zero restores the original behavior. Tuning this should not be necessary.

While we do not know in theory the upper limit of write performance, requiring a reasonable lower limit seems like a good idea.

Resolves https://github.com/CPPAlliance/NuDB/issues/83


Update beta variables for Vera

Holding as a draft pending #517

Approved. It seems like the reason for being a draft is resolved but still, I'll let you mark as ready and handle the merge.


EncoderNamedPreset.ContentAwareEncoding

Is there not a present for EncoderNamedPreset.ContentAwareEncoding? We were using that preset.

MediaKind added CVQ presets recently. I am planning to release a new version of the SDK with these 3 new presets.
https://docs.io.mediakind.com/docs/feb-2024-constant-video-quality-presets

CVQ in v1.2.0
https://www.nuget.org/packages/MK.IO/1.2.0

@jasonrelode

CVQ in v1.2.0 https://www.nuget.org/packages/MK.IO/1.2.0

I was wondering when MediaKind will have CVQ presets for H.265?
Our use-case is playing streamed videos over Brightsigns. Some Brightsigns for 4K require H.265 and won't support H.264: https://support.brightsign.biz/hc/en-us/articles/218065137-Supported-video-formats-and-codecs

Hello,
I am asking the question to MediaKind.

Hello @epicstar
MediaKind recommends to open a support ticket so they can track the ask. https://support.mk.io/portal/myarea


update graphql to case insensitive

closes #592

Description

Checklist

[ ] Ran Linting
[x] Targeted PR against correct branch.
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Wrote unit tests.
[ ] Added an entry to the CHANGELOG.md file.
[x] Re-reviewed Files changed in the Github PR explorer.

Loving this program


add precision option

Add precision option to #to_words

Coverage increased (+0.06%) to 99.88% when pulling 5ab7f1ed0de5c524286a069f67c2d102570d8a0e on Neodelf:precision_option into 0c3a3aff797224efe37cee151aa87ea37eb5e54d on kslazarev:master.

Coverage increased (+0.06%) to 99.88% when pulling 5ab7f1ed0de5c524286a069f67c2d102570d8a0e on Neodelf:precision_option into 0c3a3aff797224efe37cee151aa87ea37eb5e54d on kslazarev:master.

Coverage increased (+0.06%) to 99.88% when pulling 5ab7f1ed0de5c524286a069f67c2d102570d8a0e on Neodelf:precision_option into 0c3a3aff797224efe37cee151aa87ea37eb5e54d on kslazarev:master.

Coverage increased (+0.06%) to 99.88% when pulling 5ab7f1ed0de5c524286a069f67c2d102570d8a0e on Neodelf:precision_option into 0c3a3aff797224efe37cee151aa87ea37eb5e54d on kslazarev:master.

How do I exercise this from code?

@dblock, you might execute 7.1.to_words(precision: 3)

I would add a test that calls that @Neodelf. Next this needs a README and a CHANGELOG update, please. And the build to pass.

I would just remove rbx from travis.
If a newer version of JRuby doesn't just work, remove that too.

@dblock you want to remove 'rbx' and 'jruby' versions in '.travis.yml`?
Tests covers new added code (but only russian version or is not true?). Yes, I will change README and CHANGELOG in very soon.

Coverage increased (+0.06%) to 99.88% when pulling 6dd84eed1ab8b49e9ae3c479d16836893eb4e86d on Neodelf:precision_option into 0c3a3aff797224efe37cee151aa87ea37eb5e54d on kslazarev:master.

Coverage increased (+0.06%) to 99.88% when pulling 6dd84eed1ab8b49e9ae3c479d16836893eb4e86d on Neodelf:precision_option into 0c3a3aff797224efe37cee151aa87ea37eb5e54d on kslazarev:master.

Coverage increased (+0.06%) to 99.88% when pulling 3e2896745e95843a7996e59ba55f7781fea2de34 on Neodelf:precision_option into 0c3a3aff797224efe37cee151aa87ea37eb5e54d on kslazarev:master.

Coverage increased (+0.06%) to 99.88% when pulling 3e2896745e95843a7996e59ba55f7781fea2de34 on Neodelf:precision_option into 0c3a3aff797224efe37cee151aa87ea37eb5e54d on kslazarev:master.

Coverage increased (+0.06%) to 99.88% when pulling 421380f85bfce4a43e00c2a420669a08b9675563 on Neodelf:precision_option into 0c3a3aff797224efe37cee151aa87ea37eb5e54d on kslazarev:master.

Coverage increased (+0.06%) to 99.88% when pulling 421380f85bfce4a43e00c2a420669a08b9675563 on Neodelf:precision_option into 0c3a3aff797224efe37cee151aa87ea37eb5e54d on kslazarev:master.

Coverage increased (+0.06%) to 99.88% when pulling 421380f85bfce4a43e00c2a420669a08b9675563 on Neodelf:precision_option into 0c3a3aff797224efe37cee151aa87ea37eb5e54d on kslazarev:master.

Coverage increased (+0.06%) to 99.88% when pulling 421380f85bfce4a43e00c2a420669a08b9675563 on Neodelf:precision_option into 0c3a3aff797224efe37cee151aa87ea37eb5e54d on kslazarev:master.

I just want the build to pass, and I don't care enough about JRuby and definitely not about RBX to waste your time. From tests it's not clear that you can do to_words(precision: ...), so I was hoping for one just like that in any language.

From tests it's not clear that you can do to_words(precision: ...)
I just followed convention about existed tests to order to new tests are easy to fit in existence

Coverage increased (+0.06%) to 99.88% when pulling c35047f1d1c44425e31dc378503d312d4096f009 on Neodelf:precision_option into 0c3a3aff797224efe37cee151aa87ea37eb5e54d on kslazarev:master.

Coverage increased (+0.06%) to 99.88% when pulling c35047f1d1c44425e31dc378503d312d4096f009 on Neodelf:precision_option into 0c3a3aff797224efe37cee151aa87ea37eb5e54d on kslazarev:master.

Looking at existing tests maybe I'm asking for something we don't need. I'm happy with the PR as long as you can please help fix the build?

Coverage increased (+0.06%) to 99.88% when pulling 41bee13b6f4f5a6e3037af13b353ff47cfc37300 on Neodelf:precision_option into 0c3a3aff797224efe37cee151aa87ea37eb5e54d on kslazarev:master.

Coverage increased (+0.06%) to 99.88% when pulling 41bee13b6f4f5a6e3037af13b353ff47cfc37300 on Neodelf:precision_option into 0c3a3aff797224efe37cee151aa87ea37eb5e54d on kslazarev:master.

Coverage decreased (-0.3%) to 99.52% when pulling bd95f1ab0461a897cfe178e97c6d23178a1c58b8 on Neodelf:precision_option into 0c3a3aff797224efe37cee151aa87ea37eb5e54d on kslazarev:master.

Coverage increased (+0.06%) to 99.88% when pulling a8fed9fc9464cd3243ee5a0fbd5fc656d0603851 on Neodelf:precision_option into 0c3a3aff797224efe37cee151aa87ea37eb5e54d on kslazarev:master.

Coverage increased (+0.06%) to 99.88% when pulling a8fed9fc9464cd3243ee5a0fbd5fc656d0603851 on Neodelf:precision_option into 0c3a3aff797224efe37cee151aa87ea37eb5e54d on kslazarev:master.

Just remove rbx or add it to allow_failures, it's not worth it.

Coverage decreased (-0.3%) to 99.52% when pulling 4ef2f895e60dacdd9495194ac3fd3286a6aa5d63 on Neodelf:precision_option into 0c3a3aff797224efe37cee151aa87ea37eb5e54d on kslazarev:master.

@dblock yes, I removed it)

Coverage increased (+0.06%) to 99.88% when pulling 87a8bc3f4c9ef9ee926ebc02914b5ca81df12bd6 on Neodelf:precision_option into 0c3a3aff797224efe37cee151aa87ea37eb5e54d on kslazarev:master.

Coverage increased (+0.06%) to 99.88% when pulling 87a8bc3f4c9ef9ee926ebc02914b5ca81df12bd6 on Neodelf:precision_option into 0c3a3aff797224efe37cee151aa87ea37eb5e54d on kslazarev:master.

Coverage increased (+0.06%) to 99.88% when pulling 7f5cabd0779c4b5c833a490c53773f7906fb789c on Neodelf:precision_option into 0c3a3aff797224efe37cee151aa87ea37eb5e54d on kslazarev:master.

Coverage increased (+0.06%) to 99.88% when pulling 7f5cabd0779c4b5c833a490c53773f7906fb789c on Neodelf:precision_option into 0c3a3aff797224efe37cee151aa87ea37eb5e54d on kslazarev:master.

I made a couple minor suggestions, but it's OK as it is.

Merged.


HLS Manifest plays in chrome, but whitescreens in safari

Have you read the FAQ and checked for duplicate open issues?
Yes!
There are a few issues around HLS open, I've been through all of them and haven't found one that references a white screen like my issue. Please let me know if this is a dupe, though and I'll close it.
What version of Shaka Player are you using?
4.3.4
Can you reproduce the issue with our latest release version?
Yes, I took the basic demo and replaced the manifest there with my 'bad' manifest. Here it is in a codepen for your convenience: REDACTED
Also reproduced below:
Html:
<script src="
<EMAIL_ADDRESS>"></script>
<link href="
<EMAIL_ADDRESS>" rel="stylesheet">

<video id="video" width="640" poster="//shaka-player-demo.appspot.com/assets/poster.jpg" controls autoplay></video>

js:
const manifestUri =
    'REDACTED;

function initApp() {
  // Install built-in polyfills to patch browser incompatibilities.
  shaka.polyfill.installAll();

  // Check to see if the browser supports the basic APIs Shaka needs.
  if (shaka.Player.isBrowserSupported()) {
    // Everything looks good!
    initPlayer();
  } else {
    // This browser does not have the minimum set of APIs we need.
    console.error('Browser not supported!');
  }
}

async function initPlayer() {
  // Create a Player instance.
  const video = document.getElementById('video');
  const player = new shaka.Player(video);

  // Attach player to the window to make it easy to access in the JS console.
  window.player = player;

  // Listen for error events.
  player.addEventListener('error', onErrorEvent);

  // Try to load a manifest.
  // This is an asynchronous process.
  try {
    await player.load(manifestUri);
    // This runs if the asynchronous load is successful.
    console.log('The video has now been loaded!');
  } catch (e) {
    // onError is executed if the asynchronous load fails.
    onError(e);
  }
}

function onErrorEvent(event) {
  // Extract the shaka.util.Error object from the event.
  onError(event.detail);
}

function onError(error) {
  // Log the error.
  console.error('Error code', error.code, 'object', error);
}

document.addEventListener('DOMContentLoaded', initApp);

Can you reproduce the issue with the latest code from main?
How can I do that?
Are you using the demo app or your own custom app?
I'm using the basic example in the docs reproduced in a codepen. This issue also occurs in my custom application.
If custom app, can you reproduce the issue using our demo app?
Yes
What browser and OS are you using?
Safari 16.3, where the player fails.
Version 110.0.5481.100, where the player succeeds.
I've tested this on OSX Big Sur 11.7.4, and iOS 16.2
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
iPhone 14 Pro iOS 16.2
What are the manifest and license server URIs?
Manifest URL: REDACTED
What configuration are you using?  What is the output of player.getConfiguration()?

Loaded an HLS manifest in Shaka player using Google Chrome. The manifest plays fine.
Opened that same example in Safari and the video plays but shows only a white screen.

What did you expect to happen?
I expected the video to play in safari by displaying the video content just like it did in chrome.
What actually happened?
The video plays, ( I can hear the audio and see the scrubber progress ), but the player only shows a white screen. Screenshot provided below:

Closing this issue since it's not related to ShakaPlayer. Our issue was that we weren't restricting the pixel format of our encoded videos to something that safari can play (e.g. yuv420p). Updating this solved our issue.


Deploying prisma made dart app to dockers

This is my Docker file i am trying to build my fine working app to a docker container
FROM dart:stable as builder
COPY . /dart_server
WORKDIR /dart_server
COPY pubspec.* ./
RUN dart pub get
RUN mkdir build
RUN dart compile exe ./bin/server.dart -o ./build/server
FROM debian:buster-slim
COPY --from=builder /dart_server/build /bin
COPY --from=builder /runtime/ /
CMD [ "server" ]

but when i run and try to hit api, i get this response.
[ERROR] 2023-02-10 07:27:27.628250      0:00:00.081866  POST    /auth/register
PrismaClientInitializationError:
  message: Could not find query engine binary for current platform "linux" in query-engine path.

This probably happens, because you built Prisma Client on a different platform.

Searched Locations:
  - /
  - /dart_server/.dart_tool/prisma

You already added the platform "linux" to the "generator" block in the "schema.prisma" file as described in https://pris.ly/d/client-generator, but something went wrong. That's suboptimal.

Please create an issue at https://github.com/odroe/prisma-dart/issues/new
  errorCode: null
  clientVersion: 2.4.5

package:shelf/src/middleware/logger.dart 30  logRequests.<fn>.<fn>.<fn>

where as i have set the generator block to debain as mentioned in documentation over prisma official documentations.
generator client {
  provider        = "prisma-client-dart"
  binaryTargets = ["debian-openssl-1.1.x"]
}

Can you guide me how can i build it for docker container

https://github.com/odroe/prisma-dart/blob/main/example/simple/Dockerfile.ubuntu#L31

After adding the line you mentioned i have this as my current dockerfile.
FROM dart:stable as builder

# Set the working directory
WORKDIR /dart_server

RUN mkdir build

# Copy dart project files and install dependencies
COPY . .
RUN dart pub get

# Delete prisma configurator
RUN rm -rf lib/prisma_configurator.dart

# Precache query engine
ENV PRISMA_QUERY_ENGINE_BINARY=/dart_server/query-engine
RUN dart run orm precache --type=query

# Generate Prisma client
RUN dart run orm generate
RUN dart run build_runner build --delete-conflicting-outputs

# Build simple app execable
RUN dart compile exe bin/server.dart -o ./build/server

# Build a small image
FROM scratch

# Copy dart runtime
COPY --from=builder /runtime/ /
COPY --from=builder /dart_server/build /bin
COPY --from=builder /dart_server/query-engine ./build/query-engine

CMD ["server"]

but unfortunately i am getting the same response.
guide me further on this.
At this stage this is my generator block.
generator client {
  provider        = "prisma-client-dart"
}

and this is the error i am getting when hitting the api.
{email<EMAIL_ADDRESS>password: 1234567}
[ERROR] 2023-02-11 08:00:24.863876      0:00:00.130999  POST    /auth/register
PrismaClientInitializationError:
  message: Could not find query engine binary for current platform "linux" in query-engine path.

This probably happens, because you built Prisma Client on a different platform.

Searched Locations:
  - /
  - /dart_server

You already added the platform "linux" to the "generator" block in the "schema.prisma" file as described in https://pris.ly/d/client-generator, but something went wrong. That's suboptimal.

Please create an issue at https://github.com/odroe/prisma-dart/issues/new
  errorCode: null
  clientVersion: 2.4.5

package:shelf/src/middleware/logger.dart 30  logRequests.<fn>.<fn>.<fn>

ERROR - 2023-02-11 08:00:24.999121
POST /auth/register
Error thrown by handler.
PrismaClientInitializationError:
  message: Could not find query engine binary for current platform "linux" in query-engine path.

This probably happens, because you built Prisma Client on a different platform.

Searched Locations:
  - /
  - /dart_server

You already added the platform "linux" to the "generator" block in the "schema.prisma" file as described in https://pris.ly/d/client-generator, but something went wrong. That's suboptimal.

Please create an issue at https://github.com/odroe/prisma-dart/issues/new
  errorCode: null
  clientVersion: 2.4.5

package:shelf/src/middleware/logger.dart 30  logRequests.<fn>.<fn>.<fn>

This is a bug where the Prisma query engine downloads the wrong binary engine under Linux.

Now i am getting the connection to db error where it is working fine on local host
ERROR - 2023-02-11 20:43:24.288880
POST /auth/register
Error thrown by handler.
PrismaClientInitializationError:
message: Failed to start the query engine: Connection refused
errorCode: null
clientVersion: 2.4.5
package:shelf/src/middleware/logger.dart 30  logRequests...
any suggestion

Now i am getting the connection to db error where it is working fine on local host
ERROR - 2023-02-11 20:43:24.288880 POST /auth/register Error thrown by handler. PrismaClientInitializationError: message: Failed to start the query engine: Connection refused errorCode: null clientVersion: 2.4.5
package:shelf/src/middleware/logger.dart 30 logRequests... any suggestion

repeat #74

This seems to be a different issue than the one in #74  because in that case you can run the manual commands after running the application to build up a db connection where as this is a production environment and the application is dockerized now what could be the solution.

I'm constructing new versions that allow running the query engine independently to solve this problem. Because setting up ssl and downloading the correct query engine in a blank container is a complicated thing. Small differences can lead to failure.

https://github.com/odroe/prisma-dart/blob/main/lib/universal_engine.dart The universal engine allows connecting to independent query engines.

Now what do u suggest me to do should i copy the file and add in my code or what steps should i take to make my code run can you please guide on that cause there are two servers we have developed using this package and both are now ready to go for a production test.
So kindly if you can guide me with the steps i need to take in order to send them to production.

Now what do u suggest me to do should i copy the file and add in my code or what steps should i take to make my code run can you please guide on that cause there are two servers we have developed using this package and both are now ready to go for a production test.
So kindly if you can guide me with the steps i need to take in order to send them to production.

Because if i try to run the latest version which has the file you just shown it gets stuck on the build_runner and just keeps it self hung after doing half the tasks

@syedzainqadri Can you bear to use the base image of ubuntu or other distribution system? A temporary workaround is to install Dart manually and then in a stripped-down image of the distro system can solve this problem.
I'm looking for ways to support both Dart and Prisma binary engines in scratch.

Well i am able to run it as a fat image and deployed it as it is for now. Lets wait for your update to sort things out in scratch.

@syedzainqadri I have solved this problem! This dockerfile is for your reference. https://github.com/odroe/prisma-dart/blob/main/example/simple/Dockerfile


proxyStore in content and popup

https://github.com/tshaddix/react-chrome-redux-examples/issues/11

Thank you @nikosgi for catching this! 🎉


github:publish allows enabling "Require signed commits"

So far as I can see, there is no option to require signed commits do this using the github:publish scaffolder task.
Feature Suggestion
When configuring a github repo you have the ability to "require signed commits" for pull requests.
Possible Implementation
Not sure how it would be implemented.
Context
Some companies require commits to be signed for verification purposes, by adding the option to the scaffolder task it can be enabled without a manual step.

Sorry this one slipped through the net, feeling that we can just add an option to the publish:github action to require signed commits like everything else is right now. Would be good to take a look at this long list of options later to work out if we can  break them up into sections, but that's for later.


Video memory

Can it be trained under 12GB per batch?

You can fit pix2seq into 12GB memory by decrease the image resolution in dataset/coco.py and also choose a small batch size.

For a 48GB memory, you can fit 8 batches with image resolution 1333 which is my training setting. As transformer does not have a linear scaling law as CNN, you need to perform parameter fine-tuning for searching best learning rate and weight decay.

@gaopengcuhk Thank you!


Contribution guidelines

Contribution guidelines for our next bindings.

next?

@sevein: Yes, we're building new bindings in the next branch that will work with the Mesos HTTP API.

Cool, thank you!

lgtm


[Feature Request]: Transform to support filtering out labels with heuristics/embedding for classification/extraction tasks with a large number of labels

https://github.com/refuel-ai/autolabel/pull/561

@rajasbansal for a quick review


In recording popup window calculate speech recognizer latency

In the recording window when we check "Overlay STT and DTMF events" we get a picture that gives us a rough sense of the latency of the speech recognizer:

In that picture, the latency is the length of time between the end of speech energy in light red horizontal bar and the end of that horizontal bar -- the bar (span) ends when we get a transcript back from the recognizer.  So we can kind of see that the latency was a bit less than a second, but it is not precisely measured.  We must try to figure out how we can make a precise calculation of the latency and show it in the popup:

i.e. in the case where there is a transcript in the popup we should include a "latency" field that shows the calculated latency of the speech recognition service in seconds (with fractions to the millisecond).
This will be challenging because we need to determine the start point to measure from - that point where the speech energy goes to zero.  There is no event in the trace that will give us that time point, so I see two possible solutions:

We post-process the audio stream in the webapp to calculate speech energy and determine the all of the time points where silence is detected following speech.  We then find the last such time point within the light red bar / span and use that as the start time in calculating the latency, calculate the latency and display it in the popup.
If we can't do the above (which would be preferable) we could allow the user to click on the timeline within the transcribe span and use that time point as the start of the calculation.
Option 1 is certainly preferred.

There is another more "quick and dirty" option we could consider for the near term.  If we allowed the user to click and drag on the timeline to create a segment, they could click at the start of the silence period and drag and release when the transcript is returned.  When they release we could calculate the length of time represented by the rectangle they just created and display that in a popup or some sort of annotation.
This is less desirable than actually processing the audio to calculate the latencies in the recording, but could be a short term fix if the better solution is not able to be accomplished


Remove password values from non-test source-files

Describe the bug
Currently there are the following (at least) passward hardcoded in our source file. I think we should try our best to remove them:

Steps to reproduce
No response
Spam policy

[X] I verify that this issue is NOT SPAM and understand SPAM issues will be closed and reported to GitHub, resulting in ACCOUNT TERMINATION.

this has been completed


Run GetTypeSystemForLanguage(Swift) in parallel for every module.

This can shave quite a bit of time from the first expression
evaluation in a session. GetTypeSystemForLanguage() on a module
runs the import of all the referenced clang modules, which means
it will likely rebuild all of them.

@swift-ci please test

@swift-ci please test

@swift-ci test

@swift-ci test


ARM64 docker support

Is it possible to get docker images supporting ARM platforms?
Getting the following message:
"! thumbor The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8)"

Done, support for linux/arm64 platform was added in the latest release.


[REQUEST] Incremental Attribute Improvements through Traits.

Several Jumpchains have perks that give an increase to your attributes relative to your current level rather than a baseline. The trait system for perks allows for several stacking traits that each allow for a certain particular rank to be applied, which is fantastic and can absolutely be used to solve my problem, albeit slightly indirectly. If a perk says it would make me "moderately stronger", than I can add a trait with my current strength rank. This solution clearly scales with any increase to attributes.
However, I do think it would be cleaner if the traits section had an increment option in addition to the rank setting option. As it stands, I have to go back to the Attributes tab every time I see one of these perks to recall my exact ranks for every Attribute affected by the perk, which can end up being several. Additionally, I find myself struggling to determine Being able to pick a "slight increase" option instead of a fixed rank for traits would be lovely.
If this sounds like too much trouble, displaying the current value of a selected attribute or skill in the trait menu would also solve this quite well.

Thanks for your feedback! I will look into the matter and see what feels right... I have been planning to rework the Attribute/Skills system a bit for a while. By any chance do you happen to have any examples of these relative increase Perks on hand?

I can go through my save files and track some down.

 These elixirs permanently increase the stat they are tied to. The vitality elixirs also function as potions of full health while the magic elixir restores your entire mana pool when drank. These elixirs may be bought as many times as you want.

 This is a fact, as certain as existence itself. You're simply cut from a different cloth, set apart from others through your accomplishments and heritage. No matter where you go, people will always understand this. And what is more, you have to fill the position. You are simply better at everything you do. The affects EVERY SINGLE PERK you have, and will apply itself to all future perks you take. No matter what it is, you have a small passive boost increasing its effectiveness. You may choose a single perk, and double whatever benefit it provides you. Once you have chosen a perk for this you cannot repick it, though you may defer choosing it if you want.

 Your teeth are like swords, and your claws are akin to spears. Nothing about you is 'mere', for you have tasted strength and had your fill, if such a limit exists. Your physical prowess is greatly increased, with your form altered for power. Choose one natural element (Fire, Water, Lightning, Ice, Earth, or Wind) for you to embody, your natural attacks able to take on this element while holding a degree of control over it. You may also choose whether your size stays the same or increases up to an additional five meters in size. Your presence heralds something terrifying. Your presence heralds Death.

^You could argue this one is relative to how strong you would be with the monster origin, but since you can buy any perk with any origin, I take perks at face value when they tell him I will be stronger if I buy it.

Mario Kart: Speed Boost (100 CP) - You’ve got a need! A need for speed! Any vehicle that you are controlling will have a greater top speed, and can maintain that speed for longer before suffering any ill effects like overheating, if such things are a danger. Just watch out for any speed traps. This applies to your own body as well. Once you get going, you can move much faster that you could before.

Chrono Trigger: Golden Earring (400 CP, Discount Traveler): I'm not quite certain what the origins of this ornate yet tasteful piece of jewelry are, but its potent effects cannot be denied. It bolsters the vigor of its wearer immensely, causing their body to almost overflow with vitality.

Some DnD jumps also give you access to arbitrary magical or wonderous items, so you could grab something like the Manual of Gainful Exercise.

Hmm, for fixed-value increases, it's worth noting that the Skill/Attribute system does indeed take all ranks into account. So, if you have two strength-boosting Perks then the weaker one will have a portion of its value applied to the total, and if you have ten then the weaker nine will also have that same portion of their value applied.
Thanks for the examples though. I will keep this stuff in mind when I work on enhancing the Skill/Attribute system!

I was aware, as mentioned when I said, "If a perk says it would make me 'moderately stronger', than I can add a trait with my current strength rank. This solution clearly scales with any increase to attributes."
That's also why I said, "...displaying the current value of a selected attribute or skill in the trait menu would also solve this quite well."
Since I gather I wasn't very clear the first time, your current system works quite well as it is. I have been using it in the following way in the above situations: Let's assume I have a C on Strength any no applicable perks and I pick up the white elixir listed at the top. That should increase my strength by a small amount, so I give the perk a trait for Strength C, which would boost be to a C+. However, if I took the same perk much later into a run, when I had an EX-C+ Strength, I would make the perk give me EX-C+ strength. This can be slightly tedious for things like Titleholder, where I have to look up each of my perk affected attributes one by one to see their values to copy them over to the traits menu.
All and all, a minor inconvenience at worst. Thanks so much for taking the time to look at this, not to mention making such a great program.

Alright, thanks for the feedback and detailed explanations! I'm glad the program has been useful to you, and I hope it'll be even more useful once I've refined this particular system.


⚠ TorrentLeech has degraded performance

In 0ab79f7, TorrentLeech ($TL) experienced degraded performance:

HTTP code: 200
Response time: 2069 ms

Resolved: TorrentLeech performance has improved in c400275 after 6 minutes.


Blazor security guidance updates

Fixes #17598
@IIStevowII ... see how this looks to you.

Looks good.
There is one thing that I just noticed, which might be interesting as well.
In the docs, the AddAuthentication() differs from my own implementation.
Docs
services
    .AddAuthentication(AzureADDefaults.BearerAuthenticationScheme)
    .AddAzureADBearer(options => Configuration.Bind("AzureAd", options));

My implementation
services
    .AddAuthentication(AzureADB2CDefaults.JwtBearerAuthenticationScheme)
    .AddAzureADB2CBearer(options => Configuration.Bind("AzureAd", options));

It seems to be a completely different package, Microsoft.AspNetCore.Authentication.AzureAD.UI vs Microsoft.AspNetCore.Authentication.AzureADB2C.UI
I'd expect that the B2C implementation would use the ADB2C version.

I think you're correct ... it's do to an INCLUDE. I'll fix that right now. Thanks for catching it.
The docs were all correct, then I got the bright idea to roll in some INCLUDES files to reduce duplicated content. That's when 😈 got into the works!

Actually ... it turns out that it's just a simple cut-'n-paste error on my part. There's no INCLUDE for that one. I did screw up an INCLUDE earlier. 🙈

kk ... I think that licked the main problems here for now. Thank goodness it's all still in preview and there's time left to iron out the rough spots. Thanks for your help, @IIStevowII!
I'll merge and take this live immediately.


Incorrect spacing when writing sim_map to disk

Hi, I am using your tools.demo* and noticed following
read_image from tools.utils returns as a third element a ratio instead of spacing of the normalized image
This output is passed as norm_info further, and eventually used to set spacing for dumped images.

Hello, take demo.py as an example. If you set the write_sim=True in
   pt2_normed, score = get_sim_embed_loc(emb1, emb2, pt1_normed,                                           (im2['shape'][3], im2['shape'][1], im2['shape'][2]), norm_info=norm_info_2,                                           write_sim=True, use_sim_coarse=True).
This will generate an img.nii.gz file as well as its similar map file sim_map.nii.gz.

Yes, the spacing is not the same as the normed image input to the model, but they have the same aspect ratio, which is enough for visualization purposes.
single point template-query matching

correspond similarity map sim_map.nii.gz and the output query img.nii.gz


SAKIII-4829 - Display issue for numbers in left hand navigation

https://jira.sakaiproject.org/browse/SAKIII-4829

Display issue for numbers in left hand navigation

Note: first try at a trimpath macro. Also inbox count never seems to go over 100. Maybe related to https://jira.sakaiproject.org/browse/SAKIII-3349?

Okay, that's fine by me.


stuck at "waiting for whatsapp connection, please authorize whatsapp web"

Hi,
I'm on mac os Sonoma. Electron just sits there waiting for the chromium to authorize whatsapp web.
getting this on terminal:
"
(openwebui) petriml@iMac-Pro LLM-for-Whatsapp % yarn run dev
yarn run v1.22.22
$ electron --inspect=5858 ./app
Debugger listening on ws://<IP_ADDRESS>:5858/542aa300-51f9-4e70-8f51-701e8b1c349b
For help, see: https://nodejs.org/en/docs/inspector
2024-11-01 21:49:24.332 Electron[65329:1943533] WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState:.
(node:65329) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of null (reading '1')
at LocalWebCache.persist (/Users/petriml/LLM-for-Whatsapp/app/node_modules/whatsapp-web.js/src/webCache/LocalWebCache.js:34:69)
at /Users/petriml/LLM-for-Whatsapp/app/node_modules/whatsapp-web.js/src/Client.js:744:36
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
(Use Electron --trace-warnings ... to show where the warning was created)
(node:65329) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2) "
Nothing happens after I've logged in to whatsapp web on Chromium window.
Should I allow some accessibility etc options in the "privacy and security" settings on mac os? Usually
os reports beforehand if app need accessibility options enabled for the app.

I have the same issue on mac, macOS Sequoia.  Chrome launches and I use the WhatsApp on my phone to authorize the web.whatsapp.com page, after that my chats load on the screen. The separate screen continues to say "Waiting for whatsApp connection, please authorize WhatsApp web".

got any fix?

I made progress, but do not know how to use it.
Steps I took:

delete the package lock files from the root and the ./app directories.
run "npm i" on root and ./app directories
execute "npm run dev" from root directory.

The code runs, once using the phone WhatsApp to authorize the web WhatsApp the code loads the contacts. I am able to pick myself as contact and post a "hi" in my name.
I do not know what is supposed to happen next.

Perhaps try one of the newer forks. That's what I did and got it working, though I had to edit some code to get Ollama api working and get api query to trigger in whatsapp group chat setting.

@RPHllc You need at least two whatsapp numbers to test it, one for the LLM/frontend and one conversation partner. Then pick the name/identity you want to start conversation with from the table of contacts and press "start conversation". All should work in 1v1 conversations without modifications, but not in group chats. Check what the console logs tell you. It should say something like "using local LLM" if the message is picked up and forwarded to the LLM. If not, then it could be that the sender phone number doesn't match with the one added to the contacts table or such, which was the case with the group chat, why it was necessary to change the code to reference contacts with IDs rather than numbers (which is default). It the message is forwarded to the LLM but nothing happens, or you get some error, then I would guess the issue is with the settings or the API query formatting.

Linux X64 same issue!


Add RTL Support - Not tested on IOS

*** NOT TESTED ON IOS ***

Sorry, my editor ruined the indentation, I will fix it and create a new PR


Is this project active?

Hi all.
I want to help, but I want to know if this project is active. Is this project active?

It is not active. But it is not dead either. As you can read from documentaiton, this was an exploration of an idea. A working version is available(https://wikipedia.thottingal.in/).
I welcome contributions that are substantial and important. Not README updates or minor cosmetic changes.


feat: match runtime errors with geth

Description
Edge errors match verbatim with geth. It makes scanning for exact errors difficult. Made the following modifications to match this:  https://github.com/ethereum/go-ethereum/blob/master/core/vm/errors.go#L25-L39

Updated ErrMaxCodeSizeExceeded string
Updated ErrExecutionReverted string
Added custom ErrStackUnderflow and ErrStackOverflow errors to match geth

Changes include

[x] Bugfix (non-breaking change that solves an issue)
[ ] Hotfix (change that solves an urgent issue, and requires immediate attention)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)

Checklist

[x] I have assigned this PR to myself
[ ] I have added at least 1 reviewer
[ ] I have added the relevant labels
[ ] I have updated the official documentation
[ ] I have added sufficient documentation in code

Testing

[x] I have tested this code with the official test suite
[x] I have tested this code manually

Additional comments
Some tooling relies on reading exact error runtime messages. Inconsistencies require custom tooling between geth / polygon-edge.

I have read the CLA Document and I hereby sign the CLA

Looks good, just note that there are some Lint errors that need to be fixed.


Fixing #1354

Fixing the height of pseudo-element and improving the height of customs selects.

Testing...

:+1: