libtomcrypt: 1.18.0 -> 1.18.1

Semi-automatic update. These checks were performed:

built on NixOS
found 1.18.1 with grep in /nix/store/iv3xsmfxm8i14mkkcc5cqqr7ixpq02i5-libtomcrypt-1.18.1
found 1.18.1 in filename of file in /nix/store/iv3xsmfxm8i14mkkcc5cqqr7ixpq02i5-libtomcrypt-1.18.1

Failure on x86_64-darwin (full log)
Partial log (click to expand)
Package ‘libtomcrypt-1.18.1’ in /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/development/libraries/libtomcrypt/default.nix:30 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Partial log (click to expand)
install -p -d /nix/store/iv3xsmfxm8i14mkkcc5cqqr7ixpq02i5-libtomcrypt-1.18.1/lib/pkgconfig
install -p -m 644 libtomcrypt.pc /nix/store/iv3xsmfxm8i14mkkcc5cqqr7ixpq02i5-libtomcrypt-1.18.1/lib/pkgconfig/
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/iv3xsmfxm8i14mkkcc5cqqr7ixpq02i5-libtomcrypt-1.18.1
shrinking /nix/store/iv3xsmfxm8i14mkkcc5cqqr7ixpq02i5-libtomcrypt-1.18.1/lib/libtomcrypt.so.1.0.1
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/iv3xsmfxm8i14mkkcc5cqqr7ixpq02i5-libtomcrypt-1.18.1/lib
patching script interpreter paths in /nix/store/iv3xsmfxm8i14mkkcc5cqqr7ixpq02i5-libtomcrypt-1.18.1
checking for references to /tmp/nix-build-libtomcrypt-1.18.1.drv-0 in /nix/store/iv3xsmfxm8i14mkkcc5cqqr7ixpq02i5-libtomcrypt-1.18.1...
/nix/store/iv3xsmfxm8i14mkkcc5cqqr7ixpq02i5-libtomcrypt-1.18.1

Success on aarch64-linux (full log)
Partial log (click to expand)
install -p -d /nix/store/s0gf8zjq9agv09wf3hcxdv11qab7ljqw-libtomcrypt-1.18.1/lib/pkgconfig
install -p -m 644 libtomcrypt.pc /nix/store/s0gf8zjq9agv09wf3hcxdv11qab7ljqw-libtomcrypt-1.18.1/lib/pkgconfig/
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/s0gf8zjq9agv09wf3hcxdv11qab7ljqw-libtomcrypt-1.18.1
shrinking /nix/store/s0gf8zjq9agv09wf3hcxdv11qab7ljqw-libtomcrypt-1.18.1/lib/libtomcrypt.so.1.0.1
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/s0gf8zjq9agv09wf3hcxdv11qab7ljqw-libtomcrypt-1.18.1/lib
patching script interpreter paths in /nix/store/s0gf8zjq9agv09wf3hcxdv11qab7ljqw-libtomcrypt-1.18.1
checking for references to /build in /nix/store/s0gf8zjq9agv09wf3hcxdv11qab7ljqw-libtomcrypt-1.18.1...
/nix/store/s0gf8zjq9agv09wf3hcxdv11qab7ljqw-libtomcrypt-1.18.1


When webapk updates

What's changed, or what was fixed?

Document when the WebAPK is updated

Whoops!
There were 1 warnings that will prevent this PR from being merged. Please take a look, and either fix, or provide a justification for why they can't be fixed.
WARNINGS
src/content/en/fundamentals/app-install-banners/index.md#L143 - Common typo found: 'omnibox' Should it be 'address bar'? See: https://developers.google.com/style/word-list#omnibox

:tada: This has been pushed live to https://developers.google.com/web/


bugfix: prevent ETIMEOUT error from shuting down explorer

This PR:

prevents the explorer from shutting down on ETIMEOUT error.

Error stack:
[2021-07-21T14:26:47.644] [ERROR] FabricGateway - Failed to get chain info from channel defaultchannel :  FabricError: Query failed. Errors: ["Error: 13 INTERNAL: Received RST_STREAM with code 2 triggered by internal client error: read ETIMEDOUT"]
    at SingleQueryHandler.evaluate (.../blockchain-explorer/node_modules/fabric-network/lib/impl/query/singlequeryhandler.js:47:23)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async Transaction.evaluate (.../blockchain-explorer/node_modules/fabric-network/lib/transaction.js:276:25)
[2021-07-21T14:26:47.644] [INFO] SyncServices - syncBlocks: Failed to retrieve channelInfo >> defaultchannel

Thanks @ThomasRalee . Are you still work in progress? All initial commits seem to be reverted.

@nekia, updated the PR. Sorry for the inconvenience caused.


Correct next step links

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/4c3379b1d2cb3ef445b487b080e06210946a0f6f/
Edited pages:

tutorials/katacoda/json-support/finish.md
tutorials/katacoda/learn-cockroachdb-sql/finish.md


Add component name variables to post-command vars

Also need to change the "variable paths" functionality to "post command variables".
Needed for #42.

Implemented in cdc7750, on the v1.4.0 branch.
Published on version 1.4.0-alpha.2.


[DO NOT MERGE] Add simple supergroup facet to all content finder

Trello card

Going to leave this until someone has okayed the "Related to" in finder-frontend (or we've added a preposition to the content item)


Adding Wrapper and demos for React Split Pane Component

This is the PR for adding the Split Pane Component as suggested in issue #88.

Hey there @atooni . My apologies for late response. The code looks great! I'll give it a spin, and if it works fine lets merge it :)

Thanks, worked perfectly!


Experiment: re-use input buffer to store as much data as possible

The allocation test shows this would only be a minimal improvement and likely not worth it.


Add MadStory generator

Want to add a mad story genrator.

Want feature wanted in it, Like a to generate a story by fetching data by gpt and showing it in UI?

The Mad Libs project is a fun and interactive program that allows users to create humorous and often nonsensical stories by filling in the blanks with their own words or phrases it is a great way to practice user input, string manipulation, and basic programming concepts while providing an entertaining and creative experience for the users
The project typically involves the following components:
Story Template: Start by creating a story template that includes a narrative with specific placeholders for different parts of speech (e.g., nouns, verbs, adjectives, adverbs).
Requirements:
Prompt the user to provide words or phrases for each placeholder. Collect and store these user inputs.
Replace the placeholders in the story template with the user-provided words or phrases, creating a customized and often comical story.
Present the final generated story to the user, complete with their input, and let them enjoy the humorous results.

@alpha2207 now check.

Ok. I got it.

@alpha2207  assign this to me.

I am not an owner of this repo so I can't assign you this. Ask @DhanushNehru


[ICD][Chip-tool] Add new command in chip-tool to run ICD registration and store ICD metadata in persistent storage

dup with https://github.com/project-chip/connectedhomeip/issues/31697


Completion fails on zsh 5.8

Describe the bug
When installing zplug on a clean install of zsh 5.8 (for example the one included in Ubuntu 20.04 LTS), completion stops working.
To Reproduce
Steps to reproduce the behavior:

Create a new user on a system having zsh 5.8 installed:

    vm% cat .zshrc
    # Created by newuser for 5.8
    vm% zsh --version
    zsh 5.8 (x86_64-ubuntu-linux-gnu)

Then install zplug according to the installation instructions and source init.zsh:
    vm% curl -sL --proto-redir -all,https
    https://raw.githubusercontent.com/zplug/installer/master/installer.zsh | zsh
     ✔  Checking if your zsh version is newer than 4.1.9 [SUCCEEDED]
     ✔  Installing zplug to /home/testuser/.zplug [SUCCEEDED]
     All processes are successfully completed 🎉
     For more information, see http://zplug.sh 🌺
     Enjoy zplug!
    vm% cat >> .zshrc
    source ~/.zplug/init.zsh
    ^D
    vm%

Then log out and log back in and test completion:
    vm% mkdir bla
    vm% cd bl<TAB>

Expected behavior
I'd expect the directory name to complete; it doesn't. Completion also doesn't work for other things such as commands and command-line flags.

zplug version: 2.4.2
zsh --version: zsh 5.8 (x86_64-ubuntu-linux-gnu)
uname -a: Linux vm 5.4.0-29-generic #33-Ubuntu SMP Wed Apr 29 14:32:27 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Minimal zshrc (with less than 30 lines)
Bug was reproduced with empty (only 'source ~/.zplug/init.sh') configuration as well as plugin configuration; this gives the same results. Configuration does work on systems with  zsh <5.8 installed.

having the same issue on Mac with zsh 5.8

@ouchxp You forgot to invoke zplug load in your .zshrc after sourcing $HOME/.zplug/init.zsh.

@ouchxp You forgot to invoke zplug load in your .zshrc after sourcing $HOME/.zplug/init.zsh.

Just for completeness: invoking 'zplug load' in '.zshrc' after sourcing '$HOME/.zplug/init.zsh' makes no difference, and completion does not work. It does on systems with a lower zsh version.

@rvdm Your autocompletion doesn't work at all? What about your .zcompdump?

invoking 'zplug load' in '.zshrc' after sourcing '$HOME/.zplug/init.zsh' makes no difference

Maybe it look like so, but zplug load invokes compinit. But in your case I guess you somehow forgot to init your completion system.
Try this:
# autoload -U compinit
# _compdir="" compaudit
# compinit
# compinit -d ~/.zcompdump

After that reload your terminal or relogin. Also, install "zsh-users/zsh-completions" plugin for better autocompletion.

Maybe it look like so, but zplug load invokes compinit. But in your case I guess you somehow forgot to init your completion system.

Unfortunately that doesn't fix the issue.
The bug is reproducible on a clean VM, whereas it works perfectly fine on a same clean VM with a lower zsh version :( See initial bug report for what I did. It does beep/visual bell, but it doesn't do the completion. I use a git-hosted dotfiles repo on all of my machines, and it stops working once I run zsh 5.8.
I really hope I overlooked something though!

@rvdm Strange. So, do you have any contents in ~/.zcompdump after running commands above?
Also, what's in your $fpath?

@rvdm Strange. So, do you have any contents in ~/.zcompdump after running commands above?
Also, what's in your $fpath?

I know :( I've been searching for hours, so either I'm missing something super obvious, or it's actually a bug. Seeing it can be replicated makes me think it's a bug. I'd be happy to give you access to a clean VM with this problem if you need it.
To your questions:
~/.zcompdump has the regular completion content and looks fine.
$fpath is filled:
    rvdm@ircvm ~ $ echo $fpath
    /home/rvdm/.zplug/repos/mollifier/anyframe /home/rvdm/.zplug/repos/sorin-ionescu/prezto/modules/prompt/functions
    /home/rvdm/dotfiles/zplug/misc/completions /home/rvdm/dotfiles/zplug/base/sources /home/rvdm/dotfiles/zplug/autoload
    /home/rvdm/dotfiles/zplug/base/utils /home/rvdm/dotfiles/zplug/base/job /home/rvdm/dotfiles/zplug/base/log
    /home/rvdm/dotfiles/zplug/base/io /home/rvdm/dotfiles/zplug/base/core /home/rvdm/dotfiles/zplug/base/base
    /home/rvdm/dotfiles/zplug/autoload/commands /home/rvdm/dotfiles/zplug/autoload/options
    /home/rvdm/dotfiles/zplug/autoload/tags /usr/local/share/zsh/site-functions /usr/share/zsh/vendor-functions
    /usr/share/zsh/vendor-completions /usr/share/zsh/functions/Calendar /usr/share/zsh/functions/Chpwd
    /usr/share/zsh/functions/Completion /usr/share/zsh/functions/Completion/AIX /usr/share/zsh/functions/Completion/BSD
    /usr/share/zsh/functions/Completion/Base /usr/share/zsh/functions/Completion/Cygwin
    /usr/share/zsh/functions/Completion/Darwin /usr/share/zsh/functions/Completion/Debian
    /usr/share/zsh/functions/Completion/Linux /usr/share/zsh/functions/Completion/Mandriva
    /usr/share/zsh/functions/Completion/Redhat /usr/share/zsh/functions/Completion/Solaris
    /usr/share/zsh/functions/Completion/Unix /usr/share/zsh/functions/Completion/X /usr/share/zsh/functions/Completion/Zsh
    /usr/share/zsh/functions/Completion/openSUSE /usr/share/zsh/functions/Exceptions /usr/share/zsh/functions/MIME
    /usr/share/zsh/functions/Math /usr/share/zsh/functions/Misc /usr/share/zsh/functions/Newuser
    /usr/share/zsh/functions/Prompts /usr/share/zsh/functions/TCP /usr/share/zsh/functions/VCS_Info
    /usr/share/zsh/functions/VCS_Info/Backends /usr/share/zsh/functions/Zftp /usr/share/zsh/functions/Zle
    /home/rvdm/.zplug/repos/mollifier/anyframe/anyframe-functions/actions
    /home/rvdm/.zplug/repos/mollifier/anyframe/anyframe-functions/selectors
    /home/rvdm/.zplug/repos/mollifier/anyframe/anyframe-functions/sources
    /home/rvdm/.zplug/repos/mollifier/anyframe/anyframe-functions/widgets

@rvdm I use the same version of zsh as you do, so I can assume this bug is somehow related rather to your OS or to zsh itself.

@rvdm I use the same version of zsh as you do, so I can assume this bug is somehow related rather to your OS or to zsh itself.

Ok, that helps - then I'll go look more. I'll update this when I have something to add - thanks so far :)


Closes: #1

As the name cannot start with a period or underscore we modified the code to not to allow so.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

okay successfully done


Animal filter

In our UI it will take a little bit of work to have more than 6 filters laid out nicely. Perhaps if we get up to 9 different categories we want to filter on, we can add this. For now, animals come under the "Natural" filter, and I don't think there are enough animals/natural objects to justify a new category yet.
Worth keeping an eye on as the project continues though, and as Jason adds a lot more objects to the game we can definitely rethink this.

I originally had an animal filter but couldn't figure out the best attributes to filter upon. For example, the canada goose pond should be an animal but not the ice hole in the ground. There isn't much distinguishing the two.

My gut feeling on this is that there would be timed transitions with no
instigator that cause a move action, and these would be the things that are
animals. Then you could treat any object that can end up transitioning to
one of these marked animals without involving another animal in the
transitions as also being an animal. It would be far more effort than it is
worth I think though. Would make more sense to just go to the game wiki and
have a page of animals there instead.
On 17 April 2018 at 11:59, Ryan Bates<EMAIL_ADDRESS>wrote:

I originally had an animal filter but couldn't figure out the best
attributes to filter upon. For example, the canada goose pond should be an
animal but not the ice hole in the ground. There isn't much distinguishing
the two.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/Kazetsukai/onetech/issues/60#issuecomment-381786610,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA5GRh0z4lC_ZmBr93XEYqjogZ3hYaizks5tpTBXgaJpZM4TXTGh
.


Update all public API DateTime usage to instead be DateTimeOffset

Also remove Utc suffix from any DateTimeOffset properties/params.

Closed with https://github.com/Azure/azure-sdk-for-net/pull/10584


Max retries exceeded with url

Describe the bug
Every so often I get the following error.  The only way I know of to resolve is to reboot. Why does this occur and what is the best way to resolve
Command Name
az aks get-credentials Extension Name: aks-preview. Version: 0.5.5.
Errors:
Error occurred in request., SSLError: HTTPSConnectionPool(host='management.azure.com', port=443): Max retries exceeded with url: /subscriptions/ac38cd59-fdc9-4e2e-9d7a-1d18d3d35af3/resourceGroups/wsfg-rg/providers/Microsoft.ContainerService/managedClusters/wsfg-aks/listClusterUserCredential?api-version=2021-02-01 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az aks get-credentials --resource-group {} --name {}

Expected Behavior
Environment Summary
Windows-10-10.0.19041-SP0
Python 3.6.8
Installer: MSI

azure-cli 2.20.0

Extensions:
aks-preview 0.5.5

Additional Context

@brbrockel Apologies for the late reply. Is there a proxy in your environment ? Could you please try to run the command on another machine which is on a different network and check if that works fine ? If this is not feasible, you can append your corporate proxy certificate(s) to the end of the certifi library's cacert.pem file. Sharing the location of this on Windows: C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\certifi\cacert.pem
Please let me know if you face any issue while testing this. Awaiting your reply.


Only works in Safari

I tested with

MacOS Sierra 10.12.5 - Safari Version 10.1.1 (12603.2.4) -> it works perfectly
MacOS Sierra 10.12.5 - Google Chrome Version 58.0.3029.110 (64-bit) -> It got upside down, and it does not work when there is a white area inside a black line. A ring for example. By extruding the white area inside, rather than the line.
Edited: the white area inside (so-called hole) is fixable using the reverse winding option.

Colors don't actually have anything to do with the structure being rendered. Fill colors that match the background won't be rendered as hollow just because of their color.
https://github.com/rcalme/svg-to-stl#known-problems
The open libraries that I use shouldn't work differently across different browsers, but I suppose it's possible.


Improvement for CustomHeader in REST and gRPC for GCS

What component of google-cloud-cpp is this feature request for?
google/cloud/storage

In TensorFlow, I am using google-cloud-cpp to intereact with GCS.

In the old implementation ( without google-cloud-cpp), TensorFlow used an env to insert an addional header to the request.
But in google-cloud-cpp, because of variadic template, I find it hard to pass an additonal header to the request ( since the presence of that header must be know at compile-time ). In addition, to me, it isn't possible to pass an unknown number of CustomHeader. This might be useful for TF users since they couldn't use google-cloud-cpp directly ( therefore, they couldn't pass CustomEncryptionKey, ... ).

I propose that we add a second constructor for CustomHeader that takes a std::unordered_map<std::string, std::string>, and keep that std::unordered_map<std::string, std::string> as a private member. In curl_request_builder.h, we traverse the map and call AddHeader on each key.

In gRPC, we have something called metadata ( HTTP 2 header ). It is useless for production but it might be useful for testing. I think we could use CustomHeader to inject metadata to gRPC request ( something like x-goog-emulator-instruction) and eventually, we could use the tests for REST to test gRPC against the emulator.

I really like the idea of supplying multiple custom headers.
The variadic template should not be a major issue, the default value for any "option" is "not set" so you can always insert them and they have no effect, for example, you could do something like this:
void F(gcs::Client cl, bool add_header, std::string key, std::string value) {
  auto option = gcs::CustomHeader{};
  if (add_header) {
    option = gcs::CustomHeader(key, value);
  }
  cl.InsertObject("my-bucket", "my-object", "Hello World\n", std::move(option)).value();
}

a second constructor for CustomHeader that takes a std::unordered_map<std::string, std::string>

I really like the idea of supplying multiple custom headers.

So what do you think about the std::unordered_map ?

I think we could use CustomHeader to inject metadata to gRPC request

What do you think about this improvement ?

a second constructor for CustomHeader that takes a std::unordered_map<std::string, std::string>

I really like the idea of supplying multiple custom headers.

So what do you think about the std::unordered_map ?

I do not like idea of supporting multiple CustomHeader values, I am not sure using std::unordered_map<> by itself is enough.
If the application says:
void F(gcs::Client client) {
  client.InsertObject(bucket, object, contents,
      gcs::CustomHeader("x-goog-custom1", "blah"), gcs::CustomHeader("x-goog-custom2", "foo"));
}

I think we want both headers to be merged, as opposed to just the last one taking effect.  I know the application could have said:
void F(gcs::Client client) {
  client.InsertObject(bucket, object, contents,
      gcs::CustomHeader({{"x-goog-custom1", "blah"}, {"x-goog-custom2", "foo"}}));
}

Moreover, CustomHeader is a WellKnownOption today, and those are magically inserted into a request using GenericRequestBase<>::AddOptionsToHttpRequest().
Finally, there is the question of whether an unordered map is a good representation, as headers can be repeated in a HTTP request.
In short, making all of this work would require some finesse.  I think the steps are roughly:

We need to represent all the custom headers by a new property (most likely just a member variable) at the root of the GenericRequestBase<> hierarchy, this would probably be a std::vector<std::pair<std::string, std::string>> to support duplicate headers.
CustomHeader becomes a internal::ComplexOption<> that always appends values to this new property.
We need to introduce a ClearCustomHeaders<> to clear the existing ones and maybe OverrideCustomHeaders<> to replace the list of custom headers with a different list.
We need to change AddOptionsToHttpRequest to work with this new scheme.

But I am not 100% sure this is all correct, one would need to prototype it and see if it works and then adapt if it does not.

I think we could use CustomHeader to inject metadata to gRPC request

What do you think about this improvement ?

That sounds like a great idea. But we need to merge it with the other changes.

But I am not 100% sure this is all correct, one would need to prototype it and see if it works and then adapt if it does not.

I think I will just leave it here.

That sounds like a great idea. But we need to merge it with the other changes.

I could not find something like SetCommonOptions for gRPC. It would be useful for not only CustomHeader but also other options. Since we haves something like this in each gRPC request
CommonRequestParams common_request_params = 9;
CommonObjectRequestParams common_object_request_params = 8; // Object-related operations

We should consider adding 2 functions:
// context is used when `CustomHeader` is present.
void SetCommonOptions(grpc::ClientContext& context, Message& proto, Request& const request);
void SetCommonObjectOptions(Message& proto, Request& const request);

WDYT ?

We should consider adding 2 functions:
// context is used when `CustomHeader` is present.
void SetCommonOptions(grpc::ClientContext& context, Message& proto, Request& const request);
void SetCommonObjectOptions(Message& proto, Request& const request);

WDYT ?

Sounds like a good idea.

Realistically we do not have time to work on this.


nearray will not shrink value of last element

Given input like [50] with jsc.nat.shrink, the 50 is never shrunk when using nearray on the array. I believe the correct behavior is for nearray to not shrink to empty arrays, but to still shrink all the elements in the array.
The problem is shrink.js:shrinkArrayWithMinimumSize aborts all shrinking, including shrinking of elements, if the array is at minimum length.
Fix might look something like this:
      if (arr.length === 0) {
        return lazyseq.nil;
      } else {
        var x = arr[0];
        var xs = arr.slice(1);
        var shrunkElements  = shrink(x).map(function (xp) { return [xp].concat(xs); });

        return arr.length > size ?
            lazyseq.cons(xs, lazyseq.nil)
              .append(shrunkElements)
              .append(shrinkArrayImpl(shrink, xs).map(function (xsp) { return [x].concat(xsp); })) :
            shrunkElements;
      }

This is another solution:
function nearray<A>(g: jsc.Arbitrary<A>) {
  return jsc.pair(g, jsc.array(g)).smap<A[]>(
    ([a, as]) => [a].concat(as),
    as => [as[0], as.slice(1)])
}


Virtual machine obfuscation

Are there any in the plans VM obfuscation? Like in js defender or jscrambler?

No, PRs would be welcomed to implement it

The thing is that this project is open-source, the VM obfuscation will prove useless since anyone can view the VM internals

The thing is that this project is open-source, the VM obfuscation will prove useless since anyone can view the VM internals

Sure? Try to view kasada VM internals then, and try to intercept/modificate input/output data.

The thing is that this project is open-source, the VM obfuscation will prove useless since anyone can view the VM internals

Sure? Try to view kasada VM internals then, and try to intercept/modificate input/output data.

Kasada is not open source


Add message update event support

@nuclearace Add message update support to the development branch.

Looks good, but could you add a default implentation of the delegate method? Should just be a noop.

It would be nice if Swift let you do optional methods on protocols without requiring @objc on the protocol, but since it doesn't we have to have dumb default implementations.


include auto discovery

include auto discovery ServiceProvider in your composer.json
"extra": {         "laravel": {             "providers": [                 "ArtemSchander\\L5Modular\\src\\ModuleServiceProvider"             ]         }

Done. See v1.4.3


examples: add etcd backup operator example yaml files

This shouldn't be merged until its features are implemented.

depends on https://github.com/coreos/etcd-operator/pull/1460

lgtm after nit


When Postgres is shutting down gracefully, it tries to ensure the replication client is up-to-date but Electric misbehaves

Somewhat of a bug but more like a nuisance because it only an issue when Postgres is shutting down.

When running Electric locally, stop the Postgres container and observe a seemingly endless stream of Electric logs that look similar to this:
04:09:17.252 [debug] Primary Keepalive: wal_end=88964152 (0/54D7C38) reply=1

04:09:17.252 [debug] Primary Keepalive: wal_end=88964152 (0/54D7C38) reply=1

04:09:17.252 [debug] Primary Keepalive: wal_end=88964152 (0/54D7C38) reply=1

04:09:17.252 [debug] Primary Keepalive: wal_end=88964152 (0/54D7C38) reply=1

04:09:17.252 [debug] Primary Keepalive: wal_end=88964152 (0/54D7C38) reply=1

04:09:17.252 [debug] Primary Keepalive: wal_end=88964152 (0/54D7C38) reply=1

04:09:17.252 [debug] Primary Keepalive: wal_end=88964152 (0/54D7C38) reply=1

04:09:17.252 [debug] Primary Keepalive: wal_end=88964152 (0/54D7C38) reply=1

Postgres container logs look similarly redundant:
2024-09-05 01:09:09.129 GMT [256] FATAL:  terminating connection due to administrator command
2024-09-05 01:09:09.129 GMT [253] FATAL:  terminating connection due to administrator command
2024-09-05 01:09:09.131 GMT [245] FATAL:  terminating connection due to administrator command
2024-09-05 01:09:09.132 GMT [1] LOG:  background worker "logical replication launcher" (PID 63) exited with exit code 1
2024-09-05 01:09:09.139 GMT [58] LOG:  shutting down
2024-09-05 01:09:11.104 GMT [296] LOG:  PID 264 in cancel request did not match any process
2024-09-05 01:09:11.105 GMT [297] LOG:  PID 263 in cancel request did not match any process
2024-09-05 01:09:11.106 GMT [298] LOG:  PID 283 in cancel request did not match any process
... a whole lot more of the same ...
2024-09-05 01:09:11.133 GMT [347] FATAL:  the database system is shutting down
2024-09-05 01:09:11.134 GMT [348] FATAL:  the database system is shutting down
2024-09-05 01:09:11.133 GMT [346] FATAL:  the database system is shutting down
... a whole lot more of the same ...

Eventually, the default timeout of docker stop kills the Postgres container and Electric finally sees the broken database connection:
04:09:21.183 [info] Starting shape replication pipeline

04:09:21.184 [debug] Starting Elixir.Electric.Shapes.ConsumerSupervisor

04:09:21.185 [debug] 1 consumers of replication stream

04:09:21.188 [warning] Database connection in replication mode failed: tcp connect (localhost:54321): connection refused - :econnrefused

04:09:21.188 [warning] Reconnecting in 4000ms

I've taken another look at this. Can't say with certainty whether we can fix this but it looks like a benign issue where Postgres keeps sending keepalive messages to the replica until its internal shutdown timeout expires.
Closing this as a non-issue.


Check appends and slice allocations for DOS problems

I've gone through all makes and appends, and fixed a couple of possible DOSes.
I've not looked at the loops for the NACK range calculations, since they will get removed soonish.
@marten-seemann: Should we close this issue, or do you want to have another look?

NACK range calculations should not be a problem, since the maximum number of NACK ranges we receive is limited by MaxPacketSize, at least for each packet. Not really sure what happens with truncated ACKs, but I guess congestion control will then save us from getting DOSed.
Anyway, let's think about that in detail when implementing QUIC 34. Closing this issue for now.


fix(dependencies): update vulnerable minimist version

PR Checklist
Please check if your PR fulfills the following requirements:

[X] The commit message follows our guidelines: https://github.com/ngneat/until-destroy/blob/master/CONTRIBUTING.md#commit
[X] Tests for the changes have been added (for bug fixes / features)
[X] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[X] Other... Please explain: *Security Vulnerability*

What is the current behavior?
Minimist <=1.2.5 is vulnerable to Prototype Pollution via file index.js, function setKey() (lines 69-95).

Issue Number: N/A
What is the new behavior?
Minimist package is patched in 1.2.6
Does this PR introduce a breaking change?
[ ] Yes
[X] No

Other information

This has been resolved in 9.0.2.

Thank you, @arturovt!


TestCafe runs into the "undefined is not an object" error (Safari 15) and hangs when connecting to iOS 15 remote browsers

What is your Test Scenario?

We're trying to run our automated regression tests targeting Safari iOS 15 (BrowserStack iPhone 11 Pro). BrowserStack has a Beta release of iOS 15, which we want to make sure won't break our site. You can target this using their browserstack-config.json file:
{
  "os_version": "15 Beta"
}

What is the Current behavior?

Once our site loads, TestCafe fails to start and hangs
What is the Expected behavior?

I would expect TestCafe to run against iOS 15 in the same way it does for previous iOS versions
What is your web application and your TestCafe test code?

Run tests against BrowserStack's iPhone 11 Pro (iOS 15) browser
Execute this command...
See the error...

Your Environment details:

testcafe version:  1.16.0
node.js version:
command-line arguments: BROWSERSTACK_CAPABILITIES_CONFIG_PATH='browserstack-config.json' BROWSERSTACK_USE_AUTOMATE=1 testcafe 'browserstack:iPhone 11 Pro'
browser name and version:
platform and version:
other:

Working with BroswerStack, it seems like an issue within testcafe-hammerhead. The hanging occurs because we're skipping js errors by default (removing this option, displays the error)
JavaScript error details:
      undefined is not an object (evaluating 's["default"].objectHasOwnProperty.call(l,"writable")')
      hasOwnProperty@[native code]
      i@http://<IP_ADDRESS>:51702/hammerhead.js:15:23673
      a@http://<IP_ADDRESS>:51702/hammerhead.js:15:23798

@rob4629
Hello,
I reproduced this issue. We will update this thread once we have news.
Logs:

https://user-images.githubusercontent.com/30019338/133970658-0bfb4502-1a01-4fca-8388-27157e65d681.mp4

For the team:
I checked this scenario with macOS Big Sur 11.6 and Safari 14.1.2 and the test ran without any errors.

BrowserStack's development team have opened a PR for this issue: https://github.com/DevExpress/testcafe-browser-provider-browserstack/pull/156

@rob4629
Thank you. We'll take a look.

I reproduced the "undefined is not an object" error with Safari 15 and macOS 11.6 (without BrowserStack). It looks like we need to fix our style overriding in the Safari 15 case.
For the team.
> Object.getOwnPropertyDescriptor(document.createElement('img').style, 'background-image')
< undefined // Safari 15, but Chrome returns the correct descriptor

To get the descriptor, we need to get a prototype:
> Object.getOwnPropertyDescriptor(Object.getPrototypeOf(document.createElement('img').style), 'background-image')
< {get: function, set: function, enumerable: true, configurable: true} // Safari 15

For the team: check this Safari 15 local hanging scenario - https://github.com/DevExpress/testcafe/issues/6583.


Add JMX SSL setting

CLA is valid!

See issue #274

See https://blogs.oracle.com/jmxetc/entry/jmx_connecting_through_firewalls_using


ch 3 model assumptions for LMMs

Explain how to check model assumptions in LMMs.

Maybe introduce the acf function for residuals?


BREAKING: move LoadBalancer to aws-elasticloadbalancing package

This is where it should have been all along.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license.

README?


Proposal: Optimizing @computed based on deps collection of signal concepts

Relevant Package

reactant-module

Description
Since the access to a class's state is via a getter in Reactant, its derived state and that of computed can be implemented in a manner similar to the concept of signals for automatic dependency collection.
The usage is modified as follows:
@injectable()
class Counter {
  @state
  count = 0;

-  @computed((that) => [that.count])
+  @computed
  get num() {
    return this.count + 1;
  }
}

sounds cool to me, but after that we may also need untracked method to be implement
https://angular.io/guide/signals#reading-without-tracking-dependencies
if we do that should have some method to


Update refined, refined-scalacheck, ... to 0.9.26

Updates

eu.timepit:refined
eu.timepit:refined-scalacheck
eu.timepit:refined-shapeless

from 0.9.20 to 0.9.26.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "eu.timepit" } ]

labels: library-update, semver-patch

Superseded by #109.


Add Hamster Criminal by MC Beast

Song Name
Hamster Criminal
Artist Name
MC Beast
Source
Youtube
Youtube Link
https://youtu.be/WA4PsDoSLe8?si=rIK9cbBnN3Y-QD18
Direct File Link
No response
Song ID
1
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 108827875

reject
duplicate request, no worries, the song has been accepted


[bug] Missing error message in url.Error

What version of Go are you using (go version)?

$ go version
1.19.13

Does this issue reproduce with the latest release?
Not sure
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
2023-10-27T16:43:58.4830308Z ##[group]go env
2023-10-27T16:43:58.6349270Z GO111MODULE=""
2023-10-27T16:43:58.6352022Z GOARCH="amd64"
2023-10-27T16:43:58.6352725Z GOBIN=""
2023-10-27T16:43:58.6353792Z GOCACHE="/home/runner/.cache/go-build"
2023-10-27T16:43:58.6354636Z GOENV="/home/runner/.config/go/env"
2023-10-27T16:43:58.6355530Z GOEXE=""
2023-10-27T16:43:58.6364985Z GOEXPERIMENT=""
2023-10-27T16:43:58.6365818Z GOFLAGS=""
2023-10-27T16:43:58.6378907Z GOHOSTARCH="amd64"
2023-10-27T16:43:58.6379361Z GOHOSTOS="linux"
2023-10-27T16:43:58.6379751Z GOINSECURE=""
2023-10-27T16:43:58.6380334Z GOMODCACHE="/home/runner/go/pkg/mod"
2023-10-27T16:43:58.6381228Z GONOPROXY=""
2023-10-27T16:43:58.6381732Z GONOSUMDB=""
2023-10-27T16:43:58.6382047Z GOOS="linux"
2023-10-27T16:43:58.6382406Z GOPATH="/home/runner/go"
2023-10-27T16:43:58.6382807Z GOPRIVATE=""
2023-10-27T16:43:58.6383412Z GOPROXY="https://proxy.golang.org,direct"
2023-10-27T16:43:58.6384045Z GOROOT="/opt/hostedtoolcache/go/1.19.13/x64"
2023-10-27T16:43:58.6384608Z GOSUMDB="sum.golang.org"
2023-10-27T16:43:58.6385006Z GOTMPDIR=""
2023-10-27T16:43:58.6386356Z GOTOOLDIR="/opt/hostedtoolcache/go/1.19.13/x64/pkg/tool/linux_amd64"
2023-10-27T16:43:58.6387081Z GOVCS=""
2023-10-27T16:43:58.6387409Z GOVERSION="go1.19.13"
2023-10-27T16:43:58.6387805Z GCCGO="gccgo"
2023-10-27T16:43:58.6388151Z GOAMD64="v1"
2023-10-27T16:43:58.6388487Z AR="ar"
2023-10-27T16:43:58.6388814Z CC="gcc"
2023-10-27T16:43:58.6389135Z CXX="g++"
2023-10-27T16:43:58.6389453Z CGO_ENABLED="1"
2023-10-27T16:43:58.6390222Z GOMOD="/dev/null"
2023-10-27T16:43:58.6390563Z GOWORK=""
2023-10-27T16:43:58.6391050Z CGO_CFLAGS="-g -O2"
2023-10-27T16:43:58.6391588Z CGO_CPPFLAGS=""
2023-10-27T16:43:58.6392190Z CGO_CXXFLAGS="-g -O2"
2023-10-27T16:43:58.6392605Z CGO_FFLAGS="-g -O2"
2023-10-27T16:43:58.6393025Z CGO_LDFLAGS="-g -O2"
2023-10-27T16:43:58.6393472Z PKG_CONFIG="pkg-config"
2023-10-27T16:43:58.6394822Z GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-

What did you do?

Using OpenAPI go client to call an API.
With debugging log enabled: https://github.com/xdblab/xdb-golang-sdk/blob/beb5d0cdd04e9e2b1e95032a08bd784131edb564/xdb/basic_client_impl.go#L27
What did you expect to see?
If there is errors, I expect to see details of what it is -- e.g. invalid URL, timeout, etc.
What did you see instead?
I got an error without any details --
{"Op":"Post","URL":"http://localhost:8801/api/v1/xdb/service/process-execution/describe","Err":{}

I don't see how this is an error in the standard library.

@seankhliao thanks for looking into this. Within my project, this error is only initialized by the standard library itself, that's why I think there is something we can do here.
Do you have any suggestion for root causing the issues? Thanks in advance.


Fix uninitialized constant Sauce::RSpec::Spec

Appium's Ruby test framework is called spec so require 'spec'
will always succed (and cause the uninitialized constant error).
Fix #338

Note that the capybara failures on Travis are not related to this PR. Capybara has been failing on Travis for a very long time.

thanks bootstrap


[$500] Request Money - The 'X requests' label in the IOU preview shows an incorrect number of requests when receipt is being scanned

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Log in to account A.
Send a Money request to account B using the "MANUALLY" option.
Send a second Money request to account B using the "SCAN" option.
While scanning, check the label "X requests" displayed in the IOU preview.

Expected Result:

The label should display “1 request, 1 scanning”
Alternatively, we should consider rephrasing the label to reduce confusion.

Actual Result:
The label shows "2 requests, 1 scanning" - that is confusing
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[x] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/8f933f74-84c7-4e11-92dc-4f7811c6a2ce
https://github.com/Expensify/App/assets/93399543/2b83dae2-e7fe-4df8-9580-2b24319a8ecf
https://github.com/Expensify/App/assets/93399543/f61e0c3a-5783-4018-a6b3-fe9931827e62
Expensify/Expensify Issue URL:
Issue reported by: @tranvantoan-qn
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1695322049689339
View all open jobs on GitHub

Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01a355e4613803c4cb
Upwork Job ID:<PHONE_NUMBER>207479808
Last Price Increase: 2023-09-23

Proposal
Please re-state the problem that we are trying to solve in this issue.
Request are showing invalid count if some of them are currently being scanned.
What is the root cause of that problem?
We are showing total request count and scanning request separately here.
https://github.com/Expensify/App/blob/5aa7f6da94ddb1c8ca55a6cce714555f819c1dd0/src/languages/en.ts#L512-L514
What changes do you think we should make in order to solve the problem?
instead of count it should be count - scanningReceipts
The solution would look something like this
 requestCount: ({count, scanningReceipts = 0}: RequestCountParams) => `${count-scanningReceipts} requests${scanningReceipts > 0 ? `, ${scanningReceipts} scanning` : ''}`,

What alternative solutions did you explore? (Optional)
N/A

Proposal
Please re-state the problem that we are trying to solve in this issue
The IOU message is confusing. The message “2 requests, 1 scanning” can be interpreted in two ways:

One scanned request and two  manual requests
Two requests in total, and one of them is a scanned request

What is the root cause of that problem?
The IOU label is confusing
What changes do you think we should make in order to solve the problem?
We should consider alternative label. Some examples:
“2 reports, 1 scanned”
“1 manual, 1 scanned reports“
“1 manual and 1 scanned reports”
What alternative solutions did you explore? (Optional)
Changing the label to “1 report, 1 scanning” will not clear the confusion. We need a label change here.
Shall we consider these alternatives?

Proposal
Please re-state the problem that we are trying to solve in this issue
The IOU message is confusing. The message “2 requests, 1 scanning” can be interpreted in two ways:

One scanned request and two  manual requests
Two requests in total, and one of them is a scanned request

What is the root cause of that problem?
The IOU label is confusing
What changes do you think we should make in order to solve the problem?
We should consider alternative label. Some examples:
“2 reports, 1 scanned”
“1 manual, 1 scanned reports“
“1 manual and 1 scanned reports”
What alternative solutions did you explore? (Optional)
Changing the label to “1 report, 1 scanning” will not clear the confusion. We need a label change here.
Shall we consider these alternatives?

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~013623fb95857e1af4

Clarifying here https://expensify.slack.com/archives/C049HHMV9SM/p1695627952655119?thread_ts=1695322049.689339&cid=C049HHMV9SM

"I still don't think that "2 requests, 1 scanning" is wrong though. You have two requests and one is scanning, that is accurate and I don't think that sounds like 3. I really appreciate you taking the time to lay out your reasoning! Going to close as judging not to be a bug"

Provided further details regarding the inconsistency issue with the label between the Sender's and Receiver's views. Despite the same number of requests, it displays 3 requests, 1 scanning on the Sender's side, whereas on the Receiver's side, it shows 2 requests, 1 scanning, as previously reported here


Documentation: fix "Missing infra1="

Documentation: fix "Missing infra1="

Sorry, I couldn't figure it out since I don't have any git client on this machine so I made a new pull request.

lgtm


Localize content/en/docs/reference/scheduling/_index.md into Hindi

/assign
/needs-triage

en page: https://kubernetes.io/docs/reference/scheduling/
/language hi

@anubha-v-ardhan needs triage.

/triage-accepted

/triage accepted

This issue has been resolved by PR #36061 (which has now been merged). This issue can now be closed. Thanks.
/close


Non blocking client 2

Base on #9
Please briefly answer these questions:

what problem are you trying to solve? (or if there's no problem, what's the motivation for this change?)
Implement Protocol Client & KV Client

what changes does this pull request make?
Implement Protocol Client & KV Client

are there any non-obvious implications of these changes? (does it break compatibility with previous versions, etc)

Please add documents to non-trivial functions.


Prevents hue selection from escaping the picker

You need to pull first and fix conflicts because it can't automatically merge.


SOLR-17501: Move out CLI utils from SolrCLI

https://issues.apache.org/jira/browse/SOLR-17501
Description
To reduce the scope and dependencies to SolrCLI.java, utility / helper methods should be extracted from SolrCLI into a separate class. This way, SolrCLI acts only as an entrypoint and CLI initiation class.
Solution
Several static methods and attributes have been moved to CLIUtils.java. Commit history allows backporting of changes to 9.X.
Tests
Please describe the tests you've developed or run to confirm this patch implements the feature or solves the problem.
Checklist
Please review the following and check all that apply:

[ ] I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
[ ] I have created a Jira issue and added the issue ID to my pull request title.
[ ] I have given Solr maintainers access to contribute to my PR branch. (optional but recommended, not available for branches on forks living under an organisation)
[x] I have developed this patch against the main branch.
[ ] I have run ./gradlew check.
[ ] I have added tests for my changes.
[ ] I have added documentation for the Reference Guide

Is this able to backwards ported to 9x?   Seems good stuff!

Is this able to backwards ported to 9x? Seems good stuff!
I think I could create a separate PR for backporting if we want these changes in 9x as well. I think a cherry-pick won't do in this case as I was expecting.

This PR is related and should be blocked by #2778 for now.

I'll also would wait for https://github.com/apache/solr/pull/2725 to be merged first before completing thins one.


[doc_chinese_doc ] Add a use case of carbondata detailed data query

…to carbondata
as talked with likun add some chinese doc to carbondata.
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[ ] Any interfaces changed?

[ ] Any backward compatibility impacted?

[ ] Document update required?

[ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/1229/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/1239/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1248/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/1421/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/1423/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1443/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/1431/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1492/

Very well written, it is even better to use official site data

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1502/

please optimize the title of the PR to ‘Add document for carbondata usage in production’

create table

create table

LGTM

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1508/

LGTM


Try removing robolectric from integration_test tests

May fix https://github.com/flutter/flutter/issues/148393.
There are reports on the robolectric issue tracker of >4.10.3 causing the error we are seeing
https://github.com/robolectric/robolectric/issues/8158
The test doesn't actually need robolectric (and didn't originally use it, or flake before using it), but it was added in https://github.com/flutter/flutter/pull/144348. We can safely remove it by mocking the call to View.generateViewId(), so try removing it and see if flakes go away.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] I followed the breaking change policy and added Data Driven Fixes where supported.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact "@test-exemption-reviewer" in the #hackers channel in Chat (don't just cc them here, they won't see it! Use Discord!).
If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?
Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

This is exclusively changes to a test


Issues powering/accessing D435i when running in Docker

Required Info

Camera Model
D400

Firmware Version
<IP_ADDRESS>

Operating System & Version
Ubuntu 20.04

Kernel Version (Linux Only)
5.11.0-44-generic

Platform
PC

SDK Version
2.5

Language
ROS 2, python

Segment
{Robot/Smartphone/VR/AR/others }

Issue Description
I am following the the instructions from here https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_visual_odometry. This runs a docker container with all the necessary dependencies (ROS 2, RealSense SDK, etc..). Within this container I can run all the realsense tools like the realsense-viewer, rs-depth, etc. The issue is that it looks like it is having trouble actually powering on the camera when running these tools. It shows that it detects the camera but for some reason it can't power it on. Not sure if this a docker access issue or actual power issue with my usb ports. All my usb ports power all other peripherals just fine. I can connect the camera to my windows laptop and run all the realsense tools there just fine. I just upgraded the firmware through my laptop and tried again but that did not seem to work.
Here is what the realsense viewer log shows

This is the message from rs-enumerate-devices:
Could not create device - failed to set power state . Check SDK logs for details
08/01 20:25:12,696 ERROR [140458703419136] (handle-libusb.h:51) failed to open usb interface: 0, error: RS2_USB_STATUS_ACCESS
I have also  added 99-realsense-libusb.rules but still didn't work.
Any other suggestions would could be causing this issue?
Thank you

I solved by installing librealsense onto my machine.

Hi @Brac24, did you ever try to get it working through Docker afterwards, I'm in the exact same position as you were.
It is mentioned in the troubleshooting from isaac_ros_common, but following their solution doesn't work for me. :(

I did but not using Isaac ros. I use the containers for Jetson Nano from here https://github.com/dusty-nv/jetson-containers and also had to change the script to run the container with privileged access


Links to pretrained weights

Excited to test this TSR approach. Looks like the links to the pretrained weights are missing?

Links of model weights are updated at the README.md now. Thank you for reminding us!

If you would use the ckpt_wireless for inference, please add --upper_left argument to the demo_wireless.sh scripts. Since this model is trained on a different image preprocess pipeline with other checkpoints. The update of code in the repository may have some delay :)

If you would use the ckpt_wireless for inference, please add --upper_left argument to the demo_wireless.sh scripts. Since this model is trained on a different image preprocess pipeline with other checkpoints. The update of code in the repository may have some delay :)

Thank you :) Will give it a spin this week


Added another "use in the wild"

Doh!
fixed.

@imaginator Yup, if you fix @realityking's comment amount the trailing slash, I'd be glad to merge. Thanks for the contribution! :smile:

Thank YOU guys for building Slate! :)

:smile_cat:


Custom markers randomly disappear

When the map updates, some of my custom markers disappear. This keeps happening till there are none left. With default markers everything is fine. I am creating my markers as an array.

Observing the same

Try to cache markers this way:
<View style={styles.container}>
    {_.map(markerIcons, (icon, i) => (
        <Image key={i} style={{opacity: 0}} source={icon} />
    ))}
    <MapView.Animated
        ...
    >
        {markers && markers.map(this.renderMarker)}
    </MapView.Animated>
</View>

I'm seeing the same on android. I'm refreshing the positions of my custom markers every few seconds, and once every 15 times (ballpark figure), one of them disappears. It usually reappears on the next refresh, but it seems to be random. I have properly set a key for them.

I think I worked around the problem but making my "key"s change every time. So instead of key={id} I used key={id + '_' + Date.now()}. It feels pretty hacky but in the meantime it works...

@simlmx That seems to work for only rendering the markers, but is causing issues with callouts.

I am experiencing the same issue on android.

The bug still here. And it is much annoying.

Still having this issue and @simlmx 's solution doesn't work for me.  I'm a newbie to RN !

HUGE issue for me, I can't even get the generic markers from disappearing after rendering. I'm using react-native-maps v0.16.4 and react-native v0.48.4

@ryskiz try to prevent unnecessary re-rendering with shouldComponentUpdate. This workaround saved my project two monthes ago.

@Dmitry-k42 the whole point is that the react-native-map component renders on updates from props to show updates. My problem is that WHENEVER the map component updates all custom markers disappear.

@ryskiz I noticed that problem is present only when markers update TOO OFTEN. Maybe you have another problem.

I ran into these issues awhile ago when I was building a drone application using this repo. I ended up rewriting how views are added/removed from the RN tree on the native side and I never had a problem with disappearing markers again.  The views are stomping on each other when being ended and removed due to the child index being incorrect.

Android?
@nitaliano mind sharing your code (ideally PR but also ping me just with the code you changed)

Like #483?

@alvelig that used to be supported https://github.com/react-community/react-native-maps/blob/master/example/examples/CustomOverlayXMarksTheSpot.js I can try to put together some time to send a PR out to this repo. I don't have access to the code anymore but I know what needs to be changed. I'm writing the RN Mapbox repo as of now so my time is limited.

@nitaliano I did that for iOS (AppleMaps):
AirMap.m
-(void)addSubview:(UIView *)view {
    if([view isKindOfClass:[AIRMapMarker class]]) {
        [self addAnnotation:(id <MKAnnotation>)view];
    } else {
        [super addSubview:view];
    }
}

Is that a way to go?

@alvelig this probably won't help much but I had a commit on one of my forks of this repo before I moved it into my previous companies internal fork https://github.com/nitaliano/react-native-maps/commit/1ef9dce0a9c6b934bc32ef903b9c8dc8cad513f4 it's only google maps on iOS and it was the start of the changes

@nitaliano Great! It's what I was looking for yesterday for #1895. What's the idea behind replacing self.markers with _markers? They are pointing to the same, are they?
The rest of the changes is clear. Thank you very much.
Also if you could have a look on #1870, some custom marker views with images are not rendered, and if have an idea, I'll be very grateful.
P.S. Is MapBox better project or its your job now?

@alvelig the self vs _ doesn't matter that are pointing to the same reference. I prefer to use _ in most cases.
I work at Mapbox now and work on all the their React Native projects

Hello, thank you for all your great job. This issue is really painful for us. Any updates?

Any updates? @simlmx this code not work for me key={id + '_' + Date.now()}.

I have a similar issue, when I add a custom marker, several others appear in coordinates that doesnt have. Applying the Date.now() hack works, but whenever my state changes, and the map re renders the markers disappear and apear again, and while dragging its seems kind a laggy

The hack of adding a timestamp to key is not sufficient.
It definitely solves the issue of pins disappearing, but now I can not leverage shouldComponentUpdate at all in my Custom marker, since changing the key all the time will cause react to create new views. Now, I have a huge performance hit and it is causing animations not related to the map view at all suffer. The animations look fine with <= 10 pins on my device, but get severely worse past that.
I have put logging statements in the map that I use to render my custom markers, and I see that the proper number of markers are being rendered from my perspective. So either React is somehow dropping these, or there is a bug in the Native implementation of the Markers cache.
Note: I'm specifically testing on Android, haven't tried iOS out yet, but I will update this comment once I've done so.

An update on where I left off on my investigation. iOS does not seem to be affected by this problem.
I was able to use the key timestamp hack effectively by keeping the timestamp in the component state, and updating the timestamp in componentDidUpdate when the props that determine my Markers updates (using Redux here).
So, this means that I was able to keep performance reasonable while also doing the nuclear approach if I know for sure I want to reload the Markers.
componentDidUpdate(prevProps) {
    if (markersDefinitelyShouldBeUpdated(prevProps, this.props)) {
        this.setState({ keyTimestamp: Date.now() });
    }
}
...
render()  {
  ....
  <Marker key={`${item.id}_{this.state.keyTimestamp}`} />
}

Turn off showuserlocation  and followuserlocation, it will cause map update too ofen. use a custom marker replace that blue dot, control update duration. i found this problem is not cause by custom maker image loading and key setting.

definitely still have this quite often, just randomly markers from the bottom half of the screen start dissapearing for no reason


Consistency in naming freqs vs. frequencies

It looks like most of the TFR-style functionality calls it freqs:
https://github.com/mne-tools/mne-python/search?utf8=✓&q=freqs&type=
while the stats and connectivity style objects call it frequencies:
https://github.com/mne-tools/mne-python/search?utf8=✓&q=frequencies&type=
Should we standardize this?

I'm okay to go with a deprecation cycle to unify around freqs

+1
On Wed, Mar 29, 2017 at 1:35 PM Eric Larson<EMAIL_ADDRESS>wrote:

I'm okay to go with a deprecation cycle to unify around freqs
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mne-tools/mne-python/issues/4116#issuecomment-290164953,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB0fipo4rI_CB5OC6aBjJl6eD-8_ghO0ks5rqpZ9gaJpZM4MtJd8
.

Somewhat related:
https://github.com/mne-tools/mne-python/issues/3164
https://github.com/mne-tools/mne-python/issues/3702

+1


style: bash

Hello,
Here is a small PR this following "improvements" :

make script more portable
bash strict mode
check if shellcheck command is in PATH
cosmetic

Thank you

LGTM. merged


Sorting room list alphabetically case-insensitive.

When sorting room list alphabetically, sort it case-insensitive.

Pull Request Checklist

[x] Pull request is based on the develop branch
[x] Pull request contains a changelog file in ./changelog.d. See https://github.com/matrix-org/matrix-ios-sdk/blob/develop/CONTRIBUTING.md#changelog
[x] Pull request includes a sign off

@pixlwave Can you have a look please. 🙏

@pixlwave
You're right. I tested and localizedStandardCompare is case-insensitive, so I did the asked modification.
Thanks 👍


Tooltip content in source order

Location
TDS component
Expected Behaviour
When navigating content with a screenreader (top to bottom, left to right) the tooltip message should be available after the button (right or down)
Actual Behaviour
tooltip is before button. Content can be discovered by moving back (left or up)
How to Reproduce?
tab to component with screen reader
activate tooltip toggle
use VO keys back arrow or NVDA key back arrow to read message
Which version of TDS does this effect?
TDS v0.29.0

Duplicate of #434


Crit and dodge

I have now added a 10% chance for every attack to be dodged, and then a further 10% chance for every attack to crit for x3 damage. I have also moderated the damage dealt by the basic attack to be 5-8. All of these "magic numbers" have been excluded in the external config file and can easily be adjusted (for say, difficulty reasons) without having to edit the code.
The front end part of displaying to the player what is happening is next, and when doing that I shall remove the console.log spam in the function that exists right now. However feel free to open the console during a battle to see what is happening! All of those logs will eventually appear to the player on screen, this will be done in a separate branch.

Regarding the conflicts in the Config file (which GitHub is not being very helpful with and is not going over line by line), here is what I have added/removed:
-Added:
baseMinAttack
baseMaxAttack
critAttackMultiplier
dodgeChance
critChance
-Removed:
baseAttack


✨ Add XValidations CRD marker support

This PR adds cherry-pick of an upstream change that adds support for XValidations CRD marker, allowing generation of the x-kubernetes-validations extension for the expression-based validation rules.
The change was tested to have no impact on the current cilium/cilium codebase.
Example usage of a feature:
In CRD types:
  // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"

In generated API:
    x-kubernetes-validations:
    - message: Value is immutable
      rule: self == oldSelf

@christarazi as it seems this is a pretty demanded feature, I reworked this cherry-pick on top of the v0.8 version currently used in cilium/cilium.

Thanks @christarazi ! Could you also create a release/tag with this change? I could then take care of updating it in the cilium repo.

Done, https://github.com/cilium/controller-tools/releases/tag/v0.8.0-2. Thanks!


[Enhancement]: Tag aio image with static tag

What would you like to be added:
Currently the all-in-one image is published with the build date like so: quay.io/microshift/microshift:4.7.0-0.microshift-2021-08-31-224727-aio. I would like a static tag on an image (latest, aio, latest-aio or anything else that seems fit). Publishing an image such as quay.io/microshift/microshift-aio:latest may help differentiate it from the main image if there is any confusion between them.
Why is this needed:
Podman auto-update's feature to work as implemented in #292.
<snip>
An image is considered updated if the digest in the local storage is different
than the one of the remote image. If an image must be updated, Podman pulls it
down and restarts the systemd unit executing the container.

The registry policy requires a fully-qualified image reference (e.g.,
quay.io/podman/stable:latest) to be used to create the container. This
enforcement is necessary to know which image to actually check and pull.
</snip>

/assign @copejon

Once this issue is addressed, we need to update this: https://github.com/redhat-et/microshift/blob/42a27223f94db4686dc2f0d2bdc697ae2af7efaa/hack/all-in-one/microshift-aio-run#L20


Cannot load schema.graphql

Actual Behavior
Vscode output:
(node:10595) UnhandledPromiseRejectionWarning: Error:
Unable to find any GraphQL type definitions for the following pointers: schema.graphql
with  .graphqlrc.yml
schema: 'schema.graphql' documents: 'src/**/*.{graphql,tsx,jsx,ts,js}' extensions:   endpoints:     dev:       url: https://api.thegraph.com/subgraphs/name/astraldao/spatial-assets-nfts       subscription:         url: wss://api.thegraph.com/subgraphs/name/astraldao/spatial-assets-nfts
and schema.graphql at the root of the project
type SpatialAsset @entity {   id: ID!   owner: String!   active: Boolean! }
Expected Behavior
Finding Graphql type definitions and allow running graphql queries from js files within src
Steps to Reproduce the Problem Or Description
Specifications

GraphQL for VSCode Extension Version: 0.3.10
VSCode Version: 1.50.1
OS Name: Windows 10 /WSL2

Logs Of TS Server || GraphQL Language Service

this bug should be cleared up now!


source_id registration of BNU-ESM-1-1

label = BNU-ESM 1.1
source_id = BNU-ESM-1-1
institution_id = BNU
release_year = 2016

label_extended = BNU-ESM 1.1
aerosol = unnamed
atmosphere = CAM4
atmospheric_chemistry = unnamed
land_ice = None
land_surface = CoLM
ocean = MOM4p1
ocean_biogeochemistry = unnamed
sea_ice = CICE4.1

@duoying I am just trying to finalise this, do you have some additional information that you wanted to add in below (specified by # entries below - sample text in () are taken from the CMIP5 contributing model ACCESS-1-0)?
        "BNU-ESM-1-1":{
            "aerosol":"unnamed", # Is there a version number or further info
            "atmosphere":"CAM4", # Is there additional information available i.e (r1.1; 192 x 145 N96; 38 levels; top level 39255m) or similar?
            "atmospheric_chemistry":"unnamed", # Is there a version number or further info
            "cohort":[
                ""
            ],
            "institution_id":[
                "BNU"
            ],
            "label":"BNU-ESM 1.1",
            "label_extended":"BNU-ESM 1.1",
            "land_ice":"None",
            "land_surface":"CoLM", # Is there a version number or further info
            "ocean":"MOM4p1", # is there additional information available i.e (MOM4p1; tripolar primarily 1deg latitude/longitude; 50 levels; top grid cell 0-10m)
            "ocean_biogeochemistry":"unnamed", # Is there a version number or further info
            "release_year":"2016",
            "sea_ice":"CICE4.1",
            "source_id":"BNU-ESM-1-1"
},

@durack1 we revised to the following form:
    "BNU-ESM-1-1":{
        "aerosol":"CAM-chem",
        "atmosphere":"CAM4 (FV 144x96; 26 levels)",
        "atmospheric_chemistry":"CAM-chem",
        "cohort":[
            ""
        ],
        "institution_id":[
            "BNU"
        ],
        "label":"BNU-ESM 1.1",
        "label_extended":"BNU-ESM 1.1",
        "land_ice":"None",
        "land_surface":"CoLM with carbon-nitrogen interactions",
        "ocean":"MOM4p1 (360x200, tripolar, primarily 1deg latitude/longitude, down to 1/3deg  within 30deg of the equatorial tropics; 50 levels)
        "ocean_biogeochemistry":"Dynamic ecosystem-carbon model"
        "release_year":"2016",
        "sea_ice":"CICE4.1",
        "source_id":"BNU-ESM-1-1"

}

@duoying great I'll start pulling this across.. Just because I am interested do you have some additional information for the ??UPPERCASE?? fields below, and version numbers for the specific modules noted below?
        "BNU-ESM-1-1":{
            "aerosol":"CAM-chem", # Is there a version number
            "atmosphere":"CAM4 (FV 144x96; 26 levels, ??TOP LEVEL: XXMB??)",
            "atmospheric_chemistry":"CAM-chem", # Is there a version number
            "land_surface":"CoLM with carbon-nitrogen interactions", # Is there a version number
            "ocean":"MOM4p1 (360x200, tripolar, primarily 1deg latitude/longitude, down to 1/3deg  within 30deg of the equatorial tropics; 50 levels, ??TOP [VERTICAL] LEVEL 0-10M??)
            "ocean_biogeochemistry":"Dynamic ecosystem-carbon model" # Is there a version number
}

@durack1 Please check the following revisions:
    "BNU-ESM-1-1":{
        "aerosol":"Semi-interactive",
        "atmosphere":"CAM4 (FV 144x96; 26 levels, TOP LEVEL: 2.194 MB)",
        "atmospheric_chemistry":"None", # It's off for CMIP6
        "land_surface":"CoLM with carbon-nitrogen interactions", # Is there a version number
        "ocean":"MOM4p1 (360x200, tripolar, primarily 1deg latitude/longitude, down to 1/3deg  within 30deg of the equatorial tropics; 50 levels, TOP 1 LEVEL 0-10M),
        "ocean_biogeochemistry":"Dynamic ecosystem-carbon model" # Is there a version number

}

@duoying any chance you can provide an answer to the remaining queries so I can register your model?
"BNU-ESM-1-1":{
 "land_surface":"CoLM with carbon-nitrogen interactions", # Is there a version number
 "ocean_biogeochemistry":"Dynamic ecosystem-carbon model" # Is there a version number
}

@durack1 please check the following revisions:
"BNU-ESM-1-1":{
"land_surface":"CoLM version 2014 with carbon-nitrogen interactions", # Is there a version number
"ocean_biogeochemistry":"Dynamic ecosystem-carbon model version 1" # Is there a version number
}

@duoying please review the entries in CMIP6_source_id.html for accuracy, and if any revisions are required please reopen and detail the amendments in this issue

@duoying we've amended the information that we're collecting about models and require some additional information from you. The values below need some revision or new information - I've noted ### some text ### below where I have revised the format between the # symbols, or a ### marker where web links to the information sources for new fields that we require additional information from you:
"BNU-ESM-1-1":{
  "activity_participation":[
    "" ### See activity list at https://github.com/WCRP-CMIP/CMIP6_CVs/blob/master/CMIP6_activity_id.json
  ],
  "atmosphere":"CAM4 (FV; ###144 x 96 longitude/latitude###; 26 levels; top level 2.194 mb)",
  "nominal_resolution_atmos":"", ### See Appendix 2 in https://goo.gl/v1drZl
  "nominal_resolution_landIce":"", ### See Appendix 2 in https://goo.gl/v1drZl
  "nominal_resolution_ocean":"", ### See Appendix 2 in https://goo.gl/v1drZl
},

@duoying have you had a chance to obtain the additional information we require above?

@durack1 please see the following revisions:
"BNU-ESM-1-1":{
"activity_participation":[ "C4MIP","CMIP","GMMIP","GeoMIP","OMIP","ScenarioMIP" ],
"atmosphere":"CAM4 (2deg; 144 x 96 longitude/latitude; 26 levels; top level 2.194 mb)",
"nominal_resolution_aerosol":"250 km",
"nominal_resolution_atmos":"250 km",
"nominal_resolution_land":"250 km",
"nominal_resolution_ocean":"100 km",
"nominal_resolution_oceanBgchem":"100 km",
"nominal_resolution_seaIce":"100 km"
},

@duoying thanks for this, peek at CMIP6_source_id.html and let me know if any further tweaks are required

@duoying no problem, I will amend these details in the next update (and am re-opening this issue until the changes are in place)

@duoying please review the updated details in CMIP6_source_id.html and let me know if any further tweaks are required


Documentation

I am working on it.

@sharmistharanit  You have to add explanation for the "own library created" to separate the algorithm part, which is crucial part of our homework.


Conduct a manual test session for Meteor update

The purpose of the task is to make sure the Meteor 1.3 update did not break anything in the UI and get material for automated functional tests.
Definition of done

[ ] Organise test session
[ ] Open backlog items, if bugs are found in testing
[ ] Keep a log of testing
[ ] Write down the test scenarios
[ ] Store the document in documentation repository
[ ] If necessary, merge the Meteor update pull request # 944

@brylie Would you take this task as a follow-up to the Meteor update?


Question displays until time runs out

In logoquiz when user select one answer, there is no confirm option and app can't recognize that user have given the answer, we have to wait until timer runs out for that qustion and only after that next question comes.
Maybe stops the timer for that question, when user has given the answer so that we won't have to wait for 25 sec. for next question

https://user-images.githubusercontent.com/128675129/228338670-91ed0e6e-080c-4230-9080-caaa6894df68.mp4
As you can see, ideally it should recognize that user has given answer and show new question, but here we have to wait for whole 25 seconds for new question to show up, maybe add a tickmark button to verify submit answer ?
Also, Mac'd option is not visible in first question
Izzyondroid repo inclusion will be great :)

Thank you for consodertation :)

I changed the verify button and made the content to be scrollable, so now you can see the other answers.
https://user-images.githubusercontent.com/53819675/229289453-d2ddda5c-aad9-4854-a47b-390abd0a9cbf.mp4


Typecast $windowsImageConfig.cpu_count

Typecast $windowsImageConfig.cpu_count to an integer so it can be more reliably compared against the number of logical processors.  Closes #219.

thanks for the contribution!


AssertionError: make sure checkpoint file for the Mastering Cloner named 'mastering_cloner.pt' is under directory

Hi, I'm excited to try your tool, but I'm getting the following problem when trying to use inference:
AssertionError: make sure checkpoint file for the Mastering Cloner named 'mastering_cloner.pt' is under directory
Using inference as described:
python inference.py --ckpt_dir "C:\Users\lucas\Downloads\e2e_music_remastering_system\Self_Supervised_Music_Remastering_System\model_checkpoints" --data_dir_test "C:\Users\lucas\Downloads\e2e_music_remastering_system\inference_samples\set_1"
I already put the 2 checkpoint models in the model_checkpoints folder but I still get this error,
O que pode ser?

This issue was resolved, just ignoring the '--ckpt_dir' argument.


Compilation fails : 'cub::DispatchRadixSort<false,KeyT,ValueT,int>' : assignment operator could not be generated

While building CNTK, warnings are treated as error and because of this warning compilation fails
'cub::DispatchRadixSort<false,KeyT,ValueT,int>' : assignment operator could not be generated
Now a temporary workaround is to disable the "warnings as error switch in CNTK", but a better solution would be to eliminate this warning in CUB

Can you provide the full warning output (call-stack, line numbers, template parameters, etc.)?  That way I can hunt it down and remedy the warning.  Thanks!

File :  cub/cub/device/dispatch/dispatch_radix_sort.cuh : 679
Definition of DispatchRadixSort could not generate the assignment operator.
The same can be easily reproduced in Visual Studio by setting "Treat Warnings as error"

Please give me some instructions for obtaining/building your project.  Or a small repro.  Thanks!

I am trying to build Microsoft CNTK (https://github.com/Microsoft/CNTK). The setup instruction are specified in detail at https://github.com/Microsoft/CNTK/wiki/Setup-CNTK-on-Windows.
I was trying to build the CNTK project on Windows 10 machine with Visual Studio 2013

closing for lack of feedback.


Suggest adding a section on aria-hidden to the ARIA Warnings section

Should highlight that wrapping a section in aria-hidden does not remove focusable elements from the tab order.

Added this within the Improper Use of ARIA section


Expose keyboardFirstResponder as a property on responders

Currently, developers need to this.get('keyboard').makeFirstResponder(responder) when they want to activate an firstResponder. Make it so they can simply this.set('keyboardFirstResponder', true);.

Resolved by https://github.com/null-null-null/ember-keyboard/commit/a35670980ca300c8c42614af3b3081475bde1328.


ci: use changesets changelog-github

Please describe the changes this PR makes and why it should be merged:
Switches Changesets to use  @changesets/changelog-github which passes a lot more information retaining to GitHub to the CHANGELOGS and GitHub releases.
With and Without using changelog-github:

with vs without
with vs without

@TeamWolfyta how to use this, btw :)

@samarmeena Sorry for late reply, Just got in for the day. Don't need to learn anything new as it really only changes how changesets generates CHANGELOGS and GitHub releases.

@samarmeena I just noticed I don't think you setup changesets correctly, What should happen is it should create a pull request that when you merge it releases all new versions of the packages, Will re-do the workflow and make a pull request.


textContent fails on hydration if initial value is empty

Describe the bug
When hydrating an element that uses textContent to set its text, an error is thrown if the initial value is an empty string (or any nullish value).  This seems to be because it is looking for a text node in the HTML that is sent to the client, but there is no initial text node that it can find. This doesn't happen if you just put the string contents as a child of the node.
TypeError: Cannot set properties of null (setting 'data')
Your Example Website or App
https://stackblitz.com/edit/vitejs-vite-7rnkme?file=src/App.tsx
Steps to Reproduce the Bug or Issue

Run turbo dev
Observe that an empty button appears on the screen, but it's text does not get changed after hydration, and an error is thrown in the console
In App.tsx, change the initial value of the signal to be non-empty
Observe that things now work correctly

Expected behavior
An empty button should appear from SSR, but after hydration the mount effect should set the text "test" into the button.
Screenshots or Videos
No response
Platform

OS:  macOS
Browser: Chrome
Version: 104

Additional context
No response

Hmm.. couple options here, but the simplest is to mirror the hydration and client update results by inserting an empty text node and updating the text on run. We may want to consider more involved code gen in the future but this is pretty minimal and should do the trick for now.
Thanks for reporting the issue. Will have a fix shortly.


[Event Request] Table 5767 "Warehouse Activity Line" - OnBeforeTestFieldProdOrderCompLineBinCode

We are migrating our code from NAV 2018 to BC16.4. In the Table 5767 "Warehouse Activity Line", in the procedure CheckWhseDocLine, we would like to add a condition to the call of "TestField("Bin Code", WhseShptLine."Bin Code")". To do so, we need a IsHandled flag and an event publisher, like this :

With this integration event :

Do you think it could be possible ?
Thank you for your work.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Move @retryable annotations to separate beans

Fixes #963
This fix removes the @Retryable annotations from the abstract PropertySourceLocators and puts them on specific instances that will be used as beans when we want the retry behavior enabled.  It is mostly just autoconfiguration changes at the end of the day and little in the way of functional changes.

I am hammered with my job today :( give me please 1 more day to take a closer look, if you do not mind

No rush thanks

sweet mother of god I was blind. Indeed, so simple, yet so brilliant.
As a side note, for the new classes that you added - can we start not making them public and in general tighten the visibility where possible?

No worries, changes made.  If you are fine with this, I will merge it.


ROX-27253: inconsistent RHSA data

Description
Prior to this change, it was possible we gave the same RHSA different scores. This aims to prevent that by enriching our VulnerabilityReports with data directly from the CSAF file.
This ensures consistency between scans of different images which are affected by the same RHSA.
See the latest ADR under scanner/decisions in the changed files for implementation details.
User-facing documentation

[x] CHANGELOG is updated
[x] documentation PR is not needed

Testing and quality

[x] the change is production ready: the change is GA or otherwise the functionality is gated by a feature flag
[x] CI results are inspected

Automated testing

[x] added unit tests

How I validated my change
CI + TODO

@daynewlee and @jvdm thanks for the initial review. I left comments hoping to answer your questions.
@dcaravel @BradLugo when/f if you get the chance, can you review the ADR file in this? The code is not quite ready for review (perhaps I can split this into separate PRs. Kept it all in one in case we needed this out ASAP)


Additional functions of FlxColor to hscript

say hello to FlxColor.interpolate() 👋👋👋

Question, why was it turned into a instance?

Question, why was it turned into a instance?

its better than make it all statics

#13323


Update Issue - 1111897

default description
URL tested: http://ci.bsstag.com/welcome
Open URL on Browserstack

Property
Value

Browser
Chrome 75.0

Operating System
Windows 7

Resolution
1024x612

Screenshot Attached
Screenshot URL

Click here to reproduce the issue on Browserstack

Updated Screenshot Attached


[MINOR]fixed the build bug

Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contribute/how-to-contribute before opening a pull request.

What is the purpose of the pull request
fixed the build faild bug
Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end.
Added HoodieClientWriteTest to verify the change.
Manually verified the change by running a job locally.

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

@leesf  @yanghua  could you pls check this pr.
[HUDI-2533] lead this bug.

this has been fixed. closing this PR.


Insights "All-time" module header can run off screen on small devices

The string "All-time posts, views, and visitors" can be longer when translated, and instead of being cut off gracefully (e.g. with an ellipsis) on smaller devices, it runs off the screen:

Tested in Spanish on iPhone 6, iOS 9.2.1, app beta v. <IP_ADDRESS>60126.

@rachelmcr This was fixed but didn't make it into the 5.9 build. Can you verify its still an issue with the 6.0 internal beta comes out?

Ah! Just checked the 6.0 build and this is fixed. I'll close it. Thanks!


Trying to understand the code

Hi there.
I guess this is not really a "code issue". I'm trying to understand how the code is able to extract the FFMPEG output. For example, when extracting single frame from a video, does the code write the results to the hard drive first and then read them to the memory? or does it uses some special trick to write the results directly into the memory?
Thanks

Hi!
Videos are loaded into ffmpeg, which decodes and outputs them to an a pipe. This pipe is essentially a communication buffer. Scikit-video reads from this buffer the right number of bytes, then returns that output in a formatted numpy array. There is no disk I/O except for loading the video from the disk. I think there is a select/poll operation done under the hood that checks for low level information in this stream, but it's been a long time since digging into the details.

Thanks!
On Sun, Sep 2, 2018 at 8:10 AM Todd Goodall<EMAIL_ADDRESS>wrote:

Hi!
Videos are loaded into ffmpeg, which decodes and outputs them to an a
pipe. This pipe is essentially a communication buffer. Scikit-video reads
from this buffer the right number of bytes, then returns that output in a
formatted numpy array. There is no disk I/O except for loading the video
from the disk. I think there is a select/poll operation done under the hood
that checks for low level information in this stream, but it's been a long
time since digging into the details.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/scikit-video/scikit-video/issues/106#issuecomment-417905622,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFigcMCsWaJUrfB1DVarZUHoHqc54HdWks5uW2hbgaJpZM4WWdgL
.


Error with strides deserializing complex NumPy array

I have found a case in which a deserialization causes the following error, using the current version in the repo (3.0.1.dev40+gef95ebc):
ValueError: strides is incompatible with shape of requested array and size of buffer

The following code shows a simple example in which that happens:
from sklearn.model_selection import GridSearchCV, RepeatedStratifiedKFold
from sklearn.neighbors import KNeighborsClassifier

import numpy as np
import jsonpickle
import jsonpickle.ext.numpy

jsonpickle.ext.numpy.register_handlers()

classifier = KNeighborsClassifier()
grid = GridSearchCV(
    classifier,
    {"n_neighbors": [1, 3]},
    cv=RepeatedStratifiedKFold(),
)
grid.fit(np.eye(10), np.zeros(10))

json = jsonpickle.dumps(grid.cv_results_)
data = jsonpickle.loads(json)

The full traceback is

ValueError                                Traceback (most recent call last)
<ipython-input-36-e3acff02f24e> in <module>
     17
     18 json = jsonpickle.dumps(grid.cv_results_)
---> 19 data = jsonpickle.loads(json)

.../site-packages/jsonpickle/unpickler.py in decode(string, backend, context, keys, reset, safe, classes, v1_decode, on_missing)
     86     )
     87     data = backend.decode(string)
---> 88     return context.restore(data, reset=reset, classes=classes)
     89
     90

.../site-packages/jsonpickle/unpickler.py in restore(self, obj, reset, classes)
    360         if classes:
    361             self.register_classes(classes)
--> 362         value = self._restore(obj)
    363         if reset:
    364             self._swap_proxies()

.../site-packages/jsonpickle/unpickler.py in _restore(self, obj)
    342         else:
    343             restore = self._restore_tags(obj)
--> 344         return restore(obj)
    345
    346     def restore(self, obj, reset=True, classes=None):

.../site-packages/jsonpickle/unpickler.py in _restore_dict(self, obj)
    827                     str_k = k
    828                 self._namestack.append(str_k)
--> 829                 data[k] = self._restore(v)
    830                 self._namestack.pop()
    831         return data

.../site-packages/jsonpickle/unpickler.py in _restore(self, obj)
    342         else:
    343             restore = self._restore_tags(obj)
--> 344         return restore(obj)
    345
    346     def restore(self, obj, reset=True, classes=None):

.../site-packages/jsonpickle/unpickler.py in _restore_object(self, obj)
    767             proxy = _Proxy()
    768             self._mkref(proxy)
--> 769             instance = handler(self).restore(obj)
    770             proxy.reset(instance)
    771             self._swapref(proxy, instance)

.../site-packages/jsonpickle/ext/numpy.py in restore(self, data)
    332             ), "Current implementation assumes base is C or F contiguous"
    333
--> 334             arr = np.ndarray(
    335                 buffer=base.data,
    336                 dtype=self.restore_dtype(data).newbyteorder(data.get('byteorder', '|')),

ValueError: strides is incompatible with shape of requested array and size of buffer

When trying to debug I have found that base in the line 334 correspond to a 0-dim array whose element is a jsonpickle.unpickler._Proxy  object.

It looks to me like the reference is wrong because some off-by-one error at either encoding or decoding. Can someone who knows the codebase please take a look at it?

Hey, sorry for the late response! I took off the week before July 4th to spend time with family, so I'll try to look at this issue today.

There is indeed an off-by-one error, where py/id is 17 instead of 16. This is weird, because if I recall correctly, there was a similar off-by-one error with numpy serialization that was fixed a year or two ago, so maybe the bug was reintroduced somehow.


alias_method vs prepend infinite looping

When opentelemetry-ruby instrumentations is run in parallel with other Gems (like prometheus-exporter) which use a different patching technique and patch the same low level adapter method, we observe SystemStackError (stack level too deep) error at runtime.
More details related to SystemStackError originating because of patching conflicts between alias_method vs Module#prepend can be read from https://blog.newrelic.com/engineering/ruby-agent-module-prepend-alias-method-chains/
The patching problem between both techniques looks to a common issue among the APM providers community.
- elastic/apm-agent-ruby#379
- https://docs.newrelic.com/docs/agents/ruby-agent/troubleshooting/systemstackerror-stack-level-too-deep
- scoutapp/scout_apm_ruby#309 (data dog integration)
- DataDog/dd-trace-rb#862
May be we can provide a config toggle flag for the end user to choose which technique they need similar to New Relic implementation ?
New Relic config reference:
https://docs.newrelic.com/docs/agents/ruby-agent/configuration/ruby-agent-configuration

If prepend_active_record_instrumentation: true, uses Module.prepend rather than alias_method for ActiveRecord instrumentation.

I encourage you to read this feedback I made to APM vendors: https://github.com/elastic/apm-agent-ruby/issues/379#issuecomment-717341248
tl;dr: just use prepend.
FYI list of instrumentors now using prepend:

scout_apm >= 2.5.2
ddtrace >= 0.27
skylight >= 5.0.0.beta
elastic-apm >= 4.0 (upcoming)
airbrake >= 11.0.2
newrelic_rpm >= 6.14 (partially: Rack's to_app is still alias method chain'ed, and ActiveRecord is behind prepend_active_record_instrumentation that defaults to false)

At Sqreen we went the extra mile and detect those to fall back to alias method chain, or warn and bail out when there's a mix, but as of today just using prepend consistently is the solid choice.

I was being able to execute Opentelemetry with Prometheus exporter using the latest version of Prometheus Exporter. The latest version of Prometheus Exporter seems to work also with prepend: https://github.com/discourse/prometheus_exporter#choosing-the-style-of-method-patching

We only have one instance of alias_method remaining in the codebase at this point. I think we're alright to close this out.


[Feature Request] SurfaceTexture Widget for flutter

Use case

As you know with SurfaceTexture widget we will be able to get the real time frames that are being drawn to surface texture. Like in case of video_player, currently it uses Texture widget and we are unable to grab real time frames that are being drawn.
With real time video frames acccess, we can use it to process frame data with deep learning stuff such as object detection.
Also this will solve the major issue of video_player that is on some android devices, the texture widget goes out of parent widget based on video aspect ratio because repaint is being taken care at backend and flutter has no access to painting of texture widget. This can be solved if video_player would use a Surface widget instead of Texture widget.
Proposal

i wish flutter implements a new SurfaceTexture widget, where we can have access to SurfaceTexture.OnFrameAvailableListener just like on android java. There we can grab real time video frames from player as raw image data and can manipulate the pixels and apply Machine learning on those frames. Currently i cant find any other solution to grab real time video frames from a local storage video that video_player is playing.

mport 'package:flutter/material.dart';
import 'package:camera/camera.dart';
import 'package:video_player/video_player.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
final cameras = await availableCameras();
final camera = cameras.first;
runApp(MyApp(camera: camera));
}
class MyApp extends StatefulWidget {
final CameraDescription camera;
MyApp({Key? key, required this.camera}) : super(key: key);
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State {
late VideoPlayerController _controller;
late CameraController _cameraController;
@override
void initState() {
super.initState();
controller = VideoPlayerController.asset('assets/sample_video.mp4')
..initialize().then(() {
_controller.play();
setState(() {});
});
_cameraController = CameraController(widget.camera, ResolutionPreset.high);
cameraController.initialize().then(() {
_cameraController.startImageStream((CameraImage image) {
// Process image data here
});
});
}
@override
void dispose() {
_controller.dispose();
_cameraController.stopImageStream();
_cameraController.dispose();
super.dispose();
}
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: Stack(
children: [
SizedBox.expand(
child: FittedBox(
fit: BoxFit.cover,
child: SizedBox(
width: _controller.value.size.width,
height: _controller.value.size.height,
child: VideoPlayer(_controller),
),
),
),
Positioned.fill(
child: AspectRatio(
aspectRatio: _controller.value.aspectRatio,
child: CameraPreview(_cameraController),
),
),
],
),
),
);
}
}

This is already available via the Texture widget and the native TextureRegistry.


How to run text-prompt model on FSCD-LVIS?

Hi @jerpelhan
Thanks for the great work!
In your paper, it seems that prompt-based counting is only conducted on FSC-147, as this dataset explicitly provides the name of the class of interest in each image.
I'm wondering, is there any possibility to do something similar on FSCD-LVIS?
Looking forward to your reply.
Many thanks,
Yiming

Sorry for the late reply. I have not tried text-prompt-based counting on LVIS. The FSCD-147 dataset is more simple since it typically contains one or a few classes per image. Most state-of-the-art zero-shot counting methods tend to count all objects in an image. We use this as an advantage in text-prompt based counting. DAVE runs zero-shot model and then filters candidates with the text-specified class.


New installation from development release results in error

Affected Version of Concrete CMS
9.x
Description
A new installation (web based or via composer) results in a error requesting the site. The installation process runs fine.
TypeError thrown with message "Doctrine\Persistence\Mapping\AbstractClassMetadataFactory::setMetadataFor(): Argument #2 ($class) must be of type Doctrine\Persistence\Mapping\ClassMetadata, null given, called in /c5-demo/public/concrete/src/Updater/Update.php on line 187"

Stacktrace:
#10 TypeError in /c5-demo/vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php:238
#9 Doctrine\Persistence\Mapping\AbstractClassMetadataFactory:setMetadataFor in /c5-demo/public/concrete/src/Updater/Update.php:187
#8 Concrete\Core\Updater\Update:updateToCurrentVersion in /c5-demo/public/concrete/src/Application/Application.php:221
#7 Concrete\Core\Application\Application:Concrete\Core\Application\{closure} in /c5-demo/public/concrete/src/System/Mutex/FileLockMutex.php:95
#6 Concrete\Core\System\Mutex\FileLockMutex:execute in /c5-demo/public/concrete/src/Application/Application.php:222
#5 Concrete\Core\Application\Application:handleAutomaticUpdates in /c5-demo/public/concrete/src/Foundation/Runtime/Run/DefaultRunner.php:274
#4 Concrete\Core\Foundation\Runtime\Run\DefaultRunner:handleUpdates in /c5-demo/public/concrete/src/Foundation/Runtime/Run/DefaultRunner.php:326
#3 Concrete\Core\Foundation\Runtime\Run\DefaultRunner:trySteps in /c5-demo/public/concrete/src/Foundation/Runtime/Run/DefaultRunner.php:80
#2 Concrete\Core\Foundation\Runtime\Run\DefaultRunner:run in /c5-demo/public/concrete/src/Foundation/Runtime/DefaultRuntime.php:102
#1 Concrete\Core\Foundation\Runtime\DefaultRuntime:run in /c5-demo/public/concrete/dispatcher.php:45
#0 require in /c5-demo/public/index.php:3

How to reproduce

Install C5

composer create-project -n concrete5/composer c5-demo
cd c5-demo
composer require concrete5/core:dev-develop --with-all-dependencies

cd public
concrete/bin/concrete5 c5:install -i --db-server=localhost --db-username=c5demo --db-database=c5demo --site=C5Demo

Request C5-Website via Browser

There ist no difference with PHP 7.4 or 8.x
Possible Solution
Excluded Line 187 in /concrete/src/Updater/Update.php for first request, then included it again.

Additional Context
Version
Installed - Yes
Core Version - 9.1.0a1
Version Installed - 9.1.0a1
Database Version -<PHONE_NUMBER>0000
Database Information
Version - 5.7.37-log-cll-lve
SQL Mode - NO_ENGINE_SUBSTITUTION
Paths
Web root - /c5-demo/public
Core root - /c5-demo/public/concrete
Packages
None
Overrides
None
Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).
Server API
cli
PHP Version
7.4.28

Looks like there's a couple of things going on here.

I think we're not being restrictive enough about doctrine/persistence. This library shouldn't be able to update all the way to 3.0, so I'm going to add an entry for it explicitly to our composer.json.
In most cases, the method that is erroring out actually doesn't even need to be called in these spots. I'm going to remove those calls to those methods.