[SSR] Possible bug with Intl.DisplayNames of type region

Environment

Operating System: Linux
Node Version:     v22.6.0
Nuxt Version:     3.12.4
CLI Version:      3.12.0
Nitro Version:    -
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      compatibilityDate, devtools
Runtime Modules:  -
Build Modules:    -

Reproduction
https://github.com/Kheuval/intl-reproduction
Describe the bug
Hello !
I face an issue with Intl on SSR.
When using new Intl.DisplayNames("en", { type: "region" }) and then console.log(regionNames.of("fr")) in a vue component, I get a different result on the server comparing to the client :

Note that it works as intended with the types language and currency.
You can test it yourself by cloning this repo : https://github.com/Kheuval/intl-reproduction
The issue doesn't seem to be on the Nitro side as I tested it here : https://stackblitz.com/edit/github-fo7zum?file=server%2Froutes%2Findex.ts but I might be wrong.
Thanks for your help :)
Additional context
No response
Logs
No response

This is likely a caveat with SSR.
nuxt-time exists to handle this: https://github.com/danielroe/nuxt-time.
I'd welcome an issue for adding Intl.DisplayNames to nuxt-time.

Thanks for your answer, will do !


[QUERY]  Figure out if ASR protection is enabled for VMs using Azure SDK for Java

Query/Question
I'm trying to figure out if ASR protection is enabled for VMs using Azure SDK for Java. However, there's no way of getting  the details of whether ASR is enabled and get the corresponding vault details (Vault, Fabric, Container, etc)  directly from the virtual machine info using AzureResourceManager
Currently I am using a brute force approach like below
recoveryServicesManager.vaults().list().stream().forEach(vault -> {
    siteRecoveryManager.replicationFabrics().list(vault.name(), vault.resourceGroupName()).stream().forEach(fabric -> {
        siteRecoveryManager.replicationProtectionContainers().listByReplicationFabrics(vault.name(), vault.resourceGroupName(), fabric.name()).stream().forEach(protectionContainer -> {
            siteRecoveryManager.serviceClient().getReplicationProtectedItems().listByReplicationProtectionContainers(vault.name(), vault.resourceGroupName(), fabric.name(), protectionContainer.name()).stream().forEach(replicationProtectedItemInner -> {
                if (replicationProtectedItemInner.properties().friendlyName().equals(vmId)) {
                    log.info("vm id {} has asr enabled ", vmId);
                }
                log.info("vm with asr enabled is  {} ", replicationProtectedItemInner.properties().friendlyName());
            });
        });
    });
});

Need a better way to find out if ASR is enabled for a particular VM, without having to make so many API calls
Why is this not a Bug or a feature Request?
I tried finding if there is a way to find out if ASR is enabled for a particular VM, but could not find it via API docs. I am not sure whether there is a way. Hence have not opened a feature request until i get a confirmation
Setup (please complete the following information if applicable):

Library/Libraries:
com.azure.resourcemanager:azure-resourcemanager:2.20.0
com.azure.resourcemanager:azure-resourcemanager-recoveryservicessiterecovery:1.0.0
com.azure.resourcemanager:azure-resourcemanager-recoveryservices:1.2.0

@XiaofeiCao for help.
Maybe Azure resource graph with join?
https://azure.microsoft.com/updates/introducing-new-azure-resource-graph-functionality-join-support-for-azure-resource-graph/

@XiaofeiCao I would be grateful for any help regarding this requirement


Add PDF guide to edit fields for building

See changes made to the create from by @pipieter https://github.com/SELab-2/Dr-Trottoir-3/pull/273 to support it at creation time. Should also be a field to edit.


Search filtering/ordering

In response to the search engine improvements, I have a few suggestions to add.

[ ] Search filtering
Filtering results by tags, users, number of views, or submissions over a certain period of time (this day, week, month, e.t.c)

[ ] Search ordering
Ordering search results by number of stars, views or comments.

[ ] Searching without keywords
The ability to make search queries without having to use keywords (for finding top viewed circuits, most commented circuits, circuits submitted this week, e.t.c)

If this is to be worked upon now, then I would like to work on Search ordering.

Related to #21, @agarwalrounak I feel filters can be worked on once the actual search is ready.  Since the original issue is tagged with 'Future' and this also happens to be a GSoC project. I have a feeling we are supposed to present our proposals now and eventually work on them during the summers.

@tachyons we can close this issue since #319 fixed the issue #21
And this issue is the same as #21


implement is_zeroes for checking all-zero hex strings

This PR introduces is_zeroes helper function, which makes it easy to check if a hex string consists entirely of zeroes, with optional support for a "0x" prefix. This function will be helpful in scenarios where we need to verify if a given value is zeroed out, such as in blockchain, cryptographic where null values are often represented as zero-filled hex strings.

Thanks, however I don't feel like this provides any benefit vs just implementing it locally with for example s.strip_prefix("0x").unwrap_or(s).bytes().all(|b| b == 0). Generally you deserialize into a byte array and can check it afterwards easier like s.iter().all(|&b| b == 0).


Resolve conflicting requirements on long strings in the Coding Style guideline

The official coding guideline at https://www.openssl.org/policies/codingstyle.html says:

Indentation is four space characters.

The limit on the length of lines is 80 columns.

Never break user-visible strings, however, because that breaks the ability to grep for them.

As I mentioned in https://github.com/openssl/openssl/pull/6218#discussion_r187581896,
I tried strictly following these rules but this is not possible with long user-visible strings.
So I ask for clarification of the coding guidelines in this respect.
As @mattcaswell put it in https://github.com/openssl/openssl/pull/6218#discussion_r187584238:

It seems that either we have to break the coding style's indentation rules, or the coding styles rules on not breaking user visible strings, or the coding styles rules on line length. One way or another the rules have to be broken in this case! I think the least offensive option (to me at least) is to indent it properly and break the 80 char limit.

I tend to agree that when using long strings sacrificing the line length limit hurts least.

Never break user-visible strings, however, because that breaks the ability to grep for them.

According to my understanding of the english language, the "however" in this sentence (which is the last sentence of Chapter 2) means that this rule overrules the previous ones. So I don't see any need to change the rules.

This implies that the last of the three requirements is the strongest,
but does not make clear (at least to some people including me)
whether then to sacrifice indentation or the line length limit.

Well, I would say the 80 column rule looses; there is a precedent a few lines above:

..., unless exceeding 80 columns significantly increases readability...

Also, the "however" only applies to Chapter 2 (80 column rule), not to Chapter 1 (indentation).

Reading @mattcaswell's comment,

I think the least offensive option (to me at least) is to indent it properly and break the 80 char limit.

I think I don't speak for myself alone. However, if you think the wording should be made more precise, you are welcome to make suggestions.

When I was a kid, my parent's got my sisters and I this book:  "Tiffany's Table Manner for Children"  It's renamed to "for Teenagers" apparently: https://www.amazon.com/Tiffanys-Manners-Teenagers-Walter-Hoving/dp/0394828771
It taught how to eat asparagus, which utensils to use and so on.  The last rule was "break these rules when appropriate."
That admonition holds here.  This is written by programmers for programmers to help make the code more clear.  Just do the right thing.

@mspncp, your points have convinced me that this must be the intended meaning,
and happily this corresponds to what I see as the most sensible option :)
I do value the idea of not breaking user-visible strings.
For extra clarity, one might re-phrase the sentence in question to:

However, let long user-visible strings go beyond 80 columns, because breaking them up would limit the ability to grep for them.

@richsalz, I'm glad that you speak for some relaxation here.
So when having a statement involving a long user-visible string such as
    if (condition)
        foo(arg1, "long long long long long long long long long long long long long long long msg");

what I'll do is to re-format it to
    if (condition)
        foo(arg1,
            "long long long long long long long long long long long long long long long msg");

where the string literal goes beyond 80 columns and is even followed by two further chars, namely );


Apply Dynamixel2Arduino

After "[Library Manager] register request: Dynamixel2Arduino library " has been processed, I will proceed remainder.


Implement recommender feature as per mock.

Change the current recommender feature's look to make it in sync with the mock.

Is this done @arunkumars08

@pmuir This is moved to another repository. fabric-recommender. I will close the issue here.


BREAKING CHANGE

Moved to options object - as per commit messages

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Iv is used uninitialized if iv parameter is 0 in AES_CBC_encrypt_buffer().

Hi!
It looks like Iv can be used uninitialized in AES_CBC_encrypt_buffer() if iv parameter is 0.
AES_CBC_encrypt_buffer(input, output, size, key, 0):
{
...
  if (iv != 0) // iv is 0, so next line is not executed
  {
    Iv = iv;
  }

  for (i = 0; i < length; i += BLOCKLEN)
  {
    XorWithIv(input);  // this function uses Iv, which is not initialized!

The same thing with AES_CBC_decrypt_buffer().
I suggest adding default value for initial vector:
#if defined(CBC) && CBC
  // Initial Vector used only for CBC mode
  static const uint8_t * Iv;
  static const uint8_t defaultIv[BLOCKLEN] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
#endif

and replace
  if (iv != 0) // iv is 0, so next line is not executed
  {
    Iv = iv;
  }

with
  Iv = iv ? iv : defaultIv;

in AES_CBC_encrypt_buffer() and AES_CBC_decrypt_buffer()

I think my issue is not correct. When I create it, I did not understand that passing 0 as iv parameter in very first call of AES_CBC_encrypt_buffer() is not allowed. So I close the issue, sorry for disturbance.


Updated to include Azure Portal

This article now contains references on how to configure LTR using Azure Portal, in addition to PowerShell. The header and intro didn't seem to reflect these updates.

@mdrakiburrahman : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@v-andreaco : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hi @mdrakiburrahman , thanks so much for this change! It certainly helps clarify the intent of the article :) #sign-off @ktoliver fyi
Thanks again!
Masha from the SQL Docs team
#reassign:MashaMSFT

@MashaMSFT: I'm sorry - only the author of this article, @shkale-msft, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


[Bug]: No images collection in socket response

What issue are you experiencing?
I have two systems communicating with each other via this plugin The entity to which websocket is bound looks like this: .
When comment:create event occurs, Strapi responds with this entity, but without images object:
Steps To Reproduce
No response
What version of the plugin are you using?
2.0.6
What strapi version are you using?
5

I have an off-topic? follow-up question, how did you get the relational content-type of "request" in the socket response?


Add a safe function for testing whether a value is a Range

Element access APIs often accept Range inputs to return a subslice of values. is_range validators exist in Array and MatchData implementations.
These implementations build on the mruby API mrb_range_beg_len, which can potentially raise. Calls to this function must be wrapped and have been known to be unsafe.
This PR moves the is_range implementation to the sys::protect module and uses the traits to wrap calls to mrb_range_beg_len in mrb_protect.
This PR adds Value::is_range that wraps sys::protect::is_range similar to Value::funcall.
This PR removes the duplicated implementations and updates arg parsing to delegate to the Value::is_range function.
Specs continue to pass after this change.
Fixes GH-308.

Related to GH-442.


Issue set graphics unmapped after processing $HOME/.ferret

Reported by karl smith on 21 Nov 2012 00:39 UTC
from Andrew
    The -unmapped and -batch options don't actually suppress output to
    the screen, at least in combination with -script.  Are you seeing
    this as well?

and my reply:
Haven't seen that.  The -unmapped, -gif, -batch options essentially
issue a "SET GRAPHICS UNMAPPED" Ferret command to hide the screen.
However, this can be overwritten/undone by issuing another SET GRAPHICS
command ("SET GRAPHICS HIGH") before a window is created.  If you have
such a command in your $HOME/.ferret script, this may be the cause.  If
this is the cause, I need to issue the unmapped command after I have
processed the $HOME/.ferrret script.

Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1994

Comment by andrew.wittenberg on 11 Dec 2012 21:53 UTC
But bug #2011 suppresses graphics output unless we do "SET GRAPHICS HIGH".  So it currently seems impossible to create graphics files in batch, unless we also have output to the display.  This, in turn, would probably prevent us from running batch scripts on machines without a display (like our analysis cluster).  Hence the high priority for this one.

Comment by karl.smith on 28 Dec 2012 18:13 UTC
This goes away with the change given in ticket #2006 (specify the graphics as part of the "set window" command).  The problem in ticket #2011 needs to be addressed.


attribute [-simp] is not persistent

When a definition is removed from the simp set via attribute [-simp], it is only removed for the current file. I would have expected it to remain removed in dependent files. MWE:
Test.lean:
structure A : Prop where
  p : False

theorem test1 : A = False := by
  fail_if_success solve | simp -- fails as expected
  sorry

@[simp]
theorem A_def : A ↔ False :=
  ⟨λ ⟨p⟩ => p, λ p => ⟨p⟩⟩

theorem test2 : A = False := by
  simp -- succeeds as expected

attribute [-simp] A_def

theorem test3 : A = False := by
  fail_if_success solve | simp -- fails as expected
  sorry

Test2.lean:
import Test

theorem test4 : A = False := by
  simp -- should fail but succeeds

I believe this is because erasing a simp theorem removes it from the SimpTheorems, but does not remove it from the ScopedEnvExtension's newEntries field, which contains the simp theorems that are persisted to the olean file.

That's on purpose.  Although it would probably be better to require a local keywords in there somewhere.
In your example you could just write @[local simp].

Does this mean there is no way to persistently remove a simp theorem? And is this expected behaviour for all erasable attributes?

Yes. Erasing attributes is troublesome because it makes imports order-dependent and potentially conflicting.

Okay, that's fair. Thank you both!


Python virtualenv failing during make process

I'm getting an error now while trying to make Lind in a new container via dockerhub
Installing collected packages: virtualenv
  Attempting uninstall: virtualenv
    Found existing installation: virtualenv 20.0.17
    Uninstalling virtualenv-20.0.17:
      Successfully uninstalled virtualenv-20.0.17
Successfully installed virtualenv-20.0.25
ImportError: No module named via_app_data.via_app_data
Command `python2 -m virtualenv ./venv` failed

This is happening reproducibly from multiple container downloads, and also is what probably caused Travis to fail earlier this week unexpectedly.
Something is going on with python/pip/virtualenv.
Luckily this was solved by uninstalling and reinstalling python2, but this needs to be propagated to the images somehow so it doesn't continue to happen.

Fixed this bug by pinning virtualenv to version 20.0.17. This will do for now. Though I do have some concerns about continuing with python2.

Very sadly re-opening this.
Build is now triggering mysterious errors in the binutils build. I saw this while trying to fix the pip virtualenv error before, but that was when the environment wasn't building properly. I believed I had fixed this since the build was working, but now I'm unable to replicate that.
The strange thing now is that the virtual environment is building correctly now, or seemingly so.
Because we haven't touched binutils, and this has worked intermittently, its hard to see that this is actually an error in binutils. Rather some environment variable is probably not being set correctly triggering some defines causing errors.
I'm going to recruit @jesings onto this to help blast away at this with me on Monday since this is now critically blocking any progress.

Log of build failing below.
newbuild.log

Unfortunately reverting back to previous working commits inside the built container still gives off this binutils error.
However, I do have a working container stored locally. If you pin virtualenv to 20.0.17, it builds both the virtual environment and binutils successfully, as well as the rest of the project. Hopefully having something to compare to may make this less of a nightmare, but still have more to investigate.

Thanks to help from Sumana I was able to see that the first make/virtualenv error is coming from a change between 20.0.23 and 24 versions of virtualenv. The changelog is here.
I'm still not sure this is the source of the downstream binutils error.
I also attempted to build binutils without the toolchain "natively" by going into lind/nacl-binutils and just doing a ./configure && make This interestingly also yielded the error that were breaking on with multiple definitions. This may be further evidence that something isnt being set up right.
I've got the "working" image and the newer built image both on the server, and built both with logs, attached below. I also trimmed the "working" log to just the end of the binutils build, because its quite large and this makes comparison easier (that version is labeled working-redux).
working-redux.log
broken.log

We found the source of the problem. Apparently, gcc-10 gives errors when compiling binutils, we previously had used gcc-9. So this error is separate from the virtualenv error, they just coincidentally came from updates at the same time.
I've made some changes to the docker build process to keep things at working versions for the time being.

This has been fixed and the docker process revamped to avoid this in the future.


Fix paths and env vars

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

This PR adds $DOTNET_ROOT/tools as an environment-local tool cache which can be used as below:
dotnet tool install --tool-path "$DOTNET_ROOT/tools" Tool.Name


warning when compile: returning reference to temporary [wreturn local addr]

when compile the code, usually happen the warning: returning reference to temporary [wreturn local addr] and firebase will not return any description, if firebase error occur.
We should change the function in Firebase.cpp like this, then OK.
Please test it by your self, and update below function the file "Firebase.cpp" if helpful.
const String& FirebaseArduino::error() {
static const String& s = error_.message().c_str();
return s;
}

Yes, we should store the ref as an Arduino String and just return a reference to itt

yes, thank you @proppy but this solution is not completed yet. Because I used "static const String& s" then it always return firebase error at the first time. (mean the next error also return the first error message). But if not declare "static" is no warning while compile, but error  return nothing.

@lenguyenvu007 thanks for the followup, I meant that we could store the message_ as a String instead of a std::string in https://github.com/firebase/firebase-arduino/blob/master/src/FirebaseError.h#L21
And then just return a reference to it, instead of a ref to a temporary copy.


Is it possible to have only one server directory for multiple users?

Given 50 users on a machine that will be used as remote development it feels bad to have 50 server installations.
Is there an option to limit this to one?

Not right now.
Thing to take into consideration:

this would only apply to content in ~/.vscodium-server/bin/ ( ~/.vscodium-server/data/ and ~/.vscodium-server/extensions/ should be local for each user or bad thing could happen e.g. users overwriting data from each other)
There will still be 50 different server processes, each one launched by a different user

Agreed; and as .vscodium-server-insiders/bin shows to be nearly 200MB definitely useful :-)
Concerning data: vscode as the option to specify the --data-dir; is this possible for code-server, too, and if yes is it possible to tweak the server launch options in this extension (that may be a nice option in any case)?
Concerning extensions: sharing the same folder would be actually quiet useful. Most users have the same extensions and both the configuration and setting enabled/disabled is part of the data, isn't it (I'm not sure)?

Would synlinking a root directory to .vscodium-server-insiders/bin solve this?

That's what I've gone with:

doing the install once (placed into my user directory), verified everything worked, closed VSCodium
moved the .vscodium-server-insiders/bin and .vscodium-server/bin to a "common folder /opt/codium
set the owner and the group recursively so that each user in a group can access it and some have write access
created symlinks in my home directory
started VSCodium, verified everything worked
created the same symlink in a bunch of user folders
let them start VSCodium

This workaround is "working" but I'd prefer to set a user configuration / environment variable to do the install and search in the common configured place (in my case /opt/codium) instead of all this work (and remembering to create the symlinks for new users).


[Security]: non-severe vulnerability

Describe the bug
We found a heap-buffer-overflow in copyn_utf8_str function of mqtt_parser.c when it processes malformed messages. ( After  fixed  in the #1043. the call stack is different)
Expected behavior
A clear and concise description of what you expected to happen.
 If so plz merge the issues
BTW, we use macro func here for the sake of performance.
From my view, this is a non-severe complaint from ASAN. It will be dropped, although the strlen here exceeds the packet length.  It still works If ASAN is turned off.
I am not saying I don't want to fix this, but just for balancing performance & security, it is not urgent.

@songxpu are you with @gazer-star ? If so plz merge the issues BTW, we use macro func here for the sake of performance. The poor design of MQTT protocol creates a lot of troubles on security, especially if I wanna achieve best equilibrium of mem and performance. In my view, this is a non-severe complaint from ASAN. It will be dropped, although the strlen here exceeds the packet length. It still works If ASAN is turned off. (If not, then it is my fault, plz send me the packet data)
I am not saying I don't want to fix this, but to balance performance & security, it is not urgent.

Hi, we are not together.
Then， I found that my reply above was incorrect and should have replied to the other issue, so I deleted it.
With regard to the bug fix plan, I agree with your suggestion。

songxpu

Nevermind, thanks for discovering issues for nanomq.
I will leave this issue as wont-fix for now

Thanks for your comments. With regard to the bug fix plan, I agree with your suggestion.

Describe the bug
We found heap-buffer-overflow in copyn_utf8_str function of mqtt_parser.c with 4 different call stack and 4 POCs, when it processes malformed messages . ( After fixed in the https://github.com/nanomq/nanomq/issues/1043. the call stack is different)
Expected behavior
A clear and concise description of what you expected to happen.
Actual Behavior
Heap-buffer-overflow
To Reproduce
Run the broker(build with ASAN and TSAN) with the ./nanomq start command
nc <IP_ADDRESS> 1883 < 1178-poc.raw
1178-poc.raw.zip
copyn_utf8_str in mqtt_parser.c:227:2

conn_handler in mqtt_parser.c:682:16

Asan Log
==3476660==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60300000c2c3 at pc 0x0000006b18f2 bp 0x7f84f41cd8b0 sp 0x7f84f41cd8a8
READ of size 1 at 0x60300000c2c3 thread T8 (nng:task)
#0 0x6b18f1 in copyn_utf8_str /home/user/nanomq/nng/src/sp/protocol/mqtt/mqtt_parser.c:227:2
https://github.com/nanomq/nanomq/pull/1 0x6ba8ac in conn_handler /home/user/nanomq/nng/src/sp/protocol/mqtt/mqtt_parser.c:682:16
https://github.com/nanomq/nanomq/pull/2 0xa879ef in tcptran_pipe_nego_cb /home/user/nanomq/nng/src/sp/transport/mqtt/broker_tcp.c:363:13
https://github.com/nanomq/nanomq/pull/3 0x646595 in nni_taskq_thread /home/user/nanomq/nng/src/core/taskq.c:50:4
https://github.com/nanomq/nanomq/pull/4 0x64caf0 in nni_thr_wrap /home/user/nanomq/nng/src/core/thread.c:94:3
https://github.com/nanomq/nanomq/pull/5 0x66a073 in nni_plat_thr_main /home/user/nanomq/nng/src/platform/posix/posix_thread.c:266:2
https://github.com/nanomq/nanomq/pull/6 0x7f84faa01608 in start_thread /build/glibc-SzIz7B/glibc-2.31/nptl/pthread_create.c:477:8
https://github.com/nanomq/nanomq/pull/7 0x7f84fa78d132 in clone /build/glibc-SzIz7B/glibc-2.31/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Actual Behavior
Heap-buffer-overflow
To Reproduce
Run the broker(build with ASAN and TSAN) with the ./nanomq start command
nc <IP_ADDRESS> 1883 < 1178-poc.raw
mqtt_parser.c:725:7
<EMAIL_ADDRESS>
Asan Log

==3644123==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x604000010673 at pc 0x0000005edb81 bp 0x7f66497d88f0 sp 0x7f66497d88e8
READ of size 1 at 0x604000010673 thread T6 (nng:task)
#0 0x5edb80 in copyn_utf8_str /home/user/nanomq/nng/src/sp/protocol/mqtt/mqtt_parser.c:227:2
https://github.com/nanomq/nanomq/pull/1 0x5f3b50 in conn_handler /home/user/nanomq/nng/src/sp/protocol/mqtt/mqtt_parser.c:725:7
https://github.com/nanomq/nanomq/pull/2 0x816b7d in tcptran_pipe_nego_cb /home/user/nanomq/nng/src/sp/transport/mqtt/broker_tcp.c:363:13
https://github.com/nanomq/nanomq/pull/3 0x5b467b in nni_taskq_thread /home/user/nanomq/nng/src/core/taskq.c:50:4
https://github.com/nanomq/nanomq/pull/4 0x5b7d4c in nni_thr_wrap /home/user/nanomq/nng/src/core/thread.c:94:3
https://github.com/nanomq/nanomq/pull/5 0x5c78e0 in nni_plat_thr_main /home/user/nanomq/nng/src/platform/posix/posix_thread.c:266:2
https://github.com/nanomq/nanomq/pull/6 0x7f664efde608 in start_thread /build/glibc-SzIz7B/glibc-2.31/nptl/pthread_create.c:477:8
https://github.com/nanomq/nanomq/pull/7 0x7f664ed6a132 in clone /build/glibc-SzIz7B/glibc-2.31/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Isn't the POCs the same as above? There's no more heap-buffer-overflow with these POCs. Please make sure you are using the latest version.

So sorry about that. The bugs have already been fixed. Please ingore these comments.


allow contacts to be looked up through field

Allow contacts to be looked up by specifying a field and field value, as well as the delivery class. This is to form part of the plan to replace delivery classes with address types. Full plan discussed here: https://github.com/praekelt/go-contacts-api/pull/29#issuecomment-73244656

It looks like this branch needs develop merged in in order to pass Travis tests? Although I'm confused by the earlier passing build on the branch.

Left some minor comments, otherwise looks good.

@hodgestar Ready for another review.

:+1:


POSTing to WebhookAgent results in unexpected behavior.

To get some data into Huginn (a list of URLs, specifically), I'm trying to take advantage of the fact that passing a JSON array to the payload_path option would result in the emission of an event for every element in the array.  Here's the POST body I'm using:
{"results": ["http%3A//www.thebestfiles.com/query/little-fucking-little-pictures",
"http%3A//sky.2008records.com/index.htm", "http%3A//www.imdb.com/title/tt0112123/",
"http%3A//weylin.org/index.php%3Foption%3Dcom_booklibrary%26task%3Dview%26catid%3D17%26id%3D4",
"http%3A//vaporizer-info.com/en/vaporizer/arizer-v-tower",
"http%3A//looneytunes.wikia.com/wiki/Pinky_and_The_Brain_%28characters%29",
"http%3A//www.pinkymckay.com/wiring-tiny-brains-to-manage-stress/",
"http%3A//www.avclub.com/article/pinky-and-brains-original-voice-actors-return-swea-207611",
"http%3A//tickets.telegraph.co.uk/sitemap/",
"http%3A//tvtropes.org/pmwiki/pmwiki.php/WesternAnimation/PinkyandTheBrain",
"http%3A//www.record-court.com/default.htm",
"https%3A//en.wikipedia.org/wiki/Pinky_and_the_Brain",
"http%3A//www.tv.com/shows/pinky-and-the-brain/",
"http%3A//metatalk.metafilter.com/23658/Tell-Us-A-Fascinating-Thing-About-Yourself",
"http%3A//pinkyandthebrain.wikia.com/wiki/Pinky",
"http%3A//howtoselldentalpractice.co.uk/about-frank-taylor-associates-practice-sales/",
"https%3A//en.wikiquote.org/wiki/Pinky_and_the_Brain",
"http%3A//www.imdb.com/title/tt0674882/",
"http%3A//realtech.burningbird.net/semantic-web/semantic-markup/building-standards-sand"]}

However, a JSON array is not being received by WebhookAgent.  I'm not entirely sure what you'd call this:
{
  "{\"results\": ": {
    "\"http://www.thebestfiles.com/query/little-fucking-little-pictures\",
\"http://sky.2008records.com/index.htm\",
\"http://www.imdb.com/title/tt0112123/\",
\"http://weylin.org/index.php?option=com_booklibrary&task=view&catid=17&id=4\",
\"http://vaporizer-info.com/en/vaporizer/arizer-v-tower\",
\"http://looneytunes.wikia.com/wiki/Pinky_and_The_Brain_(characters)\",
\"http://www.pinkymckay.com/wiring-tiny-brains-to-manage-stress/\",
\"http://www.avclub.com/article/pinky-and-brains-original-voice-actors-return-swea-207611\",
\"http://tickets.telegraph.co.uk/sitemap/\",
\"http://tvtropes.org/pmwiki/pmwiki.php/WesternAnimation/PinkyandTheBrain\",
\"http://www.record-court.com/default.htm\",
\"https://en.wikipedia.org/wiki/Pinky_and_the_Brain\",
\"http://www.tv.com/shows/pinky-and-the-brain/\",
\"http://metatalk.metafilter.com/23658/Tell-Us-A-Fascinating-Thing-About-Yourself\",
\"http://pinkyandthebrain.wikia.com/wiki/Pinky\",
\"http://howtoselldentalpractice.co.uk/about-frank-taylor-associates-practice-sales/\",
\"https://en.wikiquote.org/wiki/Pinky_and_the_Brain\",
\"http://www.imdb.com/title/tt0674882/\",
\"http://realtech.burningbird.net/semantic-web/semantic-markup/building-standards-sand\"": {
      "}": null
    }
  }
}

I'm not sure if I'm misusing the payload_path option, or if JSON parsing isn't working correctly, or what.  I can post a copy of my WebhookAgent if necessary.

That's bizzare, but it seems like Rails may be seeing a huge single string being POSTed, not valid JSON data.  Are you posting with content type JSON and a payload of the data you showed?

Content-type: "application/json"?  I don't know.  I'll check tonight after work.
Payload of the data I showed?  Yes, that was a cut-and-paste of the POST body right out of my application.

I'm fairly confident that you're not sending a valid JSON POST request.
curl -H "Content-Type: application/json" -X POST -d '{"key":"value","key2":"value2"}' http://localhost:3000/foo/bar

I've added this header to my POST request.  I'll give it a try later today.

It works!  Please don't close this ticket out until I've had a chance to write the wiki page describing how to use the Webhook Agent.

Created a wiki page which explains how to use it: https://github.com/cantino/huginn/wiki/Using-a-Webhook-Agent-with-external-software

Thanks for writing this!
Information POSTed into a Webhook Agent must be correctly formatted JSON. All HTTP requests made to a Webhook Agent must have the Content-Type: application/json HTTP header, otherwise you'll get bizarre results.

This isn't technically true.  Rails also supports POSTs in form encoding with a syntax for describing nested structures, but JSON is probably easier.


Allow kerblam run to have a default test profile

During testing, it's often the case that real data must be swapped with test data (e.g. input.txt swaps with test_input.txt, etc...).
It would be useful if Kerblam! had a default profile for this case, assuming that all files <slug> must be swapped with test_<slug> when running kerblam run --profile test, as if you had written the following TOML:
[data.profiles.test]
"input.csv" = "test_input.csv"
"other.txt" = "test_other.txt"

In this way one could simply place test files alongside normal files and execute test runs with ease, without any configuration.
If the user writes their own data.profiles.test profile, this behavior must be overridden.

This was fixed in #52


Remove 3.0.1 release tag?

I stumbled upon the v3.0.1 tag, which appears to be made in error. The tag is for a commit made almost two years ago and behind the master branch by more than 100 commits. The latest release, v0.6.0, is more recent despite its lower version number.
I’d suggest removing the v3.0.1 tag. It’s not been published on crates.io as far as I can tell, so the risk of others depending on the v3.0.1 is low. However, I think that the tag is still problematic because it takes precedence over actually newer tags (such as v0.6.0) according to semantic versioning.

Thank you. I removed the tag.

@sthiele: Thanks!


Error Transferring EOS assets

While attempting to transfer a custom token I added (which was verified and shows it being in my wallet) from an airdrop I received this error message:
{"code".500,"message"."Internal Service Error","error".{"code".3100008,"name"."unsupported_feature","what"."Feature is currently unsupported","details".[{"message"."Returning WAST from get_code is no longer supported","file"."chain_plugin.cpp","line_number".1538,"method"."get_code"}]}}
Does EOS voter 2 not allow for transfer of EOS-asset tokens that aren't EOS itself?

That error gets returned if you're using an old version of the wallet. A couple months ago there was a change to the way contracts are processed (like custom token contracts) which requires an upgrade to correct.
Updating the app should resolve this issue.

That fixed it, i thought i was on the latest version but i wasnt. Thank you!


hop-node: L2Bridge: Use Type 0 tx type for Polygon commitTransfers txs

Uses type: 0 for tx type for commitTransfers if source chain is polygon

@miguelmota does the type need to be defined throughout the GasBoostTransaction class as well? Some poentital places: 1, 2 3, 4 5

@shanefontaine you are correct. The code has been updated and I added a test to verify type 0 txs


doc: start migration guide documentation for Jest

Adds a note about lack of DOM clean up when globals are off (as per https://github.com/vitest-dev/vitest/issues/682#issuecomment-1030984679), and restores the doc change added in https://github.com/vitest-dev/vitest/pull/467 which was removed.

Not sure it should be in comparisons.
Also, your doc change wasn't removed, it was moved to API section: https://vitest.dev/api/#vi-mock

@sheremet-va Good idea. I've updated this PR to start a Migration Guides area instead and added a some additional issues I ran into while migrating some projects.
Might be good to have a few more folks contribute to this doc before making is live as it's pretty light right now. Thoughts?


bug fixes of issues found during langchain integration

#575  👈
main

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

Join @BelSasha and the rest of your teammates on  Graphite


Fix Session Serialization

 Warning in UI-Console für Deprecated Time-Function

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

22 of 22 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 84.047%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
34809

Relevant Lines:
41416

💛  - Coveralls

bors merge


New Genesis Template cli command

Summary of changes
Changes introduced in this pull request:
Added new CLI command to create Genesis template.
Lotus-seed output for reference:
{
  "Accounts": [],
  "Miners": [],
  "NetworkName": "localnet-a793c73a-4db3-4755-910e-7466bce48023"
}

Forest's output:
{
  "accounts": [],
  "miners": [],
  "network_name": "my-network"
}

How to test
build and run
forest genesis new-template
Provide network name and output path optionally:
forest genesis new-template -n "my-network" -f "./genesis_out.json"
Reference issue to close (if applicable)

Closes #580
Other information and links

One general note so far, is i'd add this attribute to the serde-able structs to get pascal casing so we can match Lotus #[serde(rename_all = "PascalCase")]

One general note so far, is i'd add this attribute to the serde-able structs to get pascal casing so we can match Lotus #[serde(rename_all = "PascalCase")]. Also thanks so much for the contribution!!! It's always so exciting getting external contributors

Added PascalCase.
Ya, absolutely, the pleasure is all mine :+1:

@austinabell @ec2 please merge when you have a chance. Thanks :D

@snaumov thank you !


More consistent hover states for styles and components

Currently we use a mix of +/- 10% brightness for a lot of hover states (ex: Buttons, etc). The standard for most libraries is to increase brightness on hover state, so we'll aim for that to be our new default. Of course this can typically be overwritten and changed on a per-component basis using the props/TW styles. But consistent defaults would be nice!

These updates are now complete and ready for testing. The most notable change is to tabs. We didn't really have hover styles. The TW classes have been updated to allow for this. Likewise I've split the highlight prop into two dedicated props:
border - controls the highlighted element's border color
fill - controls the highlighted element's SVG icon color
These needed to be set on different elements so best to do it this way. Results are more consistent and work well in practice. Plus it open the door for two-tone icon/label highlights.


Improper alignment using input with add-on within card

Inputs with an addon, placed within a card seem to get centered in it's parents container, and have unnecessary space around them. I tried just about everything, using utility classes to strip padding, margin, and set floats, but nothing works.
http://i.stack.imgur.com/a8A7Q.jpg
http://stackoverflow.com/questions/33679680/bootstrap-4-0-0-alpha-improper-alignment-using-input-with-add-on-within-card

This is a result of nested display: table styles. Unsure how best to reset that just yet.

Any movement on this? Or, any suggestions on how I can override the css to resolve it?

This was closed by our move to flexbox by default in #21389.


Sidebar showing invisible items when collapsed in Tenant UI

On latest the configuration options are not showing menu items when collapsed

I have a feeling this is already done. But I'll have a look.


Implement CSS editor

Opened 2011-03-15
The CSS editor in the preferences window is currently grayed out. We should implement a full color scheme editor.
My ideas:

it should allow the user to select from all the color schemes in $(prefix)/share/chimara/themes and ~/.chimara/themes
only the ones in the user's home directory should be editable
there should be an 'add' button which copies a downloaded or handwritten css file to the user's themes directory
a 'duplicate' button which copies a css file to a new name in the user's themes directory
a 'remove' button which only removes themes from the user's themes directory
it should apply directly to the currently running game, and should not have to restart the game to see the new theme like it does now

@ptomato commented 2012-09-16:

Consider when integrating into Grotesque.

@ptomato closed 2012-09-16


[Bug] Onsen-Meguri solver cannot parse two clues in an area

The bug located: onsen id should update with clue counts.
The puzzle reference is:

http://pzv.jp/p.html?onsen/10/10/akkh92j6mt9pjvfti91svv1vvovv3g3f04ti3m2n1j1x1zq2v3n3
https://puzz.link/p?onsen/15/15/9018m2kqm9jbr3a9f853qcfj996k6esa8alac2v892cvv0sj4086g5lb4a6qqeh7q2404c5nvq8cvi30m098zzzzzzj.u..zzzzi

Fixed in penpa-edit-frontend which will be merged into dev later.


BUG: DataFrame.drop() does nothing for non-unique Datetime MultiIndex

[x] closes #12701
[x] tests added / passed
[x] passes git diff upstream/master | flake8 --diff
[x] whatsnew entry

Closes #12701
Follows the suggested fix in the comments to the bug report.
Also added a line in whatsnew and a test.
Regarding the tests it passes the one I added. But I just noticed that plenty others fail and I have yet to find out whether it's caused by this (who knows, it might)
Update: It's the same tests failing on master branch as on this one (phew..). I guess the errors deserve bug reports but that's for another time.

@jonaslb nothing fails on master main build. There is a single failure on 2 of the compat builds, but these are known.
are you talking about something specific?

@jreback Here's a gist (7 errors / 2 failures) of my test-run. Yes I guess it's specific since it's something with clipboard and then there are some index and slice problems apparently. But lets wait and see what travis says - I'm pretty certain I didn't mess it up with this commit :) Sometime later I'll look more into it and maybe make bug reports.

thanks @jonaslb


vscode-extensions.foam.foam-vscode: 0.13.7 -> 0.14.1

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase 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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 130831 at 36a2cf46 run on x86_64-linux 1

1 package built successfully:

vscode-extensions.foam.foam-vscode

4 suggestions:

warning: unused-argument
Unused argument: buildEnv.
Near pkgs/misc/vscode-extensions/default.nix:1:16:
  |
1 | { config, lib, buildEnv, callPackage, vscode-utils, asciidoctor, nodePackages, jdk, llvmPackages_8, nixpkgs-fmt, jq, shellcheck }:
  |                ^

warning: missing-phase-hooks
configurePhase should probably contain runHook preConfigure and runHook postConfigure.
Near pkgs/misc/vscode-extensions/vscode-utils.nix:21:12:
   |
21 |     inherit configurePhase buildPhase dontPatchELF dontStrip;
   |            ^

warning: missing-phase-hooks
buildPhase should probably contain runHook preBuild and runHook postBuild.
Near pkgs/misc/vscode-extensions/vscode-utils.nix:21:12:
   |
21 |     inherit configurePhase buildPhase dontPatchELF dontStrip;
   |            ^

warning: build-tools-in-build-inputs
unzip is a build tool so it likely goes to nativeBuildInputs, not buildInputs.
Near pkgs/misc/vscode-extensions/vscode-utils.nix:25:5:
   |
25 |     buildInputs = [ unzip ] ++ buildInputs;
   |     ^


syntax/fstab.vim: Add syntax highlighting for other strings

Added 'rpc_pipefs' type keyword and 'managed' and 'pamconsole' general options.
This originates from old Fedora patch.
Would you mind merging it?

@chrisbra, @zdohnal, got it, thanks. Added to https://github.com/rid9/vim-fstab/releases/tag/1.6.2

The fix was committed during the last update of runtime files, thank you for adding it!


[Linux][Docker]how to write log file In an absolute path

my  program run on docker.  I  need write log file in an absolute path, Like /data/logs/XXXX
This my config file
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      autoReload="true">
  <variable name="logDir" value="/data/logs/app"/>
  <targets>
    <target name="production" xsi:type="File"
            fileName="${logDir}/${shortdate}.log" />
  </targets>
  <rules>
    <logger name="*" minlevel="Info" writeTo="production" />
  </rules>
</nlog>

but it not Work correctly
can  you  help  me？

What isn't working? No logs at all? Your config looks fine. Please check the internal log and the location and caps of the config file name.

OK  OK  It's OK     I was careless。
my config file name  is   nlog.config.   but in program I write Nlog.config.
on windows it's ok.  but on linux  it's error.
Thank You!  Your Nlog  is very good!!!!

OK glad it has been solved!


[Request] Nord: Increase Clickable Thickness of Track Bar

Hi @doubletruth ,
May I request that the thickness of the playback track progression bar is increased slightly in the Nord theme? As it is currently designed, it is very difficult to click locations on the bar to jump around in a track.
Let me know if I can help in any way. Thanks!

@rien333

I agree that the progress bar is hard to click, but then again, I rarely want to jump to specific moments in songs. So I feel like its importance warrants its size.  Most music players I've used have small progress bars (see this iTunes screenshot),  or lack them all together (e.g. cmus).
What I would suggest instead is that you bind some key(s) to seek forward/backward in songs. That way, you won't ever miss the progress bar, and get a lot more precision and speed going. spicetify allows you to do this. For example, you could add the following code to the keyboardShortcut.js extension (and run spicetify apply afterwards):
registerBind("[", false, false, false, seekBackward);
registerBind("]", false, false, false, seekForward);

...

function seek(amount) {
    Spicetify.Player.seek(Spicetify.Player.getProgress() + parseInt(amount) * 1000);
}

function seekBackward() {
    seek(-10)
}

function seekForward() {
    seek(10)
}

This will now jump backward/forward on [ and ]. You can make multiple functions (one that seeks very far, and one that seeks very precise),  or just change the value 10 if you want more fine-grained control over seeking.

Nonetheless, the progress bar is indeed too hard to click. Interestingly, the volume bar slider is way less easy to miss. It seems to have some non-visible height that adds to it's clickable bounding box (see the css inspector). If you could add a few pixels of such a non-visible height to the progress bar I would happily put it in the theme (and maybe just a couple of more for the visible portion of the bar). I must say that my css is not good enough to implement this myself, nor do I care enough atm to learn more of it.
That said, like I've already said before, most of the css is not done by me, but by the main spicetify developer (I imagine that holds for a lot of other themes too). If you think some bar is too small, and should have a little extra non-visible height added to it, you should probably open an issue in the main repo.

@khanhas


dlopen: cannot load any more object with static TLS

warpctc_tensorflow sometimes raises this error if it is imported after tensorflow imports another library that uses a *.so file, like in the following case:
>>> import tensorflow.contrib.ffmpeg
>>> import warpctc_tensorflow

tensorflow.python.framework.errors_impl.NotFoundError: dlopen: cannot load any more object with static TLS

A temporary fix is to just import warpctc_tensorflow beforehand, which seems to not trigger the error.
>>> import warpctc_tensorflow
>>> import tensorflow.contrib.ffmpeg

This fix, however, is quite ugly, and often means importing warpctc_tensorflow in the central main.py or train.py, as well as all associated test runners, etc. The actual ctc function is often only called in a small library function.

A link to a relevant bug:
http://stackoverflow.com/questions/19268293/matlab-error-cannot-open-with-static-tls


Fix bug with ingress host for gateway service

Also updating to use ubuntu-latest virtual host machine for the GitHub actions

Looks good. We need to revisit host and host suffix variables. There should be only one.


KAFKA-12615: Correct comments for the method Selector.clear

According to my understanding, the second clearCompletedSends which is highlighted as followed should be clearCompletedReceives
/**
Clears all the results from the previous poll. This is invoked by Selector at the start of
a poll() when all the results from the previous poll are expected to have been handled.

SocketServer uses clearCompletedSends() and **clearCompletedSends**() to
clear `completedSends` and `completedReceives` as soon as they are processed to avoid
holding onto large request/response buffers from multiple connections longer than necessary.
Clients rely on Selector invoking {@link #clear()}
at the start of each poll() since memory usage
is less critical and clearing once-per-poll provides the flexibility to process these results in
any order before the next poll.
*/

Thanks for the PR. This looks like a duplicate of https://github.com/apache/kafka/pull/10477, so closing.


ECONNREFUSED <IP_ADDRESS>:9324

Hi,
I get this error when running serverless offline with this plugin turned on:
(node:54160) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED <IP_ADDRESS>:9324
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1113:14)
(node:54160) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)

Any idea why this is happening? Thanks!

are you running it in Docker? can you share your docker-compose and serverless.yml?

I am not using Docker for this. Should I create a demo project, zip it up and post it here?

how do you run elasticMQ then?
https://github.com/godu/serverless/tree/master/packages/serverless-offline-sqs#sqs

Ah, I don't. This is the problem. I thought that the plugin starts its own queue, but it uses ElasticQueue instead. I'll have to set that up. Thank you and sorry about this! Hopefully it will help someone in the future.

@pkout If you don't want to spend hours setting it up, just install docker and use the docker compose in the example: https://github.com/godu/serverless/tree/master/packages/serverless-offline-sqs/example

Will do. Thanks for the tip!


Android crash

Hi,
Our React Native app that is using the ViroReact AR crash a lot, so I have been trying to debug with logcat to see if could find something. One of the error messages that appeared was
Abort message: '/Users/danielthian/Desktop/VideoWorkspace/bulletiOS/bullet3-2.86.1/src/LinearMath/btVector3.h:312: btVector3 &btVector3::normalize(): assertion "!fuzzyZero()" failed
I usually have to quit the app and start it up again.
When the AR works logcat keeps printing.
E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 ) E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xddf80000)
Are there something I can do to keep this errors from happening?
Thanks

Hi @cjrorvik,
For us to diagnose the issue can you please provide:

Devices you are using to test, and their platform versions.
ADB logs leading up to and after the crash occurs. If not please at the very least provide the entire crash stack trace.
Sample code that reproduces the crash.
From the sample code, repo steps on how you've interacted with the app to reproduce the crash.

Thanks!

I am using a Samsung S8. It seems like the ArScene is not being properly disposed/unmounted while navigating back to the previous view in our app. Logcat prints out a lot of messages that the camera is still in use "ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )".. I think that might be the issue why it keeps on crashing. It's using a lot of memory.
We are using React-Navigation. Are there any proper way to dispose everything that has to do with AR when unmounting the AR component?
12-20 10:30:14.449  5751  5751 E ACameraMetadata: getConstEntry: cannot find metadata tag 851980
12-20 10:30:14.449  5751  5751 E ACameraMetadata: getConstEntry: cannot find metadata tag 1310721
12-20 10:30:14.449  5751  5751 E ACameraMetadata: getConstEntry: cannot find metadata tag 1638401
12-20 10:30:14.449  5751  5751 E ACameraMetadata: getConstEntry: cannot find metadata tag 851980
12-20 10:30:14.449  5751  5751 E ACameraMetadata: getConstEntry: cannot find metadata tag 1310721
12-20 10:30:14.449  5751  5751 E ACameraMetadata: getConstEntry: cannot find metadata tag 1638401
12-20 10:30:14.449  5751  5751 E tango_camera_native: 2 is not a valid camera index.
12-20 10:30:14.449  5751  5751 E tango_camera_native: 3 is not a valid camera index.
12-20 10:30:14.671  3363  3774 E CameraService: checkTemperature (0)
12-20 10:30:14.675  3363  3774 E CameraService: setCompanionDisableSysFs : cc.disable property set to 0
12-20 10:30:14.696  3363  3774 E ExynosCamera3: Build Date is (Nov 20 2017) (17:19:53)
12-20 10:30:14.704  3831  3991 E Sensors : Sensor : Meta event
12-20 10:30:14.777  3363  3774 E ExynosCamera3Interface: INFO(HAL3_camera_device_initialize[227]): dual cam_state[0](1)
12-20 10:30:14.924  5751  6352 E Camera2-Metadata: Update metadata entry: Unknown tag -1073741824
12-20 10:30:14.931  3363  3363 E ExynosCameraRequestManager: [CAM_ID(0)][]-ERR(m_deleteStreamThread[3871]):failed, StreamThreadMap size is ZERO, size(0)
12-20 10:30:14.956  5751  6352 E NdkImageReader: AImageReader_getWindow
12-20 10:30:14.957  5751  6253 E AudioTrack: did not receive expected priority boost on time
12-20 10:30:15.014  3831  4607 E Sensors : Pressure old sensor_state 147491, new sensor_state : 147459 en : 0
12-20 10:30:15.215  5751  5880 E ACameraDevice: onDeviceIdle sending state cb
12-20 10:30:15.389  5751  6379 E ndk_camera: onCaptureSessionClosed called, signalling on CV.
12-20 10:30:15.531  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:15.531  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:15.768  5751  5880 E ACameraDevice: onDeviceIdle sending state cb
12-20 10:30:15.870  3363  6452 E ExynosCameraNode: [CAM_ID(0)][FLITE]-ERR(m_dqBuf[1597]):exynos_v4l2_dqbuf(fd:28) fail (-1)
12-20 10:30:15.870  3363  6452 E ExynosCameraMCPipe: [CAM_ID(0)][PIPE_3AA]-ERR(m_getBuffer[1795]):node(FLITE)->getBuffer() fail, index(-2), frameCount(6), ret(-1)
12-20 10:30:15.870  3363  6452 E ExynosCameraNode: [CAM_ID(0)][BAYER]-ERR(getBuffer[967]):m_nodeState = [4] is not valid
12-20 10:30:15.870  3363  6452 E ExynosCameraMCPipe: [CAM_ID(0)][PIPE_3AA]-ERR(m_getBuffer[1928]):node(BAYER)->getBuffer() fail, index(-2), frameCount(6), ret(-38)
12-20 10:30:15.938  5751  6379 E ndk_camera: onCaptureSessionClosed called, signalling on CV.
12-20 10:30:15.944  3831  4707 E Watchdog: !@Sync 1658 [2017-12-20 10:30:15.943]
12-20 10:30:16.206  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:16.206  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:16.224  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:16.225  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:16.235  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:16.235  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:16.250  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:16.250  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:16.274  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:16.274  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:16.341  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:16.341  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:16.380  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:16.380  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:16.413  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:16.413  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:16.464  5751  6252 E tango_camera_native: Couldn't get image exposure/skew for timestamp offset!
12-20 10:30:16.465  5751  6252 E ndk_camera: metadata has:<PHONE_NUMBER>50
12-20 10:30:16.465  5751  6252 E ndk_camera: metadata has:<PHONE_NUMBER>43
12-20 10:30:16.465  5751  6252 E ndk_camera: metadata has:<PHONE_NUMBER>17
12-20 10:30:16.507  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:16.507  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:16.542  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:16.542  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:16.619  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:16.619  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:16.642  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:16.642  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:16.683  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:16.683  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:16.813  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:16.813  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:16.815 10948  6374 E tango_tracker: Frame Drop! Failed to find metadata after tracking!
12-20 10:30:16.815  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:16.815  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:16.835  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:16.835  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:16.899  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:16.899  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:16.939  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:16.939  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:16.969  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:16.969  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:17.000  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:17.000  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:17.035  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:17.035  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:17.104  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:17.104  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:17.140  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:17.140  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:17.178  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:17.178  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:17.209  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:17.209  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:17.245  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:17.245  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:17.270  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:17.270  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:17.307  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:17.307  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:17.336  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:17.336  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:17.370  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:17.371  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:17.409  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:17.409  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:17.435  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:17.435  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:17.471  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:17.471  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:17.503  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:17.503  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:17.539  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:17.539  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:17.570  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )
12-20 10:30:17.570  3363  6397 E ExynosCameraRequestManager: ERR(pushFrameFactory[1213]):pushFrameFactory is failed StreamID(12) factory(0xd5480000)
12-20 10:30:17.603  3363  6397 E ExynosCameraRequestManager: ERR(m_push[1093]):m_push failed, request already exist!! Request frameCnt( 4 )

Hi @cjrorvik,
This is actually an ARCore Preview 1 bug: https://github.com/google-ar/arcore-android-sdk/issues/68
Fortunately, Google did fix it last week with their ARCore Preview 2, so we'll get this out in our next release.
Thanks,
Andy


Is it possible to add an option to ignore extern variable checks

Minifying file below it complains about the undeclared variable window.Math.
Short of providing separate externs file there is currently no way to disable this check. It appears to fail in the sanityCheck pass. Had to rewrite the code as window['Math']. A special annotation would work as well. /* @extern Math */
(function(Math) {
....
})(window.Math);

Are you using a custom build or the Java API? I can't recreate this on the command line.
Math is part of the language externs and shouldn't be excludable. We also have a pass that declares it on window automatically.

Using embedded in a Java web app. Version closure-compiler-unshaded, v20161201.
With these options:
protected CompilerOptions createOptions() {
    CompilerOptions options = new CompilerOptions();
    options.setCodingConvention(new ClosureCodingConvention());

    // Compilation optimization level
    CompilationLevel compileLevel = parseProperty(COMPILATION_LEVEL_PROPERTY, CompilationLevel.SIMPLE_OPTIMIZATIONS);
    compileLevel.setOptionsForCompilationLevel(options);

    // Source map detail level
    SourceMap.DetailLevel detailLevel = parseProperty(SOURCE_MAP_DETAIL_LEVEL_PROPERTY, SourceMap.DetailLevel.ALL);
    options.setSourceMapDetailLevel(detailLevel);

    // Source map format (only one format currently supported DEFAULT = V3)
    options.setSourceMapFormat(SourceMap.Format.DEFAULT);

    // Language in
    CompilerOptions.LanguageMode languageIn = parseProperty(LANGUAGE_IN_PROPERTY, CompilerOptions.LanguageMode.ECMASCRIPT3);
    options.setLanguageIn(languageIn);

    // Language out
    CompilerOptions.LanguageMode languageOut = parseProperty(LANGUAGE_OUT_PROPERTY, CompilerOptions.LanguageMode.ECMASCRIPT3);
    options.setLanguageOut(languageOut);

    // see: https://github.com/google/closure-compiler/issues/1875
    options.setProtectHiddenSideEffects(false);

    // allow trailing commas
    if (this.allowES3errors) {
        options.setWarningLevel(DiagnosticGroups.ES3, CheckLevel.WARNING);
    }

    options.setWarningLevel(DiagnosticGroups.EXTERNS_VALIDATION, CheckLevel.WARNING);

    return options;
}

You MUST include the language extern set: https://github.com/google/closure-compiler/blob/cef519509411073f3955d6392428d40ef3d654b8/src/com/google/javascript/jscomp/AbstractCommandLineRunner.java#L439-L481


Show can_remediate: false for the ruletype cli commands

Summary
The following PR shows the can_remediate: false property in the ruletype list, apply and create tables. The table from ruletype get is different (row based) and we already show Remediate: unsupported. This is shown in case the ruletype has an empty/null Remediation field in its Def section (which in practice means no remediation support).
Fixes #4240
Change Type
Mark the type of change your PR introduces:

[ ] Bug fix (resolves an issue without affecting existing features)
[x] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Outline how the changes were tested, including steps to reproduce and any relevant configurations.
Attach screenshots if helpful.
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[ ] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 53.865% (-0.004%) from 53.869%
when pulling 7a64f6dc826cb3aba71b1d1f50f02b8f953254a7 on show-no-remediation
into 405ea41808ce086871ca1a1a116720005fa4b758 on main.


Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble

Please check existing (open or closed) issues before creating a new one. (https://github.com/fuatakgun/eufy_security/issues?q=is%3Aissue+)
If this is not an issue, you can use Discussions (https://github.com/fuatakgun/eufy_security/discussions) section.
Describe the bug
Am not able to add "Eufy Security" as an integration, have completed all the steps multiple times (removed and reinstalled at least 3 times), still comes with the same issue.
(Am pretty new to HA so I may not be doing everything right)
To reproduce
HACS installed
eufy-security-ws installed and started - I believe this has started correctly
username, password, country, and stations all added.
Settings -> devices -> add integration -> Eufy Security -> leading to "Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble"
Expected behavior
Expect integration to provide me next steps instead of an error message
Additional information
Go to Settings -> System -> Repairs -> Click on 3 dots (...) -> System Information and get Version and Installation Type to below fields;

Home Assistant Installation Type (OS - Supvervised - Core): HAOS
Home Assistant Core Version: core-2024.10.3
eufy-security-ws Version: 1.9.1
Eufy Security HACS Version: 8.0.4 (is this the integration?)

Hardware Information;

Camera Model:
NA

Live Streaming Protocol (RTSP/P2P):
NA

Debug Logs from Home Assistant (https://github.com/fuatakgun/eufy_security/discussions/624) - Without this, I will automatically resolve this issue
Logger: aiohttp.server
Source: /usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py:448
First occurred: 7:53:35 PM (1 occurrences)
Last logged: 7:53:35 PM

Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 477, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py", line 559, in _handle
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 83, in forwarded_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 26, in request_context_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 85, in ban_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 242, in auth_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 32, in headers_middleware
response = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 73, in handle
result = await handler(request, **request.match_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/decorators.py", line 81, in with_admin
return await func(self, request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 74, in wrapper
return await method(view, request, data, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 172, in post
return await self._post_impl(request, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 179, in _post_impl
return await super()._post_impl(request, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 84, in _post_impl
result = await self._flow_mgr.async_init(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1287, in async_init
flow, result = await self._async_init(flow_id, handler, context, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1312, in _async_init
flow = await self.async_create_flow(handler, context=context, data=data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1499, in async_create_flow
handler = await _async_get_flow_handler(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2964, in _async_get_flow_handler
await _load_integration(hass, domain, hass_config)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2941, in _load_integration
await async_process_deps_reqs(hass, hass_config, integration)
File "/usr/src/homeassistant/homeassistant/setup.py", line 575, in async_process_deps_reqs
await requirements.async_get_integration_with_requirements(
File "/usr/src/homeassistant/homeassistant/requirements.py", line 54, in async_get_integration_with_requirements
return await manager.async_get_integration_with_requirements(domain)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/requirements.py", line 170, in async_get_integration_with_requirements
await future
File "/usr/src/homeassistant/homeassistant/requirements.py", line 159, in async_get_integration_with_requirements
await self._async_process_integration(integration, done)
File "/usr/src/homeassistant/homeassistant/requirements.py", line 182, in _async_process_integration
await self.async_process_requirements(
File "/usr/src/homeassistant/homeassistant/requirements.py", line 264, in async_process_requirements
self._raise_for_failed_requirements(name, missing)
File "/usr/src/homeassistant/homeassistant/requirements.py", line 292, in _raise_for_failed_requirements
raise RequirementsNotFound(integration, [req])
homeassistant.requirements.RequirementsNotFound: Requirements for eufy_security not found: ['websocket-client==1.4.2'].

Logs from Eufy Security Add-on (either from Add-ons page of Home Assistant or Docker output):
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
2024-10-22 09:05:17.631	INFO	eufy-security-ws:eufy-security-client	[main] Push notification connection closed
2024-10-22 09:05:17.662	INFO	eufy-security-ws:eufy-security-client	[http] [Station.close] Disconnect from station T8030xxxxxxxxxxx
Shutting down
2024-10-22 09:05:17.702	INFO	eufy-security-ws	Server closed
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
SECURITY WARNING: Reverting CVE-2023-46809: Marvin attack on PKCS#1 padding
2024-10-22 09:05:35.039	INFO	eufy-security-ws	Eufy Security server listening on host <IP_ADDRESS>, port 3000
2024-10-22 09:05:41.581	INFO	eufy-security-ws:eufy-security-client	[http] [Station.onConnect] Connected to station T8030xxxxxxxxxxx on host xxx.xxx.x.xxx and port xxxxx
2024-10-22 09:05:55.034	INFO	eufy-security-ws:eufy-security-client	[main] Push notification connection successfully established

Would you share your device with me in case further debugging required? (Yes/No):
Required? Will share if needed

Additional context
Have uninstalled Frigate and WebRTC - logs did not change with either of these, so I figure it's not related to them.
Thanks for the help in advance

An update happened with HA and now it has worked... unsure exactly what changed but I am not touching this anymore!


fix(deps): crates import compatible uucore

solving https://github.com/uutils/coreutils/issues/6867.
I have test-run the util/update-version.sh from 0.0.28 to 0.0.29 and it correctly identifies the four version strings and the resulting workspace passes all the cargo test cases.

Thanks for your PR :)

Can you make a release with this fix?


Referral Prescription Business Rules V0.10

Business Rules ReferralPrescription V0.10.docx

superseded by #105


New Firmware build issue in tn4810m/tn48m

While compiling new firmware for tn4810m I faced the following issue. This might be because /bin/bash -l -c need commands in double-quotes. please help me debug it.

Did you run git submodule init and then git submodule update after cloning the repo?

Yes, I performed git submodule init and git submodule update after cloning repo.
My make command is this:
make J=8 V=10 NO_CACHE=1 CTARGET=aarch64-unknown-linux-gnu package_tn4810m
Is there any problem with make comamnd?
System Information:
OS: Manjaro Linux(23.0.0)
DISTRIBUTION: GNOME
CPU cores: 8
RAM: 8GB

Please use V=1 and dont use NO_CACHE.
If that fails, can you post the whole log as its compiling fine for me.

Hii, this time I execute following command but still error persist. I attached log file for your reference.
make J=8 V=1 CTARGET=aarch64-unknown-linux-gnu package_tn4810m
log.txt

Ok, so its failling to download zlib.
I would suggest passing Gentoo mirrors that are near you via GENTOO_MIRRORS= from:
https://www.gentoo.org/downloads/mirrors/

I think this is not a issue related to mirror as when I tried to download zlib in my own system it still fails.  As url(https://zlib.net/zlib-1.2.11.tar.gz) which replica uses to download zlib uses didn't exists.
Can you say how to change zlib download url in replica?

That is exactly why I am saying to add mirrors as genkernel is using an older zlib version and zlib.net only hosts the latest version but mirrors should have the older version as well.
If that doesn't work, you can edit repos/gentoo/sys-kernel/genkernel/genkernel-4.3.2.ebuild to use https://www.zlib.net/fossils/zlib-1.2.11.tar.gz instead.

Hello, tried multiple mirrors(China, Japan ,US) still issue persist and also tried by modifying repos/gentoo/sys-kernel/genkernel/genkernel-4.3.2.ebuild then it was not able to extract ERROR: sys-kernel/genkernel-4.3.2::gentoo failed (unpack phase):  Can you tell which mirrors you are using so I can try with it?

I am using:
GENTOO_MIRRORS="http://gentoo.wheel.sk/ http://mirrors.evowise.com/gentoo/"
As they are much faster than the default ones where I live

Hello, your mirrors worked for me too. Thank you for your help and support.

Can you please tell me how to add custom packages in firmware build as I cannot see and documentation related to it in repo?

As a lurker, I’d appreciate it, if you opened a new issue for this.

I dont think there are any docs for it, but you can just specify more packages in:
https://github.com/sartura/replica-overlay-switch/blob/main/profiles/replica/armada7040-prestera/packages
Basically, docs for Gentoo apply here.

I think this will only provide us the packages which are available in Gentoo packages. What I want is if I have some custom package stored in my local machine. So how to add that during firmware build?

For that, you can either add a custom ebuild to the switch ebuild repo or add your own ebuild repository and include it.
Everything relating to ebuilds and ebuild repos is documented already in Gentoo docs

With commit https://github.com/sartura/replica/commit/f01924d239f973d09e57b1b4e580e67eaf0ff34c I ran
make -j32 DOCKER_BUILDKIT=1 CTARGET=armv7a-unknown-linux-musleabihf package_tn4810m  GENTOO_MIRRORS="http://gentoo.wheel.sk/ http://mirrors.evowise.com/gentoo/"

but still got the error.

Could you please share the correct line?

Could you please share the correct line?

Paul, could you please give us more details so we could follow up accordingly?

Sorry, it worked trying it on the weekend. One mistake in my line is CTARGET=armv7a-unknown-linux-musleabihf, and should be CTARGET=aarch64-unknown-linux-gnu. From my side, I can’t reproduce it anymore.

Thanks, I am closing this issue.
@DhimanAirao, please feel free to open up a new issue regarding custom package integration though.


codata fixes

Status

[x] Click when ready for review-and-merge

Codecov Report

Merging #67 into master will decrease coverage by 0.07%.
The diff coverage is 75%.

ok, @dsirianni, this will entirely fix py27. I think it'll fix all of py36 expect 4b, 4d, 4e, and that'll be fixed by  psi4/psi4#1339 once that builds conda pkgs.
Please review, squash, merge. Thanks!

tests/test_RESP.py::test_example2 FAILED  still failing.

test_RESP.py::test_example2 must be intermittant, as I haven't seen it before. Since it's failing by e-6 and in py27 (which shouldn't have changed any, I'm just relaxing the check slightly.


Use of 'bitwise and' to check if a flag is set.

    I don't know if this is a real problem or not, but the State enumeration is definitely a uint32_t with different bits representing different states. If it's ever possible to have more than one state bit set at a time, this equality check can fail. If it's NOT possible to have more than one state bit set at a time, why is the enum a bunch of bit flags?

This could really be a problem. Here's the comment from Bundle.h regarding this very thing:

Values assigned to these states have no specified ordering; they represent
bit values that may be ORed together to determine if a bundle is in one of
the valid states.

Originally posted by @carneyweb in https://github.com/CppMicroServices/CppMicroServices/pull/766#discussion_r1047207587

see code scanning results for examples: https://github.com/CppMicroServices/CppMicroServices/security/code-scanning
example of this issue: https://github.com/CppMicroServices/CppMicroServices/security/code-scanning/107

Fixed in PR #849


initial tradfri blind quirks

@billyburly any chance you can finish this up?

bump... maybe??

@billyburly are you still interested in getting this merged?

@billyburly I fixed the sorting and formatting. Thanks for the contribution.


Updating CQs to reflect Explore, Scheduled, Segment Exclusion

🚀 Deployed on https://63acf0c42d24ba321bfa7663--cozy-fox-0defec.netlify.app


Update ANF APRL for zone placement

Overview/Summary
Per Igor Pagliai's feedback, update ANF "Use availability zones for high availability in Azure NetApp Files" to be "Deploy ANF volumes in the same availability zone with Azure compute and other services".
Related Issues/Work Items
Replace this with a list of related GitHub Issues and/or ADO Work Items (Internal Only)

To associate a GitHub Issue, use a key word preceded with the GitHub issue number.
To associate an ADO Work Item, use the key word AB# succeeded with the ADO Work Item ID.

This PR fixes/adds/changes/removes

Per Igor Pagliai's feedback, update ANF "Use availability zones for high availability in Azure NetApp Files" to be "Deploy ANF volumes in the same availability zone with Azure compute and other services".

Breaking Changes
N/A
As part of this pull request I have

[X] Read the Contribution Guide and ensured this PR is compliant with the guide
[X] Checked for duplicate Pull Requests
[ ] Associated it with relevant GitHub Issues or ADO Work Items (Internal Only)
[X] Ensured my code/branch is up-to-date with the latest changes in the main branch
[X] Ensured PR tests are passing
[] Performed testing and provided evidence (e.g. screenshot of output) for any changes associated to ARG queries
[] Updated relevant and associated documentation (e.g. Contribution Guide, Docs etc.)

Hi @igorpag and @seanluce , would you kindly review and edit my PR? Thanks!

@pinyuko @seanluce I like it. Meanwhile, I have also submitted https://github.com/MicrosoftDocs/azure-docs-pr/pull/275575 to change a bit title and content of the MSDOCS article we discussed before.

Closing since we are adding a new one, and edit the original one a little bit.


Option to use tslint in fix mode

Is it possible to make tslint run with the --fix option?

I think that's in 0.2.9 of fork-ts-checker-webpack-plugin. I believe @piotr-oles is presently battling to release it right now...

Great, can't wait!

The 0.2.9 release has been slightly delayed for some fairly understandable reasons.  If you're too impatient to wait for it to land on npm you could use this in the short-term:  https://github.com/typestrong/fork-ts-checker-webpack-plugin
nb The repo above will be removed from GitHub once 0.2.9 is released to npm.  This is just for those impatient people out there (well, me mostly :wink:)

Thanks for the heads up!

@johnnyreilly Mm, 0.2.9 is out, but I don't see anything in the code suggesting that fixing can be enabled. It's hardcoded to false right here.

Maybe submit a PR then? It's not my project but PRs are taken!

I think that's in 0.2.9 of fork-ts-checker-webpack-plugin

Why did you claim this then? ^

@jeremejevs dude, chill. He said "I think", which is not a "claim". He's not the maintainer and was just trying to be helpful with an educated guess. If you know where it's hardcoded then you're in a position to submit a PR, so maybe stop complaining and contribute.

If I were complaining, it'd be justified, since this "I think" made me go on a wild goose chase, thinking that there must be some branch or a PR or a fork somewhere, with the --fix setting in it. Why would one say "I think X" without any reason to say that? But it wasn't even a complaint, it was a question.

Much 💓 for having my back @pelotom
@jeremejevs - it's not my project I was clearly mistaken. But now you have an opportunity to make the world a slightly better place. Go to it! Submit a PR 👍

Sorry I didn't reply. There is no such option in 0.2.9. I think we could add such option, PR's are welcome.
I would like to add this feature but I'm not sure when I will have enough free time to do this. So like I said - don't hesitate to add PR :)

Looks like this isn't as simple as setting fix to true. Here's a relevant discussion: https://github.com/palantir/tslint/issues/3188 Tried some quick potential fixes (like not passing oldProgram to createProgram), to no avail. Ultimately decided to not invest any extra time into this, because the only reason I wanted auto-fixing in the first place was Prettier, and the onchange watch approach is comparably clean, more flexible and working right now (mentioning this for future readers with similar needs).
Sorry for the passive-aggressive yesterday.

No worries @jeremejevs. Thanks for reporting back - that's helpful

Have there been any progress on this issue? Looks like the discussion @jeremejevs linked (https://github.com/palantir/tslint/issues/3188) was solved, so it could be fixed now?

The discussion I linked to isn't a blocker, it just has some useful information. This can be fixed (ha, fixed), but it just isn't a trivial problem, and doesn't bring enough benefit to be worth the time investment, at least for those who have looked into it so far.

I close the issue because there was no PR since November 2017 and I think using tslint with some git hooks is a lot easier than messing with files during development.

@piotr-oles I know this is very late but is this feature still considered? Would a PR with tslintAutoFix as option to ForkTsCheckerWebpackPlugin plugin be acceptable?

I think using tslint with some git hooks is a lot easier than messing with files during development.

I kind of agree with @piotr-oles - it seems a little strange to have a type checker also changing your files. Doesn't seem like a good fit. Sorry

@johnnyreilly I understand. Since this was going to an option it could by default be turned off and in cases where users need to enable it they could just enable it.
The reason I am trying for this solution is we right now have ForkTsCheckerWebpackPlugin to do both type check and linting check. If not I need to disable tslint check on ForkTsCheckerWebpackPlugin and manually configure tslint just for this reason.
One last try to request to have this as an option and turn it off by default. If not thanks for the response!

No worries!
Just so I understand you correctly, you have your code linted and fixed as you're working on a file?
Forgive the surprise, I've just never encountered that before!

@johnnyreilly I am not sure what would be the difference between linted and fixed but I presume lint is checking for lint errors and fix is fixing them.
Yes. I am using prettier that is run as tslint rule. prettier formats and provides formatting options that can be run through tslint --fix that will automatically be fixed. This helps us to lint code in the webpack build as and when the user saves the file.
This is also very common in vscode environments where when I type in the code and save the file the file gets automatically linted.
To give more context, the environment I am working on has a webapp that has a mix of both js and ts. For js we use prettier to be run as part of eslint and we have enabled autofix to fix linting errors as and when we save the file. For tslint we wanted to do similar thing and trying to see if I can do it via ForkTsCheckerWebpackPlugin

Hmmm. Still feels a little strange to me!
Would you like to have a try and see how hard this is to implement? If it's super simple with minimal impact to the codebase then I could see a case for supporting this.
If it turns out to be complicated and not so simple then perhaps not.

@johnnyreilly It believe it should be simple. Need to pass the flag from the plugin to the service and have the service check if its in the process.env. If not default to false.
It would be easier for me to create a pull request to see how big the impact is.


Bug: Commits in the pipeline only show up in the last configured environment

Documenting this so it doesn't get forgotten about / lost...
This is due to the EventComponentEventListener being triggered on any environment_component that is saved. The XLD collector is resaving environment_components even if they have not changed. Not sure if the UDeploy collector is doing this too. As a result commits are being added to every environment in a pipeline which causes hygieia to interpret them as always being promoted to the last environment.
Code:
                if (!compList.isEmpty()) {
                    List<EnvironmentComponent> existingComponents = envComponentRepository
                            .findByCollectorItemIdAndEnvironmentID(application.getId(), environmentId);
                    envComponentRepository.delete(existingComponents);
                    envComponentRepository.save(compList);
                }

@MarkRx  Update to latest code base and try with new plugin


move quickstart to separate page and add kmesh l7 content

What type of PR is this?

What this PR does / why we need it:

Move quickstart to separate page to make README more concise
Add Kmesh L7 related content to quickstart

Which issue(s) this PR fixes:
Fixes part of #135
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

This should be moved to kmesh-net/website now

Already move to kmesh-net/website, closed


LLVM[clang] version

собственно, в описании не указанно что версия должна быть 5.0 либо пути к либам и хидерам пусть исправлют

Actually, the description does not specify that the version should be 5.0 and the paths to the libs and hiders are not true

...\clang\5.0
clang\5.0.0

This files were tested for clang 5.0. I forget that clang is version dipendent. I will investigate for alternatives. Regarding the path, I was able to use clang. What file is experiencing the issue?

Actually it is not clear what you add in that line.
It works without it.
I think you should add the path to:

Additional Header Folder - $(LLVMInstallDir)\lib\clang\6.0.0\include .
Library Path Folder - $(LLVMInstallDir)\lib.

Also, the version 6.0.0, could it be replaced with the version of Clang automatically?

Thanks for your information. I've pushed LLVM 6.0 compatibility under branch v6.0.


Updated README.rst

Updated file with a note on possible conflict with sorl-thumbnail, and with a link to the solution.

The link is not rendering correctly. Any idea why is it so?

There are issues with links in .rst files :) Fixed.

Ok, I see. Thanks! :)


Must have a country code to connect to a Tap to Pay reader.

Describe the bug
On the connectLocalMobileReader callback I'm getting an error "Must have a country code to connect to a Tap to Pay reader." on a specific device. This is happening on an Android Redmi 12C device and on an Android Samsung Galaxy A04s and I'm not sure where I should add this country code.
For reference, everything is working correctly with the same code on a Xiaomi 9T.
To Reproduce
1 . Call connectLocalMobileReader after discoverReaders.
Stripe Terminal React Native SDK version

^0.0.1-beta.12

Smartphone (please complete the following information):

Device: Redmi 12C

OS: Android 12

Device: Samsung Galaxy A04s

OS: Android 12

Are you passing a location id as shown here: https://github.com/stripe/stripe-terminal-react-native/blob/8454a922/dev-app/src/screens/DiscoverReadersScreen.tsx#L209-L212
The location address should have a country set

I did, this is only affecting two phones, on my Mi 9T it works just fine with the same code.

Hey @ljesus upon looking into this further it seems like that error is returned when the device is having trouble connecting to Stripe backend. The device needs to fetch the location object using the id you pass, and if that call fails this error is returned. We are going to do improvements on our side to return a appropriate error message. There shouldn't be a device specific difference for connectLocalMobileReader, can you check if all devices are running the same version of your app and there are no network issues?

It seemed to be an issue with connecting indeed. Would be nice to have some better errors around this, but I'm closing this one for the time being. Thank you!


Cannot generate AGPL

It is supposed to be AGPL (GNU Affero General Public License), but it is APGL.
https://github.com/azu/license-generator/blob/e5456aad0fdbc97d0d1cca1e9af2df7492cb076f/src/lib.rs#L27
Therefore, the following command fails to generate it.
license-generator --author <name> AGPL
Not found match license: AGPL

Thank you!

Thanks for finding this error, a PR is welcome!