Add BreadBuddy to projects.json

Pull Request Description
BreadBuddy is an open-source reference app for using MVVM with SwiftUI.
Acceptance Criteria
To be accepted into the Swift source compatibility test suite, a project must:

[x] be an Xcode or swift package manager project
[x] support building on either Linux or macOS
[x] target Linux, macOS, or iOS/tvOS/watchOS device
[x] be contained in a publicly accessible git repository
[x] maintain a project branch that builds against Swift 4.0 and passes any unit tests
[x] have maintainers who will commit to resolve issues in a timely manner
[x] be compatible with the latest GM/Beta versions of Xcode and swiftpm
[x] add value not already included in the suite
[x] be licensed with one of the following permissive licenses:

BSD
MIT
Apache License, version 2.0
Eclipse Public License
Mozilla Public License (MPL) 1.1
MPL 2.0
CDDL

[x] pass ./project_precommit_check script run

Ensure project meets all listed requirements before submitting a pull request.

@swift-ci test

Just bumped it down to 5.0. Let me know if you need anything else!

Identified problems: No identified problem
No problems were identified. If you know why this problem occurred, please add a suitable Cause for it.

🤪

Hi @maxhumber 👋 , looks like the build system had an issue finding the xcodeproj file specified in this PR
xcodebuild: error: '/Users/ec2-user/jenkins/workspace/swift-PR-source-compat-suite-test-macOS/swift-source-compat-suite/project_cache/BreadBuddy/BreadBuddy/BreadBuddy.xcodeproj' does not exist.

Changes committed!

@swift-ci test


[network] Separate ValidatorConfig and FullNodeConfig in move modules

Motivation
This change separates FullNode config from the Validator consensus config in move modules: LibraSystem and ValidatorConfig. On the rust side, the configs are zipped back together to form a set of "discovery" configs to minimize changes to the rust side as a first step.
Validator consensus config is comprised of: ValidatorConfig::Config = {consensus_pubkey, network_signing_pubkey, network_identity_pubkey, network_address}
FullNode config is comprised of: ValidatorConfig::FullNode = {network_identity_pubkey, network_address}.
Initially each validator will run one FullNode. FullNode is aware of all sequenced transactions, it maintains a full copy of storage DB, FullNodes communicated with clients by accepting transactions and answering clients' queries to the storage DB. Each client initially will run an on-chain discovery protocol, it will read a set of FullNodes configs from Libra blockchain.
In contrast, each new Validator initially will read a set of Validator configs in order to know how to communicate with other validators during consensus.
ValidatorSet and FullNodeSet are stored under different addresses, to facilitate cheaper reads from the blockchain for clients.
In the future, the set of FullNodes might become different from the set of Validators (i.e. there might be Validators that do not run FullNodes and there might be FullNodes that do not run Validator nodes). The PR also builds towards this model.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
cargo xtest

:umbrella: The latest upstream changes (presumably 38a5bbbf62724f549442f6d4a3750f545c57f665) made this pull request unmergeable. Please resolve the merge conflicts.

i think this will need a bit of rebasing after my PR https://github.com/libra/libra/pull/3705 : (

Shall we abandon this one in favor of #3807


feat(article): implements remaining hero types

Closes GRO-756
Split

Fullscreen

Basic

Text

Looking so gooooood 😍


Draft: Additional utilities

PR Summary
Adding some utilities from Singe that are also wanted for use in Nautilus or seemed appropriate to transfer to Ports-of-Call.
PR Checklist

[x] Any changes to code are appropriately documented.
[x] Code is formatted.
[ ] Install test passes.
[ ] Docs build.
[ ] If preparing for a new release, update the version in cmake.

Diego did more sophisticated work with power that may be useful here. I'd suggest reaching out to him to see if his work should be incorporated in this PR. I say that mainly b/c the names may change due to there being a global power function used and switched based on arg type (incorporating now would not incur an API change).

@dholladay00 @Yurlungur @BrendanKKrueger I can share my power implementation (used in EAP) if anybody is interested.

@dholladay00 @Yurlungur @BrendanKKrueger I can share my power implementation (used in EAP) if anybody is interested.

Yes, please do!

Ping @Lona85 can you share your power implementation? Would be great to get this in.

@BrendanKKrueger @Yurlungur @dholladay00 @junghans  It does not look like I can attach my C++ files here. Should I just copy the source code in a comment?

@BrendanKKrueger @Yurlungur @dholladay00 @junghans It does not look like I can attach my C++ files here. Should I just copy the source code in a comment?

@Lona85 if you're comfortable doing so, you could push directly to @BrendanKKrueger 's branch. I can add you as a developer on the repository. Otherwise posting inline is fine. Up to you.

@BrendanKKrueger @Yurlungur @dholladay00 @junghans It does not look like I can attach my C++ files here. Should I just copy the source code in a comment?

@Lona85 if you're comfortable doing so, you could push directly to @BrendanKKrueger 's branch. I can add you as a developer on the repository. Otherwise posting inline is fine. Up to you.

I pushed my power.hpp and test_power.cpp to @BrendanKKrueger 's branch. With some minimal modifications they should be ready to go.

@BrendanKKrueger @Yurlungur @dholladay00 @junghans It does not look like I can attach my C++ files here. Should I just copy the source code in a comment?

@Lona85 if you're comfortable doing so, you could push directly to @BrendanKKrueger 's branch. I can add you as a developer on the repository. Otherwise posting inline is fine. Up to you.

I pushed my power.hpp and test_power.cpp to @BrendanKKrueger 's branch. With some minimal modifications they should be ready to go.

The push worked, now we just have to fix the compile:
[ 88%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/benchmark/detail/catch_stats.cpp.o
In file included from /home/runner/work/ports-of-call/ports-of-call/build/_deps/catch2-src/src/catch2/internal/catch_enum_values_registry.cpp:9:
/home/runner/work/ports-of-call/ports-of-call/build/_deps/catch2-src/src/catch2/../catch2/internal/catch_string_manip.hpp:47:14: error: ‘uint64_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’?
   47 |         std::uint64_t m_count;
      |              ^~~~~~~~
      |              wint_t

@BrendanKKrueger @Yurlungur @dholladay00 @junghans It does not look like I can attach my C++ files here. Should I just copy the source code in a comment?

@Lona85 if you're comfortable doing so, you could push directly to @BrendanKKrueger 's branch. I can add you as a developer on the repository. Otherwise posting inline is fine. Up to you.

I pushed my power.hpp and test_power.cpp to @BrendanKKrueger 's branch. With some minimal modifications they should be ready to go.

The push worked, now we just have to fix the compile:
[ 88%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/benchmark/detail/catch_stats.cpp.o
In file included from /home/runner/work/ports-of-call/ports-of-call/build/_deps/catch2-src/src/catch2/internal/catch_enum_values_registry.cpp:9:
/home/runner/work/ports-of-call/ports-of-call/build/_deps/catch2-src/src/catch2/../catch2/internal/catch_string_manip.hpp:47:14: error: ‘uint64_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’?
   47 |         std::uint64_t m_count;
      |              ^~~~~~~~
      |              wint_t

is this a missing header issue in catch2? Is there a patch or something?

@BrendanKKrueger @Yurlungur @dholladay00 @junghans It does not look like I can attach my C++ files here. Should I just copy the source code in a comment?

@Lona85 if you're comfortable doing so, you could push directly to @BrendanKKrueger 's branch. I can add you as a developer on the repository. Otherwise posting inline is fine. Up to you.

I pushed my power.hpp and test_power.cpp to @BrendanKKrueger 's branch. With some minimal modifications they should be ready to go.

The push worked, now we just have to fix the compile:
[ 88%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/benchmark/detail/catch_stats.cpp.o
In file included from /home/runner/work/ports-of-call/ports-of-call/build/_deps/catch2-src/src/catch2/internal/catch_enum_values_registry.cpp:9:
/home/runner/work/ports-of-call/ports-of-call/build/_deps/catch2-src/src/catch2/../catch2/internal/catch_string_manip.hpp:47:14: error: ‘uint64_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’?
   47 |         std::uint64_t m_count;
      |              ^~~~~~~~
      |              wint_t

Note: Some implementation details are EAP-centric. The unit tests are in GoogleTest and not Catch2. I told @BrendanKKrueger to keep/adapt what he thinks might be useful for ports-of-call and discard the rest 😄

This is due to GitHub changing the default runner to Ubuntu 24.04. Changing the catch version to v3.7.1 in the cmake should resolve the issue
Get Outlook for iOShttps://aka.ms/o0ukef

From: Daniel Holladay @.>
Sent: Wednesday, December 18, 2024 3:27:28 PM
To: lanl/ports-of-call @.>
Cc: Subscribed @.***>
Subject: [EXTERNAL] Re: [lanl/ports-of-call] Additional utilities (PR #74)
@BrendanKKruegerhttps://urldefense.com/v3/__https://github.com/BrendanKKrueger__;!!Bt8fGhp8LhKGRg!FzCg5ETJ7X9U-WkdcSRi8h3sZCiYFdj8VlETnO8oIwA0ffujHKNPVC1K6XAEVsZ9nMuwswva8VcAUMMCWglSbRRs$ @Yurlungurhttps://urldefense.com/v3/__https://github.com/Yurlungur__;!!Bt8fGhp8LhKGRg!FzCg5ETJ7X9U-WkdcSRi8h3sZCiYFdj8VlETnO8oIwA0ffujHKNPVC1K6XAEVsZ9nMuwswva8VcAUMMCWgGAzvMu$ @dholladay00https://urldefense.com/v3/__https://github.com/dholladay00__;!!Bt8fGhp8LhKGRg!FzCg5ETJ7X9U-WkdcSRi8h3sZCiYFdj8VlETnO8oIwA0ffujHKNPVC1K6XAEVsZ9nMuwswva8VcAUMMCWhlbKQuQ$ @junghanshttps://urldefense.com/v3/__https://github.com/junghans__;!!Bt8fGhp8LhKGRg!FzCg5ETJ7X9U-WkdcSRi8h3sZCiYFdj8VlETnO8oIwA0ffujHKNPVC1K6XAEVsZ9nMuwswva8VcAUMMCWllPZSx-$ It does not look like I can attach my C++ files here. Should I just copy the source code in a comment?
@Lona85https://urldefense.com/v3/__https://github.com/Lona85__;!!Bt8fGhp8LhKGRg!FzCg5ETJ7X9U-WkdcSRi8h3sZCiYFdj8VlETnO8oIwA0ffujHKNPVC1K6XAEVsZ9nMuwswva8VcAUMMCWqX09BMD$ if you're comfortable doing so, you could push directly to @BrendanKKruegerhttps://urldefense.com/v3/__https://github.com/BrendanKKrueger__;!!Bt8fGhp8LhKGRg!FzCg5ETJ7X9U-WkdcSRi8h3sZCiYFdj8VlETnO8oIwA0ffujHKNPVC1K6XAEVsZ9nMuwswva8VcAUMMCWglSbRRs$ 's branch. I can add you as a developer on the repository. Otherwise posting inline is fine. Up to you.
I pushed my power.hpp and test_power.cpp to @BrendanKKruegerhttps://urldefense.com/v3/__https://github.com/BrendanKKrueger__;!!Bt8fGhp8LhKGRg!FzCg5ETJ7X9U-WkdcSRi8h3sZCiYFdj8VlETnO8oIwA0ffujHKNPVC1K6XAEVsZ9nMuwswva8VcAUMMCWglSbRRs$ 's branch. With some minimal modifications they should be ready to go.
The push worked, now we just have to fix the compile:
[ 88%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/benchmark/detail/catch_stats.cpp.o
In file included from /home/runner/work/ports-of-call/ports-of-call/build/_deps/catch2-src/src/catch2/internal/catch_enum_values_registry.cpp:9:
/home/runner/work/ports-of-call/ports-of-call/build/_deps/catch2-src/src/catch2/../catch2/internal/catch_string_manip.hpp:47:14: error: ‘uint64_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’?
47 |         std::uint64_t m_count;
|              ^~~~~~~~
|              wint_t
is this a missing header issue in catch2? Is there a patch or something?
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/lanl/ports-of-call/pull/74*issuecomment-2552388080__;Iw!!Bt8fGhp8LhKGRg!FzCg5ETJ7X9U-WkdcSRi8h3sZCiYFdj8VlETnO8oIwA0ffujHKNPVC1K6XAEVsZ9nMuwswva8VcAUMMCWmMuM7ge$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AOO5OJ7X4S2R7YIGYNEN62D2GHZFBAVCNFSM6AAAAABTJSEDQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJSGM4DQMBYGA__;!!Bt8fGhp8LhKGRg!FzCg5ETJ7X9U-WkdcSRi8h3sZCiYFdj8VlETnO8oIwA0ffujHKNPVC1K6XAEVsZ9nMuwswva8VcAUMMCWgs3AnQT$.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Flipping this back to draft while I massage Diego's code to fit within the Ports-of-Call framework/style (because I may not finish before leaving for the day).

This is due to GitHub changing the default runner to Ubuntu 24.04. Changing the catch version to v3.7.1 in the cmake should resolve the issue

Entirely possible that I did this wrong, but what I tried didn't work.

This is due to GitHub changing the default runner to Ubuntu 24.04. Changing the catch version to v3.7.1 in the cmake should resolve the issue

Entirely possible that I did this wrong, but what I tried didn't work.

This is on me---the github runner doesn't use pre-installed catch, it falls back to fetch content. Just pushed an update.

@Lona85 @Yurlungur Ready for review.  I think I've got Diego's power function(s) massaged to better fit within Ports-of-Call.  I squashed that down to a single MR to hide the fiddling.  Feel free to ask me to roll back some of those changes.


[BUG] Jesus is a Moose.

A picture says a what a thousand words could not, so ...

And yes, they seem to retain their walk animation when moving in (on? :) ) water, too.

Honestly, this is probably just the fabric API and vanilla pathfinding being a little wonky. Actively combatting this would not be a worthwhile endeavor. Closing this.


Require certain characters to be URL-encoded

Describe the problem
With the addition of named layouts (#4388), the @ symbol takes on a special meaning in route filenames, alongside [, ] and __. If app authors wish to use these characters in their routes, they should URL-encode them.
We might need to add more such characters in future, and it would be nice if doing so wasn't a breaking change. For example, we haven't figured out how we're going to go about localising routes yet, but perhaps we'll decide we want to do this:
src/routes/translate(about).svelte

In order to reserve that possibility, we should insist that parentheses in route filenames are encoded:
src/routes/Street Spirit %28Fade Out%29

Describe the proposed solution
a) figure out which characters we want to reserve, and reserve them
b) document it (we should do this regardless, for the characters already claimed)
Alternatives considered
No response
Importance
would make my life easier
Additional Information
No response

Would the https://kit.svelte.dev/docs/configuration#routes callback be passed the not-yet-decoded path? I think this would make sense, because it would let users have a path segment that begins with _ (or .) without needing to change their config and update a bunch of names throughout their app.

Yeah, it's passed the filepath rather than the route id, so even if the ID was decoded it wouldn't affect that part of the config

Suggestion: to help people who don't have a URL-encoding reference cheat sheet pinned above their desk, perhaps a new CLI command could be added to help look up the URL-encoded version of a filename. E.g., svelte-kit urlencode "Hello (Goodbye).svelte" would print the string Hello %28Goodbye%29.svelte to stdout, which could then be copy-and-pasted into the VS Code "New file" option. Even for people who use URL-encoding all the time and have it memorized, such a command could be useful because it would only convert the characters that Svelte-Kit has reserved (in my example, the space character did not get converted to %20).

It might also be useful to reserve the “pipe” | in case something like that this prefered:
src/routes/about|i18n.svelte

That's a good thought, but | isn't allowed in Windows filesystems, so that wouldn't be possible as a special character anyway.

This issue is related: https://github.com/sveltejs/kit/issues/4629.
ATM it doesn't seem to be possible to use (at least) routes with an "@" in them (f.e. https://github.com/sveltejs/realworld is broken because of this with current sveltekit).
It works in dev with an encoded path like "/%40[user]" instead of "/@[user]", but breaks in prod because of the issue linked above. Unencoded urls with an "@" in them fail because of the special meaning in named routes.

see #5029 / #5056

I think we can close this post-#5748, since routing is now handled entirely by directories meaning that there's less likelihood of conflicts between filename punctuation and routes. I'm confident that we can implement whatever new features we'd want to (e.g. a localisation group) using [] and (), which would be non-breaking.


Service ports: expose customization for multi-tenancy

Hi @AkihiroSuda ! We are prototyping / preparing for a deployment of user space Kubernetes on our on-premises clusters this fiscal here. In addition to a Python wrapper that (so far) is working on AWS (headless) with flux, either as a system instance, or setup / teardown in a job:
$ flux run -N2 --setattr=attributes.user.usernetes=yes /bin/bash batch.sh

flux-job: ƒ3SwLtzHu started                                                                                00:02:03
Found kubeconfig at /tmp/usernetes-ƒ3swltzhu/kubeconfig
NAME                      STATUS   ROLES           AGE   VERSION
u7s-i-0348057d85534bdeb   Ready    <none>          31s   v1.31.2
u7s-i-056b730dd06cee178   Ready    control-plane   42s   v1.31.2

we are going to want to do the same on a system with multi-tenancy. This means that everyone using the same ports won't fly - and actually even the same user using the same ports won't! So I wanted to discuss / brainstorm with you about ways we can customize the various services to ensure they don't conflict. In HPC we often choose very high numbers too. Thank you!
Proposed plan: tackle each in separate pull request.
Items to do

[x] kube-apiserver and refactor of testing to handle multiple cases of multi-node #346
[x] etcd https://github.com/rootless-containers/usernetes/pull/346/commits/10ce86f228a8118475a58793a2e417d6f807d6f8
[ ] flannel (Not going to do)
[x] kubelet https://github.com/rootless-containers/usernetes/pull/346/commits/ea48bbac8bbdadf598b9b9749af6ecd627eece4a
[x] testing setup that affords customization of nodes for single and multi-node tests https://github.com/rootless-containers/usernetes/actions/runs/12219828578

@AkihiroSuda you can assign this issue to me - I can cover the remaining three bullets. I can also do #347.

The ports of kube-apiserver, kubelet, etc. can be customized via https://github.com/rootless-containers/usernetes/blob/master/docker-compose.yaml and https://github.com/rootless-containers/usernetes/blob/master/kubeadm-config.yaml
I agree that these ports should be configurable, probably via env vars

Yes exactly! Do you want me to take a shot at a PR this week / weekend?

Yes, thanks

Awesome! Ping @milroy - let's discuss what other envars we might want to tweak this week for our setup, and I'll follow up here with a pull request to continue discussion.
Thank you @AkihiroSuda  :pray:

All set!
https://github.com/rootless-containers/usernetes/pull/346
And I had a follow up question in #347 - if there is a means to do that I can open a second PR (and do additional testing for it). We have tested connecting a control plane from EKS with a node they provide, but haven't tested Usernetes on EC2 with the same node (or a different strategy).

@AkihiroSuda I've finished work for this issue, and the PR #346 is ready for review, and checkboxes in the description above updated! Specifically:

We expose (and test) service ports for the kubelet, kube-apiserver, and etcd.
This required some redundancy of testing, so I refactored to add single and multi-node reusable templates
I decided to not expose flannel, because it's based on vxlan, and that's a Linux default.

For the last point, I read about the setup and my naive instinct is that we should not be customizing such a default, at least until there is a compelling need (e.g., different default on a different platform). If you'd like to do this I can follow your guidance, either for this PR or a later one.
Thanks again for the review! I learned a lot working on this and appreciate it.

VXLAN ports have to be changeable for supporting multi-tenancy

VXLAN ports have to be changeable for supporting multi-tenancy

Gotcha. Please see my questions in https://github.com/rootless-containers/usernetes/pull/346#pullrequestreview-2486824507. I think we have two options:

Expose the ports for customization, assuming that someone doing so will know how to configure the vxlan.
Also vendor the flannel yaml here, with the added Port variable customizable from the environment.

If we need to test this, I need to ask for your guidance on how to do that.  Note that the current failure in the test looks like a flaky download for the fedora lima image, we can re-run it when the rest finish.

Flannel is added, and commits squashed https://github.com/rootless-containers/usernetes/pull/346.


Facebook Prompt options gets trimmed.

After facebook integration, in facebook messenger and all FB platforms, all my options for prompt gets trimmed so the user does not actually see the prompt option text completely.
eg : "Yes, I wan......." for "Yes, I want to continue"
This actually affects the user experience.
is there any way to turn off that trim?
help needed.

How long is your message?  Many channels have a maximum length they allow.

It gets trimmed at 301 characters at facebook.

If that was not the issue, please reopen.


Attempt getting Robotoff predictions during product addition

What

Attempt getting Robotoff predictions during product addition

Part of

#1379

the latency of robotoff has decreased dramatically to 250ms

the latency of robotoff has decreased dramatically to 250ms

@teolemon It used to be 10 minutes, right?
After a background "updateProduct" task we wait 10 minutes, then refresh the product in another task: we could lower that to something at least more decent, like 10 seconds.
Or we could even update the product on the server, wait 1 second, then refresh the product in the same task, without having to create a new background task in the queue, to be executed 10 minutes later.
What do you think of that?

@raphael0202


Update .editorconfig

The primary motivation is documenting .less, .js and .tmpl extensions, conform existing conventions.

Thanks!


[0.13.x] Change default value of spork15 to 1047200

This is a hackish version of https://github.com/dashpay/dash/pull/2824,
meant for 0.13.x only. The reason for this hackish version is that the
code has diverged quite a bit and its not worth the effort to backport
the hardening code.
Even though 0.13.x included a lot of fixes for sporks handling and syncing,
I still feel more safe with hardening the spork15 block height. If
something goes wrong with spork syncing (e.g. its slower then the first
DIP2/3 block arrives), the whole sync process will fail otherwise.

Hmmmm.. why not tweak mapSporkDefaults instead? (we don't care about spork15 defaults for develop anyway)

Not sure I understand "we don't care about spork15 defaults for develop/non-mainnets anyway". Problem is that tweaking mapSporkDefaults also results in regtest being affected, which makes tests fail later.

After discussing this more on Slack, I now prefer the suggested solution :) The concern I had was unfounded as on regtest the block height will always be < 1047200

I dropped this commit from master. Pls re-submit the fix to v0.13.x.

Resubmitted as https://github.com/dashpay/dash/pull/2830


Update PUT behaviour for ReqMgrAux APIs; use PUT method for updating CMSSW releases

Fixes #9248
Status
ready
Description
Use PUT HTTP method for updating the CMSSW_VERSION couchdb doc, and create it if it does not exist.
Also changes the behaviour of PUT request - as it should be - such that it expects the whole content to be passed and it does an update like replace. It affects the following APIs:

CMSSWVersions (cmsswversions)
WMAgentConfig (wmagentconfig)
PermissionsConfig (permissions)
UnifiedConfig (unifiedconfig)
CampaignConfig (campaignconfig)
A new option inPlace is supported for WMAgent and Campaign config though, in case a client wants to update only a few key/value pairs.

Last but not least, a DELETE API was implemented to delete wmagent/campaign/unified configuration documents from reqmgr_aux db.
Documentation updated in: https://github.com/dmwm/WMCore/wiki/ReqMgr2-apis#rest-apis-for-reqmgr2-auxiliary
Is it backward compatible (if not, which system it affects?)
No! It changes the behaviour of PUT requests for the agent config, so the agents have to be patched.
Related PRs
Ops changes proposed here: https://github.com/CMSCompOps/WmAgentScripts/pull/428
External dependencies / deployment changes
Agents need to be patched (can happen before the production upgrade).

Alright. It has been tested in my VM and in an agent as well. Time to get it merged.

I missed changes to the deploy-wmagent.sh script, which must be done by the next upgrade....


minor doc edit for clarity/consistency

Coverage remained the same at 98.846% when pulling fa12bd762c9046d24c09f88c8641af6e967d09a3 on corydodt:corydodt-patch-1 into 07ec3f5f544f00265f2b726dc766641c69577799 on glyph:master.

Looks good, thanks.


WIP: Fix flutter side timers

There are still spikes when switching, but strangely the spikes are higher when I'm not running the timer.
Marked as WIP, as I'm not entirely sure if it fixes it to the correct standard as there are still one or two spikes when switching between pages on my phone on 120HZ.

Looking good King. Doesn't lag on my device and I couldn't find any bugs either.


Rename Krkn to KrknChaos

This change will help reflect the use case of the tool more evidently.

Will we need to rename the whole project/org as well? Should we do that first?


Thumbnails connection reset

Sentry link

https://sentry.io/share/issue/47d48415f4ac459189927c49a081321f/
Description

It looks like the requests to the thumbnails service sometimes resets. It'd be nice if we could set up logging or metrics in the thumbnails service to see if something is going on there.
Alternatively, we could try to switch to Photon as discussed in WordPress/openverse-api#979.

Reproduction

Not sure how to reproduce this consistently. Seems like a thumbnails service overload thing.

This was caused by the root cause of https://github.com/WordPress/openverse/issues/658
This issue was resolved with that one with the thumbnails service split we implemented as a result of #2498.


Add Gemfile for Travis

Fixes #159
The bundle install command ran by Travis should correctly find the Gemfile and install the needed plugins before running bundle exec jekyll algolia push.
Let me know if this works (or not).

It seems that we're making some progress:

The bundle install part is ok
It is now complaining about the ALGOLIA_API_KEY environment key missing.

Also be careful, it seems that your Travis configuration is ran on every push to master, including on pull requests. You have an option in the Travis config to disable it and I suggest you do it, otherwise anyone could submit a buggy PR and force a reindexing of your Algolia index, with your own credentials.

This is strange. I can see ALGOLIA_API_KEY set in Travis:

I did turn off builds for pull requests though.

I do not see anything wrong with your config.
In the Travis log on master I can see that the API key is correctly exported, but it's missing the Gemfile. On the Travis log on the PR, I can seet that the API key is not exported, but the Gemfile is here.
Could you try merging this PR and pushing to master again? I think everything will then trigger correctly.

Ok, let's give it a try and see how master will build.

Seems like it is working :)

Very nice! Thanks again for your help with this @pixelastic !


[Optimize] move to the end and add try catch block to ensure execute

Related issues/PRs
Related issues: #3832

run mvn spotless:apply to format code style

OK，I run command and no changes detected.

在 2022年11月15日，20:10，Casion @.***> 写道：

run mvn spotless:apply to format code style
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

run mvn spotless:apply to format code style

Hi, @casionone , I run command and no changes detected.


[FLINK-32469][REST] Improve checkpoint REST APIs for programmatic access

What is the purpose of the change
Simplify the checkpoint handler API.
The checkpoint endpoints do not require the entire ExecutionGraph to produce their result. In fact, they only require the CheckpointStatsSnapshot. This change refactors the handlers to use only the CheckpointStatsSnapshot.
Brief change log

Checkpoint REST handlers now consume from AbstractCheckpointStatsHandler that provides the CheckpointStatsSnapshot.
CheckpointsStatsSnapshot is cached, to reduce call rate to underlying JobMaster.

Verifying this change
This change added tests and can be verified as follows:

Added unit tests
Manually ran the Flink dashboard and tested the refresh rate on checkpoint API.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

Performing performance test on /checkpoints API
From the below tests, we ran the following:

Control test where we don't have changes to Flink REST API. ExecutionGraph cache of 30s
Checkpoint cache with 3s cache
No checkpoint cache

We can see that there is no significant differences in the access pattern / latency pattern of the REST API for /checkpoints.
We also found the following nuances:

Periodic 500 returned by /checkpoints on the first call after a job restart (likely that there are no "Quantile" statistics after only 1 checkpoint. This is consistent for all 3 tests, meaning its an independent issue.
p95 access pattern seems spiky. Seems like averages around 15ms, but goes up to 40 / 50ms occasionally. This pattern is consistent across all tests, so this is not a problem introduced by latest change.

Test configuration

Cluster setup

Single JM with Zookeeper HA
Running on K8s
JM resources (vCPU: 200m, Memory: 6083Mi)
ResourceManager, JobMaster, BlobServer all running on the same JM container.

Test setup

TPS: 10 req/s
Endpoint /jobs/:jobid/checkpoints
Simple Flink job reading from KDS writing to KDS
Checkpoint interval 1s, min pause between checkpoints 1s

Control Test 1 (no changes to Flink REST API): ExecutionGraph cache of 3s, Job restarting constantly

JM CPU/memory use
NAME                                         CPU(cores)   MEMORY(bytes)
flink-jobmanager-dc5d8b5df-875x6             51m          1271Mi

Test 2: 3s checkpoint cache, Job restarting constantly

JM CPU/memory use
NAME                                         CPU(cores)   MEMORY(bytes)
flink-jobmanager-6797f4cdbd-xll86            70m          1237Mi

Test 3: No checkpoint cache, Job restarting constantly

JM CPU/memory use
NAME                                         CPU(cores)   MEMORY(bytes)
flink-jobmanager-79f5768fdc-2t9hd            50m          1272Mi

Periodic 500 returned by /checkpoints on the first call after a job restart (likely that there are no "Quantile" statistics after only 1 checkpoint. This is consistent for all 3 tests, meaning its an independent issue.

Can you please open a JIRA issue describing this finding (if it doesn't already exist)? It sounds like something that should be fixed.

Periodic 500 returned by /checkpoints on the first call after a job restart (likely that there are no "Quantile" statistics after only 1 checkpoint. This is consistent for all 3 tests, meaning its an independent issue.

Can you please open a JIRA issue describing this finding (if it doesn't already exist)? It sounds like something that should be fixed.

Thats a good callout. Created https://issues.apache.org/jira/browse/FLINK-32535

Have addressed all comments, would appreciate a re-review if you have time, @dmvk @dannycranmer !

Added doc strings and fixed a typo

@dmvk @dannycranmer  I've addressed all the comments so far - any further comments on this PR? Looking to move this forward!

@flinkbot run azure

I will merge tomorrow unless there is additional feedback


Ensure markdown and output cells are sanitized in untrusted mode

Both markdown and outputs are sanitized in untrusted mode. Implementation is done.


Question/Request MonthlyAwards vairable for playername and vote count.

Im setting up my MonthlyAwards, and have the below code, what Im wondering for the Broadcast what placeholders will work in here, I want to show the winners username and how many votes they had that month. I cant trigger this without waiting an entire month, so will the %player% placeholder work to broadcast to the server that specific player won? and is there a placeholder for their monthly votes to put that in there too?
EnableMonthlyAwards: true
# Rewards to give
MonthlyAwards:
  # Position. 1 is first in top voter, 2 is second, etc...
  # Using 1-10 will reward players in first to tenth place with the same reward
  1:
    Rewards:
      Messages:
        Player: '&8[&3VOTE&8] &aYou came in first place in %TopVoter%!'
        Broadcast: '&8[&3VOTE COMPETITION&8] %player% won first place in the most votes this month!'

Edit: Also for item names, when creating an item what placeholders work? I need to use username and date (date for winning)
So then the item is generated for the winner with their name and date on it in the lore.
Will %player% work? what about date? can I use placeholderapi variables?

%player% - player name
%place% - position of top voter leadeboard
%topvoter% - Which top voter (monthly, weekly, etc..)
Javascript can be added anywhere, so technically any placeholder is available, but I'll add the votes placeholder though.
http://ben12345rocks.com/job/VotingPlugin/
%votes% - number of votes
Untested right now, but I will test this later.

Do placeholderapi variables work? That has a date placeholder.

There is also a data placeholder in the reward, forgot to mention that. But placeholderapi should work too.

What is the placeholder in the reward? I want to be able to use it on the item lore.

You mean %date%?
On Wed., Oct. 2, 2019, 4:29 a.m. Tom Lewis<EMAIL_ADDRESS>wrote:

What is the placeholder in the reward? I want to be able to use it on the
item lore.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Ben12345rocks/AdvancedCore/issues/146?email_source=notifications&email_token=AECIQN33UTHTV365ZIIPEETQMRLYLA5CNFSM4I32AHP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAD7J3I#issuecomment-537392365,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AECIQNYBJKVMEMLUGJIL3WLQMRLYLANCNFSM4I32AHPQ
.

Yup that worked!


krib-reset-cluster should not fail

If you try to reset an incomplete krib config sometimes krib-reset-cluster will fail.  I don't think it should fail.  Maybe log a warning if a parameter it wants to clear doesn't exist.
Error: DELETE: params/krib/cluster-bootstrap-token: Not Found

Fixed in tip by #232


Test one-shot GPT Turbo prompts

Started a notebook with a few test one-shot prompts
Unfortunately, it seems like GPT turbo really likes saying "False" no matter what tuning I try to do

Update: Works better with GPT 4! At 10 samples we have 80% accuracy:

Increased to 86% accuracy with 50 samples.

I added some few-shot examples - seems that this is not increasing the accuracy...


Smartcard logon rdp 3

Rebased Smartcard logon rdp 2 #4812 onto #4814.

Rebased on https://github.com/FreeRDP/FreeRDP/pull/4829

@freerdp-bot test

@informatimago Just a question, the whole smartcard filtering stuff does not have to do anything with the logon, correct?
Would be nice to know what you try to do with the pull beforehand for review ;)

This now fails some of our tests. I close it and will reissue it when it's corrected.


Collocates initialization and decorator, describes the mocks in the "api" parameter

Changes
Story parameter change

Request handlers are passed to the story's parameters under the "api" key (previously "msw").

Motivation
MSW is an implementation detail, it's going to be much more intuitive for the users to describe their API in the respective parameter key.
SuccessStory.story = {
  parameters: {
-   msw: [rest.get('/user', (req, res, ctx) => res(ctx.json({ firstName: 'Neil' })))]
+   api: [rest.get('/user', (req, res, ctx) => res(ctx.json({ firstName: 'Neil' })))]
  }
}

Higher-order function as the decorator

Makes the mswDecorator a higher-order function to encapsulate the worker initialization.

Motivation
Both initializeWorker and mswDecorator are connected, with the first being a pre-requisite for the second. Such function dependencies must be collocated to ease their use.
Exports the worker singleton

Fixes #21
Exports the worker variable set to the instantiated worker upon calling the decorator.

Motivation
It may be beneficial to export the worker instance to the user to customize.
import { worker } from 'msw-storybook-addon'

worker.use(...)

Misc

Updates the READMEs, documentation, and demo stories to reflect the made changes.
Adds Prettier configuration to align code formatting across the code-base.

I'd like to refine our public API and move the addon TypeScript to the next version. I'm addressing the API changes in this pull request, and once we are sure these changes make sense, we can introduce TypeScript into the mix.

I have one concern about changing parameter name from msw to api. The new name is not very specific and could clash with other addon's parameter (curse of mixins).
I was confused about this decision because I also felt that the name should not reveal implementation details so I checked what other addons are doing and both appollo and urql have parameter name specific to their library name.
https://www.npmjs.com/package/storybook-addon-apollo-client
https://www.npmjs.com/package/@urql/storybook-addon

@itaditya, thank you for the review.

The new name is not very specific and could clash with other addon's parameter (curse of mixins).

True, and the examples you've referenced confirm that. Perhaps we can consider msw.handlers as both library-specific scope and library-agnostic abstraction "handlers":
Story.parameters = {
  msw: {
    handlers: [...]
  }
}

This makes sense!

Hey @kettanaito shall we close this?

@yannbf, sure thing. Thanks for bumping this up.


Added LICENSE to MANIFEST.in

For the conda-forge build, we'd like to include a hard-link to the license. Doing so requires that the LICENSE be include in MANIFEST.in. If you could include this patch and then push a new source distribution to pypi that would be amazing.

Sure! Version 0.1.11 is up now, hopefully it worked :)


chore: adds transaction generating script

Purpose

How does the solution address the problem

Changes made

prnet cleaned-up successfully


Revert "Upgrade extract zip"

Reverts HCL-TECH-SOFTWARE/appscan-sast-action#26

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Extend Certificate Expiry

Is your feature request related to a problem?
Notation generated test certificate have only 1 day expiry, is there a way to set/extend expiry?
What solution do you propose?
We are demonstrating image signing and verification feature to client but due to 1 day expiry we have to create certificate every day. It would be helpful we we can extend the expiry of certificate.
What alternatives have you considered?
Azure Keyvault..
Any additional context?
No response

Hi @vikasprasad007 ,
The testing key and certificate generated by notation cert generate-test are designed to be short-lived for security reasons.
If you are asking for testing purposes, you can re-generate a new test key and cert, or use tool like Azure Key Vault or openssl to generate a test key/cert with a longer expiration.

With Azure Key Vault:

See https://learn.microsoft.com/en-us/azure/container-registry/container-registry-tutorial-sign-build-push#create-a-self-signed-certificate-in-akv-azure-cli

With openssl:

name=test
openssl req -x509 -sha256 -nodes -newkey rsa:2048 -keyout $name.key -out $name.crt -days 365 -subj "/C=US/ST=WA/L=Seattle/O=Notary/CN=$name" -addext "basicConstraints=CA:false" -addext "keyUsage=critical,digitalSignature" -addext "extendedKeyUsage=codeSigning"

Hello @FeynmanZhou,
Thanks for your response.
We have a plan to implement AKV plugin for production, but we can't do it for now as this plugin is under preview and based on Microsoft it will be publish in 2024 Q1, meanwhile we wants client to review the signing feature.
I have tried to proceed with openssl certificate but when we was trying to add ssl key into notation key list it not allowing us as 'notation key add' command required plugin, even if I tried to pass key_name with direct 'notation sign' command it was not able to find the key.
Request you to please help us with this, we have ssl certificate now how we can add this into notation key list or how can we use this key and cert for signing and verification.
Notation version: 1.0.0

Signing with local key is not supported yet but we have an issue #539  to track it. A workaround is to manually edit the signingkeys.json and add the signing key/cert file to signingkeys.json.

@vikasprasad007 Did this workaround solve your problem?
A workaround is to manually edit the [signingkeys.json](https://notaryproject.dev/docs/user-guides/how-to/notation-config-file/#sample-of-signingkeysjson) and add the signing key/cert file to signingkeys.json.

@priteshbandi will check how much effort on updating the default value.


Implementation on windows

Hi , How can i convert this code to make it work on windows?

Hi.
Running CoreML on Windows is a difficult story.
In the case of Unity, it can run on Windows.
Have a look at this.
https://github.com/infocom-tpo/PoseNet-Unity


Measurement layers keep on disappearing

I am not sure if this is related to this plugin or it's a bug in Sketch app itself, but my measurement layers keep on disappearing. I've restored all sizes once already and two days later they are gone again from some of my artboards. Very frustrating and makes it impossible to use this plug-in moving forward, though I really liked it. I am running the latest Sketch 47.1.
Here are the 3 plugins I currently running:

I've just noticed that measurement layers disappear from an artboard after the following:

Select an artboard
Use Plugins->Artboards-to-PDF->Export Selected Artboards... to export the selected artboard to a PDF file.
Refresh layer list view. The measurement layers are gone at this point.

All meCommand+Z restores deleted layers, provided you've noticed their disappearance in time.


The "pairing" does not work

Thank you for developing the software. This is exactly what I was looking for. Unfortunately it does not work properly for me yet. The "pairing" does not work, although the "Nuki" is in "pairing" mode and I have not defined a PIN.
I downloaded the latest software from Github today (04.04.2023).
I use the "NUKI SMART LOCK 3.0" with the address "54:d2:72:b9:da:74".
The cause is unclear to me. In the log I find 2 suspicious places:
After the "nukiLock.initialize()" comes the message:
[ 381][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[ 381][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
while scanning my "NUKI SMART LOCK" (54:d2:72:b9:da:74) is found several times, but afterwards I get the message:
I NimBLEScan: New advertiser: 54:d2:72:b9:da:74
I NimBLEAdvertisedDevice: No service data found
D NimBLEScan: erase device: 54:d2:72:b9:da:74
Here is the complete log:
Executing task: C:\Users\Jan.platformio\penv\Scripts\platformio.exe device monitor
--- Terminal on COM3 | 115200 8-N-1
--- Available filters and text transformations: colorize, debug, default, direct, esp32_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time
--- More details at https://bit.ly/pio-monitor-filters
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
[    38][D][esp32-hal-cpu.c:244] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz
[    72][D][NukiSmartlockTest.h:174] setup(): Starting NUKI BLE...
I NimBLEDevice: BLE Host Task Started
I NimBLEDevice: NimBle host synced.
[   381][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[   381][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
D NimBLEScan: >> start: duration=0
D NimBLEScan: << start()
[   396][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[   401][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[   408][D][NukiBle.cpp:107] pairNuki(): No nuki in pairing mode found
[   415][D][NukiBle.cpp:112] pairNuki(): pairing result 0
I NimBLEScan: New advertiser: 14:bb:6e:81:d3:00
D NimBLEScan: erase device: 14:bb:6e:81:d3:00
I NimBLEScan: New advertiser: 54:d2:72:b9:da:74
I NimBLEAdvertisedDevice: No service data found
D NimBLEScan: erase device: 54:d2:72:b9:da:74
I NimBLEScan: New advertiser: 14:bb:6e:81:d3:00
D NimBLEScan: erase device: 14:bb:6e:81:d3:00
I NimBLEScan: New advertiser: a4:c1:38:fb:78:b3
I NimBLEAdvertisedDevice: No service data found
D NimBLEScan: erase device: a4:c1:38:fb:78:b3
I NimBLEScan: New advertiser: 54:d2:72:b9:da:74
I NimBLEAdvertisedDevice: No service data found
D NimBLEScan: erase device: 54:d2:72:b9:da:74
I NimBLEScan: New advertiser: 14:bb:6e:81:d3:00
D NimBLEScan: erase device: 14:bb:6e:81:d3:00
I NimBLEScan: New advertiser: 14:bb:6e:81:d3:00
D NimBLEScan: erase device: 14:bb:6e:81:d3:00
[   920][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[   920][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[   924][D][NukiBle.cpp:107] pairNuki(): No nuki in pairing mode found
[   930][D][NukiBle.cpp:112] pairNuki(): pairing result 0
I NimBLEScan: New advertiser: 14:bb:6e:81:d3:00
D NimBLEScan: erase device: 14:bb:6e:81:d3:00
I NimBLEScan: New advertiser: 54:d2:72:b9:da:74
I NimBLEAdvertisedDevice: No service data found
D NimBLEScan: erase device: 54:d2:72:b9:da:74
I NimBLEScan: New advertiser: f8:c9:94:63:39:ba
I NimBLEAdvertisedDevice: No service data found
D NimBLEScan: erase device: f8:c9:94:63:39:ba
I NimBLEScan: New advertiser: a4:c1:38:7d:72:be
I NimBLEAdvertisedDevice: No service data found
D NimBLEScan: erase device: a4:c1:38:7d:72:be
I NimBLEScan: New advertiser: 60:7f:01:23:1e:a0
I NimBLEAdvertisedDevice: No service data found
D NimBLEScan: erase device: 60:7f:01:23:1e:a0
I NimBLEScan: New advertiser: 54:d2:72:b9:da:74
I NimBLEAdvertisedDevice: No service data found
D NimBLEScan: erase device: 54:d2:72:b9:da:74
...

HI
[ 381][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[ 381][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue

This is because there is no data stored yet, this is only done when the pairing is successful
[ 408][D][NukiBle.cpp:107] pairNuki(): No nuki in pairing mode found
This means it did not find a Nuki in pairing mode, I assume you made sure the Nuki is in pairing mode (button pressed for about 10 seconds after which the led ring lights up) The pairing mode times out so you need to make sure you rather quickly start the pairing on the esp.
You could turn on all debugging (does create a lot of logging) as described in the readme, and post this, then I will take a look.

Thanks for the quick reply and for the tips.
Yes,  I made sure the Nuki is in pairing mode (button pressed for about 10 seconds after which the led ring lights up)
I am a platformio beginner. I have changed the debugging in platformio.ini like this:
; monitor_filters = esp32_exception_decoder
[env:debug]
build_type = debug
build_flags =
${env.build_flags}
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
-DDEBUG_NUKI_CONNECT
-DDEBUG_NUKI_COMMUNICATION
-DDEBUG_NUKI_HEX_DATA
-DDEBUG_NUKI_READABLE_DATA
however, the protocol has not changed.
And one more thing. I receive warnings during the build:
Compiling .pio\build\debug\src\NukiOpener.cpp.o
src/NukiBle.cpp: In member function 'Nuki::PairingState Nuki::NukiBle::pairStateMachine(Nuki::PairingState)':
src/NukiBle.cpp:698:35: warning: ignoring return value of 'int crypto_scalarmult_curve25519(unsigned char*, const unsigned char*, const unsigned char*)',
declared with attribute warn_unused_result [-Wunused-result]
crypto_scalarmult_curve25519(sharedKeyS, myPrivateKey, remotePublicKey);
^~~~~~~~~~~~~~~
.
.
.
Compiling .pio\build\debug\libd8a\NimBLE-Arduino\nimble\esp_port\esp-hci\src\esp_nimble_hci.c.o
cc1.exe: warning: command line option '-Wno-reorder' is valid for C++/ObjC++ but not for C
Compiling .pio\build\debug\libd8a\NimBLE-Arduino\nimble\esp_port\port\src\esp_nimble_mem.c.o
cc1.exe: warning: command line option '-Wno-reorder' is valid for C++/ObjC++ but not for C
Compiling .pio\build\debug\libd8a\NimBLE-Arduino\nimble\ext\tinycrypt\src\aes_decrypt.c.o
Compiling .pio\build\debug\libd8a\NimBLE-Arduino\nimble\ext\tinycrypt\src\aes_encrypt.c.o
Compiling .pio\build\debug\libd8a\NimBLE-Arduino\nimble\ext\tinycrypt\src\cbc_mode.c.o
cc1.exe: warning: command line option '-Wno-reorder' is valid for C++/ObjC++ but not for C
cc1.exe: warning: command line option '-Wno-reorder' is valid for C++/ObjC++ but not for C
………………

One more thing occurred to me. Searching for service data is extremely fast. Maybe the timeout is too small. Where is the place with the setting of timeout?

One more thing occurred to me. Searching for service data is extremely fast. Maybe the timeout is too small. Where is the place with the setting of timeout?
There is no timeout on searching for services, this happens continuously. See NukiBle.cpp line 199 onwards
I have changed the debugging in platformio.ini like this:
Previously you also saw the log "No nuki in pairing mode found", this is in one of the log defines:
#ifdef DEBUG_NUKI_CONNECT
    log_d("No nuki in pairing mode found");
#endif

So you should be able to get the other debug defines enabled also. We have this defined in platformio.ini
[env:debug]
build_type = debug
build_flags =
	${env.build_flags}
        -DDEBUG_NUKI_COMMAND
        -DDEBUG_NUKI_CONNECT
        -DDEBUG_NUKI_COMMUNICATION
	-DDEBUG_NUKI_HEX_DATA
	-DDEBUG_NUKI_READABLE_DATA

Are you working from the example or have you written your own project-code?

I am trying to make the example work.
The build_flags do not change anything in the log. I looked in the code, in the part that is processed, there is no additional "log_d(...);".

@jansolarski Is your lock firmware up-to-date?

My lock firmware is up-to-date.

@jansolarski  can you test with this branch?
https://github.com/I-Connect/NukiBleEsp32/tree/pair-and-unpair-refactor

I am on holiday at the moment. I will test it in about 3 weeks.

Hi!
I come from the ESPHome project created by @uriyacovy using your library.
I'm facing the same issue.
I have a Nuki Smart Lock 3.0 with firmware version 3.5.12.
I'm running it on an ESP32 WROOM CH340C
I see exactly the same errors:
[   344][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[   344][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue

I tried using the pair-and-unpair-refactor branch but the error persists.
Is there something I can do to give you more info?
Thanks!

Hi @victorigualada,
This error can also mean that the lock is unpaired or has never been paired before ( then there is nothing stored in nvs which throws this error).
If you are testing with the branch you say you should also see: "No preferences stored or issue reading data, maybe never paired before" ?
Can you post a larger section of your logging while using pair-and-unpair-refactor branch?

That was a fast response! Thanks!
So the lock is paired, in fact I managed to get that project working last month in another board that I ended up burning...
When I install ESPHome it actually says it's using the pair-and-unpair-refactor branch:

Library Manager: Installing git+https://github.com/I-Connect/NukiBleEsp32#pair-and-unpair-refactor
INFO Installing git+https://github.com/I-Connect/NukiBleEsp32#pair-and-unpair-refactor
git version 2.30.2
Cloning into '/data/cache/platformio/cache/tmp/pkg-installing-6dhp9xb1'...
Library Manager<EMAIL_ADDRESS>has been installed!
INFO<EMAIL_ADDRESS>has been installed!

Note the<EMAIL_ADDRESS>which corresponds with the commit for the branch.
Although I do not see the line No preferences stored or issue reading data, maybe never paired before that you mention. I think it makes sense since the lock is paired with my phone.
I can post the logs but they come from ESPHome and not this project directly. I only see the two lines I posted above coming from NukiBleEsp32

When installing it I see the following warning:
/data/nukko/.piolibdeps/nukko/NukiBleEsp/src/NukiBle.cpp: In member function 'Nuki::PairingState Nuki::NukiBle::pairStateMachine(Nuki::PairingState)':
/data/nukko/.piolibdeps/nukko/NukiBleEsp/src/NukiBle.cpp:698:35: warning: ignoring return value of 'int crypto_scalarmult_curve25519(unsigned char*, const unsigned char*, const unsigned char*)', declared with attribute warn_unused_result [-Wunused-result]
       crypto_scalarmult_curve25519(sharedKeyS, myPrivateKey, remotePublicKey);

I don't know if it's related.

Another thing that I didn't mention is that the two error lines keep repeating infinitely:
[23:42:49][ 14416][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[23:42:49][ 14416][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[23:42:49][ 14468][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[23:42:49][ 14468][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[23:42:51][ 16517][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[23:42:51][ 16517][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[23:42:51][ 16548][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[23:42:51][ 16549][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[23:42:53][ 18617][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[23:42:53][ 18617][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[23:42:53][ 18669][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[23:42:53][ 18669][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[23:42:53][ 18702][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[23:42:53][ 18703][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[23:42:55][ 20717][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[23:42:55][ 20717][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[23:42:55][ 20747][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[23:42:55][ 20747][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[23:42:57][ 22817][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[23:42:57][ 22817][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[23:42:57][ 22865][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[23:42:57][ 22866][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[23:42:59][ 24917][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[23:42:59][ 24917][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[23:42:59][ 24948][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[23:42:59][ 24949][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[23:43:01][ 27017][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[23:43:01][ 27017][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[23:43:01][ 27050][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[23:43:01][ 27051][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[23:43:03][ 29117][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[23:43:03][ 29117][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[23:43:03][ 29144][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[23:43:03][ 29145][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[23:43:03][ 29199][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[23:43:03][ 29200][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[23:43:05][ 31217][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[23:43:05][ 31217][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[23:43:05][ 31260][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[23:43:05][ 31261][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[23:43:08][ 33317][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[23:43:08][ 33317][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[23:43:08][ 33350][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[23:43:08][ 33350][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[23:43:10][ 35417][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[23:43:10][ 35417][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[23:43:10][ 35461][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[23:43:10][ 35462][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[23:43:12][ 37517][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[23:43:12][ 37517][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[23:43:12][ 37562][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[23:43:12][ 37563][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[23:43:14][ 39617][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[23:43:14][ 39617][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[23:43:14][ 39663][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[23:43:14][ 39664][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[23:43:14][ 39699][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[23:43:14][ 39700][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue
[23:43:16][ 41717][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[23:43:16][ 41717][E][NukiBle.cpp:635] retrieveCredentials(): Getting data from NVS issue

And I also have to say two more things. Sorry for all the fragmented information in different comments.

I can successfully use @technyon 's project https://github.com/technyon/nuki_hub with the lock
I tried the ESPHome version in a Wemos D1 mini and I have the same problem

Response in order of your fragments ;-)
I am puzzled, you state the lock is paired but you have an issue with pairing? (you need to repair for each different application)
the warning is not related to this.
The repeating lines are related to probably repeated calling pairNuki() but I would need to know more about the application using the library (btw if you would be using the pair-and-unpair-refactor branch the message would be different, so the application (espHome?) is using main)
And I am afraid I have too little knowledge of how ESP home works, maybe @uriyacovy can assist with troubleshooting.

Ok so back to your original comment, I managed to install NukiBleEsp32 into the board directly, using the pair-and-unpair-refactor branch and this is what I get:
[ 73692][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[ 73692][W][NukiBle.cpp:634] retrieveCredentials(): No preferences stored or issue reading data, maybe never paired before
[ 73700][D][NukiBle.cpp:107] pairNuki(): No nuki in pairing mode found
[ 73706][D][NukiBle.cpp:112] pairNuki(): pairing result 0
I NimBLEScan: New advertiser: 54:d2:72:b9:46:ad
[ 74165][D][NukiBle.cpp:254] onResult(): Found nuki in pairing state:  addr: 54:d2:72:b9:46:ad
D NimBLEScan: erase device: 54:d2:72:b9:46:ad
[ 74212][E][Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: bleAddress NOT_FOUND
[ 74212][W][NukiBle.cpp:634] retrieveCredentials(): No preferences stored or issue reading data, maybe never paired before
[ 74220][D][NukiBle.cpp:85] pairNuki(): Nuki in pairing mode found
D NimBLEScan: >> stop()
D NimBLEScan: << stop()
[ 74230][D][NukiBle.cpp:132] connectBle(): connecting within: loopTask
[ 74237][D][NukiBle.cpp:139] connectBle(): connection attempt 0
D NimBLEClient: >> connect(54:d2:72:b9:46:ad)
D NimBLEClient: Got Client event
I NimBLEClient: Connected event
lld_pdu_get_tx_flush_nb HCI packet count mismatch (1, 2)
D NimBLEClient: Got Client event
E NimBLEClient: Connection failed; status=574
D NimBLEClient: >> disconnect()
D NimBLEClient: Not connected to any peers
D NimBLEClient: << disconnect()
[ 75190][W][NukiBle.cpp:151] connectBle(): BLE Connect failed, 4 retries left
[ 75207][D][NukiBle.cpp:139] connectBle(): connection attempt 1
D NimBLEClient: >> connect(54:d2:72:b9:46:ad)
D NimBLEClient: Got Client event
I NimBLEClient: Connected event
lld_pdu_get_tx_flush_nb HCI packet count mismatch (1, 2)
D NimBLEClient: Got Client event
E NimBLEClient: Connection failed; status=574
D NimBLEClient: >> disconnect()
D NimBLEClient: Not connected to any peers
D NimBLEClient: << disconnect()
[ 76270][W][NukiBle.cpp:151] connectBle(): BLE Connect failed, 3 retries left
[ 76287][D][NukiBle.cpp:139] connectBle(): connection attempt 2
D NimBLEClient: >> connect(54:d2:72:b9:46:ad)
D NimBLEClient: Got Client event
E NimBLEClient: Connection failed; status=13
D NimBLEClient: >> disconnect()
D NimBLEClient: Not connected to any peers
D NimBLEClient: << disconnect()
[ 77296][W][NukiBle.cpp:151] connectBle(): BLE Connect failed, 2 retries left
[ 77313][D][NukiBle.cpp:139] connectBle(): connection attempt 3
D NimBLEClient: >> connect(54:d2:72:b9:46:ad)
D NimBLEClient: Got Client event
I NimBLEClient: Connected event
lld_pdu_get_tx_flush_nb HCI packet count mismatch (1, 2)
D NimBLEClient: Got Client event
E NimBLEClient: Connection failed; status=574
D NimBLEClient: >> disconnect()
D NimBLEClient: Not connected to any peers
D NimBLEClient: << disconnect()
[ 78510][W][NukiBle.cpp:151] connectBle(): BLE Connect failed, 1 retries left
[ 78527][D][NukiBle.cpp:139] connectBle(): connection attempt 4
D NimBLEClient: >> connect(54:d2:72:b9:46:ad)
D NimBLEClient: Got Client event
E NimBLEClient: Connection failed; status=13
D NimBLEClient: >> disconnect()
D NimBLEClient: Not connected to any peers
D NimBLEClient: << disconnect()
[ 79536][W][NukiBle.cpp:151] connectBle(): BLE Connect failed, 0 retries left
[ 79553][W][NukiBle.cpp:164] connectBle(): BLE Connect failed
[ 79553][D][NukiBle.cpp:112] pairNuki(): pairing result 0

It finds the Lock in pairing mode but is not able to pair.

we changed the detection of a lock in pairing state so that it does not work on main makes (a bit) sense.
So I see the esp setting up a BLE connection but it seems after the "Got Client event" it disconnects
Could you enable the debug flags:
DEBUG_NUKI_CONNECT
DEBUG_NUKI_COMMUNICATION
DEBUG_NUKI_HEX_DATA
DEBUG_NUKI_READABLE_DATA
and post the logging.
It should give some more details where the connection is dropped.
Do you have any other devices connecting to the lock like a bridge or app? I suggest to disconnect/turn them off during troubleshooting.

This is how my config looks like:
[env:debug]
build_type = debug
build_flags =
	${env.build_flags}
	-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
	-DEBUG_NUKI_CONNECT
	-DEBUG_NUKI_COMMUNICATION
	-DEBUG_NUKI_HEX_DATA
	-DEBUG_NUKI_READABLE_DATA

But I don't see any other logs than the already posted.
I disconnect all the devices that could connect to the Lock when troubleshooting.
Just for reference, I think the platformio.ini DEBUG variables are mispelled. They have 2 D instead of one:
https://github.com/I-Connect/NukiBleEsp32/blob/1de629002a03e6fffc9acd8b746baf498b50f77b/platformio.ini#L41-L44

I think the double D is correct, -D means passing an option and the rest is the actual option. You could also write it as "-D DEBUG_NUKI_CONNECT"

I just tried that also and no new log messages. What could cause that?

I went through the code and saw those log messages in the switch case in NukiBle.cpp. Although the messages are not there which indicates me that is not hitting any of these cases.
Probably remaining in one of the states that is not logging anything:
https://github.com/I-Connect/NukiBleEsp32/blob/1de629002a03e6fffc9acd8b746baf498b50f77b/src/NukiBle.cpp#L662-L668
https://github.com/I-Connect/NukiBleEsp32/blob/1de629002a03e6fffc9acd8b746baf498b50f77b/src/NukiBle.cpp#L680-L685
Will add logging there this evening and post what the logs.

After some digging, I came to the conclusion that the problem comes from NimBLEClient#connect method. It never goes further than that.
Is there a way to enable the NimBLE logs?

yes, you can change this define in platformio.ini:
-DCONFIG_NIMBLE_CPP_LOG_LEVEL=2
btw, in you earlier posted logs I do see a connected event:

I have been testing with this branch?
https://github.com/I-Connect/NukiBleEsp32/tree/pair-and-unpair-refactor
The pairing works well. This solves my problem.
Thank you for the solution.

ah nice, that is good to hear, bit busy at the moment but we will merge this later on into main


Issue with Input Handling in PyMon

Code
age = input("Enter your age: ")
age_input = int(age)
print("Your age is:", age_input)

day = input("Enter the day of the week: ")

Description
When running Python scripts within the PyMon environment, I encountered an issue related to user input handling. After entering the age as prompted, pressing Enter causes the cursor to move to the next line without displaying the prompt for entering the day of the week. Subsequently, when re-entering the age, the script throws a ValueError, as shown below:
Traceback (most recent call last):
  File "C:\Users\....", line 2, in <module>
    age_input = int(age)
ValueError: invalid literal for int() with base 10: ''

This behavior makes it difficult to proceed with the script execution as expected.
Steps to Reproduce:

Run a Python script within the PyMon environment.
When prompted to enter the age, input a value and press Enter.
Notice that the cursor moves to the next line without displaying the prompt for entering the day of the week.
Again press enter when prompted (if applicable).
Observe the ValueError thrown by the script.

Expected Behavior:
After entering the age and pressing Enter, the prompt for entering the day of the week should be displayed, allowing the user to continue providing input as expected.
Additional Information:

PyMon version:  2.0.4
Python version:  3.9.4
Operating system: Windows

This issue significantly affects the usability of the PyMon environment, especially for scripts requiring user input at multiple points. Any guidance or workaround for addressing this issue would be greatly appreciated.

Hey, thanks for reporting this! You can work around this by hitting enter when it asks for input, and then entering the input before hitting enter again. It would look like this:

My best guess is that this is because pymon is constantly checking for input itself (to see if the user enters rs or stop) which seems to be causing issues with the input handler in your program. Let me know if the workaround works for you. I'm not sure how else I could implement the rs and stop commands but I can add an argument that doesn't check for them if the workaround doesn't work for you.

Thank You

Just wanted to let you know, with version 2.0.5, pymon now has a -c flag that runs it in clean mode. This should fix all input errors and also remove all additional pymon logging.


Row is empty on row deselect without multiselect

Do you want to request a feature or report a bug?
bug
Bug Report
When using a data table that is selectable and multiple, on row selection a ITdDataTableSelectEvent is fired. This event contains the row that has been toggled and a boolean value whether you have selected or deselected that row.
If your data table, however, only is selectable and not multiple, then on deselection the row field is blank. Of course it is easy to create a quick fix for it, but I think this is clearly a bug!
See the plunker below to recreate the problem:
click any row -> in console it will print the row you have just clicked on
deselect just selected row -> console will say undefined
Screenshots or link to CodePen/Plunker/JSfiddle
http://plnkr.co/edit/8YSyQPswBDq6X6Tnc35p?p=preview
What is the expected behavior?
I would expect for consistency reasons, that a deselect (just as it does in multiselect mode) provides the row that has been deselected, and in selected field it should say false (as it currently already does).
What is the motivation / use case for changing the behavior?
I have constructed a component that wraps covalent data table and with this bug I have to differ between the two modes (multiselect mode and not), whereas I would like to use the same functionality twice.

Will be fixed with https://github.com/Teradata/covalent/pull/896


direcxtsdk port updated to use MS Downloads

The legacy DirectX SDK has been republished to Microsoft Download Center. This version of the EXE is identical to the one before, but the 'outer container' has been resigned with SHA-256 to meet DLC requirements.
This port switches the directxsdk port over to use the MSDLC instead of archive.org because it's much faster to download.
The legacy DirectXSDK is still end-of-life, deprecated, legacy, etc., etc., etc.

Very thanks for fix this! I've been searching for this archive for a long time.

Verified these triplets:
vcpkg install directxsdk:x86-windows
vcpkg install directxsdk:x86-windows-static
vcpkg install directxsdk:x64-windows
vcpkg install directxsdk:x64-windows-static

Thanks again!


Fix: odo dev unable to sync files with name containing special characters

Signed-off-by: Parthvi Vala<EMAIL_ADDRESS>
What type of PR is this:
/kind bug

What does this PR do / why we need it:
This PR allows to sync files with special characters.
Which issue(s) this PR fixes:

Fixes #6503
PR acceptance criteria:

[ ] Unit test

[ ] Integration test

[ ] Documentation

How to test changes / Special notes to the reviewer:

Clone https://github.com/devfile/devfile-web
odo init --devfile nodejs-react --name devfile-web
odo dev

/retest


feat(documentation): add switch stories

Preview environments are getting posted here, as soon as they are ready!


Allow for shuttle.inTerminal in ~/.ssh/config

Hey there !
Great work with Shuttle.
Are you considering something like adding a # shuttle.inTerminal instruction ?
Example:
Host my_machine
  # shuttle.name = path/to/resource
  # shuttle.inTerminal = current <------------------------
  Hostname <IP_ADDRESS>

Best regards !

If we did do this we would have to support all the options.
shuttle.name
shuttle.inTerminal
shuttle.theme
shuttle.title

Unless the other contributors have concerns I'll add it to the to do list.

Seems that this is a duplicate, see #161


Docker rootless: gitea dump error: Unable to find configuration file: "/var/lib/gitea/custom/conf/app.ini" (doesn't respect GITEA_APP_INI)

Description
To back up gitea, I run this command:
docker-compose exec -T -u git gitea /bin/sh -c "umask 0027; /app/gitea/gitea dump --file=/backup/gitea-dump-backup.zip"
This worked fine in the standard image, but after converting to rootless, I'm getting this error:
...s/setting/setting.go:586:loadFromConf() ] Unable to find configuration file: "/var/lib/gitea/custom/conf/app.ini".
	Ensure you are running in the correct environment or set the correct configuration file with -c.

If I exec into the container and run env I see that GITEA_APP_INI is correct:
GITEA_APP_INI=/etc/gitea/app.ini
GITEA_WORK_DIR=/var/lib/gitea
HOME=/var/lib/gitea/git
TMPDIR=/tmp/gitea
GITEA_TEMP=/tmp/gitea
GITEA_CUSTOM=/var/lib/gitea/custom

I have modified APP_DATA_PATH in app.ini, but I don't think that's the cause of this issue:
[repository]
ROOT = /var/lib/gitea/git/gitea-repositories

[server]
APP_DATA_PATH= /var/lib/gitea/data

[log]
ROOT_PATH = /var/lib/gitea/log

These are just the paths, the whole app.ini is much longer but I don't think it has any relevant info. All other paths are at their defaults.
If I modify the command to add -c /etc/gitea/app.ini it works fine.
Gitea Version
v1.16.7 (docker rootless image)
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Docker
How are you running Gitea?
Via my own docker-compose config with the official images.
Database
PostgreSQL

Use /usr/local/bin/gitea instead.

Thanks, I did not know that script existed.


Variables in Kotlin: Android Basics with Compose

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-compose-variables?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-1-pathway-1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-variables#1
In which task and step of the codelab can this issue be found?
In the, Note section and when we hover the vertical more icon then their content
Describe the problem
In Note section in the UI some texts are  not visible because of white color or opacity is zero which looks like the content are missing.
Also there is color mismatch when we hover the vertical-more icon.
All this UI challenges are happening when i sign in and switch to dark mode only in light mode its working fine.

Steps to reproduce?

Go to...
Click on...
See error...

Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.

After going forward with the documentation issue is same or other Note sections in different parts.

Hi @sonukryadav
Thank you for writing in.
I reviewed what you are wrote but I am not able to recreate this problem.
You are mentioning dark mode but your screenshot appears to be light mode which is confusing.
Can you please provide detailed step-by-step instructions with screenshots, so we can try recreate it exactly as you are doing.
Thank you in advance for your help.
Regards.

As no additional follow up was provided, the issue will be closed.
If you are still experiencing this issue and have the time, please create a new issue and provide all the required information so we can evaluate it.
Regards.


How to merge an audio into left or right channel? I want to combine output of mp3.

Wavesurfer.js version(s):
2.0.0
Browser version(s):
Version 69.0.3497.100 Google Chrom.

I'm not sure what you're trying to do, and how this relates to wavesurfer.js?

no feedback, closing.


Feature Request: Nonce based AES-SIV

It would be nice to have AES-SIV available to golang as an AEAD with nonce misuse resistance.

AES-SIV is available in golang as a deterministic AEAD. (see https://github.com/google/tink/tree/master/go/daead). In order to turn this into a nonce misuse resistant scheme, you can just use crypto/rand to generate some nonce (or generate the nonce differently, depending on your system, given that it is misuse resistant) and then put it into the associated data argument of the EncryptDeterministically call. Unfortunately our interfaces don't expose AES-SIV's option to have multiple pieces of associated data, but if you can combine them for example with this scheme:
const (
  nonceLength = 16
)

struct NonceReuseResistantAEAD {
  Primitive tink.DeterministicAEAD
}

func (aead NonceReuseResistantAEAD) Encrypt(plaintext, additionalData []byte) ([]byte, error) ([]byte, error) {
  nonce := make([]byte, nonceLength)
  _, err := rand.Read(nonce)
  if err != nil {
    return nil, err
  }
  result, err := aead.Primitive.EncryptDeterministically(plaintext, append(nonce, additionalData...))
  if err != nil {
    return nil, err
  }
  return append(nonce, result...)
}

func (aead NonceReuseResistantAEAD) Decrypt(ciphertext, additionalData []byte) ([]byte, error) ([]byte, error) {
  if len(ciphertext) < nonceLength {
    return nil, errors.New("Decryption failed")
  }
  nonce := ciphertext[:nonceLength]
  actualCiphertext := ciphertext[nonceLength:]
  result, err := aead.Primitive.DecryptDeterministically(actualCiphertext, append(nonce, additionalData...))
  if err != nil {
    return nil, err
  }
  return result
}

(Hope I'm not messing up the golang append syntax, double check that before using it that it gets you what you want)
if you don't generate the nonce with a fixed length, you should ensure that it is length encoded before mixing it with the associated data.
Let me know if that works for you or if you'd prefer having an AEAD key type for this. (The biggest advantage of a nonce misuse resistant AEAD is that you can let users mess with the nonce, but Tink's AEAD interface doesn't really support messing with nonces)


⚠ Chatwoot has degraded performance

In 041cea4, Chatwoot (https://app.chatwoot.com) experienced degraded performance:

HTTP code: 200
Response time: 3773 ms

Resolved: Chatwoot performance has improved in bdca32c.


Should  have the same API as  ?

Link's to attribute accepts all of string, object and function which modifies the current location.
Redirect's to is similar, but only supporting string and object.
I was wondering if there was interest in letting <Redirect> also accept a functionʔ This way we could redirect using the current location as a parameter (without the extra call to useLocation or the need to obey the Rules of Hooks).

There aren't any Rules of Hooks that apply to useLocation because it's a custom hook.
Regardless, you should either use useLocation or the Redirect with parameters feature added in #5209.


excise RecursiveVec

@lkdvos, out of interest, what used to be the motivation behind the RecursiveVec ?
And why did you get rid of it ?

It's just a vector of vectors, that you want to think about as the direct sum of these components, such that addition is handled recursively, scalar multiplication distributes and the inner product is the sum of the inner products. Since KrylovKit moved to supporting VectorInterface, this is actually automatically handled for arrays, so the extra layer is redundant and you can just use a vector or tuple of vectors.

Thank you for explaining !


Upgrade CNB API to 0.4

This also updates the version in buildpack.toml to be valid semvar in prep for the Buildpack Regsitry.

Thanks @jkutner! I made a PR to apply the same changes to the Java/Maven buildpack here: https://github.com/heroku/heroku-buildpack-java/pull/163


Requests

Great app!  Here are a few possible improvements...
Streaming API response -- currently have to wait for API completion to finish.  I think stream:true API parameter does this
Stop API generation --  if the response was streaming, a button so you can cut the bot off mid generation, like with the original
Flash of pure white screen on page load and reload -- quite painful in dark mode

added both!

I fetched and pulled but I still only get 3 glowing dots during the completion.  No stream.  And no button to stop.   What am I missing?


Would love a source and recommendation around the AppDataDirectory on an iOS simulator

Under Platform Differences, there is an Important note under iOS for the FileSystem.AppDataDirectory that mentions that "the application ID changes with each build so you have to retrieve the correct ID each time you build your application for the simulator". I am trying to debug an issue that deals with this and I would love either a source for this information (I cannot seem to find anything that mentions it online) or a recommendation for how to work around this for writing a file to this directory, and then reading from it on a second run of the app. There must be a way around this, as it seems particularly nasty when testing the ability to save user files (such as game saves) and read them back later.

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

ID: 5b7e12aa-3c09-0f82-2fa2-a39c2c8065d8
Version Independent ID: 5b7e12aa-3c09-0f82-2fa2-a39c2c8065d8
Content: File system helpers - .NET MAUI
Content Source: docs/platform-integration/storage/file-system-helpers.md
Product: dotnet-mobile
Technology: dotnet-maui
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Hi @rbrettj
IIRC, this behaviour was introduced by Apple in iOS 8. It also occurs on devices as well as the simulator. The solution is to use relative paths for file access, rather than absolute paths.
Hopefully the attached (simple) demo will help.
MyTestApp.zip

@davidbritch, I see nothing in the documentation that states that this behavior occurs on actual devices as well as the simulator. In fact, the page in question specifically calls this out as simulator behavior. If it does occur on both, the page NEEDS to be updated to include this. Also, I see no official source, and I don't include your memory. Can this be reopened until an appropriate solution is completed? I don't feel a single response is enough to call this done...

@rbrettj I'll re-open and call out that it's also the behaviour on devices. We can't give a source because it's Apple behaviour, and they lack documentation on this.

Fair enough on not being able to provide documentation. If you can't; you can't. Once the page has been updated, that will satisfy me. Thanks.

Note for posterity: the application ID (or app's UUID) always changed for over the air updates (TestFlight, App Store) but originally didn't change for deployments from Xcode. However, Xcode 6 introduced the app's UUID changing on each build/deployment. So the doc called presumably called this out because it was new behaviour for simulator deployments at the time.


[SPARK-37599][SQL][TESTS] Unify v1 and v2 ALTER TABLE .. SET LOCATION tests

What changes were proposed in this pull request?

Move parser tests from DDLParserSuite to AlterTableSetLocationParserSuite.
Port DS v1 tests from DDLSuite and other test suites to v1.AlterTableSetLocationSuite.
Add a test for DSv2 ALTER TABLE .. SET SERDE to v2.AlterTableSetLocationSuite.

Why are the changes needed?
To improve test coverage.
Does this PR introduce any user-facing change?
No
How was this patch tested?
By running new test suites:

$ build/sbt -Phive-2.3 -Phive-thriftserver "test:testOnly *AlterTableSetLocationSuite"
$ build/sbt -Phive-2.3 -Phive-thriftserver "test:testOnly *AlterTableSetLocationParserSuite"

Can one of the admins verify this patch?

cc @MaxGekk

+1, LGTM. Merging to master.
Thank you, @panbingkun.


captureException is not working - package.json not found

When Sentry.captureException(error) is called, the error is not tracked because of the error in the console:
{ Error: Cannot find module '/Users/aleksey/dev/hitask-web/dist/desktop-testask/package.json'
    at webpackEmptyContext (/Users/aleksey/dev/hitask-web/dist/desktop-testask/main.js:20861:10)
    at getPackageJson (/Users/aleksey/dev/hitask-web/dist/desktop-testask/main.js:71661:39)
    at /Users/aleksey/dev/hitask-web/dist/desktop-testask/main.js:71819:25
    at Generator.next (<anonymous>)
    at fulfilled (/Users/aleksey/dev/hitask-web/dist/desktop-testask/main.js:71586:58)
    at <anonymous> code: 'MODULE_NOT_FOUND' }

However package.json exists with exactly that path

Fix is on the way

We have just released v3.0.0 of the SDK which includes a lot of changes and improvements since this issue was opened.
If you can still reproduce this with v3, please open a new issue and I'll look into it.


Internal reminder: We need a cmd which downloads all images before each exercise session

The students are spending too much time setting up the environments.

@Svane20, I think this https://microk8s.io/docs/sideload could be one solution to prefetch some of the images in forehand.


Make a project that calculates the execution time of Jalgorithm. the project should be able to demonstrate Jalgorithm's superiority by real data and charts. use JFreeChart for that

Hi,
As Muhammad mentioned during last meeting and as per https://stackoverflow.com/questions/3382954/measure-execution-time-for-a-java-method there is no easy way, to measure program performance exactly, because it depends on so many different factors (e.g. hardware, other software running on the same system, just-in-time and hot-spot compilation, input data etc.)
So we would need an isolated machine/environment in always the same pure state, which is rather impossible.
However I believe we don't need to have precise time measurement of executions, it just should allow us to compare specific implementations (addressing exactly the same algorithmic exercise with the same input data sets). I mean that we could determine how much in per cents the one implementation is faster/slower than the other one, but only at rough level. We will not be able to differentiate reliably close implementations as it depends on so many things even connected with the sheer JVM and imponderabilia of codes.
Please see at JMH https://github.com/openjdk/jmh , http://tutorials.jenkov.com/java-performance/jmh.html and share your thougts.
Best,

Hi Cyprian,
I think reporting an approximate percentage is enough, since developers just tend to know that what they are using is the fastest available and they don't care about the precision.
The project that you linked to seems to be a good option for what we need.
We'll probably use it for this task. thanks for your thoughts and sharing that project Cyprian.


Add a static bundle sidecar container build

This only adds the build process so we can start generating these images regualarly, ahead of creating a trust-manager release which actually uses the images.
Also adds buildx provisioning and uses named a named buildx builder for trust-manager specifically.
The build is intended to be regularly scheduled in cloudbuild using the provided gcb/ci-update-debian-bundle.yaml file.
I'd propose currently that this takes the form of us creating a cloudbuild trigger and schedule by hand. I've done that in my own GCP project and confirmed it works as expected. Ideally we'd terraform this, but we don't have that infrastructure in place currently and I don't think this is the time to shave that yak!
See https://quay.io/repository/adjetstack/cert-manager-bundle-debian?tab=tags for an example of the built images in practice.

/test pull-trust-manager-verify

/lgtm

Thanks for the review @JoshVanL  - I'll go ahead and create the GCB integrations now in the cert-manager-release project as described in the PR description, so this build starts to be triggered!


hbc90 support

This PR adds hbc90 support to hbctool
only tested with a round trip decode/encode cycle on a bundle. Generated bundle was exactly equal to the original.

the data folder is missing, so the structure.json and opcode.json files. it throws an error in parser.py that it cant find the file

Works for me 👍  great work bro

yeah looks pretty much the same as what i did to get it to work

any idea why im getting this when on ver. 90?


v2 API Access Log Filter Schema is incorrect

v2 API Access Log Filter Schema is incorrect
This is the V1 config:
              filter:
                type: logical_and
                filters:
                - type: logical_or
                  filters:
                  - type: status_code
                    op: ">="
                    value: 400
                  - type: status_code
                    op: "="
                    value: 0
                  - type: duration
                    op: ">="
                    value: 2000
                  - type: traceable_request
                - type: not_healthcheck

This is one V2 config I can think of:
            filter:
              and_filter:
                filters:
                  - not_health_check_filter: {}
                  - or_filter:
                      filters:
                        - status_code_filter:
                            comparison:
                              op: GE
                              value:
                                default_value: 300
                                runtime_key: "" # What's this? And this is required.
                        - status_code_filter:
                            comparison:
                              op: EQ
                              value:
                                default_value: 0
                                runtime_key: "" # What's this?
                        - duration_filter:
                            comparison:
                              op: GE
                              value:
                                default_value: 2000
                                runtime_key: "" # What's this?
                        - traceable_filter: {}

As searching the code, I can see runtime_key is something like access_log.access_error.status.
And I think the problem here is incorrect use of RuntimeUInt32  inside ComparisonFilter.
RuntimeUInt32.runtime_key looks like is to extract information from log and fall back to
RuntimeUInt32.default_value.

@junr03 what's the resolution this one? Is there a doc update needed or some other issue?

Sorry this dropped off my radar.
Here is the summary: the RuntimeUInt32 type requires a runtime key. This means that it is not possible to configure access logs with default values that are not runtime overridable.
There are two options:

data-plane-api deletes the runtime key requirement for the RuntimeUInt32 type
The configuration specifies a sensible runtime key in case that the engineer wants to runtime override in the future

I recommented to @winguse to go with option 2.
So @winguse I dont have a concrete example for you other than pick a sensible path for where that key would live in your runtime system. Does that make sense?

Make sense, thanks @junr03

I believe this should be reopened as a bug for these reasons:

Nowhere in the docs or this thread it is explained what a "runtime key" even is
Runtime key should be deprecated and a new optional field should be used as it makes no sense to have this as a required field
Documentation should be updated to explain what a runtime key is, its behavior if set vs unset and an example usage

This is the current doc:
Runtime key to get value for comparison. This value is used if defined.

"Runtime key to get value" what is a runtime key?
This is a required field, hence what does this even mean "used if defined"? It's always defined

I understand this is a backward-incompatible change but Envoy has been historically ok with deprecating and removing things which make no sense and this does not look like a candidate for an exception.
In the meantime, can the docs be clarified to explain the notion of "runtime key" and suggest a workaround when one is not needed?
@junr03

In case the docs aren't updated, I checked the code and the tests and this should (and seems to) be an acceptable work around (log http codes <= 199 || >= 300):
{
  "or_filter": {
    "filters": [
      {
        "status_code_filter": {
          "comparison": {
            "op": "LE",
            "value": {
              "default_value": 199,
              "runtime_key": "null"
            }
          }
        }
      },
      {
        "status_code_filter": {
          "comparison": {
            "op": "GE",
            "value": {
              "default_value": 300,
              "runtime_key": "null"
            }
          }
        }
      }
    ]
  }
}

Envoy always attempts to look up "null" since its non-empty (but it must be due to the bug in the proto schema) so there's minor overhead.


Atom wiping contents of txt files

Other file extensions are fine but when I save and close a .txt file created in Atom, it registers as 0 bytes and is empty when I go to open it.
At first I thought this might be the same issue as https://github.com/atom/atom/issues/3158 , but I don't think it is, because my disk isn't full. However, I am using a diskless client, so it's possible that Atom is being confused by that.

@Zakkai is this happening in --safe mode? Could you share what packages you have installed (apm list)?

Thank you for your issue!
We haven't gotten a response to our questions in our comment https://github.com/atom/atom/issues/6391#issuecomment-93587467. With only the information that is currently in the issue, we don't have enough information to take action. I'm going to close this but don't hesitate to reach out if you have or find the answers we need, we'll be happy to reopen the issue.


Can you get me on?

Plz

Hi

Hey I invited u but u haven't accepted
On Sat, Oct 1, 2016 at 12:28 PM, Sidthecoder<EMAIL_ADDRESS>wrote:

Hi
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pvpgamecrash/pvpgamecrash.github.io/issues/7#issuecomment-250932078,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ASk3WNzp8MF_9tlJQRZbTHR1gMtr3ljiks5qvrRlgaJpZM4KL1tA
.

Go to your invatations and accept mine if you want to get on .


WIP: Raht1 doc removal

Removal of Rahti1 documentation
Menu redesign of Pouta and Rahti2 section:

Add Pouta tutorials and mention of Pouta FAQ link
Add Rahti2 tutorials and mention of Rahti2 FAQ link
Remove Cloud Tutorials
Link to {Pouta,Rahti2} tutorials in Tutorials

Proposed changes
Briefly describe the changes you've made here. Remember to add a link to the preview page of your branch.
https://csc-guide-preview.rahtiapp.fi/origin/rahti1-removal/
Checklist before requesting a review

[x] I have followed the instructions in the Contributing and Styleguide documents.
[x] My pull request passes the automated tests. If not, visit pull requests at Travis CI and have a look at the job log.
[x] I have included a link to the appropriate preview page (select your branch from the list).

Left side menu
To be removed:

Cloud Services -> Rahti 2 -> Migration to Rahti 2

Suggestions:
1. Change the order of items under Rahti 2
Suggested order: [Please check the Capital case for the first letter of the word]

What is Rahti

Containers & Orchestration
Kubernetes and OpenShift Concepts
External Documentation

Getting Started

Getting Access
Web User Interface
Command Line Tools
Moving into Rahti

Configuration

....

Advanced

Images (this one is missing in items)
Networking
Security guide
Storage in Rahti (this one is missing in items)

Tutorials

2. Sort the name of the cloud services alphabetically?

At https://csc-guide-preview.rahtiapp.fi/origin/rahti1-removal/cloud/rahti2/access/
Please add a point that it will take up to 1 hour for a user and csc project to be synced with Rahti 2.
We can also discuss this internally to reduce that time. Or adding the error that a user may get to FAQ page.

At https://csc-guide-preview.rahtiapp.fi/origin/rahti1-removal/cloud/rahti2/usage/projects_and_quota/#csc-computing-project-quotas
The warning should be removed.
Starting June 5th, 2024......

At https://csc-guide-preview.rahtiapp.fi/origin/rahti1-removal/cloud/rahti2/catalog-docs/
Rahti 1 templates in Rahti 2 should be removed in the bottom of the page.
Rahti 1 templates in Rahti 2
Most of the previous templates have been migrated to Helm Charts for Rahti 2. If you want to use a Rahti 1 template on Rahti 2, you can find the repo at this link.
CSC will no longer update these legacy templates, only the Helm Charts.

at https://csc-guide-preview.rahtiapp.fi/origin/rahti1-removal/cloud/rahti2/storage/persistent/
A change from Rahti 1 version To be removed
A change from Rahti 1 version
In production Rahti 2 a new persistent volume will remain in "⏳ Pending" until any Pod mounts it. This is a change from Rahti 1 where the volume was created right away.

at https://csc-guide-preview.rahtiapp.fi/origin/rahti1-removal/cloud/rahti2/storage/persistent/
A change from Rahti 1 version To be removed
~A change from Rahti 1 version~ ~In production Rahti 2 a new persistent volume will remain in "⏳ Pending" until any Pod mounts it. This is a change from Rahti 1 where the volume was created right away.~

Thank you Vahid for your feedback!
I'm not sure about removing it. We've had customers wondering why it's like this compared to Rahti 1, so we ended up adding that mention. I'll check with the others.

at https://csc-guide-preview.rahtiapp.fi/origin/rahti1-removal/cloud/rahti2/storage/persistent/
A change from Rahti 1 version To be removed
~A change from Rahti 1 version~ ~In production Rahti 2 a new persistent volume will remain in "⏳ Pending" until any Pod mounts it. This is a change from Rahti 1 where the volume was created right away.~

Thank you Vahid for your feedback! I'm not sure about removing it. We've had customers wondering why it's like this compared to Rahti 1, so we ended up adding that mention. I'll check with the others.

Sorry to be the disagreeing voice, but I like that sentence. Maybe Rahti 1 mention should be removed and just say:

In Rahti a new persistent volume will remain in "⏳ Pending" until any Pod mounts it.

but we added that line, we got few tickets complaining about volumes not being created yet.