WIP: Remember installation options and used them to initialize options for the next installation

Fixes #16886
PR Summary
When the Windows installer runs, it will save the selected options ("Add to Path Environment Variable", "Enable PowerShell remoting", etc.) to the registry. When the installer for the next version runs, the state of the options is loaded from the registry and used to initialize the installer's options.
PR Context
There has been a lot of issues logged about this:

#14980
#16886
#17222
#17445
#17967
#18791

In summary, when the installer runs, it does not know about any of the options that were selected on the previous install. If you run the installer manually, you need to re-select the options that you selected during the previous install. If the installer is run automatically (such as via Windows Update), then the default options are used, potentially resulting in some of the options that you previously selected from being turned off (for example, context menus are removed).
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[ ] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[x] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and opened an issue in the relevant tool repository. This may include:

[ ] Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode
(which runs in a different PS Host).

[ ] Issue filed:

[ ] Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.

[ ] Issue filed:

[ ] Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).

[ ] Issue filed:

[ ] Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

[ ] Issue filed:

To implement this, I've used the "Remember Property" pattern with a slight twist. The pattern described in that blog post does not account for how a checkbox sets its initial state. If a property value is not blank, then the checkbox will be initially checked, regardless of what the CheckBoxValue is. So, for example, if ADD_PATH is set to 0, the checkbox will be checked. If ADD_PATH is set to 1, the checkbox will be checked. If ADD_PATH does not exist, then the checkbox will be unchecked. I won't go into the full details of how this is handled, because there's a detailed comment that explains it all.
The installer settings are saved to HKLM\Software\Microsoft\PowerShellCore\InstallerProperties. Preview versions are saved to a different key, but these settings will be shared between major versions. For example, PowerShell v8 will use the settings saved by PowerShell v7. I don't think that will be a problem, but just wanted to point it out. 😄 That registry key also remains behind after uninstalling PowerShell, so if you have to uninstall and reinstall for whatever reason, the settings that you originally used will be the defaults when you reinstall.
Technically the way that the property values are now handled could be considered a breaking change for some of those properties. Previously, some properties were compared to 1 and other properties were just checked if they had a value.
For example, previously if you ran the installer like this:
msiexec.exe /i PowerShell.msi ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=YesAddTheContextMenu

Then the context menu would be created. Now if you do that, the installer will not create the context menu. The context menu is only created if the property value is 1.
Not all properties were treated this way. For example, ADD_PATH had to have a value of 1, as did a couple of the other properties.
It's worth noting that the documentation for running the installer from the command line uses an example where it sets all property values to 1. If you followed that example, then you won't see any change in behavior.

Oops, I didn't realize there were automated tests for the installer. I'll get those fixed up as soon as I can.

@heaths Can you help review this?

I believe this is a bucket 3 breaking change that doesn't require committee approval.  The behaviors that are broken were not intended behavior as you could see by passing no or false as variable value.
@reduckted Can we abort the install if one of the variable values is invalid with a specific exit code?

@heaths if you have time for a re-review that would be awesome 😄

probably also related to the installation options:
the installer wipes and replaces the PS7 shortcut in the start menu even if nothing was changed in the executable path name or arguments but when it replaces the shortcut it does not re-create the advanced properties that the old shortcut had.
https://github.com/PowerShell/PowerShell/issues/21466

/azp run PowerShell-CI-macos

This feature didn't exist in 7.2, so no backport needed to that branch.


feat: remove-provider-for-count-usage

:tada: This PR is included in version 1.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Conformance test for the control-protocl

We need a conformance test to check if other implementations works. We need it to test https://github.com/knative-sandbox/eventing-kafka-broker/pull/657

/assign


Remove deprecated hashicorp/template provider

Description
Fixes

removed deprecated, unused hashicorp/template provider
removed the comments in output

Contexts

the hashicorp/template provider is deprecated
and not supported in m1 macos

ref. https://discuss.hashicorp.com/t/template-v2-2-0-does-not-have-a-package-available-mac-m1/35099

also the provider is not used in the module

it seems was added at #1769(2e09cf8) for debugging
the output for debugging is commented out; not used

Motivation and Context

Resolves #1841

How was this change tested?

[x] Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
[ ] ~Yes, I have updated the docs for this feature~ not required, should work on m1 macos, just it as.
[x] Yes, I ran pre-commit run -a with this PR

tested, it works

Additional Notes
Signed-off-by: flavono123<EMAIL_ADDRESS>

didn't match the configured pattern. Please ensure that the subject
starts with an uppercase character.

didn't know about this rule. could i run again?


Feature Request: Date Link Support

Hey thanks for this plugin!
I wanted to see if it would be possible to add link support for dates. I prefer to have the date linked for create/update stamps instead of just flat text.

I found that if I gave the following moment.js format it created the shape I wanted:
[[[]YYYY-MM-DD[]]]
But unfortunately is considered an invalid date and so when doing a comparison, it just always appends every 10 seconds as line 147 always returns false:
now.isSame(previousEntryMoment, this.settings.appendMaximumFrequency)

The only way I could think to implement would be have a toggle for dates-as-links or something which would just concat onto the entries, and peel them off when having to re-parse.
Let me know if this is something you'd be open to adding, I may just do it myself locally.

I found two workarrounds for this issue:
You can escape characters using \ so using [[YYYY-MM-DD]] will work to create links
Also if you use obsidian date property type it shows a link icon for dates automatically

Hi @bgk0018 - just use the standard MomentJS date format as it says on the Settings page, and you can add the square brackets to show your dates as links:
Set your date format to:
[[[]YYYY-MM-DD[]]]

And the output will be a link.


Enable ESLint rule to disallow variable declarations in case/default clauses

Variables declared in case/default clauses can be referenced throughout the switch block, but will throw a runtime error, like so:
switch (someVar) {
    case 'bar':
         const a = 42;
         break;
    case 'baz':
        console.log(a); // Will throw "ReferenceError: Cannot access 'a' before initialization" at runtime
        break;
}

We can prevent these with https://eslint.org/docs/rules/no-case-declarations.
/cc @tyriar @mjbvz @digitarald

Good idea! Already started looking into this and should have a PR shortly


Dialyzer complains about RPC wrappers taking booleans as arguments

I'm trying to call one of such functions:
Ethereumex.HttpClient.eth_get_block_by_number("0x0", false)

(boolean at 2nd argument) and all works fine but dialyzer complains:
apps/omg_eth/lib/eth.ex:95: The call 'Elixir.Ethereumex.HttpClient':eth_get_block_by_number(<<_:16,_:_*8>>,'false') will never return since it differs in the 2nd argument from the success typing arguments: (binary() | [binary()] | map(),binary() | [binary()] | map())

looking at https://github.com/mana-ethereum/ethereumex/blob/06e340e25e0c79c89a24c9578e8d27140b7a7f1f/lib/ethereumex/client/behaviour.ex#L36 it looks like the specs have binary() in that spot.
The function doesn't work with "false":
iex(37)> Ethereumex.HttpClient.eth_get_block_by_number("0x0", "false")
{:error,
 %{
   "code" => -32602,
   "message" => "invalid argument 1: json: cannot unmarshal string into Go value of type bool"
 }}

I'm not entirely sure if I'm missing something or the specs should be updated for all boolean arguments like this

Sorted https://github.com/mana-ethereum/ethereumex/pull/61.
Thanks for reporting, @pdobacz !


Provide guidance on communicating questions

Communication is an issue that keeps coming up in mentoring contributors. It may be worth having a page or several to provide guidance on how to do this well, since it isn't necessarily obvious. Some of these could be linked from the onboarding instructions/pages as well.

A specific pattern that seems to arise commonly is when developers write emails or solicit help with something along the lines of "I have an error", which doesn't allow the recipient to help without a lengthy back-and-forth requesting further information. It would help to have info about "how to communicate an error properly" and "where to communicate it" (probably GitHub Discussions) -- this seems like a good thing to link to from the setup instructions. Some of this guidance could include:

When writing emails reporting an error:
    - Don't say "it happens when I run X". Start with the actual command you ran (copy/paste it).
    - Include the specific error message
    - Share the specific steps that the recipient should follow in order to repro the mentioned error
    - Explain what you've tried and what conclusions you've drawn, if any. (Providing a [debugging doc](https://github.com/oppia/oppia/wiki/Debugging-Docs) may help.)

In our "build your skills" section (and possibly in other relevant pages), it might be useful to recommend the technical writing courses at https://developers.google.com/tech-writing/overview -- these might be helpful when writing comments and technical documentation like design docs. /cc @sagangwee

On our wiki page for how to get help, we provide a template for asking questions: https://github.com/oppia/oppia/wiki/Get-help#how-to-ask-good-questions

@seanlip could you elaborate on what would help in addition to the existing page? Is this a discoverability issue, or does the page also need changes?

Two thoughts (for (1), at least):

Yes, I think it is a discoverability issue -- "how to communicate" should probably be one of the first things we explain, given that folks may already need to do this as early as the installation step in the setup guide.
The guidance on the linked page seems like it applies to GitHub conversations (especially in the templates for "How to ask a setup question" and "How to ask a general question"). So I don't think we currently give much guidance on how to write emails and/or ask questions using chats + GitHub Discussions (though, for the latter, it might be better to include a reminder directly in GitHub Discussions itself since that's where folks will see it -- /cc @gp201).

Currently, there are no templates for GitHub Discussions, so we won't be able to add it as a reminder to Github discussions. But it looks like its on the roadmap: https://github.com/community/community/discussions/2838

Hm. Maybe a pinned discussion topic / announcement perhaps? Not sure.
Message ID: @.***>

Deassigning myself since I'm not working on this currently, but it's still on the dev workflow team's todo list

Be specific: Make sure your question is specific and to the point. Avoid being vague or unclear, as this can lead to misunderstandings or unhelpful responses.
Provide context: Give some background information on what you're working on or what you're trying to accomplish. This will help others understand your question and provide a more informed response.
Use simple language: Avoid using technical jargon or language that may be difficult for others to understand. Use simple and clear language that is easy to comprehend.
Be polite and respectful: When asking a question, be polite and respectful. Avoid being confrontational or aggressive, even if you are frustrated with the issue. A friendly and respectful tone can encourage others to respond positively.
Ask one question at a time: If you have multiple questions, it's better to ask them one at a time. This makes it easier for others to understand your question and provide a specific response.
Proofread your question: Before submitting your question, proofread it for any spelling or grammar errors. A well-written question is more likely to receive a helpful response.
Follow up if necessary: If you don't receive a response or if the response doesn't fully answer your question, don't be afraid to follow up. Politely ask for clarification or more information if needed.
By following these tips, you can effectively communicate your questions and increase the likelihood of receiving a helpful response

@vaishnavi192 All issues are open for anyone, but we will only assign an issue once we have a clear description of what files you will change and what fixes you plan to make. See our instructions for claiming an issue.

Hey @seanlip have a look at it. I created a "asking-questions-effectively.md" page. and created a basic guideline for now. I was thinking to add all communication channels before telling how to communicate on it. Can you suggest if I should add that or not as it is already present in this page.

@vaishnavi192 This is a good start, some thoughs:

It's great that you found the "How to get help" page! I suggest augmenting that page rather than creating a completely separate new page. Feel free to modify it as needed, e.g. it might be worth putting GitHub Discussions at the top and email at the bottom since we use that less often now.
In general let's try to avoid duplication, so don't mention a point if it's already mentioned in the wiki page you linked to.
We should make sure to link to this page from the getting started instructions at relevant places (installation? tackling the first issue? etc.) so that it's discoverable by developers.

Could you please have another go, per the above? Thanks!

Hey @seanlip

I added the links in "installing oppia" page, "general contributor guideline/home" page, "contributing to oppia:good first issues" page

@vaishnavi192 Thanks. This needs more work, but let's go ahead and assign you to this issue and you can make a PR. We'll do further edits in PR review. Thanks!

Hey @seanlip I created PR.....Thanks a lot for assigning me my first issue!! I was trying since many days to solve issues but was not able to do that, I hope I will learn more and solve big issues as well in future and continue contributing to oppia!

Currently, there are no templates for GitHub Discussions, so we won't be able to add it as a reminder to Github discussions. But it looks like its on the roadmap: community/community#2838

FYI, Discussion templates are out. https://github.com/oppia/oppia/tree/develop/.github/DISCUSSION_TEMPLATE It would be a good idea to link the wiki or briefly mention what we expect from the dev.

Thanks @gp201!
I think this issue is addressed by @vaishnavi192's PR, so I'm closing it. I also filed an issue to create more templates for GitHub Discussions here: https://github.com/oppia/oppia/issues/20019.


Format markdown links containing space in filename  without greater and smaller sign and maintain URL encoding

Problem
VS Code adds <> to markdown links when the filename contains spaces, which causes issues with some parsers and static site builders.
Steps to reproduce
activate markdown: automatic link updates on file move.
Move file into a diffent folder. Then move it back to the original position. If the markdown file contains links that point to a filename with spaces, markdownlinks are changed to (<>).
Details
When file is moved, that contains a URL-encoded link to a filename containing spaces e.g.
[link](file%20with%20spaces.md)

VSCode adds <> to the resulting markdown link and removes the URLEncoded attributes. The result for example is [link](<file with spaces.md>).
However as a result VSCode has removed the url encoded property of the markdown link, causing issues in some static site generators or other markdown programmes as this  is not a pure standard markdown format in links in general. <> are more common in www.webpages. Some parsers interpret [File]<file with spaces.md>  as a website for instance.
Solution
It would be great if the links after file move get updated from [link](<file with spaces.md>) to [link](file%20with%20spaces.md). VSCode already has the power to provide url-encoded links.
Alternative I have considered
vs. Code
I use RegExp with: Find:
(?<=\]\([^\]\r\n]*)[^\S\r\n]+

Replace: %20 to find all spaces in Markdownlinks and replace it with %20.
Replace ](< with ]( and also >) with ).
I use Notepad ++ and a Macro to do the same:
(\G(?!\A)|\[[^][]*]\()([^()\s]*)\s
(\G(?!\A)|\[[^][]*]\()([^()\s]*)\s+(?=[^()]*\))

Replace $1$2%20. And also replace ](< with ]( and also >) with ).

The angle bracket links is standard markdown syntax from commonmark so other tools really should support it
Can track exposing an option to not use it as a feature request though to gauge interest in preserving the link style if you're already encoding


question about prepare_attr_pred.py

Hi, when I use the file prepare_attr_pred.py, one of the parameters is as follows:

But the dataset directory I downloaded from http://mmlab.ie.cuhk.edu.hk/projects/DeepFashion/AttributePrediction.html is as follows:
Attr_Predict
├── Anno_fine
│   ├── list_attr_cloth.txt
│   ├── train.txt
│   ├── ...
├── Anno_coarse
│   ├── list_attr_cloth.txt
│   ├── ...
├── Eval
│   └── list_eval_partition.txt
└── Img
├── XXX.jpg
└── ...
There is no "Anno" folder. Is this actually the "Anno_fine" folder?

someone can fixed this issue? plz...


Scrapy spider 3x slower after implementing this

Hi,
I apologize, I know this is probably the wrong place to post this, but I have the following issue: After implementing this in my spider, my average number of crawled pages per minute is now about three times slower. I have CONCURRENT_REQUESTS_PER_DOMAIN set to 32. I am trying to find out what the bottleneck is and what I can possibly do to regain the previous speed (approximately three times faster) without overloading the site.
I appreciate your work on this project and any advice you can give me.

Hi @petrrutz
Could you share a small spider that works as a PoC? I could review this later.
Thanks

You're right, I was doing some tests with 100 random websites and a CONCURRENT_REQUESTS of 5 and scrapy-impersonate is much slower.
 My spider is complex, and I was pushed to make it work again, so I needed to prioritize. I appreciate you looking into it. In the end, I used a similar library: https://github.com/tieyongjie/scrapy-fingerprint. It is also slower, but not that much, so maybe you can compare this one with yours.

I just generated a PR to fix this, now the results are similar to Twisted.


If any response contains octet-stream, make response binary

fixes #5208
If a response contains application/octet-stream as a response type, the Kiota-generated response type should be a binary one.
An concrete example of when this may happen: an API is migrating from hosting their own assets to returning redirects to a blob storage service, and they may return either a 302 Found and redirect to a URL that contains the asset, or the binary asset directly. For a standard consumer with redirects enabled, the end result is the same. For Kiota, generation needs to know to return binary content types. Currently Kiota will not do so and instead return void types.

I'm struggling a bit to test this change. I initially thought that adding a test case to the existing function @baywet graciously linked me to in this thread would be sufficient:
https://github.com/microsoft/kiota/blob/857987e908d3b3981e1f6a75dffce2c05691c22b/tests/Kiota.Builder.Tests/ContentTypeMappingTests.cs#L81
I've experimented with the case of  [InlineData("application/octet-stream", "302", false, "application/octet-stream", "binary")] with both variants of addModel (the boolean parameter), and continue getting void results:
[xUnit.net 00:00:00.93]     Kiota.Builder.Tests.ContentTypeMappingTests.GeneratesTheRightReturnTypeBasedOnContentAndStatusWithNullModelType(contentType: "application/octet-stream", statusCode: "302", addModel: False, acceptedContentType: "application/octet-stream", returnType: "binary") [FAIL]
  Failed Kiota.Builder.Tests.ContentTypeMappingTests.GeneratesTheRightReturnTypeBasedOnContentAndStatusWithNullModelType(contentType: "application/octet-stream", statusCode: "302", addModel: False, acceptedContentType: "application/octet-stream", returnType: "binary") [270 ms]
  Error Message:
   Assert.Equal() Failure: Strings differ
           ↓ (pos 0)
Expected: "binary"
Actual:   "void"
           ↑ (pos 0)
  Stack Trace:
     at Kiota.Builder.Tests.ContentTypeMappingTests.GeneratesTheRightReturnTypeBasedOnContentAndStatusWithNullModelType(String contentType, String statusCode, Boolean addModel, String acceptedContentType, String returnType) in /home/kfcampbell/github/dev/kiota/tests/Kiota.Builder.Tests/ContentTypeMappingTests.cs:line 230
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithManyArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Upon debugging, I never even hit the else if (modelType is null) statement that triggers the relevant logic.


How to view database.log

Is there any sane way to view the contents of database.log file? I'd like to interact with the clipboard history via fzf :)

Thank you for your prompt response!
I'm using Fedora 40 on wayland. I already had cargo installed from dnf rustup.
I did the curl installation as asked, and it went without errors. But I guess you need to add --now flag to systemctl enable command, cause I had to start the service manually.
Not sure how, but x11 version service seems to work. Here is how I ended up using fzf with that ringboard:
cb() {
  ringboard dev dump \
    | jq --compact-output --raw-output0 '.[] | select(.kind == "Human") | .data' \
    | fzf --read0 --tac --highlight-line --cycle --layout=reverse --height=40% --query "${*:-}" \
    | wl-copy -n
  [[ -n "${ZLE_STATE}" ]] && zle reset-prompt
}
zle -N cb
bindkey "^s" cb

So it seems like I ended up with what I wanted. Hopefully, two separate watchers won't impact the battery/cpu :P

But I guess you need to add --now flag to systemctl enable command, cause I had to start the service manually.

Thank you for that catch, fixed!

Not sure how, but x11 version service seems to work.

I also didn't know this until working on the project, but Xwayland provides a compatibility layer so that anything X11 should mostly work when running under Wayland. Of course you don't get to take advantage of Wayland's improved efficiency, but for now it's fine. I'm going to add a Wayland clipboard watcher eventually.

So it seems like I ended up with what I wanted. Hopefully, two separate watchers won't impact the battery/cpu :P

Sweet, glad it's working! And no, there shouldn't be any performance issues: Ringboard is way over engineered so it should be extremely efficient.

Just for fun, while gui is not yet functional, and looks like an abomination, here's how I've adopted your baby :D https://github.com/hedgieinsocks/ulauncher-ringboard
It will likely not scale with a lot of entries or when there will be huge entries, but for my simple purposes good enough. By the way, I had to use python fuzzy search cause ringboard search does not work and exits with error right away

Just for fun, while gui is not yet functional, and looks like an abomination, here's how I've adopted your baby :D

Lol, very nice. BTW, $ ringboard-egui does have search, you just can't paste entries yet. Also fuzzy search isn't supported though I'll look into adding it because that seems pretty reasonable.

ringboard search does not work and exits with error right away

Can you share what the error is? It should work.

❯ strace ringboard search foo
execve("/home/hedgieinsocks/.cargo/bin/ringboard", ["ringboard", "search", "foo"], 0x7ffe545886b0 /* 95 vars */) = 0
brk(NULL)                               = 0x557adb3e4000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=70943, ...}) = 0
mmap(NULL, 70943, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f5fab00b000
close(3)                                = 0
openat(AT_FDCWD, "/lib64/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=190552, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5fab009000
mmap(NULL, 184776, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f5faafdb000
mmap(0x7f5faafdf000, 147456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x7f5faafdf000
mmap(0x7f5fab003000, 16384, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x28000) = 0x7f5fab003000
mmap(0x7f5fab007000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2c000) = 0x7f5fab007000
mmap(0x7f5fab008000, 456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f5fab008000
close(3)                                = 0
openat(AT_FDCWD, "/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=944216, ...}) = 0
mmap(NULL, 925712, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f5faaef8000
mmap(0x7f5faaf08000, 487424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10000) = 0x7f5faaf08000
mmap(0x7f5faaf7f000, 368640, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x87000) = 0x7f5faaf7f000
mmap(0x7f5faafd9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe0000) = 0x7f5faafd9000
close(3)                                = 0
openat(AT_FDCWD, "/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\242\2\0\0\0\0\0"..., 832) = 832
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0<EMAIL_ADDRESS>784, 64) = 784
fstat(3, {st_mode=S_IFREG|0755, st_size=2423856, ...}) = 0
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0<EMAIL_ADDRESS>784, 64) = 784
mmap(NULL, 2018160, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f5faad0b000
mmap(0x7f5faad33000, 1478656, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x28000) = 0x7f5faad33000
mmap(0x7f5faae9c000, 319488, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x191000) = 0x7f5faae9c000
mmap(0x7f5faaeea000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1de000) = 0x7f5faaeea000
mmap(0x7f5faaef0000, 31600, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f5faaef0000
close(3)                                = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5faad09000
arch_prctl(ARCH_SET_FS, 0x7f5faad09c40) = 0
set_tid_address(0x7f5faad09f10)         = 355093
set_robust_list(0x7f5faad09f20, 24)     = 0
rseq(0x7f5faad0a560, 0x20, 0, 0x53053053) = 0
mprotect(0x7f5faaeea000, 16384, PROT_READ) = 0
mprotect(0x7f5faafd9000, 4096, PROT_READ) = 0
mprotect(0x7f5fab007000, 4096, PROT_READ) = 0
mprotect(0x557ad5fdb000, 278528, PROT_READ) = 0
mprotect(0x7f5fab055000, 8192, PROT_READ) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
munmap(0x7f5fab00b000, 70943)           = 0
poll([{fd=0, events=0}, {fd=1, events=0}, {fd=2, events=0}], 3, 0) = 0 (Timeout)
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f5faad4b710}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
getrandom("\x55\xe2\x1b\xbb\x97\x05\x9c\x00", 8, GRND_NONBLOCK) = 8
brk(NULL)                               = 0x557adb3e4000
brk(0x557adb405000)                     = 0x557adb405000
openat(AT_FDCWD, "/proc/self/maps", O_RDONLY|O_CLOEXEC) = 3
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(3, "557ad5cbb000-557ad5dc7000 r--p 0"..., 1024) = 1024
read(3, "f5faaef0000 rw-p 001e2000 00:21 "..., 1024) = 1024
read(3, "-20240620.so.1\n7f5fab008000-7f5f"..., 1024) = 914
close(3)                                = 0
sched_getaffinity(355093, 32, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15]) = 8
rt_sigaction(SIGSEGV, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGSEGV, {sa_handler=0x557ad5fb2880, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_SIGINFO, sa_restorer=0x7f5faad4b710}, NULL, 8) = 0
rt_sigaction(SIGBUS, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGBUS, {sa_handler=0x557ad5fb2880, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_SIGINFO, sa_restorer=0x7f5faad4b710}, NULL, 8) = 0
sigaltstack(NULL, {ss_sp=NULL, ss_flags=SS_DISABLE, ss_size=0}) = 0
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f5fab01a000
mprotect(0x7f5fab01a000, 4096, PROT_NONE) = 0
sigaltstack({ss_sp=0x7f5fab01b000, ss_flags=0, ss_size=8192}, NULL) = 0
statx(AT_FDCWD, "/home/hedgieinsocks/.local/share/clipboard-history", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=114, ...}) = 0
openat(AT_FDCWD, "/home/hedgieinsocks/.local/share/clipboard-history/main.ring", O_RDONLY|O_LARGEFILE) = 3
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_SIZE, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0600, stx_size=64, ...}) = 0
mmap(NULL, 1048576, PROT_READ, MAP_SHARED_VALIDATE, 3, 0) = 0x7f5faac09000
close(3)                                = 0
openat(AT_FDCWD, "/home/hedgieinsocks/.local/share/clipboard-history/favorites.ring", O_RDONLY|O_LARGEFILE) = 3
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_SIZE, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0600, stx_size=8, ...}) = 0
mmap(NULL, 4096, PROT_READ, MAP_SHARED_VALIDATE, 3, 0) = 0x7f5fab019000
close(3)                                = 0
openat(AT_FDCWD, "/home/hedgieinsocks/.local/share/clipboard-history/buckets/(0, 4]", O_RDONLY|O_LARGEFILE) = 3
openat(AT_FDCWD, "/home/hedgieinsocks/.local/share/clipboard-history/buckets/(4, 8]", O_RDONLY|O_LARGEFILE) = 4
openat(AT_FDCWD, "/home/hedgieinsocks/.local/share/clipboard-history/buckets/(8, 16]", O_RDONLY|O_LARGEFILE) = 5
openat(AT_FDCWD, "/home/hedgieinsocks/.local/share/clipboard-history/buckets/(16, 32]", O_RDONLY|O_LARGEFILE) = 6
openat(AT_FDCWD, "/home/hedgieinsocks/.local/share/clipboard-history/buckets/(32, 64]", O_RDONLY|O_LARGEFILE) = 7
openat(AT_FDCWD, "/home/hedgieinsocks/.local/share/clipboard-history/buckets/(64, 128]", O_RDONLY|O_LARGEFILE) = 8
openat(AT_FDCWD, "/home/hedgieinsocks/.local/share/clipboard-history/buckets/(128, 256]", O_RDONLY|O_LARGEFILE) = 9
openat(AT_FDCWD, "/home/hedgieinsocks/.local/share/clipboard-history/buckets/(256, 512]", O_RDONLY|O_LARGEFILE) = 10
openat(AT_FDCWD, "/home/hedgieinsocks/.local/share/clipboard-history/buckets/(512, 1024]", O_RDONLY|O_LARGEFILE) = 11
openat(AT_FDCWD, "/home/hedgieinsocks/.local/share/clipboard-history/buckets/(1024, 2048]", O_RDONLY|O_LARGEFILE) = 12
openat(AT_FDCWD, "/home/hedgieinsocks/.local/share/clipboard-history/buckets/(2048, 4096)", O_RDONLY|O_LARGEFILE) = 13
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_SIZE, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0600, stx_size=0, ...}) = 0
statx(4, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_SIZE, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0600, stx_size=24, ...}) = 0
statx(5, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_SIZE, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0600, stx_size=112, ...}) = 0
statx(6, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_SIZE, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0600, stx_size=0, ...}) = 0
statx(7, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_SIZE, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0600, stx_size=192, ...}) = 0
statx(8, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_SIZE, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0600, stx_size=0, ...}) = 0
statx(9, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_SIZE, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0600, stx_size=0, ...}) = 0
statx(10, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_SIZE, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0600, stx_size=0, ...}) = 0
statx(11, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_SIZE, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0600, stx_size=0, ...}) = 0
statx(12, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_SIZE, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0600, stx_size=0, ...}) = 0
statx(13, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_SIZE, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0600, stx_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ, MAP_SHARED_VALIDATE, 3, 0) = 0x7f5fab018000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ, MAP_SHARED_VALIDATE, 4, 0) = 0x7f5fab017000
close(4)                                = 0
mmap(NULL, 4096, PROT_READ, MAP_SHARED_VALIDATE, 5, 0) = 0x7f5fab016000
close(5)                                = 0
mmap(NULL, 4096, PROT_READ, MAP_SHARED_VALIDATE, 6, 0) = 0x7f5fab015000
close(6)                                = 0
mmap(NULL, 4096, PROT_READ, MAP_SHARED_VALIDATE, 7, 0) = 0x7f5fab014000
close(7)                                = 0
mmap(NULL, 4096, PROT_READ, MAP_SHARED_VALIDATE, 8, 0) = 0x7f5fab013000
close(8)                                = 0
mmap(NULL, 4096, PROT_READ, MAP_SHARED_VALIDATE, 9, 0) = 0x7f5fab012000
close(9)                                = 0
mmap(NULL, 4096, PROT_READ, MAP_SHARED_VALIDATE, 10, 0) = 0x7f5fab011000
close(10)                               = 0
mmap(NULL, 4096, PROT_READ, MAP_SHARED_VALIDATE, 11, 0) = 0x7f5fab010000
close(11)                               = 0
mmap(NULL, 4096, PROT_READ, MAP_SHARED_VALIDATE, 12, 0) = 0x7f5fab00f000
close(12)                               = 0
mmap(NULL, 4096, PROT_READ, MAP_SHARED_VALIDATE, 13, 0) = 0x7f5fab00e000
close(13)                               = 0
openat(AT_FDCWD, "/home/hedgieinsocks/.local/share/clipboard-history/direct", O_RDONLY|O_LARGEFILE|O_PATH|O_DIRECTORY) = 3
rt_sigaction(SIGRT_1, {sa_handler=0x7f5faad9e190, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f5faad4b710}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
mmap(NULL, 2101248, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f5faaa00000
mprotect(0x7f5faaa01000, 2097152, PROT_READ|PROT_WRITE) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [], 8)   = 0
clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f5faac00990, parent_tid=0x7f5faac00990, exit_signal=0, stack=0x7f5faaa00000, stack_size=0x1ffec0, tls=0x7f5faac006c0} => {parent_tid=[355094]}, 88) = 355094
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
mmap(NULL, 2101248, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f5faa600000
+++ killed by SIGBUS (core dumped) +++
[1]    355090 bus error (core dumped)  strace ringboard search foo

Ah, silly mistake. Just published a new version with the fix.


failed to load keras model with tensorflow r1.9

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 16.04
TensorFlow installed from (source or binary): from binary(pip install)
TensorFlow version (use command below):1.9.0
Python version: 3.6.4
Bazel version (if compiling from source): None
GCC/Compiler version (if compiling from source): None
CUDA/cuDNN version:  CUDA-8.0
GPU model and memory: GTX1080Ti, 12G
Exact command to reproduce: just as the code below

Describe the problem
As the official document here, tf.keras.models could be saved with model.save('my_model.h5'), namely, "The entire model can be saved to a file that contains the weight values, the model's configuration, and even the optimizer's configuration". However, when I load the model with model = tf.keras.models.load_model('lenet_mnist.h5'), it throws an error: "You are trying to load a weight file containing 5 layers into a model with 0 layers."
Source code / logs
source code(lenet_mnist.py)
import tensorflow as tf
import numpy as np
def train_test_data():
    (x_train, y_train),(x_test, y_test) = tf.keras.datasets.mnist.load_data()
    x_train, x_test = x_train / 255.0, x_test / 255.0
    x_train = np.expand_dims(x_train, -1)
    x_test = np.expand_dims(x_test, -1)
    return x_train, y_train, x_test, y_test

def train_fn():
    x_train, y_train, x_test, y_test = train_test_data()
    model = tf.keras.models.Sequential([
        tf.keras.layers.Conv2D(6, [5, 5], strides=1, padding="same", use_bias=True),
        tf.keras.layers.AvgPool2D([2, 2], 2, padding="valid"),
        tf.keras.layers.LeakyReLU(0),
        tf.keras.layers.Conv2D(16, [5, 5], strides=1, padding="valid", use_bias=True),
        tf.keras.layers.AvgPool2D([2, 2], 2, padding="valid"),
        tf.keras.layers.LeakyReLU(0),
        tf.keras.layers.Conv2D(120, [5, 5], strides=1, padding="valid", use_bias=True),
        tf.keras.layers.Flatten(),
        tf.keras.layers.Dense(84, activation=tf.nn.relu),
        tf.keras.layers.Dense(10, activation=tf.nn.softmax),
    ])
    model.compile(optimizer='adam', loss='sparse_categorical_crossentropy', metrics=['accuracy'])
    model.fit(x_train, y_train, epochs=5, batch_size=300)
    loss, test_acc = model.evaluate(x_test, y_test, verbose=1)
    print("test_acc: " + str(test_acc))
    model.save('lenet_mnist.h5')

def test_fn():
    x_train, y_train, x_test, y_test = train_test_data()
    model = tf.keras.models.load_model('lenet_mnist.h5')
    loss, test_acc = model.evaluate(x_test, y_test, verbose=1)
    print("test_acc: " + str(test_acc))

def main(unused):
    train_fn()
    test_fn()

if __name__ == '__main__':
    tf.app.run()

log
Traceback (most recent call last):
  File "lenet_mnist.py", line 60, in <module>
    tf.app.run()
  File "/home/wangwenxiao/anaconda3/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 125, in run
    _sys.exit(main(argv))
  File "lenet_mnist.py", line 57, in main
    test_fn()
  File "lenet_mnist.py", line 49, in test_fn
    model = tf.keras.models.load_model('lenet_mnist.h5')
  File "/home/wangwenxiao/anaconda3/lib/python3.6/site-packages/tensorflow/python/keras/engine/saving.py", line 232, in load_model
    load_weights_from_hdf5_group(f['model_weights'], model.layers)
  File "/home/wangwenxiao/anaconda3/lib/python3.6/site-packages/tensorflow/python/keras/engine/saving.py", line 732, in load_weights_from_hdf5_group
    ' layers.')
ValueError: You are trying to load a weight file containing 5 layers into a model with 0 layers.

Looks like a duplicate of https://github.com/tensorflow/tensorflow/issues/20073
Feel free to reopen if you think it's not.


HPC documentation

As the title.
Before starting to work on #2961  I thought it will be better to summarise how we can currently run vanilla PyMAPDL commands in an HPC cluster.
This PR does not account for #2754, so it should be merged before that one.

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

Project coverage is 63.74%. Comparing base (3e03f12) to head (417581e).

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #2966       +/-   ##
===========================================
- Coverage   86.63%   63.74%   -22.90%
===========================================
  Files          52       52
  Lines        9497     9497
===========================================
- Hits         8228     6054     -2174
- Misses       1269     3443     +2174

Pinging @mcMunich @pmaroneh @mikerife  for visibility, awareness, and feedback.
Pinging @PipKat for documentation review.

@PipKat thank you for your patience... :)


[Enhancement] SwitchBot Strip Light Support

Just add one of this node to my automation system and it's working great.
Currently have a SwitchBot Strip Light and would really like to integrate it to my home assistant.
I try automation in Switchbot App but it's so slow, I can't make it fast enough to detect motion then open light.
I think with this node I will be better.
I can help test and debug if necessary, if you have a way to decode BLE, I can try it.
Thanks you.

it is in the plans to be implemented when I get around to it. Cheers

Is there anyways I can help you ?

@letnic not much you can do at the moment, but I'll let you know. Might not be for a bit. thx


Catalog pages contain repetitive information (similarly registrations do)

e.g. https://api.nuget.org/v3/catalog0/data/2<IP_ADDRESS>.22.45/adam.jsgenerator.1.1.0.json
we can just have
 "@context": "http://foo/bar"

instead of
 "@context": {
    "@vocab": "http://schema.nuget.org/schema#",
    "catalog": "http://schema.nuget.org/catalog#",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dependencies": {
      "@id": "dependency",
      "@container": "@set"
    },
    "dependencyGroups": {
      "@id": "dependencyGroup",
      "@container": "@set"
    },
    "packageEntries": {
      "@id": "packageEntry",
      "@container": "@set"
    },
    "supportedFrameworks": {
      "@id": "supportedFramework",
      "@container": "@set"
    },
    "tags": {
      "@id": "tag",
      "@container": "@set"
    },
    "published": {
      "@type": "xsd:dateTime"
    },
    "created": {
      "@type": "xsd:dateTime"
    },
    "lastEdited": {
      "@type": "xsd:dateTime"
    },
    "catalog:commitTimeStamp": {
      "@type": "xsd:dateTime"
    }

Agreed it would be a nice simplification. However since it's only internal tools reading the catalog this can be lower prio?
/cc @joyhui

That's the way we are advertising mirroring, so its not internal only.
Priority wise - your call

Would mean recreating catalog (which also changes URLs of catalog pages) and registrations based on it. @joyhui ?

We might want to check if we have similar issues with registration pages.
Another thing to do as part of this change is to minify them like what you did in the nuget.server project, and gzip the blobs

Can you check with @joyhui? For v2v3 we're regenerating all of this so if we can make these changes right now, we can do it proper for consolidated search.

Here is what we can do:

Do we have any reason why we have lots of "no-use" information when we design this?
Any old client are depending on this information?
If it is only used by our jobs , we need to confirm the change won't block current jobs.

Let's do this separately after v2v3 go out, since there should be lots of similar improvement we want to address.


Question

I have a Question How do I fix invalid key that pops up anytime i try to log in

Problem: Cannot login to dashboard
Invalid Key - Check console
Possible Fixes:

Client secret is incorrect and needs regenerating

ah yes, thx

never mind, doesn't fix.

The same happens to me

I have the same issue. I have the client recret regenerating. Nothing is working for now. Have you a fix for this?

I fix my issue, i did run npm install @2pg/oauth and now it its version : ^1.0.7 then it is working for me. I hope that this a fix is for you.


Support formatting of named parameters in mapping

Support formatting of solidity files with named parameters in mapping. Named parameters became available in solidity version 0.8.18, but using them will brake the extensions formatting.

This was initially raised by @ramvi on discord.

I have tested locally and a bump of the prettier-plugin-solidity to version to v1.1.2 resolves the issue.


docs: improve media_folder and public_folder docs

When https://www.netlifycms.org/docs/beta-features/#folder-collections-media-and-public-folder was introduced the main intended use case was to allow saving media files in the same folder as the entry under the constraint different entries don't share media files.
Since then we've added support for specifying per collection and per field media_folder and public_folder. We also allow media_folder to be either a relative path or an absolute path which can cause confusion: https://github.com/netlify/netlify-cms/issues/3654#issuecomment-620423495.
We've also added templating and cascading for media_folder and public_folder which is not documented at all (https://github.com/netlify/netlify-cms/issues/3670#issuecomment-620422267).
We should document all of these changes and provide examples for each scenario.
Important
Make it clear to what the media_folder is used for (specifying where to save the file in the repo) and what public_folder is used for (specifying how to output the file path in the frontmatter).

@erezrokah Yep. This captures it. I think the best way to document this would be with examples as it is hard to model.

media_folder: /static/uploads/
public_folder: /uploads
collections:
  - name: posts
    label: Posts
    label_singular: 'Post'
    folder: src/content/posts
    create: true
    fields:
        - label: "Competition Logo"
          name: "complogo"
          widget: "image"
          media_folder: "{{media_folder}}/competitions"
          public_folder: "{{public_folder}}/competitions"
        - label: "Winner Image"
          name: "winnerimage"
          widget: "image"
          media_folder: "{{media_folder}}/winners"
          public_folder: "{{public_folder}}/winners"

Is this not working because I'm trying to assign media_folder's to individual fields? If not, I'd like to request this feature and would open an issue for it.

up


fix(config): remove invalid default audience value

Remove "ls-api" default audience value since API audience values must be formatted as a URI.

:tada: This PR is included in version 4.10.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


npm init fails to create TypeScript project

Hi,
As described in the documentation, I'm trying to create a TypeScript project with npm init:
npm init serverless-stack@latest sst-test1 --language typescript

But it creates instead a JavaScript project:
➜ npm init serverless-stack@latest sst-test1 --language typescript

Initializing a new Serverless Stack JavaScript project
Creating sst-test1/ directory
Adding project files
Installing packages
...

Only JS files and no .tsconfig.
My environment:

Node 14.15.5
npm 7.5.4

Note that this works when using the npx command though...
➜ npx create-serverless-stack@latest sst-test1 --language typescript

Initializing a new Serverless Stack TypeScript project
Creating sst-test1/ directory
Adding project files
Installing packages

Oh that's weird. Maybe the options aren't getting passed in in the CLI. We'll take a look.

non node/npm arguments should be passed after dash-dash "--"
So in this case, the command should be:
npm init serverless-stack@latest my-sst-app -- --language typescript

Yeah that makes sense. We'll update the docs with it.


Domain changed to number in HA

Regarding this commit https://github.com/dckiller51/bodymiscale/commit/e97da1668ea417a4a0f849822090c82bcedd701d ,
domain name changed from input_number to number, at least in recent home assistant versions.

Concernant ce commit e97da16 , le nom de domaine est passé de input_number à number, du moins dans les versions récentes de Home Assistant.

I just tested in version 2023.10.0b3. I don't see any change. I created a new number entry, it remains input_number.

I'm using the same version and I can't choose input_number entity without edit above.

On the other hand, the beta version of homeassistant creates a bodymiscale.bodymiscale_bodymiscale_test_bodymiscale_2. To be continued

@bonuzzz
Update 3.0.9
allow input type "number" in addition to "sensor" and "input_number"


wp-cli updates false positives

When there are no plugin updates available and I run terminus wp wp-microsite.update-wp -- plugin list --update=available --format=count locally I see 0 as the output, as expected.
However, when in the context of this auto update scripts storing the output in a bash variable with PLUGIN_UPDATES="$(terminus wp wp-microsite.update-wp -- plugin list --update=available --format=count)" does not store 0 as expected.
This is causing false positives in the logic checking for updates.

@stevector I've opened an issue on the Terminus repo but would like your thoughts here.
I'm debating a few options here:

Refactor so we always try to apply updates with WP-CLI then use env:diffstat to check for files changes. This seems risky as there is the known issue with the watcher not activating and detecting changes from the command line

Reversing the WP-CLI logic for checking is updates are available so the assumption is they are not available - going from if [[ "$PLUGIN_UPDATES" == "0" ]] to if [[ "$PLUGIN_UPDATES" == "1" ]].  If there are issues capturing the output though this could lead to false negatives and updates not running, even if they are available

Leaving things as-is. Right now what's happening when there are no updates but the process continues is harmless as Pantheon returns "There is nothing to deploy", though there are empty git commits. See build 510.


PGsync does not Immediately send document to Elastic Index

PGSync version: 2.2.1
Problem Description: Increase Indexing speed
@toluaina , the Sync is working fine, just that documents sometimes take 5-10 seconds to show up in the Index. Is there any way to increase the Speed.
Seems like Redis holds to documents for some time before sending them to the index. Any suggestions?

Yes, you can try:

increasing NTHREADS_POLLDB (default is 1)
reducing POLL_TIMEOUT (default is 0.1)

These are defined here

Hi @toluaina ,
Thank you for the PGSync. The sync works fine though we have an issue regarding sync speed.
We have around 360k documents in ES and it takes around ~5mins. to sync new inserts. Do you think, the amount of data could be the issue for this delay?? We tried increasing nthreads_polldb=10 and reducing poll_timout=0.05 but nothing changes.

@chintal31
are you suggesting you are seeing no difference at all ?
Can you confirm which version of pssync you are running otherwise can you try the latest or use the master branch.
10 threads is a lot. Please start from 4.

@chintal31

I have been working on an async feature branch.
You can pull the branch here.
It is not ready for production use yet.
but if you notice a performance improvement I can put more effort into completing it

thanks.

PS: I have integrated the async branch into the master branch
So you can just pull master and enable async mode with the environment variable
USE_ASYNC=True

Hi @toluaina, we have done the changes you mentioned. We can definitely see improvements in syncing but there are times when it shows delay. Even when we updating a particular document the updated values also takes time(Not always though).
Is there anything else on the we can do on the Infra side? like polling or threading which can be tweaked to achieve optimum sync speed?


Update log categories in help message and in decomposition of "dash" category

Rebased to trigger Travis again, no code changes.


"next build" works locally but fails in "now" in latest Next (6.1.1)

Bug report
Describe the bug
I'm not sure where to put this - if it's related to next, now, or mdx. But when I run next build locally, it works just fine. When I run now and now runs next build it errors out. I've confirmed I'm using the same Node version locally that is used by now (8.11.3). I've got a package-lock.json - so in theory the build in now should be the same as local...
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

See package.json
Not sure why next build (npm run build) locally would be different than the next build in now

Expected behavior
next build works the same locally as it does in now.
Screenshots
Local:

In Now

Errors with Cannot find module 'remark-highlight.js'.
System information

OS: macOS
Version of Next.js: 6.1.1
Version of Node: 8.11.3 both local and in now
Version of npm: 6.2.0 local, not sure about in now as it doesn't show it

Looks like the module wasn't installed, so I'm pretty sure it's not related to Next.js. I've asked @TooTallNate to check this issue.

It’s in my package.json and works locally

I also tried moving remark-highlight.js from a devDependencies to a dependencies and then get a different error:

Something weird is definitely going on when next build is run inside now because everything works locally for me (I've tried on multiple machines, fresh node_modules + npm installs etc.) and these dependencies are all in my package.json and package-lock.json: https://github.com/trevordmiller/trevordmiller-website
@timneutkens, do you get the same errors when you run now on this ^ project? These errors seem to have all started with the latest next + now releases.

I could downgrade back to next.js 5, but I was hoping to use the new _app.js.

Downgraded to working versions + Next 5: https://github.com/trevordmiller/trevordmiller-website/commit/c32f83263418084e60d13a16c39314270443f3c8
I'm going to wait until Babel 7 is stable before trying to upgrade to Next 6 again.

Did some more digging and figured out the errors I was seeing were because Next.js now requires devDependencies it uses in a custom .babelrc to be dependencies. So I had to move the dependencies in next.config.js and .baberc to be production dependencies. It seems some of the Zeit docs are inconsistent with this; a few examples:

next-typescript shows --save: https://github.com/zeit/next-plugins/tree/master/packages/next-typescript
next-mdx shows --save: https://github.com/zeit/next-plugins/tree/master/packages/next-mdx
mdx Next.js section shows --save-dev: https://github.com/mdx-js/mdx#nextjs (which is where my problem was, needs to be --save in latest Next

https://github.com/zeit/next-plugins/tree/master/packages/next-mdx#installation
Seems like the plugin docs are consistent, I guess we have to change the MDX docs to say to use the next-mdx plugin instead.

now require devDependencies used by next to be dependencies

This seems highly unlikely. Which devdeps?

Per https://github.com/mdx-js/mdx/issues/128 and the related https://github.com/mdx-js/mdx/pull/131, I had @mdx-js/mdx, @mdx-js/loader, and remark-highlight.js as devDependencies (--save-dev). Converting them to dependencies (--save) fixed the errors mentioned in this issue. Feel free to try it yourself. Seems to only apply when you have a custom .babelrc.


Tasks 917-921: CoQA Dataset, code_x_glue Dataset

@ShashankDavalgi can you please merge your PR with the main branch?
@liusiyi641 wondering if you can review this PR?

@liusiyi641 Is it OK if I do it after my mid terms during the fall break?

@ShashankDavalgi, could you address the reviewer concerns so that we can move ahead with this PR?

Reviews: https://github.com/swarooprm/CSE576HW/pull/81


Fix double unref in resource quota code

I believe this fixes #12932.
In the current code, the following sequence of events can result in incorrectly double unrefing a resource user:

The user calls grpc_resource_user_alloc with a size greater than the amount of free space currently allocated to that resource user. This results in increasing the refcount of the resource user by that size, and also increasing its outstanding_allocations by that size. This also schedules a call to rq_allocate

Note that this function does not output an error or anything to indicate that the allocation is "outstanding" instead of complete.

The user calls grpc_resource_user_shutdown, which schedules a call to ru_shutdown on the exec context.
The call to ru_shutdown gets scheduled first, and the resource user's shutdown field gets set to 1. That also schedules a call to rq_step
Either ru_allocate or rq_step is called, which eventually calls rq_alloc. Then because the resource user has an outstanding allocation and is shutting down, the line that is deleted in this PR is reached, and the resource user's refcount is decreased by the outstanding_allocation size.
Later, grpc_resource_user_free is called by the user to release the memory. This again decreases the refcount by the allocated size.

****************************************************************

libgrpc.so

     VM SIZE                                            FILE SIZE
 ++++++++++++++ GROWING                              ++++++++++++++

 -------------- SHRINKING                            --------------
  -0.2%     -16 src/core/lib/iomgr/resource_quota.cc     -16  -0.2%
      -1.4%     -16 rq_step                                  -16  -1.4%

 -+-+-+-+-+-+-+ MIXED                                +-+-+-+-+-+-+-
  +0.0%     +16 [None]                                   -24  -0.0%

  [ = ]       0 TOTAL                                    -40  -0.0%

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

redirecting to Sree, because he has been taking a look at these codepaths recently

[trickle] No significant performance differences

[microbenchmarks] Performance differences noted:
Benchmark                                                            cpu_time    real_time
-------------------------------------------------------------------  ----------  -----------
BM_StreamingPingPongMsgs<InProcess, NoOpMutator, NoOpMutator>/32768  -4%         -4%

Unfortunately, those Asan failures appear to be related to this change, so I think I need to look into this further.

This change is incorrect. The correct fix is in #13433.


CRM457-2096: Basic schema validation API

Oh that's interesting - there was already a CODEOWNERS file in the repo, but because I hadn't added the team to the repo in the UI, it was being rejected as invalid. I guess I don't really understand how it works, but it should be working now.


how to test if event listeners are fired

I'm currently trying to test leaflet events.
map.on('pm:remove', (e) => {
    t.equal(e.layer, polygon, 'pm:remove event fired');
});
map.removeLayer(polygon);

the last line will fire an event on the map object.
However, it's never called and I get the plan != count error.
How to I properly test if event listeners are fired?

From your example, your claim thatremoveLayer actually triggers a pm:remove event on map such that that callback is called, seems to be contradicted by "it's never called".
Can you share a bit of the code?

Sorry for being misleading.
I meant, the t.equal is never called but yes, pm:remove is fired when removeLayer is called.
By your answer I'm assuming I did it correctly (in theory)?
I changed the event to leaflets own layerremove to make sure it's not a mistake in my code.
Here's the complete test file:
const test = require('tape');
const L = require('leaflet');

test('EVENTS', (t) => {
    t.plan(1);
    const mapContainer = document.createElement('DIV');
    document.body.appendChild(mapContainer);
    const map = L.map(mapContainer);

    const polyLatlngs = [[-111.03, 41], [-111.04, 45], [-104.05, 45], [-104.05, 41]];
    const polygon = L.polygon(polyLatlngs).addTo(map);

    map.on('layerremove', (e) => {
        t.equal(e.layer, polygon, 'layerremove event fired');
    });

    map.removeLayer(polygon);
});

The "error" here, as I removed t.end() now is constant waiting for the planned assertion.

OK so, first of all, the t.end() call would have had to go after t.equal, inside the event handler callback - if you put it there, and you still get the test waiting, then objectively, the layerremove event callback is never getting fired.
That suggests it's either a bug in leaflet, or "layerremove" is the wrong event name, or removeLayer isn't supposed to emit the "layerremove" event.

hmm ok - that means my code should work in theory. The events are definitely called but the problem is in my code then. Thanks! I know where to search for the mistake now :-)


global: move to main as the default branch

Bug: T308968

Had to recreate this after the rename xd

Merging as I had already a review, and this will block any other merges (due to the rename having been done)


ImageNet dataset: resize the image or change the dimension of z

Hi Samarth, thanks for sharing your code.
However, I met a problem when I run this code with ImageNet dataset. The VAE class in model.py hard code the sample shape of z as 1024*4*4, which is not in line with the image size 224*224 of Imagenet. So, I would like to know whether I should resize the image to 32*32 or I should modify the VAE architecture? Thanks.

Hi Samarth, thanks for sharing your code. However, I met a problem when I run this code with ImageNet dataset. The VAE class in model.py hard code the sample shape of z as 102444, which is not in line with the image size 224224 of Imagenet. So, I would like to know whether I should resize the image to 3232 or I should modify the VAE architecture? Thanks.

Did you find any way to fix this?


Failed to publish NPM packages

During the 21.1.0 release the publishing of NPM packages failed:

https://github.com/keycloak-rel/keycloak-rel/actions/runs/4740740462/jobs/8417562722

For the 21.1.2 release the publishing of the package worked fine, but the step that deprecates the package failed, so we still have an issue in the workflows:

https://github.com/keycloak-rel/keycloak-rel/actions/runs/5397857402/jobs/9803382635


PowerShell DSC resource ArcGIS_Install  failed to execute Set-TargetResource functionality

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

Module Version

4.0.0

Affected Resource(s)

ArcGIS_Server
ArcGIS_Portal

I am trying to create base deployment on a single machine with use og GISServer-GeneralPurpose json. I have tried also on v3. However I am facing access is denied . I have tried to enable all necessary permissions but stil no success.
**`Trace-DSCJob : 16.09.2022 12:42:45: Exception calling "Start" with "1" argument(s): "Access is denied"
At C:\Program Files\WindowsPowerShell\Modules\ArcGIS\ArcGIS.psm1:261 char:5

Trace-DSCJob -Job $Job -JobName $ConfigurationName -DebugMode $De ...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Trace-DSCJob

Trace-DSCJob : 16.09.2022 12:42:45: You cannot call a method on a null-valued expression.
At C:\Program Files\WindowsPowerShell\Modules\ArcGIS\ArcGIS.psm1:261 char:5

Trace-DSCJob -Job $Job -JobName $ConfigurationName -DebugMode $De ...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Trace-DSCJob

Trace-DSCJob : 16.09.2022 12:42:45: You cannot call a method on a null-valued expression.
At C:\Program Files\WindowsPowerShell\Modules\ArcGIS\ArcGIS.psm1:261 char:5

Trace-DSCJob -Job $Job -JobName $ConfigurationName -DebugMode $De ...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Trace-DSCJob

Trace-DSCJob : 16.09.2022 12:42:45: You cannot call a method on a null-valued expression.
At C:\Program Files\WindowsPowerShell\Modules\ArcGIS\ArcGIS.psm1:261 char:5

Trace-DSCJob -Job $Job -JobName $ConfigurationName -DebugMode $De ...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Trace-DSCJob

Trace-DSCJob : 16.09.2022 12:42:45: PowerShell DSC resource ArcGIS_Install  failed to execute Set-TargetResource functi
onality with error message: Install failed. Process exit code:- . Error -
At C:\Program Files\WindowsPowerShell\Modules\ArcGIS\ArcGIS.psm1:261 char:5

Trace-DSCJob -Job $Job -JobName $ConfigurationName -DebugMode $De ...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Trace-DSCJob

Trace-DSCJob : 16.09.2022 12:42:45: The SendConfigurationApply function did not succeed.
At C:\Program Files\WindowsPowerShell\Modules\ArcGIS\ArcGIS.psm1:261 char:5

Trace-DSCJob -Job $Job -JobName $ConfigurationName -DebugMode $De ...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Trace-DSCJob`**

Hi @supermaro84,
Let's ensure Powershell is being ran as an administrator (right click run as Administrator), and also try passing in an Administrator account for the -Credential parameter.
Issue is similar to:
https://github.com/Esri/arcgis-powershell-dsc/issues/414

Hi.
I have tried with both and still get the same message:
From Error log:
21.09.2022 13:52:51: Exception calling "Start" with "1" argument(s): "Access is denied"
21.09.2022 13:52:51: You cannot call a method on a null-valued expression.
21.09.2022 13:52:51: You cannot call a method on a null-valued expression.
21.09.2022 13:52:51: You cannot call a method on a null-valued expression.
21.09.2022 13:52:51: PowerShell DSC resource ArcGIS_Install  failed to execute Set-TargetResource functionality with error message: Install failed. Process exit code:- . Error -
21.09.2022 13:52:51: The SendConfigurationApply function did not succeed.
And Verbose:
21.09.2022 13:52:46: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
21.09.2022 13:52:51: An LCM method call arrived from computer H1-A-GIS-APD04 with user sid S-1-5-21-1123561945-1292428093-725345543-265785.
21.09.2022 13:52:51: [H1-A-GIS-APD04]: LCM:  [ Start  Set      ]
21.09.2022 13:52:51: [H1-A-GIS-APD04]: LCM:  [ Start  Resource ]  [[ArcGIS_Install]ServerInstall]
21.09.2022 13:52:51: [H1-A-GIS-APD04]: LCM:  [ Start  Test     ]  [[ArcGIS_Install]ServerInstall]
21.09.2022 13:52:51: [H1-A-GIS-APD04]:                            [[ArcGIS_Install]ServerInstall] Installed Version
21.09.2022 13:52:51: [H1-A-GIS-APD04]: LCM:  [ End    Test     ]  [[ArcGIS_Install]ServerInstall]  in 0.2340 seconds.
21.09.2022 13:52:51: [H1-A-GIS-APD04]: LCM:  [ Start  Set      ]  [[ArcGIS_Install]ServerInstall]
21.09.2022 13:52:51: [H1-A-GIS-APD04]:                            [[ArcGIS_Install]ServerInstall] Installing Software using installer at D:\Programvare\ArcGIS_11
21.09.2022 13:52:51: [H1-A-GIS-APD04]:                            [[ArcGIS_Install]ServerInstall] Installed Version
21.09.2022 13:52:51: [H1-A-GIS-APD04]:                            [[ArcGIS_Install]ServerInstall] Executing D:\Programvare\ArcGIS_11
21.09.2022 13:52:51: [H1-A-GIS-APD04]: LCM:  [ End    Set      ]  [[ArcGIS_Install]ServerInstall]  in 0.2040 seconds.
21.09.2022 13:52:51: [H1-A-GIS-APD04]: LCM:  [ End    Set      ]
21.09.2022 13:52:51: Operation 'Invoke CimMethod' complete.

Also passing a -credential argument with administrator account led to a prompt to insert password and then i got this message:
Trace-DSCJob : 22.09.2022 10:31:28: The WinRM client cannot process the request. The WinRM client tried to use Negotiat
e authentication mechanism, but the destination computer (localhost:5985) returned an 'access denied'
error. Change the configuration to allow Negotiate authentication mechanism to be used or specify one of the authentica
tion mechanisms supported by the server. To use Kerberos, specify the local computer name as the remote destination. Al
so verify that the client computer and the destination computer are joined to a domain. To use Basic, specify the local
computer name as the remote destination, specify Basic authentication and provide user name and password. Possible aut
hentication mechanisms reported by server:       Kerberos
At C:\Program Files\WindowsPowerShell\Modules\ArcGIS\ArcGIS.psm1:261 char:5

Trace-DSCJob -Job $Job -JobName $ConfigurationName -DebugMode $De ...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Trace-DSCJob

Hello @supermaro84,
The ArcGIS Module uses WinRM HTTP (port 5985) to connect to the Target node(s) so you'll need to ensure PowerShell Remoting is enabled and configured properly. Below are some resources I recommend checking out.

PowerShell Remote Troubleshooting

Ensure PowerShell Remoting is enabled on orchestrating node and all target nodes:

This will start the WinRM service and set its startup to automatic
It will create an HTTP listener
You can verify this by running winrm enumerate winrm/config/listener
It will enable the Windows Remote Management firewall rules
It will create and configure the LocalAccountTokenFilterPolicy registry key
It will reset the permissions on the four sessions hosts
You can verify this by running Get-PSSessionConfiguration

PS C:\> Enable-PSRemoting

https://learn.microsoft.com/en-us/archive/blogs/wmi/powershell-remoting-between-two-workgroup-machines
The following command will display useful information such as PSVersion and Permissions:

PS C:\> Get-PSSessionConfiguration

Name          : microsoft.powershell
PSVersion     : 5.1
StartupScript :
RunAsUser     :
Permission    : NT AUTHORITY\INTERACTIVE AccessAllowed, BUILTIN\Administrators AccessAllowed, BUILTIN\Remote Management Users AccessAllowed

Can use Test-WSMan to test the connection between Nodes:

Test-WSMan -ComputerName H1-A-GIS-APD04 -Authentication default -Port 5985 -Credential Administrator

Also try using New-CimSession to test the connection. For example:

New-CimSession -Port 5985 -ComputerName H1-A-GIS-APD04 -Authentication default -Credential Administrator

Hello @cameronkroeker,
I have been working together with @supermaro84 on this issue. Thank you for your timely contributions to guide us through our execution.

we were running Powershell as an admin, then as you suggested we added the - Credential as our adm account

The last piece of the jigsaw, which utlimately solved our issue,  was to specify the installer .exe in the installer path as pointed out in this post:
https://github.com/Esri/arcgis-powershell-dsc/issues/220#issuecomment-571470718

Sorry to comment on a closed thread, but this may be helpful to someone who is in the same, albeit uncommon, situation as me.
Something else to consider if none of the above works:
The installers are being extracted to c:/windows/temp/{guid} directory. If you have had failed attempts at deploying via dsc previously, you should try deleting the temp directories that are in question.
As an additional note, due to the previously failed deployments I also needed to cancel all pending dsc jobs/*.mof and processes that were not responding by doing the following:
#Kill the LCM/DSC processes
Get-Process wmi* | ? {$_.modules.ModuleName -like "*DSC*"} | stop-process -force

if that still doesn't work then I'd do the following as long as you know what other dsc jobs are supposed to be running currently and you don't mind blowing away other configuration settings:
#Remove all mof files (pending,current,backup,MetaConfig.mof,caches,etc)
rm C:\windows\system32\Configuration\*.mof*

otherwise the dsc was failing to get any job status updates and just hung indefinitely.


HDDS-4953. [SCM HA Security] Make CertStore DB updates for StoreValidateCertificate go via Ratis

What changes were proposed in this pull request?
This Jira is to make DB updates of CertStore go via ratis, so that all SCM's can be in sync.
In this way, OM/DN/SCM Certs will be in sync across Ratis.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-4953
How was this patch tested?
Added tests for codec.

Please hold on the merge util we finish merging master back to 2823. Thanks!

Thanks @bharatviswa504 for the patch. The changes look good. Can you please add a miniOzoneHACluster based test and verify the storeCertificate behaviour with ratis replication?

@bshashikant I think We don't have a MiniOzoneSecure cluster, due to the limitation of not able to login Kerberos credential in a single JVM (I think this was the reason, but not 100% sure cc @xiaoyuyao ). Once we have complete Security work I can try to add tests and verify this via Robot tests.

Thanks @bharatviswa504 for the patch. The changes look good. Can you please add a miniOzoneHACluster based test and verify the storeCertificate behaviour with ratis replication?

@bshashikant I think We don't have a MiniOzoneSecure cluster, due to the limitation of not able to login multiple Kerberos credential in a single JVM (I think this was the reason, but not 100% sure cc @xiaoyuyao ). Once we have complete Security work I can try to add tests and verify this via Robot tests.

@bharatviswa504 , can't we directly use server API's i MiniOzoneHACuster to verify the behaviour of storeValidCertificate bypassing the other security checks?

storeValidCertificate

We don't start the security protocol Server in non-secure. So, not sure what do you mean by directly use server API here.

Thanks @bharatviswa504 for the patch. The changes look good. Can you please add a miniOzoneHACluster based test and verify the storeCertificate behaviour with ratis replication?

@bshashikant I think We don't have a MiniOzoneSecure cluster, due to the limitation of not able to login multiple Kerberos credential in a single JVM (I think this was the reason, but not 100% sure cc @xiaoyuyao ). Once we have complete Security work I can try to add tests and verify this via Robot tests.

@bharatviswa504 , can't we directly use server API's i MiniOzoneHACuster to verify the behaviour of storeValidCertificate bypassing the other security checks?

We don't start the security protocol Server in non-secure. So, not sure what do you mean by directly use server API here.

Just a side question
Do we have any specific tests to test the behavior of replicate annotation(looks like no) if those work we should be good right, as this is using existing Replicate annotation.

Just a side question
Do we have any specific tests to test the behavior of replicate annotation(looks like no) if those work we should be good right, as this is using existing Replicate annotation, and the codec serialization/deserialization tests are already added. Do you think we need to add tests?

We have one TestReplicationAnnotation, yet it is a unit test.

Thanks for the verification. LGTM. Please rebase with the latest 2823.

Thank You @bshashikant and @GlenGeng for the review.


[Flutter 2.5.0]Upgrade to use Flutter embedding V2

I have a problem as below. How can I fix this?
A red warning when run "flutter pub get"
The plugins `cloud_functions` use a deprecated version of the
Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if
these plugins support the Android V2 embedding. Otherwise, consider removing
them since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to
the V2 embedding: https://flutter.dev/go/android-plugin-migration.

This is my flutter version:
[Flutter (Channel stable, 2.5.0, on macOS 11.2.3 20D91 darwin-x64, locale ja-JP)
    ｢ Flutter version 2.5.0 at /Applications/flutter
    ｢ Upstream repository https://github.com/flutter/flutter.git
    ｢ Framework revision 4cc385b4b8 (2 days ago), 2021-09-07 23:01:49 -0700
    ｢ Engine revision f0826da7ef
    ｢ Dart version 2.14.0

[Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    ｢ Android SDK at /Users/tokyokamera/Library/Android/sdk
    ｢ Platform android-30, build-tools 30.0.2
    ｢ Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    ｢ Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    ｢ All Android licenses accepted.

[Xcode - develop for iOS and macOS
    ｢ Xcode at /Applications/Xcode.app/Contents/Developer
    ｢ Xcode 12.5, Build version 12E262
    ｢ CocoaPods version 1.10.1

[Chrome - develop for the web
    ｢ Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[Android Studio (version 4.0)
    ｢ Android Studio at /Applications/Android Studio.app/Contents
    ｢ Flutter plugin version 48.1.2
    ｢ Dart plugin version 193.7361
    ｢ Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[Connected device (1 available)
    ｢ Chrome (web) ｢ chrome ｢ web-javascript ｢ Google Chrome 93.0.4577.63

Hello @tokyokamera,
this is not a Flutter problem. You need to post your issue in the cloud_functions repo at https://github.com/FirebaseExtended/flutterfire/tree/master/packages/cloud_functions/cloud_functions

@tokyokamera
This is a duplicate of https://github.com/FirebaseExtended/flutterfire/issues/6770 which has been fixed just today.

@tokyokamera
This is a duplicate of FirebaseExtended/flutterfire#6770 which has been fixed just today.

Thank you very much!
どうもありがとうございました。


cannot find object type in create

Larastan Version: v0.3.10
--level used: max

Description:
Cannot find object type in create, whereas it does find the property in the same level as the create exists as shown in line 39.
Laravel code where the issue was found:
        $collars = Collar::all();
        foreach ($collars as $collar) {
            if (!empty($collar->type)) {
    39          $response = $this->getLastDeviceLocation($collar->type);
                if (!empty($response)) {
                    if (!empty($response['lat'])) {
                        $lat = $response['lat'];
                    }
                    if (!empty($response['lng'])) {
                        $lng = $response['lng'];
                    }
                    CollarData::create(
                        [
    51                      'collar_id' => $collar->id,
                            'lng' => $lng,
                            'lat' => $lat,
                            'log_at' => now(),
                        ]
                    );
                }
            }//end if
        }//end foreach

error
51     Access to an undefined property object::$id.

calling collar->id on line 40 also gives the error.
$id = $collar->id;

adding id to fillable on the model still gives the error.
protected $fillable = [
    'id',
    'type',
];

Am I doing something wrong?

Hello @adminfriso !
Try to make your code better by changing if(!empty()) {...} to if(empty()) continue;

Maybe PHPStan does not know that foreach puts 1 collar into $collar

@szepeviktor I can add feature.

@szepeviktor good one, thanks

@szepeviktor as shown in line 39 it can find the value of type in the object. this issue should also be adressed in V.03.10 as @nunomaduro fixed it, related to issue #207

as shown in line 39 it can find the value of type in the object

I think if (!empty($collar->type)) { tells PHPStan that type exists, not the foreach loop.

good one, would think so indeed

Can you re-test this with 0.4.3?


DateTimeOffset looses precision

Hi, I'm writing a DateTimeOffset that has nanosecond precision using the Impala DateTimeFormat, but upon reading it back I'm not able to recover anything beyond milliseconds.  I've tried setting the TreatBigIntegersAsDates ParquetOption in my ParquetReader, but it doesn't seem to affect the output.  Any thoughts?
Thanks,
Brian

Same problem here, DateTimeOffset resolution is 100 ns, but I am loosing everything after milliseconds.

FWIW, support for nanosecond resolution is limited in several other systems making use of parquet as well.  I don't like it, but I ultimately had to fallback to just storing/parsing them as strings for now :'(


versions: Add cloud-hypervisor

Needed to build as part of release and CI process.
Fixes: #2218

/test


Make Amazon services named consistently

This fixes https://github.com/github/github-services/issues/1053 by using the exact brand names that Amazon uses for each of the services. I was going to just prefix them all with AWS but it appears that Amazon perfers AWS in some places and Amazon in others.
cc @pengwynn

:+1:


removing IDE specific files (IntelliJ/AndroidStudio and Eclipse)

Are these files in gitignore too? Not that they put it in in the next commit again..

I asked him in another pull request to fix the .idea line in gitignore

This is part of #756

@StefMa @hzsweers Yes, these files are in .gitignore too.
See line number 98

@larsgrefer see my comment about this in #756


lib/modules: lib fix and tidying

Description of changes

Fix a potential problem (first commit)
Tidy up
Reduce attribute lookups
Reduce env size (applyModuleArgs)

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Thanks for the review!


Unexpected token, syntax error

I have tried to install this lib in order to support svg images, but I get the error below

My Code is:
import SvgView from 'react-native-svg-view'
<SvgView
          source={require('Olio/App/Assets/Icons/Svg/PurpleHeart.svg')}
          style={{ height: 24, width: 24 }}
        />

Any ideas?

Hey 👋
Thank you for reporting an issue. Are you using a typescript in your project ?

More you can find here:
https://github.com/troZee/react-native-svg-view/issues/5

Thanks @troZee, no I am not using typescript in my project


Use a GUI that modifies settings.json instead of opening settings.json using any text editor

Just like most Terminals in most Linux distros, macOS and other UNIX based operating systems, you can change the Terminal's profile and other settings but in a much graphical form (in a Window) where when you make a Terminal profile and setting change through that Window, and click "Apply" or "OK" to commit changes from that Window it will automatically write the profile and your settings in the settings.json file for you rather than you writing profiles and changing settings in the settings.json file yourself using any text editor like Visual Studio Code or Notepad.

/dup #1564


Add more name cases to ArgumentEnum

Adds camelCase, PascalCase, Title Case, and snake_case to the supported formats on an ArgumentEnum, including examples.
This PR also lets users create custom formats, by passing a Function<E, String> to setFormat()

I am personally not convinced, I feel that using those will always result in a poorly designed command. Messing with upper/lower case will just make the client confused

I personally would love camelCase or snake_case, just lowercase can get confusing really quickly.

I personally prefer camelCase, snake_case is ulgy

Literals are case-sensitives, wouldn't it just make the syntax hard to use?

Tab-completion helps with that


Add cacheZipResponse to repository

#10  👈
main

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

Join @ksharma-xyz and the rest of your teammates on  Graphite


Removing SElinux policy as BuildRequire

Signed-off-by: Ricardo Noriega<EMAIL_ADDRESS>
Which issue(s) this PR addresses:

Closes #631

Removing the selinux-policy-devel BR means the SELinux macros go away. You definitely don't want that.

/retest

Your actual issue is that FCOS and FIoT don't keep up on SELinux policy stuff, so you probably want to drop %{?selinux_requires}.

I'm not sure that will work.
If we compile newer policies, and then install on an outdated selinux system, those policies won't load.
I believe that probably forcing users to update first the selinux packages, and then, installing microshift, is the right thing to do, and not a workaround.

Yes, you're right it is, but removing the devel package will break compiling SELinux policy modules and remove the macros.

/do-not-merge


Horizon migrate db up failed to authenticate

Hi, I got some errors when I execute horizon db migrate up. It returns error 2019/06/11 09:08:17 pq: password authentication failed for user "root". How can I solve it?

did you solve it? Maybe you could share your solution? thanks!

solve it with delete the docker container and create the new one


Protocol 'Firebaseable' can only be used as a generic constraint because it has Self or associated type requirements

This error comes about when I declare the lines extension Array where Element == Firebaseable { ... }
It goes away when I change return try Self.sendPush(title: title, message: message, token: token, on: req) to return try Firebaseable.sendPush(title: title, message: message, token: token, on: req) located inside the first sendPush() function body, was there just a mistake in the ReadMe??

Thank you for reporting, I've fixed that typo in example 🙂


Added Validation for Owner_ID and Pet_Id on PetController

@4313testing Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@4313testing Thank you for signing the Contributor License Agreement!

It's a bigger change than I'd like really, but I'll go ahead and merge it if you can add tests (and fix the ones that you changed).

I don't see a need for all this code really. Can we just do some checking and throw IllegalArgumentException?


what are the post up routes for?

Can you explain about the 4 post up routing?
Specially I don't understand the reason for <IP_ADDRESS> and 8000::
post_up () {
    local tun=$1
    ip route add <IP_ADDRESS>/1 dev "${tun}" > /dev/null 2>&1
    ip route add ::0/1 dev "${tun}" > /dev/null 2>&1
    ip route add <IP_ADDRESS>/1 dev "${tun}" > /dev/null 2>&1
    ip route add 8000::/1 dev "${tun}" > /dev/null 2>&1
}

nevermind I understood the rules from here.


Fail to install because of setuptool change

After removal of test command in setuptool with version 72.0.0, fail to install JPype.

Python version: 3.9
OS: Sonoma 14.5 (Silicon chip)

pip install JPype1
Collecting JPype1
  Using cached JPype1-1.5.0.tar.gz (819 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [21 lines of output]
      Traceback (most recent call last):
        File "/Users/test1/.pyenv/versions/3.9.17/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/Users/test1/.pyenv/versions/3.9.17/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/Users/test1/.pyenv/versions/3.9.17/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/private/var/folders/bl/31307nzn5kn25tz85p5q5hy80000gn/T/pip-build-env-lw0iwva1/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 327, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
        File "/private/var/folders/bl/31307nzn5kn25tz85p5q5hy80000gn/T/pip-build-env-lw0iwva1/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 297, in _get_build_requires
          self.run_setup()
        File "/private/var/folders/bl/31307nzn5kn25tz85p5q5hy80000gn/T/pip-build-env-lw0iwva1/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 497, in run_setup
          super().run_setup(setup_script=setup_script)
        File "/private/var/folders/bl/31307nzn5kn25tz85p5q5hy80000gn/T/pip-build-env-lw0iwva1/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 313, in run_setup
          exec(code, locals())
        File "<string>", line 26, in <module>
        File "/private/var/folders/bl/31307nzn5kn25tz85p5q5hy80000gn/T/pip-install-5qfv_k8g/jpype1_d8c4b65331a546b59b6ab924b8519df4/setupext/__init__.py", line 25, in <module>
          from . import pytester
        File "/private/var/folders/bl/31307nzn5kn25tz85p5q5hy80000gn/T/pip-install-5qfv_k8g/jpype1_d8c4b65331a546b59b6ab924b8519df4/setupext/pytester.py", line 20, in <module>
          from setuptools.command.test import test as TestCommand
      ModuleNotFoundError: No module named 'setuptools.command.test'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Python version: 3.9
OS: Amazon linux 2023

Collecting JPype1>=0.7.0 (from konlpy==0.5.2->-r /home/ec2-user/temp/requirements.txt (line 26))
Downloading JPype1-1.5.0.tar.gz (819 kB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 819.1/819.1 kB 14.4 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
    Traceback (most recent call last):
      File "/home/ec2-user/.local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
        main()
      File "/home/ec2-user/.local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
        json_out['return_val'] = hook(**hook_input['kwargs'])
      File "/home/ec2-user/.local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
        return hook(config_settings)
      File "/tmp/pip-build-env-6t_et_ky/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 327, in get_requires_for_build_wheel
        return self._get_build_requires(config_settings, requirements=[])
      File "/tmp/pip-build-env-6t_et_ky/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 297, in _get_build_requires
        self.run_setup()
      File "/tmp/pip-build-env-6t_et_ky/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 497, in run_setup
        super().run_setup(setup_script=setup_script)
      File "/tmp/pip-build-env-6t_et_ky/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 313, in run_setup
        exec(code, locals())
      File "<string>", line 26, in <module>
      File "/tmp/pip-install-g05f_xe7/jpype1_306aae43c5094b6a987c28393e0cfd40/setupext/__init__.py", line 25, in <module>
        from . import pytester
      File "/tmp/pip-install-g05f_xe7/jpype1_306aae43c5094b6a987c28393e0cfd40/setupext/pytester.py", line 20, in <module>
        from setuptools.command.test import test as TestCommand
    ModuleNotFoundError: No module named 'setuptools.command.test'

Solution can be found here in the meantime: https://github.com/pypa/setuptools/issues/4519#issuecomment-2254983472

@ilitygergo Thx :) I hope this will be solved soon


Convert text constraint definitions to JSON

Fixes #118 and moves us towards #146 and #70.
This PR converts shield text constraints to JSON, which allows the shield definitions to be pure JSON.  There is still some work we could do to reduce repetition in the JSON structure, but there's no longer any function pointers in the definition.
I also added npm scripts to generate the shield text definitions out to JSON at the command line.

Did something change with southHalfEllipseTextConstraint? Before/after/diff:

Yep, that looks pretty wrong

So the right hand graphic is a correct south-half ellipse and the original is wrong.  So somehow I fixed the bug...
I think for fishhead we actually want a rounded rect constraint for fishhead, because of its shape, which I changed here:


New website for Perth 2021

Please link the Perth 2021 event to this website: https://curtinic.github.io/ResBazPerth2021/

Updated by @r-lange


make Timeline::set_tracks(null_ptr) create a new Stack to fix crash

By David Baraff. Supercedes https://github.com/PixarAnimationStudios/OpenTimelineIO/pull/852 which had rebasing issues.
Fixes Timeline::set_tracks(nullptr) leads to bad state #851
Summarize your change.
Sets _tracks to a new Stack() if the incoming pointer is null
Reference associated tests.
Added a new test in test_tracks_set_null_tracks in tests/test_timeline.py

Codecov Report

Merging #961 (ed5722e) into master (2f4a3c5) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #961   +/-   ##
=======================================
  Coverage   85.61%   85.61%
=======================================
  Files         191      191
  Lines       18204    18212    +8
  Branches     2071     2071
=======================================
+ Hits        15585    15593    +8
  Misses       2088     2088
  Partials      531      531

Flag
Coverage Δ

unittests
85.61% <100.00%> (+<0.01%)
:arrow_up:

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

Impacted Files
Coverage Δ

src/opentimelineio/timeline.h
100.00% <ø> (ø)

src/opentimelineio/timeline.cpp
100.00% <100.00%> (ø)

tests/test_timeline.py
94.21% <100.00%> (+0.28%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2f4a3c5...ed5722e. Read the comment docs.


mod, a workaround function to fetch device parameters under "Device." at initialize

mod, a workaround function to fetch device parameters under "Device." at initialize

This issue was fixed at Oktopus latest release, but thank you for the effort. Your feeback at Slack helped us to fix it quicker.


feat: adding action bar tokens

Description
adding action bar tokens
Related Issue
DNA-1161

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

:tada: This PR is included in version 12.0.0-beta.26 :tada:
The release is available on:

GitHub release
npm package (@beta dist-tag)

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket: