cr: fix checkpoint from image getting skipped

This fixes an issue with restoring from a checkpoint image. One either restores from an image or a path, but currently restoring from an image only works if a path is set as well.
It looks like a simple logical error: The path apparently is supposed to take precedence over the image, so restoring form an image should only be done when no checkpoint path is set. Therefore a checkpointPath == "" makes more sense than checkpointPath != "".
I haven't tested this (yet), but I'll do so when I have the time.

LGTM


Removing the aud claim

The aud claim is no longer needed with the new identity provider so we will omit

#35  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


Provide a way to set custom requests.Session object to override features like timeouts, and proxies

Provide us a use case of the feature
Currently instaloader initializes custom requests.Session inside a InstaloaderContext, and passes request timeout though from instaloader.Instaloader.
What I want now, is to add proxies dict only for instaloader, because setting env variables may result in unnecessary use of proxy when other libraries make http requests, and we have to always ensure no_proxy is set properly, but this is quite fragile :)
Describe the solution you'd like
What I suggest to have a way of passing custom requests.Session right in instaloader.Instaloader.init
Describe alternatives you've considered
A different solution is to make a PR on each separate Session change like it has been with request_timeout.
If the feature request is accepted, would you be willing to submit a PR?
Yes

Sounds good!
It needs to be considered that there is not only one place where a requests.Session object is generated. Instead, there are at least

InstaloaderContext.get_anonymous_session()
InstaloaderContext.load_session_from_file()
copy_session()

So I think we cannot implement this by passing directly a custom session into Instaloader.init, rather it might be some kind of factory function or hook pattern. We are very open for any idea suggestions and PRs!


Docker Image does not build on cloud

The docker file is not building on either github actions or docker cloud.
Build works fine locally. This is possible related to https://github.com/moby/moby/issues/37965.
Could be due to lack of docker cache present on a newly spun up build environment.
@jonrkarr  Could you help debug this?
Are you able to run the "make" command from the root of the repo on your local environment?

Resolved. The docker ignore file did not include the dist directory, and was copying the local structure over to the image. On the cloud, the dist directory was created from scratch, using the default structure.


Added multi-provider multi-instance functionality

Added multi-provider multi-instance functionality
Notable changes:

Added new API version 2020-02-07-preview

Split the module_sdk directory into 2, module_sdk/v2017_11_03_preview for the old version and modules_sdk/v2020_02_07_preview for the new

Provider instance operations will use the new API version
HANA instance operation will still use the old API version (no change)
SAP Monitor operation will attempt to use the new API version, if it fails, it will use to old API version

According to your description: PUT SapMonitor will use 2020-02-07 intially and if fails will try to use the old API version. Doesn't the old API version expect Hana Properties to be passed?

yes, all those hana fields are not optional.
it will try to use version 2020-02-07, ignoring the hana fields
if that fails, it will use version 2017-11-03 passing in the hana fields


terragrunt run-all : timeout while waiting for plugin to start

Hello.
I using terragrunt for multiple accounts more than 10.
terragrunt version : v0.38.6
terraform version : v1.2.6
when run terragrunt run-all plan, it occur error : failed to instantiate provider "registry.terraform.io/hashicorp/aws" to obtain schema: timeout while waiting for plugin to start.
Are there any similar case? Can you help me how to solve this issue?

I solved this problem. The issue is related to performance issues.
I have referred the link below to solve this problem.

https://www.terraform.io/enterprise/system-overview/capacity


Extensive list of api, adding our own

I would like to be able to add steem api to the existing list
At the very present moment I am unable to do anything in vessal as none of the api listed can connect

you may close, I found my happyness on https://geo.steem.pl/

This is sad, so vessel is just broke. Untill someone like ned actually pays
jesta to get a full time person on it? Steem needs a desktop wallet...
On Sun, Mar 31, 2019, 5:40 AM Ithara Gaïan<EMAIL_ADDRESS>wrote:

you may close, I found my happyness on https://geo.steem.pl/
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/aaroncox/vessel/issues/106#issuecomment-478338221,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AfeyTgGsj4JD318VM53ksA7_1D3O9NkJks5vcKysgaJpZM4cUSNR
.

Vessel works fine for me using my rpc server - https://rpc.steemviz.com

https://anyx.io also works as well.
There aren't too many RPC servers anymore unfortunately.


Implement window sharing with the hl toplevel export proto

Generally works.
Depends on:

https://github.com/hyprwm/hyprland-protocols/pull/1
https://github.com/hyprwm/xdg-desktop-portal-hyprland/pull/2

Blockers:

[ ] Nix
[ ] Meson

Will fix.

Anyone good at Meson? I'm not sure how to add the protocol to protocols/meson.build akin to how it's done in CMake.
@sp1ritCS sorry for pinging, would you happen to know?

Doesn't adding it as [meson.project_source_root(), 'subprojects/hyprland-protocols/protocols/hyprland-toplevel-export-v1.xml'] to the protocols array work?

Doesn't adding it as [meson.project_source_root(), 'subprojects/hyprland-protocols/protocols/hyprland-toplevel-export-v1.xml'] to the protocols array work?

@sp1ritCS nope, it errors with this
protocols/meson.build:29:1: ERROR: Sandbox violation: Tried to grab file hyprland-toplevel-export-v1.xml from a nested subproject.

@eli-schwartz sorry for the ping, but you helped us in the past. Do you know the proper way of doing this?
Maybe I should try to package hyprland-protocols and reference it wayland-protocols-style?

I'm always happy to be pinged for Meson questions, no need to apologize. :)
There are two ways to do this, and both of them use the same underlying functionality.

package hyprland-protocols and install it, then acquire those files via pkg-config.
use hyprland-protocols as a Meson subproject, mark the protocols as installable, and

generate a pkg-config file with e.g. a protocolsdir variable pointing to the install location
create a declare_dependency() exposing the same variable name, but pointing to the in-source-tree location

You can then look up the dependency and dep.get_variable('protocolsdir') / 'hyprland-toplevel-export-v1.xml') will comply with the sandbox because it uses the dependency interface to find it. This will work even if hyprland-protocols is a subproject.

But I assume @vaxerski would prefer not to add a meson file to the hyprland protocols repo upside_down_face .

I think it's fine. He lets me add Nix stuff everywhere, so there's even more reason to add Meson stuff :D.

You might get arround the "sandbox" by symlinking subprojects/hyprland-protocols to somewhere outside subprojects :)

I've tried doing that and it doesn't really work. I think I'll try adding a meson.build like both you and @eli-schwartz suggested.
Thanks for the input!

I'm always happy to be pinged for Meson questions, no need to apologize. :)
There are two ways to do this, and both of them use the same underlying functionality.

package hyprland-protocols and install it, then acquire those files via pkg-config.
use hyprland-protocols as a Meson subproject, mark the protocols as installable, and

generate a pkg-config file with e.g. a protocolsdir variable pointing to the install location
create a declare_dependency() exposing the same variable name, but pointing to the in-source-tree location

You can then look up the dependency and dep.get_variable('protocolsdir') / 'hyprland-toplevel-export-v1.xml') will comply with the sandbox because it uses the dependency interface to find it. This will work even if hyprland-protocols is a subproject.

@eli-schwartz @sp1ritCS mind taking a look at https://github.com/hyprwm/hyprland-protocols/commit/0dcff94fc10df2bbb66d3e1b5a1d6cfd3ada5515 ? Maybe I've overcomplicated it. I took it from wayland-protocols and adapted.


Lex Iustificati Description Still Not Fixed

https://github.com/schofida/CWORR/issues/63
Why was this closed? The description has not changed.

There was still some weirdness with this particular but it should have been fixed in the latest update. It now does what it says.

1.0.24?

Also, Issue 63 evolved a bit. The first issue was showing text for a vanilla enchantment that didn't apply. It got changed to custom text but the custom text had grammar issues. That's the problem that persists.


[T3A4][T09-A1]Lim Shun Xian

Handle FileNotFoundException

@Crsytral Some comments added. Please close the PR after reading comments.


ARM32 Assembly Language

Language name
ARM Assembly
URL of example repository
My repository has plenty of source files in ARM assembly, since I have been working a lot with code for the Game Boy Advance. ARM assembly files are heavily used as well on other similar projects on the GBA dev scene (for example, this one, a full repository of ARM assembly functions for the GBA).
URL of syntax highlighting grammar
As far as I know, there's no syntax highlighting grammar specific for the ARM assembly files, but one could be adapted from the x86 assembly grammar.
Most popular extensions

The most used are .s and .asm, though they would have to be manually defined on a .gitattributes file for it to work.
Detected language

They are normally detected as "normal" assembly or even plain text, since .s doesn't have a set extension as far as I am aware.
Note
I'm not sure about the similarity with the AArch64 assembly language, but since it is there, there might be some use for syntax highlighting on it as well.

There's also the extension .S, used commonly for "Assembly with C Preprocessor", which is exactly what it says on the tin.

👍 +1 for AArch64 assembly. https://github.com/s5bug/m1-helloworld/blob/99d569a25e50cc3fc5f64d69fca8dc1dff873ae4/main.s doesn't look that great otherwise (it gets treated as m68k assembly).


Change react-redux/native to react-redux in native.js

As mentioned in #608, with react-redux 4.4.2 and redux-form 5.0.1, the file at node_modules/redux-form/lib/native.js needs to be manually edited.
The reference to react-redux/native needs to be changed to just react-redux or we get an error about being unable to resolve the module.
I'm not sure on that the solution to this is though, without breaking backwards compatibility.

Yeah, this has been mentioned a few times before. It's based on a requirement for an older version of redux. It's time that this gets updated.

@robwalkerco @mschipperheyn Could one of you guys submit a PR with the required changes? The goal of the PR is not to be merged but to highlight what's wrong

Created PR #897 to show required change.

Released as v5.2.4.


Address point monthly update

Benefit
Current address points for Utah.
Acceptance Criteria

[ ]

Notes
No response
Risks
No response
Issue Reference
refs #

Sprint 1 Tasks

Sprint 3 Tasks
Counties to ETL (rural counties to be added)

[ ] Davis
[ ] Salt Lake
[ ] Utah
[ ] Washington
[ ] Weber

Q3 tasks completed, moving on to Q4.


i18n(zh-cn): Update some integrations guides

Description (required)
Update some integrations guides
Related issues & labels (optional)

#9240

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File
Note

zh-cn/guides/integrations-guide/alpinejs.mdx
Localization changed, will be marked as complete.

zh-cn/guides/integrations-guide/cloudflare.mdx
Localization changed, will be marked as complete.

zh-cn/guides/integrations-guide/db.mdx
Localization changed, will be marked as complete.

zh-cn/guides/integrations-guide/deno.mdx
Localization changed, will be marked as complete.

zh-cn/guides/integrations-guide/index.mdx
Localization changed, will be marked as complete.

zh-cn/guides/integrations-guide/mdx.mdx
Localization changed, will be marked as complete.

zh-cn/guides/integrations-guide/netlify.mdx
Localization changed, will be marked as complete.

zh-cn/guides/integrations-guide/node.mdx
Localization changed, will be marked as complete.

zh-cn/guides/integrations-guide/partytown.mdx
Localization changed, will be marked as complete.

zh-cn/guides/integrations-guide/preact.mdx
Localization changed, will be marked as complete.

zh-cn/guides/integrations-guide/prefetch.mdx
Localization changed, will be marked as complete.

zh-cn/guides/integrations-guide/react.mdx
Localization changed, will be marked as complete.

zh-cn/guides/integrations-guide/sitemap.mdx
Localization changed, will be marked as complete.

zh-cn/guides/integrations-guide/solid-js.mdx
Localization changed, will be marked as complete.

zh-cn/guides/integrations-guide/svelte.mdx
Localization changed, will be marked as complete.

zh-cn/guides/integrations-guide/tailwind.mdx
Localization changed, will be marked as complete.

zh-cn/guides/integrations-guide/vue.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


Rules Sheet within Game

Make the Rules sheet a side panel within the Poker Game instead of creating a new window.
Estimate: ~50 pts

m16 okay

Note that this side panel should not always be present, but should slide in and out when the button is pressed.

F16 OK (100 pts)


Add custom output if user specify the output_filename for ShellJob task

When user specify metadata={'options': {'output_filename': 'custom_stdout'}}), the stdout will be redirected to custom_stdout.

Confirmed that this is a bug in aiida-shell: https://github.com/sphuber/aiida-shell/issues/94

Looked into this now, @superstar54, but a bit stuck. Maybe we can have a look together this week. I don't fully understand how the metadata entries are being passed through to the Task, or the ShellJob for that matter.


Product page create some minor update #56

📝 Description
Hello, @saloni-15 Once again Thank You.
On this pull request, I simply create a product page for this e-commerce web page. Also, add a cool animation on the nav link.
Work on the footer too.
🔧 [contribution permission] : Hello, Can I design & create a product page? #56

📷 Provide related Screenshots/Gifs.
Product page create.

[x] I have performed a self-review of my own code.
[x] I'm a contributor in Hacktoberfest'21.

resolve conflicts


Issue downloading

I am experiencing difficulties with the installation process.

I faced the same issue it's due Manim try install Manim from choco and let it install new python version for you to at the same time


fix: add missing primary keys

Secure Coding Practices Checklist GitHub Link

https://github.com/RedHatInsights/secure-coding-checklist

Secure Coding Checklist

[x] Input Validation
[x] Output Encoding
[x] Authentication and Password Management
[x] Session Management
[x] Access Control
[x] Cryptographic Practices
[x] Error Handling and Logging
[x] Data Protection
[x] Communication Security
[x] System Configuration
[x] Database Security
[x] File Management
[x] Memory Management
[x] General Coding Practices

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 59.72%. Comparing base (13cd3fb) to head (43c96e7).
Report is 124 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #256      +/-   ##
==========================================
- Coverage   60.07%   59.72%   -0.35%
==========================================
  Files          46       76      +30
  Lines        2928     4251    +1323
==========================================
+ Hits         1759     2539     +780
- Misses        969     1452     +483
- Partials      200      260      +60

Flag
Coverage Δ

unittests
59.72% <ø> (-0.35%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

🚨 Try these New Features:

Flaky Tests Detection - Detect and resolve failed and flaky tests


web composer: pasting URL on new line messes with the display (minor bug)

Describe the bug

To Reproduce
Start a post, copy&paste some URLs, but each on a new line.
Expected behavior
Show the whole URLs as linked, and only the URLs.
Details
Chrome and Firefox on Mac.
Also happens when you insert the carriage return after having pasted the URL.
After posting, all looks as it should https://bsky.app/profile/manuschwendener.bsky.social/post/3k6bgsmtfzo2v
Additional context
Related to https://github.com/bluesky-social/social-app/issues/1293#issuecomment-1694682160.

nice

@mschwendener this is really strange, but I can't reproduce this now 🤔 I know I've seen this kinda thing in the past but perhaps we bumped something and resolved it? Are you able to reproduce this?

Still can reproduce, Chrome on MacBook, see screenshot.
I use shift&carriage return to get to the new line.

Closing this, let's continue in https://github.com/bluesky-social/social-app/issues/1391


Where is ./environment.txt

Where is "./environment.txt"?

We have two implementations: one is based on Llama and fine-tuned using the Transformers Trainer, and the other is based on T5 and fine-tuned using our own implementation. We used different environments for each. The first environment can be found in './src/src_llama/environment_llama.txt', and the second one can be found in './src/src_t5/environment_t5.txt'.

Thanks


Convert-JsonToBicep: Use safe path for tmp/temp and allow pipeline input

This includes one functional fix, and two minor details.

Safe method for getting path to temp directory

Using $env:TEMP is a Windows-only way of getting the temp directory.
By replacing this with [System.Io.Path]::GetTempPath() it allows
the Convert-JsonToBicep function to work across all platforms.

Allow Convert-JsonToBicep to receive pipeline input

This allows the function to process pipeline input to be used
in common Powershell scripting patterns.

Trailing whitespace removals (editor formatting, yay)

Thanks for a great module! Already finding it useful!
If you want me to register an issue for this (or separate ones), just let me know. Also, I know 1) and 2) is not directly related, so it's fine to refactor one of them out if not wanted - but I figured such minor fixes would be OK to squash together..
One additional comment:
Is it possible to include some guidance on how to run the PlatyPS docs/xml generation for this repo? I tried doing it myself after updating the markdown, but that led to a bunch of errors, so I disregarded them for now.

@matsest Thank you once again for contributing. You can skip creating an issue. We are all Windows user an really appreciate your cross platform fixes. We have lots of plans to add more automated test but lack the time.
I started writing on a contributing guide yesterday. Will add PlatyPS details.

Thank you for your contribution @matsest


worker and crate name rebranding

docker file still to do

I applied the suggestions made by brenzi : https://github.com/integritee-network/worker/issues/348#issuecomment-902620235
I think you should discuss/review them again. Then I will proceed to the changes.

We should also think, define how the crate name and the folder structure are linked:
For instance how should be the new strucutre folder for:

/worker/rpc/client/Cargo.toml:name = "substratee-worker-api" >> itc-api-client
and
./enclave/Cargo.toml:name = "substratee-worker-enclave" >> itc-enclave

I think that the prefix should be the folder names; itc, itp, ita, etc.
Coming back to the comments I had before:

itp-core sounds a bit to heavy-weight for me because it is only some typedefs. How about itp-(primitive-)types?
Shall we just merge the node primitives into itp-(primitive-)types?

I think that the prefix should be the folder names; itc, itp, ita, etc.

I would prefer more comprehensive names for the folder : : itc --> core, itp --> primitive, ita --> app, its --> sidechain

I second @echevrier concerning the folder names. they should be understandable

Ok, I am fine with more descriptive names. The acronyms are too similar.
I agree so far with:

itc --> core
itp --> primitiveS (would add the 'S')
its --> sidechain

I think the might something better for  ita --> app. Furthermore, I am unsure if we really need that. I'd like to have the STF be abstracted differently with traits. Then it might be suitable for either core, or primitives. Specific implementations or extensions of the trait can then be done by the customer in the enclave crate.
And now I just realize that you'd also want to move the enclave to core, I wonder if this should be standalone, similar to the standalone runtime-crate in substrate?

I agree that "app" is not nice
I disagree that stf belongs to primitives or core.
If or level of abstraction now allows to do stf definitions in enclave, fine. But then enclave should not be 'core' as I think core should not be touched by adopters usually.
Please find a solution @clangenb, @echevrier and move ahead.

This is what we need to change. There are still some points that are not clear (marked with ?????). I will make the changes when we have made a decision.
./client/Cargo.toml:name = "substratee-client" >> integritee-cli >> ./client/
./stf/Cargo.toml:name = "substratee-stf" >> ita-stf >> ????????
./worker/rpc/client/Cargo.toml:name = "substratee-worker-api" >> itc-api-client >>./core/client/ or ./core/api-client/ ????????
./worker/rpc/server/Cargo.toml:name = "substratee-worker-rpc-server" >> itc-api-server >> ./core/server/ or ./core/api-server/ ????????
./worker/Cargo.toml:name = "substratee-worker" >> integritee-service >> ./core/
./primitives/ocall-api/Cargo.toml:name = "substratee-ocall-api" >> itp-ocall-api >> ./primitives/ocall-api/
./primitives/node/Cargo.toml:name = "substratee-node-primitives" >> itp-types >> ./primitives/types/
./primitives/sgx/crypto/Cargo.toml:name = "substratee-sgx-crypto" >> itp-sgx-crypto >> ./primitives/sgx/crypto/
./primitives/sgx/io/Cargo.toml:name = "substratee-sgx-io" >> itp-sgx-io >> ./primitives/sgx/io/
./primitives/storage/Cargo.toml:name = "substratee-storage" >> itp-storage >> ./primitives/storage/
./primitives/test-utils/Cargo.toml:name = "test-utils" >> itp-test >> ./primitives/test/
./primitives/pallet-teerex-storage/Cargo.toml:name = "pallet-teerex-storage" >> itp-teerex-storage >> ./primitives/teerex-storage/ ????????
./primitives/settings/Cargo.toml:name = "substratee-settings" >> itp-settings >> ./primitives/settings/
./primitives/worker/Cargo.toml:name = "substratee-worker-primitives" >> itp-core >> ./primitives/core/
./primitives/enclave-api/ffi/Cargo.toml:name = "substratee-enclave-api-ffi" >> itp-enclave-api-ffi >> ./primitives/enclave-api/ffi/
./primitives/enclave-api/Cargo.toml:name = "substratee-enclave-api" >> itp-enclave-api >> ./primitives/enclave-api/
./primitives/get-storage-verified/Cargo.toml:name = "substratee-get-storage-verified" >> itp-storage-verifier >> ./primitives/storage-verifier/
./primitives/api-client-extensions/Cargo.toml:name = "substratee-api-client-extensions" >> itp-api-client-extensions >> ./primitives/api-client-extensions/
./primitives/sidechain/primitives/Cargo.toml:name = "substratee-sidechain-primitives" >> its-primitives >> ./sidechain/primitives/
./primitives/sidechain/Cargo.toml:name = "substratee-sidechain" >> itp-sidechain >> its-sidechain >> ./sidechain/
./enclave/chain_relay/Cargo.toml:name = "chain-relay" >> itc-light-client >> ./core/light-client/
./enclave/Cargo.toml:name = "substratee-worker-enclave" >> itc-enclave >> ./core/enclave/ ????????

Yes, @brenzi is right. STF is not yet ready to be standalone and allow user extensions. Hence, for the time being, I agree to put it in ita.
@echevrier and I discussed bilaterally that we call it app-libs to prevent confusion with a full-fledged app.
Furthermore, I insist on not putting enclave into core. According to @haerdib, it was heavily adjusted to customers' needs. According to that reasoning,  it would go to app-libs.
Yet, I believe that the enclave should have a special role. It aggregates all the libs, to create together with custom calls and custom STF the user defined enclave-runtime. Hence, I believe it should have its unique role and be called enclave-runtime.
In fact, the same logic applies to the worker as well. While we should aim for an itc-service by extracting the standard code from the worker, it's not the case currently. So, I'd suggest the following additions/amendments to @echevrier's list above.
./stf/Cargo.toml:name = "substratee-stf" >> ita-stf >> app-libs
./enclave/Cargo.toml:name = "substratee-worker-enclave" >> enclave-runtime >> ./main/enclave-runtime
./worker/Cargo.toml:name = "substratee-worker" >> integritee-service >> ./main/integritee-service

Rest of the open points from the list above:
./primitives/pallet-teerex-storage/Cargo.toml:name = "pallet-teerex-storage" >> itp-teerex-storage >> ./primitives/teerex-storage
./worker/rpc/client/Cargo.toml:name = "substratee-worker-api" >> itc-rpc-client >>./core/client/ or ./core/rpc-client/
./worker/rpc/server/Cargo.toml:name = "substratee-worker-rpc-server" >> itc-rpc-server >> ./core/server/ or ./core/rpc-server/

Reasoning. I think api-client could be confused with the substrate-api-client. Furthermore, as it is rpc only, I think it should be specified as such.


Update the cloud_firestore version

Because paginate_firestore 1.0.3+1 depends on cloud_firestore ^3.1.11 and no versions of paginate_firestore match >1.0.3+1 <2.0.0, paginate_firestore ^1.0.3+1 requires cloud_firestore ^3.1.11.

Still  have the  same issue


I wanna use X.509 Certificate Mode at lwm2m server after bootstraping with X.509 Certificate Mode

Question
I wanna use X.509 Certificate Mode at lwm2m server after bootstraping with X.509 Certificate Mode
I wanna use X.509 Certificate Mode at both server.
But I have to add information of client private key and public key at bootstrap server for using X.509 certificate Mode at lwm2m server.
But bootstrap server can not know certification information fo client.
how can i use?

they have private key , public key each other (client, bootstrap server, lwm2m server)

I'm not sure I get your point, Just to be sure I try to rephrase it.
You want to use X509 for connection between :

LWM2M Client and LWM2M Bootstrap Server.
LWM2M Client and LWM2M Server.

I guess you are  using Leshan Demos ? right ?

But I have to add information of client private key and public key at bootstrap server for using X.509 certificate Mode at lwm2m server.

You mean that leshan-bsserver-demo required you to provide Client Certificate and Client Private Key when you add you Client configuration via Add Client Configuration wizzard of the UI ? right ?

But bootstrap server can not know certification information fo client.

You mean in your use case,  you don't want to provide those information to Bootstrap Server (I guess maybe for some kind of  Security reason), right ?
Do I correctly understand you ?

Like when Client connect lwm2m server directly with X.509 Mode without bootstrap session

to use X.509 Mode in lwm2m server, I have to add client certificate information in bootsrap server UI
But I cannot know Client Private Key in real service, so I cannot add Client Certificate Information and Security Mode (In 4. LWM2M Server Configuration)
I had no choice so I add Client Information in 4.LWM2M Server Configuration as below

Server URL : coaps://localhost:5684
Sevutiry Mode : No Security

However, the lwm2m server did not respond. it is issue..
It is my client option

-b
-u=localhost:5694
-n=test
-ccert=D:\client_sign.der
-cprik=D:\client_private_pkcs8.der
-scert=D:\server_sign.der

if you need to get more information, plz ask me
thank you for your help.

For sure :

Server URL : coaps://localhost:5684
Sevutiry Mode : No Security

This can not work. because No Security is for coap://  (not  for coaps://).

But I cannot know Client Private Key in real service, so I cannot add Client Certificate Information and Security Mode (In 4. LWM2M Server Configuration)

The idea is not to provide the client private key already store in the client but providing a new Private Key / Certificate Pair which will only be used to connect to LWM2M Server Configuration.
To be clearer, and looking at :
   (1) Endpoint Name : Test
   (2) Credentials : Using (D)TLS ON
       Sevurity Mode ; x509
   (3) Paths to delete : /0, /1, /21
   (4) LWM2M Server Configuration :
       Server URL : coaps://localhost:5684
       Sevutiry Mode : No Security
   (6) LWM2M Bootstrap Server Configuration : N/A

Step 2 is about "How Bootstrap server expects client to authenticate ?"
Step 4 is about "Apply Configuration which defines which LWM2M server the client must connect to  and which credentials will be used for this server only".
So you don't need to know the Private Key, you need to provide a new one (with the corresponding new Certificate trusted by your LWM2M server).
Regarding your question, maybe this could help you if you read again the LWM2M specification v.1.1.x to clarify your mind about this.
At least chapter :

https://www.openmobilealliance.org/release/LightweightM2M/V1_1_1-20190617-A/HTML-Version/OMA-TS-LightweightM2M_Transport-V1_1_1-20190617-A.html#5-2-8-3-0-5283-X509-Certificates
https://www.openmobilealliance.org/release/LightweightM2M/V1_1_1-20190617-A/HTML-Version/OMA-TS-LightweightM2M_Core-V1_1_1-20190617-A.html#13-1-0-E1-LwM2M-Object-LwM2M-Security
https://www.openmobilealliance.org/release/LightweightM2M/V1_1_1-20190617-A/HTML-Version/OMA-TS-LightweightM2M_Core-V1_1_1-20190617-A.html#13-2-0-E2-LwM2M-Object-LwM2M-Server

And probably also :

https://www.openmobilealliance.org/release/LightweightM2M/V1_1_1-20190617-A/HTML-Version/OMA-TS-LightweightM2M_Core-V1_1_1-20190617-A.html#6-1-0-61-Bootstrap-Interface
https://www.openmobilealliance.org/release/LightweightM2M/V1_1_1-20190617-A/HTML-Version/OMA-TS-LightweightM2M_Transport-V1_1_1-20190617-A.html#5-2-0-52-TLSDTLS-based-Security

thank you for your help :)


Add a short intro Video/GIF showing how the plugin can be utilised properly.

🚀 The feature, motivation and pitch
Just a small intro video where different scenarios are showcased would be helpful.
Alternatives
No response
Additional context
No response

That would definitely be good to have.

Yea I looked at it and I didn't know how to use it properly haha.

Totally understandable. It started off as something I was just building for myself and then (to my surprise) a lot of other people started using it, so it's grown a lot since then and now has a lot of features that aren't completely transparent. Can I ask what your main point of confusion was? Was it how to use the commands or autocompletion or just getting it set up properly?

Getting it set up in general. I got it working, but didn't understand how to use it.

Anyone on it ? I came across this plugin and wanted to try it out by referring some video/gif. Instead found an issue, LOL.
(I just started using Obsidian UI App) @epwalsh, Videos can be created later, Or I can help make some too, once I become aware of how to use it. Meanwhile can we have like a simple gif in the README. It can help folks get an overview and to get started. What do you think ?

Haven't done any videos myself, also found myself not using it because I couldn't wrap my head around it. So I'm just waiting for a video/gif. Sounds like a nice idea to have something like that to pull people in.

This is in the README now.


The Framer.zip is not found.

I am following the Get Started and after clicked on http://framerjs.com/static/downloads/Framer.zip,
I got "Sorry, this page could not be found". Is that something you'll be fixing or there is no more support for Framer.js outside F. Studio?
Thanks!

Try http://builds.framerjs.com for the latest Framer.js
Framer generator is outdated and still awaiting a new upload.

The link should be working again, and the latest builds are indeed on http://builds.framerjs.com


feat: Adding address field for AccountInfo

Description
Related issue(s)
If this Pull Request is related to an issue, mention it here.

Fixes #700

@kehiy
Better we remove accountByNumber It is useless now

@b00f it's done.


Cache does not distinguish betwen different db hosts.

I have noticed that the cache does not distinguish between different database hosts and uses only the query and database name to ID cached queries. It would be nice if the system that checks the cache also considered the database host address.
The main use case is for querying a staging/development vs production database. I have found that if I made some query in a staging or development environment, the cached results would be recalled when querying the production database even though the contents are different. It is a common pattern for a staging/development environment to share a db name with a production environment, so it would be nice if cachesql could consider the db host address as well to distinguish these.

@jacob-r-g you could use the "name" parameter of Database to determine different namespaces for different combinations of databases/hosts. You could also pass explicitly the path where you want cache to be stored for different database connections with the "cache_store" parameter.
I am sure it is possible to also add the host to the automatic inference of the cache path. Feel free to propose a pull request. I promise I'll respond quicker this time :)


SPO DLP support for file extensions points to SPS list minus and plus some formats

The SPO documentation should be self-contained wherever possible. Currently, on the topic of file formats supported by SPO DLP, the documentation says "DLP evaluates any content that can be indexed." and then points to the SharePoint server documentation, which in turns says "SPO is the same, plus these formats and minus these formats". Since SPO is Microsoft's primary platform, this is not how this topic should be documented (especially since it is easy to miss the nuance that the page linked by the SPO article is not for SPO but for SPS, and that there's a notice there that says "but SPO is different from the list below", this can lead to people looking at the list and thinking it is the applicable list (in fact I just did a quick survey and all three people I asked incorrectly interpreted the list as being for SPO).
The list of supported file extensions should be in a page that's specific to SPO, and should be up to date with the formats supported by SPO.

@Esaggese Thank you for your feedback. Could you please point us to the document which you think needs to be updated?
Thanks
Sri

Hi. The information should be included in https://docs.microsoft.com/en-us/microsoft-365/compliance/data-loss-prevention-policies?view=o365-worldwide#how-it-works, or in a separate page linked from there. Currently that page has a link to a page that lists the formats supported in SPS, not SPO, and adds some clarification about the differences in SPO. Also, the linked article is named "default file extensions..." which sets  the expectation that the list can be changed, which is not the case for SPO. The article I link to should instead either include the list for SPO explicitly, or point to a page that details the list for SPO and not the one for SPS.

@msbemba

@Esaggese Thank you for your feedback. SharePoint in Microsoft 365 supports the same file name extensions as in the table, except for .eml or .mht files. In addition, SharePoint in Microsoft 365 also supports the following: .xlt .xlc .xlb. This has been added as a note on the document.
Hope this helps!
Thanks
Sri

I know it's documented, but SharePoint Online is Microsoft's primary platform, and SharePoint Server is a legacy platform. Microsoft should not document SharePoint Online by making references to the SPO documentation and highlighting the differences, SPO should be documented directly since otherwise it puts an extra burden on SPO administrators and it potentially causes confusion when this document is linked directly from the SPO documentation on other topics and admins may not realize they are in the page for SPS and not even check the notes.
From: Sriraman M S @.>
Sent: Monday, April 26, 2021 07:22
To: MicrosoftDocs/microsoft-365-docs @.>
Cc: Enrique Saggese @.>; Mention @.>
Subject: Re: [MicrosoftDocs/microsoft-365-docs] SPO DLP support for file extensions points to SPS list minus and plus some formats (#4657)
@Esaggesehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FEsaggese&data=04|01|esaggese%40microsoft.com|204add16580547898b1a08d908be9a9a|72f988bf86f141af91ab2d7cd011db47|1|0|637550437003104827|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=oZCE6SCn8TnKw19jKRWf7%2B10jKxuJoxcobSPcoROrxg%3D&reserved=0 Thank you for your feedback. SharePoint in Microsoft 365 supports the same file name extensions as in the table, except for .eml or .mht files. In addition, SharePoint in Microsoft 365 also supports the following: .xlt .xlc .xlb. This has been added as a note on the document.
Hope this helps!
Thanks
Sri

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fmicrosoft-365-docs%2Fissues%2F4657%23issuecomment-826875152&data=04|01|esaggese%40microsoft.com|204add16580547898b1a08d908be9a9a|72f988bf86f141af91ab2d7cd011db47|1|0|637550437003114823|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=pt1La2FP0JEMCIcAdLD%2FXUYJP8bhbbZO2l9aR2ZYxOI%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAK7IC5FPSVZFGQKBW3GOMZLTKVZHDANCNFSM42UUIQHA&data=04|01|esaggese%40microsoft.com|204add16580547898b1a08d908be9a9a|72f988bf86f141af91ab2d7cd011db47|1|0|637550437003124816|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=LisZ%2F5IMH21KTXoJi%2FTygqgvpzRPa64EdBM7yKYMH8g%3D&reserved=0.

@msbemba

@Esaggese The document states that it applies to 2013, 2016, 2019, and SharePoint in Microsoft 365 and there is no alternate document currently available for just SPO.
CC: @chrfox
@yogkumgit
Thanks
Sri


Don't archive language cvar

The auto-detected language will no longer by archived by default. It will only be archived if you use seta or choose a language from a (not yet existing) menu in the UI.
Fixes https://github.com/Unvanquished/Unvanquished/issues/2165.

We need a mechanism to return in 'auto', selectable in drop-down list, i.e. remove the archive flag and maybe resetting the value.
This may be hacked by setting "auto" to the cvar, with code resetting the flag and the value is “auto” is set.
But then such dropdown menu would not display it is set to "auto (Language)".

We need a mechanism to return to 'auto', selectable in drop-down list, i.e. remove the archive flag and maybe resetting the value.
This may be hacked by setting "auto" to the cvar, with code resetting the flag and the value is “auto” is set.
But then such dropdown list would not display it is set to "auto (Language)".

We absolutely do NOT need an auto option in the dropdown list. The only people who need that are developers who want to test the language auto detection code and they can use /reset language.

Well, I'm sure I have used this kind of option as an user in other software.
But you remind me we maybe can just add a reset button (something we should have for many other things too).

For reference, the calling code does this:
Color::StripColors( prompt );
Field_Draw( g_consoleField,
	consoleState.margin.sides + consoleState.padding.sides + SCR_ConsoleFontStringWidth( prompt, strlen( stripped ) ),

If I do this:
prompt = Color::StripColors( prompt );
Field_Draw( g_consoleField,
	consoleState.margin.sides + consoleState.padding.sides + SCR_ConsoleFontStringWidth( prompt, strlen( stripped ) ),

I get:
Unvanquished/daemon/src/engine/client/cl_console.cpp:645:16: error: incompatible types in assignment of ‘char*’ to ‘char [1024]’
  645 |         prompt = Color::StripColors( prompt );
      |         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

If I do this:
char* stripped = Color::StripColors( prompt );
Field_Draw( g_consoleField,
consoleState.margin.sides + consoleState.padding.sides + SCR_ConsoleFontStringWidth( prompt, strlen( stripped ) ),
It didn't fixed it

@illwieckz You seem to have commented in the wrong issue.

Oh lol


failsafe timeout: read tcp

Describe the bug
charger type 'amperfied': failsafe timeout: read tcp <IP_ADDRESS>:38538-><IP_ADDRESS>:502: i/o timeout
Steps to reproduce
Error after an update. Had the configuration working a couple of days ago.
Configuration details
network:
  # schema is the HTTP schema
  # setting to `https` does not enable https, it only changes the way URLs are generated
  schema: http
  # host is the hostname or IP address
  # if the host name contains a `.local` suffix, the name will be announced on MDNS
  # docker: MDNS announcements don't work. host must be set to the docker host's name.
  host: <IP_ADDRESS>
  # port is the listening port for UI and api
  # evcc will listen on all available interfaces
  port: 7070

interval: 30s # control cycle interval. Interval <30s can lead to unexpected behavior, see https://docs.evcc.io/docs/reference/configuration/interval

# database configuration for persisting charge sessions and settings
# database:
#   type: sqlite
#   dsn: <path-to-db-file>

# sponsor token enables optional features (request at https://sponsor.evcc.io)
# sponsortoken:

# telemetry enables aggregated statistics
#
# Telemetry allows collecting usage data (grid and green energy, charge power).
# Data is aggregated, no individual charging sessions are tracked. The collected,
# anonymous data can be retrieved using https://api.evcc.io.
#
# See https://github.com/evcc-io/evcc/pull/4343 or details.
#
# For time being, this is only available to sponsors, hence data is associated with
# the sponsor token's identity.
#
# telemetry: true

# log settings
log: debug
levels:
  site: debug
  lp-1: debug
  lp-2: debug
  cache: error
  db: error

# modbus proxy for allowing external programs to reuse the evcc modbus connection
# each entry will start a proxy instance at the given port speaking Modbus TCP and
# relaying to the given modbus downstream device (either TCP or RTU, RS485 or TCP)
modbusproxy:
  #  - port: 5200
  #    uri: solar-edge:502
  #    # rtu: true
  #    # readonly: true # use `deny` to raise modbus errors

# meter definitions
# name can be freely chosen and is used as reference when assigning meters to site and loadpoints
# for documentation see https://docs.evcc.io/docs/devices/meters
meters:
  - name: my_battery
    type: template
    template: victron-energy
    usage: battery
    host: <IP_ADDRESS> # IP-Adresse oder Hostname
    port: 502 # Port (optional)

  - name: my_grid
    type: template
    template: cg-em24
    usage: grid

    # Modbus TCP
    modbus: tcpip
    id: 1
    host: <IP_ADDRESS> # Hostname
    port: 502 # Port

  - name: my_pv
    type: template
    template: victron-energy
    usage: pv
    host: <IP_ADDRESS> # IP-Adresse oder Hostname
    port: 502 # Port (optional)

# charger definitions
# name can be freely chosen and is used as reference when assigning charger to vehicle
# for documentation see https://docs.evcc.io/docs/devices/chargers
chargers:
  - name: my_charger
    type: template
    template: amperfied

    # Modbus TCP
    modbus: tcpip
    id: 255
    host: <IP_ADDRESS> # Hostname
    port: 502 # Port

# vehicle definitions
# name can be freely chosen and is used as reference when assigning vehicle to loadpoint
# for documentation see https://docs.evcc.io/docs/devices/vehicles
vehicles:
  - name: Smart
    type: template
    template: smart
    capacity: 60 # kWh
    user: xxxx
    password: xxx

# site describes the EVU connection, PV and home battery
site:
  title: Home # display name for UI
  meters:
    grid: my_grid # grid meter
    pv:
      - my_pv # list of pv inverters/ meters
    battery:
      - my_battery # list of battery meters
  residualPower: 100 # additional household usage margin
  maxGridSupplyWhileBatteryCharging: 0 # ignore battery charging if AC consumption is above this value

# loadpoint describes the charger, charge meter and connected vehicle
loadpoints:
  - title: Vorgarten # display name for UI
    charger: my_charger # charger
#    meter:  # charge meter
    mode: "pv" # default charge mode to apply when vehicle is disconnected; use "off" to disable by default if charger is publicly available

    # remaining settings are experts-only and best left at default values
    priority: 0 # relative priority for concurrent charging in PV mode with multiple loadpoints (higher values have higher priority)
    soc:
      # polling defines usage of the vehicle APIs
      # Modifying the default settings it NOT recommended. It MAY deplete your vehicle's battery
      # or lead to vehicle manufacturer banning you from API use. USE AT YOUR OWN RISK.
      poll:
        # poll mode defines under which condition the vehicle API is called:
        #   charging: update vehicle ONLY when charging (this is the recommended default)
        #   connected: update vehicle when connected (not only charging), interval defines how often
        #   always: always update vehicle regardless of connection state, interval defines how often (only supported for single vehicle)
        mode: charging
        # poll interval defines how often the vehicle API may be polled if NOT charging
        interval: 60m
      estimate: true # set false to disable interpolating between api updates (not recommended)
    enable: # pv mode enable behavior
      delay: 1m # threshold must be exceeded for this long
      threshold: 0 # grid power threshold (in Watts, negative=export). If zero, export must exceed minimum charge power to enable
    disable: # pv mode disable behavior
      delay: 3m # threshold must be exceeded for this long
      threshold: 0 # maximum import power (W)

# tariffs are the fixed or variable tariffs
tariffs:
  currency: EUR # three letter ISO-4217 currency code (default EUR)
  grid:
    # either static grid price (or price zones)
    type: fixed
    price: 0.294 # EUR/kWh
    zones:
      - days: Mon-Fri
        hours: 2-5
        price: 0.2 # EUR/kWh
      - days: Sat,Sun
        price: 0.15 # EUR/kWh

    # or variable tariffs
    # type: tibber
    # token: "476c477d8a039529478ebd690d35ddd80e3308ffc49b59c65b142321aee963a4" # access token
    # homeid: "cc83e83e-8cbf-4595-9bf7-c3cf192f7d9c" # optional if multiple homes associated to account

    # type: awattar
    # region: de # optional, choose at for Austria
    # charges: # optional, additional charges per kWh
    # tax: # optional, additional tax (0.1 for 10%)

    # type: octopusenergy
    # tariff: AGILE-FLEX-22-11-25 # Tariff code
    # region: A # optional

    # type: elering # Nordpool
    # region: ee # or lt, lv, fi
    # charges: # optional, additional charges per kWh
    # tax: # optional, additional tax (0.1 for 10%)

    # type: energinet # Energinet using the price in DKK
    # region: dk1 # or dk2
    # charges: # optional, additional charges per kWh
    # tax: # optional, additional tax (0.1 for 10%)

    # type: entsoe # Entso-E european market data
    # domain: BZN|DE-LU # https://transparency.entsoe.eu/content/static_content/Static%20content/web%20api/Guide.html#_areas
    # securitytoken: # api token
    # charges: # optional, additional charges per kWh
    # tax: # optional, additional tax (0.1 for 10%)

    # type: pun # PUN - Prezzo unico nazionale - Hourly Italian wholesale prices
    # charges: 0 # optional, additional charges per kWh
    # tax: 0 # optional, additional tax (0.1 for 10%)

    # type: amber
    # token: # api token from https://app.amber.com.au/developers/
    # siteid: # site ID returned by the API
    # channel: general

    # type: custom # price from a plugin source; see https://docs.evcc.io/docs/reference/plugins
    # price:
    #   source: http
    #   uri: https://example.org/price.json
    #   jq: .price.current

  feedin:
    # rate for feeding excess (pv) energy to the grid
    type: fixed
    price: 0.08 # EUR/kWh

    # type: octopusenergy
    # tariff: AGILE-FLEX-22-11-25 # Tariff code
    # region: A # optional

    # type: amber
    # token: # api token from https://app.amber.com.au/developers/
    # siteid: # site ID returned by the API
    # channel: feedIn
  co2:
    # co2 tariff provides co2 intensity forecast and is for co2-optimized target charging if no variable grid tariff is specified
    # type: grünstromindex # GrünStromIndex (Germany only)
    # zip: <zip>

    # type: electricitymaps # https://app.electricitymaps.com/map
    # uri: <uri>
    # token: <token> # needs to be a token with forecast (not in the free tier)
    # zone: DE

    # type: ngeso # National Grid Electricity System Operator data (United Kingdom only) https://carbonintensity.org.uk/
    # provides national data if both region and postcode are omitted - do not supply both at the same time!
    # region: 1 # optional, coarser than using a postcode - see https://api.carbonintensity.org.uk/ for full list
    # postcode: SW1A1AA # optional

# mqtt message broker
mqtt:
  # broker: localhost:1883
  # topic: evcc # root topic for publishing, set empty to disable
  # user:
  # password:

# influx database
influx:
  # url: http://localhost:8086
  # database: evcc
  # user:
  # password:

# eebus credentials
eebus:
  # uri: # :4712
  # interfaces: # limit eebus to specific network interfaces
  # - en0
  # certificate: # local signed certificate, required, can be generated via `evcc eebus-cert`
  #   public: # public key
  #   private: # private key

# push messages
messaging:
  events:
    start: # charge start event
      title: Charge started
      msg: Started charging in "${mode}" mode
    stop: # charge stop event
      title: Charge finished
      msg: Finished charging ${chargedEnergy:%.1fk}kWh in ${chargeDuration}.
    connect: # vehicle connect event
      title: Car connected
      msg: "Car connected at ${pvPower:%.1fk}kW PV"
    disconnect: # vehicle connected event
      title: Car disconnected
      msg: Car disconnected after ${connectedDuration}
    soc: # vehicle soc update event
      title: Soc updated
      msg: Battery charged to ${vehicleSoc:%.0f}%
    guest: # vehicle could not be identified
      title: Unknown vehicle
      msg: Unknown vehicle, guest connected?
  services:
  # - type: pushover
  #   app: # app id
  #   recipients:
  #   - # list of recipient ids
  # - type: telegram
  #   token: # bot id
  #   chats:
  #   - # list of chat ids
  # - type: email
  #   uri: smtp://<user>:<password>@<host>:<port>/?fromAddress=<from>&toAddresses=<to>
  # - type: ntfy
  #   uri: https://<host>/<topics>
  #   priority: <priority>
  #   tags: <tags>
sponsortoken: XXX

Log details
[main  ] INFO 2024/06/10 14:47:17 evcc 0.126.6
[main  ] INFO 2024/06/10 14:47:17 using config file: /config/evcc.yaml
[main  ] INFO 2024/06/10 14:47:17 starting ui and api at :7070
[main  ] FATAL 2024/06/10 14:47:27 cannot create charger 'my_charger': cannot create charger type 'template': cannot create charger type 'amperfied': failsafe timeout: read tcp <IP_ADDRESS>:38538-><IP_ADDRESS>:502: i/o timeout
[main  ] FATAL 2024/06/10 14:47:27 will attempt restart in: 5m0s

What type of operating system are you running?
HomeAssistant Add-on
Version
0.126.6

Hi, ich habe das selbe problem mit meine EM2Go Home. Ich kann diese über den configure auf windows nicht anlegen.


PLAT-140367: Fix touch effect is shown at other button

Enact-DCO-1.0-Signed-off-by: Juwon Jeong<EMAIL_ADDRESS>Checklist

[x] I have read and understand the contribution guide
[x] A CHANGELOG entry is included
[x] At least one test case is included for this feature or bug fix
[x] Documentation was added or is not needed
[ ] This is an API breaking change

Issue Resolved / Feature Added
Touch effect is shown at other button
Resolution
This issue was solved in PLAT-139620
Migrate sampler storybook from 5.x to 6
Additional Considerations
Links
PLAT-140367
Comments

 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.

㊗


Update analysis to handle separate AND combined analysis of reference calculations

Updates analysis scripts/manifest to reflect reference calculations. Still need to update with revised plots.

Looks good!


Need example on how to link a Merchant Center Account with Ads Account for API v15

What is your question?
Do you have an example for accepting the link invitation for a Merchant Center Account with an Ads account using API v15 and above?
Hello, I'm working on migrating this feature from API v14 to API v15 but only version 14 has a ruby example. Could you provide a guide on how to achieve this on v15 and above? Maybe add it to the examples folder.
Thank you!

Checking the docs, the merchant_center_id isn't directly on the product_link, but nested one level deep within a MerchantCenterIdentifier named merchant_center: https://developers.google.com/google-ads/api/reference/rpc/v16/ProductLink
I tried this code out and it seemed to work:
[4] pry(main)> product_link = client.resource.product_link do |pl|
[4] pry(main)*   pl.merchant_center = client.resource.merchant_center_identifier do |mc|
[4] pry(main)*     mc.merchant_center_id = 1234
[4] pry(main)*   end
[4] pry(main)* end
=> <Google::Ads::GoogleAds::V16::Resources::ProductLink: resource_name: "", type: :UNSPECIFIED, merchant_center: <Google::Ads::GoogleAds::V16::Resources::MerchantCenterIdentifier: merchant_center_id: 1234>>


Classes, and asynchronous support.

We now have a better organization system for the API, including the bases of async support. This also opens the door for people to use OOP on the API, creating their own classes to do whatever. This also allows for people to have multiple REPLAPI instances at the same time.

we are just starting to use those for the next version!(except classes for this, we will organize everything when we are going to stop supporting replapi)

Sounds good. Should we continue with asynchronous support?
On Thu, Mar 25, 2021, 10:37 AM Dark Boi @.***> wrote:

we are just starting to use those for the next version!(except classes for
this, we will organize everything when we are going to stop supporting
replapi)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/JBYT27/REPLAPI/pull/15#issuecomment-806865757, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AR3V6LBAJT5EIS63QXMIU33TFNDBXANCNFSM4ZZISENQ
.

i haven't looked over your pull rest very well, so ill get back to you on that

when I look over it, we are doing it similary, but in a better way, but thanks for the idea(our way uses shorter code that is faster and sent use json, and uses async that the user doesn't have to use await in a function on 0-0)

Really? Well that sounds big brain. I'll let u get to work
On Thu, Mar 25, 2021, 11:19 AM Dark Boi @.***> wrote:

when I look over it, we are doing it similary, but in a better way, but
thanks for the idea(our way uses shorter code that is faster and sent use
json, and uses async that the user doesn't have to use await in a function
on 0-0)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/JBYT27/REPLAPI/pull/15#issuecomment-806936129, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AR3V6LEPQERAHN5BWUZB7VTTFNIAZANCNFSM4ZZISENQ
.

thanks! if you go into main.py and look at the assets class, you can see how we did it 0-0


Update official rules to match optimizer review table

Analysis here: https://docs.google.com/spreadsheets/d/1be3ueG_NXY1Ei7rVem7R9FC5Xymu5d8naFaD645wFr0/edit#gid=1978307898
needs to be copied into rules doc - rules doc is slightly out of date.

SWG:
The PR was merged. This has been done.


request for support ABC format highlight

Hi,
This ticket for requesting support of ABC format (http://abcnotation.com/wiki/abc:standard:v2.2)
br

Hi @enderlen,
I had a go at writing some ABC support, you can play around with it here: http://andreacrawford.design/highlightjs/tools/developer.html
For now it's fairly basic -- do you have any examples of highlighted ABC notation? That might help with seeing what else needs to be highlighted.
Let me know your thoughts

Hi,
Great news !
I tested this sample ABC on your developer page:
X: 1
// Nice
/* My first
song */
T: Misirlou
C: N.Roubanis 1934
O: Greece
W: 1. Misirlou mou i glikia sou matia
W: Floga m'ehi inapsi mes tin kardia
W: Ah! Yahabibi Ah! Yaleleli Ah!
W: Apto diko sou to sto mataki ime
W: Chorus:
W: A Misirlou
W: Trella tha m'erthi den ipofero pia
W: Ah! tha si klepso mes ap tin Arapia.
W: Ah Misirlou.
W:
W: 2. Mavro mata Misirlou mou trelli
W: Ti zoi m'allazo mena fili
W: Ah! yahabibi M'ena filaki Ah!
W: ta dio sou hili stazoune meli ime
M: 4/4
L: 1/8
K: Gm
|: "D"D3 E ^F2 G2 | A3B ^c2BA | A8- | A8 |
w: 1.~Mi-sir-lou mou i gli-kia sou ma-tia
w: 2.~Mav-ro ma-ta Mi-sir-lou mou tre-lli
| D3E ^F2G2 | A3B ^c2BA | A8- | A8 |
w: Flo-ga m'e-hi~i-na-psi mes tin kar-dia
w: Ti zo-i m'al-la-zo me-na fi-li
| "Gm"BA2B A2G2 | AG2A G2^F2 | "D"^F8- | ^F8 |
w: Ah! Ya-ha-bi-bi Ah! Ya-le-le-li Ah!
w: Ah! ya-ha-bi-bi M'e-na fi-la-ki Ah!
| "Cm"AG2A G2^F2 | ^FE2F E2DD | "D"D8- | D8 :|
w: ta dio sou hi-li sta-zou-ne me-li i-me
w: Ap-to di-ko sou to sto ma-ta-ki i-me
|: "Gm"G8- | G6 ^FG | "F"A8- | A6 GA | "Bm"B6 AB | "A"^c6 Bc | "D"d8- |
d8 |
w: A___________ Mi-sir-lou
| "Cm"e d2 e d2 c2 | d c2 d c2 B2 | "D"A8- | A8 |
w: Tre-lla tha m'er-thi den i-po-fe-ro pia
| "Cm"c B2 c B2 A2 | A G2 A ^F2 E2 | "D"D8- | D8 :|
w: Ah! tha si kle-pso mes ap tin A-ra-pia.
P: Coda
|| "Gm"B6 AB | "A"^c6 Bc | "D"d8- | d8- | d8- | d z7 |]
w: Ah___ Mi-sir-lou.
To enhance highlight you could use the following tweaks:

Whole line starting with a X: is underlined
Comments can come with a distinct presentation
Song lyrics text can come in a distinct color (text on a line starting
with w: or W:), same color can also be applied for quoted text
(including quotes) on other lines
Music bar elements "|", "[" and "]" can come in a distinct color on a
music line (a music line doesn't start with a letter + colon)

And this should result something really nice ;)
Thanks!
--
Arnaud Enderlen
Le 2017-10-10 02:30, Andrea Crawford a écrit :

Hi @enderlen,
I had a go at writing some ABC support, you can play around with it
here: http://andreacrawford.design/highlightjs/tools/developer.html
For now it's fairly basic -- do you have any examples of highlighted
ABC notation? That might help with seeing what else needs to be
highlighted.
Let me know your thoughts
--
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I've updated the demo (here)

Song lyrics text can come in a distinct color (text on a line starting with w: or W:), same color can also be applied for quoted text (including quotes) on other lines

Can you check the demo and see if I understood that part correctly?

Whole line starting with a X: is underlined

I don't think I can make it underlined since the stylesheets don't define an underlined style. I've made it bold, does that work?
Cheers :)

I tested with several files and it saw no major issue, nice ;)
Just an small issue with "[" and "]", sorry I was maybe not that precise
these 2 characters only concerns music bars when used with pattern "[|"
or "|]". There are some other cases of these 2 characters used within
music notes line for voice part and chords, here is I think the "most
complex" sample:
M:6/8
L:1/8
K:Gmaj
Q:1/4=60
[V:T]"Souplesse rythmique"z2C A,2A, | DD2 E2E | E2E DD2 | E6 | AB2 c2d |
c/2B/2AB cA2 | GAB A2A | G/2F/2EF GE2 |
w:Je crois en un seul Dieu, le Pè-re tout puis-sant, cré-a-teur du ciel
et de la ter-re, de lu-ni-vers vi-sibl(e) et in-vi-si-ble,
%
[V:T]z2C A,2A, | DD>E E3 | E2E E3 |
w:Je crois en un seul Sei-gneur, Jé-sus Christ,
%
[V:T]A[AE][FB] [c2G2][Ad] | [E3A3] G2A | B2A GG>F | E6 |
w:le Fils u-niqu(e) de Dieu, né du Pèr(e) a-vant tous les siècles :
%
[V:T]zA,A, E3 | ED2 E3 | z2D E3 | D/C/B,C E3- | E2 D E3 | A,B,C E3 | zGF
E3 | C/2B,2A,/2 E3 |]
w:Il est Dieu, né de Dieu, lu-mièr(e), né de la lu-mièr(e),* vrai Dieu,
né du vrai Dieu En-gen-dré non pas cré-é,
%
Thks a lot,
Le 2017-10-11 22:42, Andrea Crawford a écrit :

I've updated the demo (here [1])

Song lyrics text can come in a distinct color (text on a line starting with w: or W:), SAME COLOR CAN ALSO BE APPLIED FOR QUOTED TEXT (INCLUDING QUOTES) ON OTHER LINES

Can you check the demo and see if I understood that part correctly?

Whole line starting with a X: is underlined

I don't think I can make it underlined since the stylesheets don't define an underlined style. I've made it bold, does that work?
Cheers
--
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub [2], or mute the thread [3].

Links:
[1] http://andreacrawford.design/highlightjs/demo/
[2]
https://github.com/isagalaev/highlight.js/issues/1609#issuecomment-335941920
[3]
https://github.com/notifications/unsubscribe-auth/Aezmp2jTIuCKXPY4yOTBDEpigy6movHyks5srShGgaJpZM4Ptggr

Ok, I've changed it to only highlight "[|" and "|]"
Just wanted to check if comments in this format: // comment are used in ABC notation? I noticed you had them in your test sample, but in the documentation they only mention the format % comment, and they talk about the double slash being used as below:

Note that A/ is shorthand for A/2 and similarly A// = A/4, etc.

For the moment that's causing some issues in lines like this:

[V: 2] ABGA  |G2AA|GF=EF |(GF3/2=E//D//E)|1F2z2:|2F8|]

Cheers :)

Hi,
No you're right it's not part of standard but in common implementation
of GUI editors were used to support // or /* */ comments
I think it is ok if you support only what the standard says ("[:r
remark]" and "% comment")
Please note that "%%something" isn't a comment but a directive (e.g.:
http://abcnotation.com/wiki/abc:standard:v2.2#stylesheet_directive_definition)
Best regards,
Le 2017-10-12 20:11, Andrea Crawford a écrit :

Ok, I've changed it to only highlight "[|" and "|]"
Just wanted to check if comments in this format: // comment are used in ABC notation? I noticed you had them in your test sample, but in the documentation they only mention the format % comment, and they talk about the double slash being used as below:

Note that A/ is shorthand for A/2 and similarly A// = A/4, etc.

For the moment that's causing some issues in lines like this:

[V: 2] ABGA |G2AA|GF=EF |(GF3/2=E//D//E)|1F2z2:|2F8|]

Cheers :)
--
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub [1], or mute the thread [2].

Links:
[1]
https://github.com/isagalaev/highlight.js/issues/1609#issuecomment-336220613
[2]
https://github.com/notifications/unsubscribe-auth/Aezmp6-Z_ltPCYm0uPdwNnQoZURh4Mryks5srlZggaJpZM4Ptggr

Closing this issue (as part of our issues cleanup) as it's now being tracked by the pull-request...


Why not use std::atomic instead of bool?

oh ， I see your answer here.

No type in C++ is "atomic by nature" unless it is an std::atomic*-something. That's because the standard says so.
In practice, the actual hardware instructions that are emitted to manipulate an std::atomic may (or may not) be the same as those for an ordinary bool, but being atomic is a larger concept with wider ramifications (e.g. restrictions on compiler re-ordering). Furthermore, some operations (like negation) are overloaded on the atomic operation to create a distinctly different instruction on the hardware than the native, non-atomic read-modify-write sequence of a non-atomic variable.
ref https://stackoverflow.com/questions/16320838/when-do-i-really-need-to-use-atomicbool-instead-of-bool


About Scrcpy3.0 support for Intel Macs

Since Scrcpy3.0, the macOS version has been downloaded in Releases, so you don't need to compile it yourself, but it doesn't work with Intel processor Macs.
I wish I could add a build of Intel Mac. It's just too much of a pain to install in Homebrew
Thank you

It's implemented ondev branch: #5526.
The next release will include a build for macOS-x86_64.

它在分支上实现： #5526。dev
下一个版本将包括 macOS-x86_64 的构建版本。

谢谢

It's implemented ondev branch: #5526.
The next release will include a build for macOS-x86_64.

Thank you


Apply Onesignal Plugin Breaking the Build

Description:

I am using @mauron85/react-native-background-geolocation library and it works fine but after putting apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin'  in app/build.gradle doing ./gradlew clean or react-native run-android is failing
Environment

Here are my dependecies
"@mauron85/react-native-background-geolocation": "^0.6.3",
    "react": "16.8.6",
    "react-native": "0.60.5",
    "react-native-onesignal": "3.3.3",

Steps to Reproduce Issue:

Create react native project 0.60.5 version
Install @mauron85/react-native-background-geolocation (follow installation guide from installation guide)
Install & setup react native onesignal

Error:
* What went wrong:
A problem occurred configuring project ':@mauron85_react-native-background-geolocation'.
> Cannot change artifacts of configuration ':@mauron85_react-native-background-geolocation:default' after it has been included in dependency resolution.

Please update to the latest SDK version. Also, this doesn't seem to be an issue with OneSignal, but rather the other library

@rgomezp thank you for replying I will ask in the other library. But anyway do you have an idea why this happened so maybe I could find another work around?

Sorry, I'm not sure as I'm not familiar with that library. Hope you are able to resolve!


Bitcoin transaction signing flow with Ledger

Similar to the flow for Stacks, we'll need a bitcoin alternate

Assigning @mica000 to provide design guidance, even if it's simply to mirror the Stacks-related UX for signing


adjusting codebase to support incognito parameter in options

I ran into an issue at one of my orgs where we need this to execute in incognito mode and not pull the SSO.  I thought this would be helpful for the community.

Please note that I tested this with my installation, but am not extremely familiar with node and any quality checks that might be on this.  Please let me know if there's anything more I need to adjust for this.


restrict on compose instance name

限制编排名字必须是 1-32长度大小写字母和数字

Codecov Report

Merging #601 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #601   +/-   ##
=======================================
  Coverage   19.74%   19.74%
=======================================
  Files          29       29
  Lines        1732     1732
=======================================
  Hits          342      342
  Misses       1346     1346
  Partials       44       44

ping @xiaods @cmingxu


AnswerPage tweaks

Add feedback form to AnswerPage with after_create_page hook
Remove unneeded Audience and NextStep code
Modify related questions to a ParentalManyToManyField
Remove redundant social_sharing_image from metadata section on page

Closing this since @higs4281 came up with something cleaner :)


Adding control flow guard compiler option for Windows builds

More about CFG: https://learn.microsoft.com/en-us/windows/win32/secbp/control-flow-guard
Issue originally identified by BlackDuck Security analysis tool

I think this would be OK with CLA: trivial.

Is there a way to decide the inclusion of control flow guard based on VS version or msbuild version?

Is there a way to decide the inclusion of control flow guard based on VS version or msbuild version?

I don't know - that's why I'm asking these questions...

@tom-cosgrove-arm's way with simply asking the compiler would be usable too for perl function that wants to figure things out that way.  The lib_cflags attribute would be changed the same way still.

Is there a way to decide the inclusion of control flow guard based on VS version or msbuild version?

Yes it's possible to do this, but requires a bit of perl hackery

At which point this PR goes beyond the scope of CLA: trivial, and would require a CLA.
But I do like that (is it okay to assume that perl Configure is run after PATH is set for the compiler?)

I have added the commit using
CLA: Trivial

Hi, would you mind rebasing to remove the merge commit?

Hi, would you mind rebasing to remove the merge commit?

Hi. Is it okay if I remove this pull request and then create one more pull request?
I don't mind doing what you are asking. I am not able to figure it out by myself.

Hi, would you mind rebasing to remove the merge commit?

Hi @tom-cosgrove-arm , I have done git squash as explained in this link: https://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html
Can you please check once?

Can you please check once?

Err, there are now four commits, with two merges. Not sure I can give you a simple few commits to repair that.

Hi. Is it okay if I remove this pull request and then create one more pull request?

This would be fine


Markdown support: HTML blocks

Is your feature request related to a problem? Please describe.
Html blocks are a markdown feature that the editor currently does not support
Describe the solution you'd like
The ability to create/edit/delete html blocks.
May need to think about security risk!

@DianaLease
Can you explain what we are looking for in the issue? Any reference or link would be extremely helpful,


WIP - move to pyproject.toml

PR Description
Please describe the changes proposed in the pull request:

move to pyproject.toml
delete setup.py
delete .requirements/

**This PR resolves #1295 **

PR Checklist

Please ensure that you have done the following:

[ ] PR in from a fork off your branch. Do not PR from <your_username>:dev, but rather from <your_username>:<feature-branch_name>.

[ ] If you're not on the contributors list, add yourself to AUTHORS.md.

[ ] Add a line to CHANGELOG.md under the latest version header (i.e. the one that is "on deck") describing the contribution.

Do use some discretion here; if there are multiple PRs that are related, keep them in a single line.

Automatic checks
There will be automatic checks run on the PR. These include:

Building a preview of the docs on Netlify
Automatically linting the code
Making sure the code is documented
Making sure that all tests are passed
Making sure that code coverage doesn't go down.

Relevant Reviewers

Please tag maintainers to review.

@ericmjl

draft work - needs actual experts @loganthomas @ericmjl :grin:


[efr32] otPlatRadioGetRssi() is blocking

Describe the bug
otPlatRadioGetRssi() is a blocking API call on the efr32. Should we not avoid blocking the main execution context?
If otPlatRadioEnergyScan() was implemented (it's essentially an asynchronous equivalent of otPlatRadioGetRssi()), would otPlatRadioGetRssi() even be needed?

@josephn123, otPlatRadioGetRssi() is generally only used to perform energy scans. Implementing otPlatRadioEnergyScan() should avoid the use of otPlatRadioGetRssi() when performing energy scans. However, the optional jam detector component currently also uses otPlatRadioGetRssi(). If you don't use the jam detector, then no need to worry about it.
Specifically for otPlatRadioGetRssi(), ideally non-blocking is best. It really comes down to how long otPlatRadioGetRssi()` can block and whether or not the application using OpenThread can handle that.

As an improvement, is there any reason that the jam detector couldn't be refactored to use otPlatRadioEnergyScan() instead?

@abtink, thoughts?

Jam detector module uses the MAC layer EnergyScan() API with scan_duration set to zero.
What we expect from "zero-duration" scan is to take a single RSSI sample per channel in the scan mask.
This is currently implemented in Mac using the otPlatRadioGetRssi() radio API.
Main reason for this is that to ensure the jam-detection sampling is done quickly and radio is not blocked for other operation for too long. In otPlatRadioEnergyScan() API, the scan time is in millisecond. So min we can use is 1ms (we want to avoid blocking radio for 16ms (1ms per channel) for jam detection).
The GetRssi() API should not take as long. From what I remember 15.4 spec defines the sample time for energy detection (i.e., getting a single RSSI) "The ED measurement time, to average over, shall be equal to 8 symbol periods." and with symbol rate of 62.5KSym/sec we get total of 128 usec
Also the  GetRssi() is expected to return the most recent RSSI measured value. So if the radio is continuously performing ED measurements and storing the value (and importantly channel has not changed recently), the latest measured value can be returned immediately.
That said, if otPlatRadioEnergyScan() itself provides a zero-scan duration energy scan functionality (i.e., takes a single RSSI sample on given channel), the code can be changed to adopt that.

@josephn123, any further comments?


Update project url?

Hello, what is the preferred url to use for this project? The url listed on the main repo page is dead:
http://www.williballenthin.com/evtx/index.html

the url should point to this repo: https://github.com/williballenthin/python-evtx
however, I don't see the link you're referring to?

Thanks for the clarification. The URL I was asking about is on the main repo page near the license. This screenshot is from my mobile phone, in a non mobile layout it's on the right side but still near the license.

ahh, thank you!

fixed (by removing the link)


labels for each object prior

I'm building ssd(object detection) with pytorch-> tensorflow
let say I have
object_for_each_prior
<tf.Tensor: shape=(8,), dtype=int64, numpy=array([2, 2, 0, 1, 0, 0, 1, 1])>

labels
<tf.Tensor: shape=(3,), dtype=int32, numpy=array([ 20,  10, 5], dtype=int32)>

and want to represent the
label_for_each_prior = labels[object_for_each_prior]  # (8732)

expected output should be
tensor([ 5,  5,  0, 10,  0,  0, 10, 10], device='cuda:0')

@SlowMonk
Please fill in issue template for us to analyse the issue.


Action triggers from end if clip playback

I am trying to create an action that will let a whole single clip play and end on a camera once the clip has played. Do I have to set the Ms to the duration of the clip or should it be able to cut at the end of the clip?

(Copied this from one of my recent Slack posts)
I’ve modified my fork of bmd-hyperdeck to allow the storing of timecode variables (in this case just two specific ones, for now, In Point and Out Point).  I’ve also added the ability for the module to programmatically press a button when the timecode hits the Out Point.  My usage is to mark In and Out, be able jump to them quickly to verify, then start playback with a button action that also arms a button press (user selectable in the action) at Out to tell my ATEM to crossfade to a different input (since it can push any button you can have anything happen).  It also does timecode math to store the segment duration as a variable for use, such as sending that time to ProPresenter for a countdown timer.
I imagine this could be made more generic as a timecode trigger.  I thought about using the global triggers and storing state variables, but it seemed to spread logic across too many places and possibly introduce some race conditions.

I believe it is now possible to achieve what you describe with the current module.
You can use the status of a hyperdeck as part of a trigger (playing, stopped, etc). Combined with custom variables, you could create an action that triggers when it is 'armed' (with a custom variable) and when the status changes to stopped. You could even add a condition for a specific clip by name, with the clipName variable.


relativize method adds / to path(ZipPath implementation of Path inter…

What does this PR do?
relativize method of java.nio.file.Path implementation jdk.nio.zipfs.ZipPath adds '/' :
        while (dotdots > 0) {
            result[pos++] = (byte)'.';
            result[pos++] = (byte)'.';
            if (pos < len)       // no tailing slash at the end
                result[pos++] = (byte)'/';
            dotdots--;
        }

So replace method not replaced '/' with '.' value.
https://gist.github.com/kananindzya/f1ad4bfd978c9ed08436481b5ef86cb0
This bug reproduced only on windows, because on linux systems, File.separatorChar returns '/' value.
Checklist

[X] This is a bugfix

[ ] I have updated CHANGELOG.asciidoc
[ ] I have added tests that would fail without this fix

:grey_exclamation: Build Aborted

The PR is not allowed to run in the CI yet

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Build Cause: Pull request #1785 opened

Reason: The PR is not allowed to run in the CI yet

Start Time: 2021-04-25T11:25:23.476+0000

Duration: 3 min 6 sec

Commit: 4c58cd3fdad55cb00405719af8bec24074667b5f

Trends :test_tube:

Steps errors
Expand to view the steps failures

Load a resource file from a shared library

Took 0 min 0 sec . View more details on here
Description: approval-list/elastic/apm-agent-java.yml

Error signal

Took 0 min 0 sec . View more details on here
Description: githubPrCheckApproved: The PR is not allowed to run in the CI yet. (Only users with write permissions can do so.)

Log output
Expand to view the last 100 lines of log output

[2021-04-25T11:27:59.604Z] Pruning obsolete local branches
[2021-04-25T11:28:00.052Z] Merging remotes/origin/master commit e90298ffe2b8dbab64f0ec7bdf16f52671603e01 into PR head commit 4c58cd3fdad55cb00405719af8bec24074667b5f
[2021-04-25T11:28:00.324Z] Merge succeeded, producing 4c58cd3fdad55cb00405719af8bec24074667b5f
[2021-04-25T11:28:00.325Z] Checking out Revision 4c58cd3fdad55cb00405719af8bec24074667b5f (PR-1785)
[2021-04-25T11:27:59.565Z]  > git config remote.origin.url https://github.com/elastic/apm-agent-java.git # timeout=10
[2021-04-25T11:27:59.571Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2021-04-25T11:27:59.590Z]  > git config remote.origin.url https://github.com/elastic/apm-agent-java.git # timeout=10
[2021-04-25T11:27:59.608Z] Fetching upstream changes from https://github.com/elastic/apm-agent-java.git
[2021-04-25T11:27:59.608Z] using GIT_ASKPASS to set credentials GitHub user @apmmachine User + Personal Access Token
[2021-04-25T11:27:59.609Z]  > git fetch --no-tags --progress --prune -- https://github.com/elastic/apm-agent-java.git +refs/pull/1785/head:refs/remotes/origin/PR-1785 +refs/heads/master:refs/remotes/origin/master # timeout=100
[2021-04-25T11:28:00.060Z]  > git config core.sparsecheckout # timeout=10
[2021-04-25T11:28:00.066Z]  > git checkout -f 4c58cd3fdad55cb00405719af8bec24074667b5f # timeout=100
[2021-04-25T11:28:00.277Z]  > git remote # timeout=10
[2021-04-25T11:28:00.283Z]  > git config --get remote.origin.url # timeout=10
[2021-04-25T11:28:00.293Z] using GIT_ASKPASS to set credentials GitHub user @apmmachine User + Personal Access Token
[2021-04-25T11:28:00.294Z]  > git merge e90298ffe2b8dbab64f0ec7bdf16f52671603e01 # timeout=10
[2021-04-25T11:28:00.309Z]  > git rev-parse HEAD^{commit} # timeout=10
[2021-04-25T11:28:00.327Z]  > git config core.sparsecheckout # timeout=10
[2021-04-25T11:28:00.337Z]  > git checkout -f 4c58cd3fdad55cb00405719af8bec24074667b5f # timeout=100
[2021-04-25T11:28:04.460Z] Commit message: "relativize method adds / to path(ZipPath implementation of Path interface)"
[2021-04-25T11:28:04.461Z] First time build. Skipping changelog.
[2021-04-25T11:28:04.492Z]  > git --version # timeout=10
[2021-04-25T11:28:04.501Z]  > git --version # 'git version 2.17.1'
[2021-04-25T11:28:04.509Z] fatal: bad object b4aa23e52e63d1c9b07c2ac41042ac29824d10a5
[2021-04-25T11:28:05.273Z] Masking supported pattern matches of $JOB_GCS_BUCKET or $NOTIFY_TO
[2021-04-25T11:28:05.395Z] Timeout set to expire in 1 hr 0 min
[2021-04-25T11:28:05.442Z] The timestamps step is unnecessary when timestamps are enabled for all Pipeline builds.
[2021-04-25T11:28:06.040Z] [INFO] Number of builds to be searched 10
[2021-04-25T11:28:06.539Z] [INFO] 'shallow' is forced to be disabled when running on PullRequests
[2021-04-25T11:28:06.579Z] Running in /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1785/src/github.com/elastic/apm-agent-java
[2021-04-25T11:28:06.643Z] [INFO] gitCheckout: Checkout SCM PR-1785 with some customisation.
[2021-04-25T11:28:06.686Z] [INFO] Override default checkout
[2021-04-25T11:28:06.771Z] Sleeping for 10 sec
[2021-04-25T11:28:16.802Z] The recommended git tool is: git
[2021-04-25T11:28:16.952Z] using credential 2a9602aa-ab9f-4e52-baf3-b71ca88469c7-UserAndToken
[2021-04-25T11:28:16.963Z] Cloning the remote Git repository
[2021-04-25T11:28:16.980Z] Cloning repository https://github.com/elastic/apm-agent-java.git
[2021-04-25T11:28:17.013Z]  > git init /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1785/src/github.com/elastic/apm-agent-java # timeout=10
[2021-04-25T11:28:17.029Z] Using reference repository: /var/lib/jenkins/.git-references/apm-agent-java.git
[2021-04-25T11:28:17.029Z] Fetching upstream changes from https://github.com/elastic/apm-agent-java.git
[2021-04-25T11:28:17.030Z]  > git --version # timeout=10
[2021-04-25T11:28:17.038Z]  > git --version # 'git version 2.17.1'
[2021-04-25T11:28:17.039Z] using GIT_ASKPASS to set credentials GitHub user @apmmachine User + Personal Access Token
[2021-04-25T11:28:17.040Z]  > git fetch --tags --progress -- https://github.com/elastic/apm-agent-java.git +refs/heads/*:refs/remotes/origin/* # timeout=10
[2021-04-25T11:28:17.511Z]  > git config remote.origin.url https://github.com/elastic/apm-agent-java.git # timeout=10
[2021-04-25T11:28:17.515Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2021-04-25T11:28:17.523Z]  > git config remote.origin.url https://github.com/elastic/apm-agent-java.git # timeout=10
[2021-04-25T11:28:17.533Z] Fetching upstream changes from https://github.com/elastic/apm-agent-java.git
[2021-04-25T11:28:17.533Z] using GIT_ASKPASS to set credentials GitHub user @apmmachine User + Personal Access Token
[2021-04-25T11:28:17.534Z]  > git fetch --tags --progress -- https://github.com/elastic/apm-agent-java.git +refs/pull/1785/head:refs/remotes/origin/PR-1785 +refs/heads/master:refs/remotes/origin/master # timeout=10
[2021-04-25T11:28:17.987Z] Checking out Revision 4c58cd3fdad55cb00405719af8bec24074667b5f (origin/PR-1785)
[2021-04-25T11:28:18.190Z] Commit message: "relativize method adds / to path(ZipPath implementation of Path interface)"
[2021-04-25T11:28:18.209Z]  > git --version # timeout=10
[2021-04-25T11:28:18.213Z]  > git --version # 'git version 2.17.1'
[2021-04-25T11:28:18.220Z] fatal: bad object b4aa23e52e63d1c9b07c2ac41042ac29824d10a5
[2021-04-25T11:28:17.969Z]  > git rev-parse origin/PR-1785^{commit} # timeout=10
[2021-04-25T11:28:17.989Z]  > git config core.sparsecheckout # timeout=10
[2021-04-25T11:28:17.996Z]  > git checkout -f 4c58cd3fdad55cb00405719af8bec24074667b5f # timeout=10
[2021-04-25T11:28:19.560Z] Masking supported pattern matches of $GIT_USERNAME or $GIT_PASSWORD
[2021-04-25T11:28:20.220Z] + git fetch<EMAIL_ADDRESS>+refs/pull/*/head:refs/remotes/origin/pr/*
[2021-04-25T11:28:20.917Z] Running in /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1785/src/github.com/elastic/apm-agent-java/.git
[2021-04-25T11:28:21.066Z] Archiving artifacts
[2021-04-25T11:28:22.032Z] + git rev-parse HEAD
[2021-04-25T11:28:22.403Z] + git rev-parse HEAD
[2021-04-25T11:28:22.738Z] + git rev-parse origin/pr/1785
[2021-04-25T11:28:22.822Z] [INFO] githubEnv: Found Git Build Cause: pr
[2021-04-25T11:28:23.438Z] Masking supported pattern matches of $GITHUB_TOKEN
[2021-04-25T11:28:24.729Z] [WARN] githubApiCall: The REST API call https://api.github.com/repos/elastic/apm-agent-java/pulls/1785/reviews return 0 elements
[2021-04-25T11:28:24.818Z] [INFO] githubPrCheckApproved: Title: relativize method adds / to path(ZipPath implementation of Path inter… - User: kananindzya - Author Association: CONTRIBUTOR
[2021-04-25T11:28:25.224Z] ERROR: githubPrCheckApproved: The PR is not allowed to run in the CI yet
[2021-04-25T11:28:25.225Z] ERROR: githubPrCheckApproved: The PR is not allowed to run in the CI yet. (Only users with write permissions can do so.)
[2021-04-25T11:28:25.336Z] [INFO] Let's stop build #1. The PR is not allowed to run in the CI yet
[2021-04-25T11:28:25.370Z] Sleeping for 5 sec
[2021-04-25T11:28:26.305Z] Stage "Build" skipped due to earlier failure(s)
[2021-04-25T11:28:26.570Z] Stage "Tests" skipped due to earlier failure(s)
[2021-04-25T11:28:26.833Z] Stage "Unit Tests" skipped due to earlier failure(s)
[2021-04-25T11:28:26.852Z] Stage "Smoke Tests 01" skipped due to earlier failure(s)
[2021-04-25T11:28:26.870Z] Stage "Smoke Tests 02" skipped due to earlier failure(s)
[2021-04-25T11:28:26.889Z] Stage "Benchmarks" skipped due to earlier failure(s)
[2021-04-25T11:28:26.908Z] Stage "Javadoc" skipped due to earlier failure(s)
[2021-04-25T11:28:27.133Z] Failed in branch Unit Tests
[2021-04-25T11:28:27.147Z] Failed in branch Smoke Tests 01
[2021-04-25T11:28:27.160Z] Failed in branch Smoke Tests 02
[2021-04-25T11:28:27.174Z] Failed in branch Benchmarks
[2021-04-25T11:28:27.190Z] Failed in branch Javadoc
[2021-04-25T11:28:27.503Z] Stage "Integration Tests" skipped due to earlier failure(s)
[2021-04-25T11:28:27.619Z] Stage "Stable" skipped due to earlier failure(s)
[2021-04-25T11:28:27.736Z] Stage "AfterRelease" skipped due to earlier failure(s)
[2021-04-25T11:28:27.789Z] Stage "AfterRelease" skipped due to earlier failure(s)
[2021-04-25T11:28:28.331Z] Running on Jenkins in /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1785
[2021-04-25T11:28:28.745Z] [INFO] getVaultSecret: Getting secrets
[2021-04-25T11:28:28.806Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-04-25T11:28:29.913Z] + chmod 755 generate-build-data.sh
[2021-04-25T11:28:29.914Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1785/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1785/runs/1 ABORTED 186155
[2021-04-25T11:28:29.914Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1785/runs/1/steps/?limit=10000 -o steps-info.json
[2021-04-25T11:28:29.914Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1785/runs/1/tests/?status=FAILED -o tests-errors.json
[2021-04-25T11:28:29.914Z] Retry 1/3 exited 22, retrying in 1 seconds...
[2021-04-25T11:28:31.258Z] Retry 2/3 exited 22, retrying in 2 seconds...
[2021-04-25T11:28:33.121Z] Retry 3/3 exited 22, no more retries left.
[2021-04-25T11:28:33.121Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1785/runs/1/log/ -o pipeline-log.txt

@kananindzya thanks a lot for this fix!!
When you build the agent and try it through -javaagent attachment on your Windows system, does it work as expected?

@kananindzya thanks a lot for this fix!!
When you build the agent and try it through -javaagent attachment on your Windows system, does it work as expected?

Yes. after agent build - it works as expected, without errors. Details:
https://gist.github.com/kananindzya/9d1ee0af08dd161f53e02becde25ff80


[Do Not Merge] CI Testing only

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This is for CI vs. EC2 unittest comparison only. Safe to close.


Optimize list.reducedi

list.reducedi - is one of the important and key object is eo-collections and it can be optimized - there is one unwanted and heavy dataization and we can get rid of seq here:
[a f] > reducedi
  if. > @
    eq.
      0
      length.
        arr
    a
    rec-reduced
      * a 0
      f
      arr

  [acc-index func carr] > rec-reduced
    acc-index.at 0 > acc
    acc-index.at 1 > index
    seq > @
      func > new-acc!     # <--- here we are guaranteed to do dataize func because of seq
        acc
        index
        carr.at index
      if.
        (index.plus 1).eq (carr.length)
        new-acc
        rec-reduced
          *
            func    # <--- here func is created again
              acc
              index
              carr.at index
            index.plus 1
          func
          carr

I tried to optimize it and I got time of execution of set object tests decreased from 2:17 to 1:47 on my machine
@yegor256 please have a look. If it worths it, could you please assign me?

@yegor256 @Graur WDYT?

@maxonfjvipon I think it's definitely a bug we should fix


ui-consistency:  should subcommands  with no argument show help by default?

Was it a deliberate decicsion to make uv venv  directly execute?
This is rather unexpected behaviour.
By default, usually subcommands show help:
> uv pip
Resolve and install Python packages

Usage: uv pip [OPTIONS] <COMMAND>

Commands:
  compile    Compile a `requirements.in` file to a `requirements.txt` file
  sync       Sync dependencies from a `requirements.txt` file
  install    Install packages into the current environment
  uninstall  Uninstall packages from the current environment
  freeze     Enumerate the installed packages in the current environment
  help       Print this message or the help of the given subcommand(s)

Options:
  -q, --quiet                  Do not print any output
  -v, --verbose                Use verbose output
      --color <COLOR>          Control colors in output [default: auto] [possible values: auto, always, never]
  -n, --no-cache               Avoid reading from or writing to the cache [env: UV_NO_CACHE=]
      --cache-dir <CACHE_DIR>  Path to the cache directory [env: UV_CACHE_DIR=]
  -h, --help                   Print help (see more with '--help')
  -V, --version                Print version

But venv does not:
> uv venv
uv venv
Using Python 3.11.6 interpreter at /opt/tools/pyenv/var/repo/versions/3.11.6/bin/python3
Creating virtualenv at: .venv

> uv venv --help
Create a virtual environment

Usage: uv venv [OPTIONS] [NAME]
...

I find it rather unexpected to not have to provide a path:
( I accidentally created a .venv twice because I wanted to see the options)
coming from virtualenv, I would have expected:
> uv venv .
> uv venv .venv

Executing virtualenv directly:
> virtualenv
usage: virtualenv [--version] [--with-traceback] [-v | -q] [--read-only-app-data] [--app-data APP_DATA] [--reset-app-data] [--upgrade-embed-wheels] [--discovery {builtin}] [-p py] [--try-first-with py_exe]
                  [--creator {builtin,cpython3-posix,venv}] [--seeder {app-data,pip}] [--no-seed] [--activators comma_sep_list] [--clear] [--no-vcs-ignore] [--system-site-packages] [--symlinks | --copies] [--no-download | --download]
                  [--extra-search-dir d [d ...]] [--pip version] [--setuptools version] [--wheel version] [--no-pip] [--no-setuptools] [--no-wheel] [--no-periodic-update] [--symlink-app-data] [--prompt prompt] [-h]
                  dest
virtualenv: error: the following arguments are required: dest
SystemExit: 2

Also for ruff:  executing ruff is the same as ruff --help

I think this is intentional so you can create a virtual environment without specifying a name. I'm not sure every subcommand should be required to take an argument.


Is it possible to add winning icons with .lua?

What is your question?
So what I had been thinking is that when the heath is over a X amount or under a X amount you can switch the .png file to show that a icon is winning like a switch .png script that is being applied to the icons also put the prelode script to both of the winning .pngs so a computer does not have a stroke trying to lode them. also no this is not asking to add winning icons to the base engine I am just saying is this possible with the way script.lua is set up currently?

there are scripts in discussions

Yes there are


Input invalid when there's one item and not entered.

Thanks for this awesome Bootstrap5&Vanlina JS library!!! Here's a problem when I using it:
Tags.js see single input with not entered as invalid.
Example:
Invalid(not exist in new FormData or direct submit form)

Valid

I think Tags.js gives people the chance to input muliple value, but they should still have the ability to input a single value without additional operation(after input the value, seperat it by comma or blank or enter to make it a tag).
Hope Tags.js can add this simple behavior to automatically turn single value to a valid tag(Or just make it appeal when create a FormData or submit the form)

isn't that what 'addOnBlur' setting does?


Improve Bounded Context naming

This PR:

Changes default name used in the absence of set Bounded Context name from "Main" to "AssumingTests".
Tests creating two Bounded Contexts, making sure the System Bounded Context does not cause a conflict inside Model.

@dmdashenkov, PTAL.


add client side encryption

add client side encryption

Coverage decreased (-1.5%) to 88.188% when pulling bfb4479f6016c75ed9271910efeaffa9c30bbd6d on preview_v2.0.4 into 6fcc597ee2b483ef0526e719f4129c8c3f2fc7aa on master.


[MRESOLVER-269] Compact format for provided checksums

New provided checksums implementation that uses more compact format: a "summary" file that contains list of Artifact IDs and provided checksum per one line.
This format is more VCS friendly, and also easier to handle then sparse directories.
Perfomed cleanup around provided checksum sources as well, old one was in wrong place, dropped it (as it was final class), now we have two sources:

file-sparse -- is exactly same as dropped one, expects provided checksums in "local repo"-like layout
file-compact -- is the new format, where one file checksums.${checksumExt} is expected to contain Artifact ID and checksum per line (separated by space)

https://issues.apache.org/jira/browse/MRESOLVER-269

This PR obsoletes https://github.com/apache/maven-resolver/pull/192 as it provides 100% same change as in that PR but this PR also cleans up in some areas.

This looks really good, thanks!

Since the LocalPathComposer is used throughout the docs of the sources should mention that this substructure is also reflected in .checksums/

The javadoc of sparse source says:
 * Sparse file {@link FileTrustedChecksumsSourceSupport} implementation that use specified directory as base
 * directory, where it expects artifacts checksums on standard Maven2 "local" layout. This implementation uses Artifact
 * coordinates solely to form path from basedir, pretty much as Maven local repository does.

I don't see how this answers my question... ?!!

As for the file-compact. I like the idea. Does it make sense to reuse rather a well-known format like BSD checksum file? See also nicoulaj/checksum-maven-plugin#127

IMHO no, as BSD checksum file contains filename, here, we operate with ArtifactId ("file format is artifact ID and checksum separated by space per line"), see https://github.com/apache/maven-resolver/blob/master/maven-resolver-util/src/main/java/org/eclipse/aether/util/artifact/ArtifactIdUtils.java#L45

hm...we basically use our current format, but compile multiple files and key them by artifact id. Agree.

I don't see how this answers my question... ?!!

I might missed the real intent of your question then...

Going through again...

I don't see how this answers my question... ?!!

I might missed the real intent of your question then...

Forget it, I understand now. No further explanation necessary.

Yet another question. It is worthwhile to enable it by default and add checksums on the fly when they are present?

Yet another question: It is worthwhile to enable it by default and add checksums on the fly when they are present?

This could be similar as "record" functionality is for remote repository filter feature. Yes, it could be possible, but unsure is it worths it: the whole idea of this is to get checksums for other trusted source than remote...

Yet another issue with the .enabled: I think this is again inconsistent with our existing boolean properties: https://maven.apache.org/resolver/configuration.html They use the name as boolean property with a default value. So to apply this appoach .enabled just can be dropped and its parent used.

This is fixed now.

Yet another question: It is worthwhile to enable it by default and add checksums on the fly when they are present?

This could be similar as "record" functionality is for remote repository filter feature. Yes, it could be possible, but unsure is it worth it: the whole idea of this is to get checksums for other trusted source than remote...

ОК, let's put this aside.