Update Rails and gems

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

This PR does the following:

Update Rails to the latest version, which is <IP_ADDRESS>
Update Ruby to version 3.1.4
Update Ruby gems to the latest versions
Replace our own fork of thredded gem hosted on MaMpf-HD by the latest official release
Synchronise Postgres and postgresql-client to V13 across all conatiners for uniformity
Fix a Redis version (6.2.6) across the docker-compose files (my development container had ceased to build, because the newest Sidekiq version obtained by the gem update needed a higher version than in my local installation)

I just checked out this branch and tried to run docker compose up, however db, redis and webpack fail.
E.g. error or db:
[1] FATAL:  database files are incompatible with server
[1] DETAIL:  The data directory was initialized by PostgreSQL version 15, which is not compatible with this version 13.10 (Debian 13.10-1.pgdg110+1).

After having checkout out my landing page branch, running db:drop:primary and db:drop:interactions in it, then going back to the branch of this PR here and running docker compose up --detach (after having commented out the two env variables in the development docker compose file to populate the database again), I get the following errors:

DB container
2023-04-05 11:47:26
2023-04-05 11:47:27 2023-04-05 09:47:27.255 UTC [1] FATAL:  database files are incompatible with server
2023-04-05 11:47:27 2023-04-05 09:47:27.255 UTC [1] DETAIL:  The data directory was initialized by PostgreSQL version 15, which is not compatible with this version 13.10 (Debian 13.10-1.pgdg110+1).
2023-04-05 11:47:55 2023-04-05 09:47:55.286 UTC [1] FATAL:  database files are incompatible with server
2023-04-05 11:47:55 2023-04-05 09:47:55.286 UTC [1] DETAIL:  The data directory was initialized by PostgreSQL version 15, which is not compatible with this version 13.10 (Debian 13.10-1.pgdg110+1).
2023-04-05 11:47:26 PostgreSQL Database directory appears to contain a database; Skipping initialization
2023-04-05 11:47:26
2023-04-05 11:47:55
2023-04-05 11:47:55 PostgreSQL Database directory appears to contain a database; Skipping initialization
2023-04-05 11:47:55

Webpack container
2023-04-05 11:47:30 yarn install v1.22.19
2023-04-05 11:47:30 [1/4] Resolving packages...
2023-04-05 11:47:31 success Already up-to-date.
2023-04-05 11:47:31 Done in 1.19s.
2023-04-05 11:47:57 yarn install v1.22.19
2023-04-05 11:47:57 [1/4] Resolving packages...
2023-04-05 11:47:58 success Already up-to-date.
2023-04-05 11:47:58 Done in 0.97s.
2023-04-05 11:47:31 /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/definition.rb:427:in `validate_ruby!': Your Ruby version is 3.1.2, but your Gemfile specified 3.1.4 (Bundler::RubyVersionMismatch)
2023-04-05 11:47:31     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/definition.rb:402:in `validate_runtime!'
2023-04-05 11:47:31     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler.rb:145:in `setup'
2023-04-05 11:47:31     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/setup.rb:20:in `block in <top (required)>'
2023-04-05 11:47:31     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/ui/shell.rb:136:in `with_level'
2023-04-05 11:47:31     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/ui/shell.rb:88:in `silence'
2023-04-05 11:47:31     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/setup.rb:20:in `<top (required)>'
2023-04-05 11:47:31     from <internal:/usr/local/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
2023-04-05 11:47:31     from <internal:/usr/local/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
2023-04-05 11:47:31     from ./bin/webpack-dev-server:10:in `<main>'
2023-04-05 11:47:58 /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/definition.rb:427:in `validate_ruby!': Your Ruby version is 3.1.2, but your Gemfile specified 3.1.4 (Bundler::RubyVersionMismatch)
2023-04-05 11:47:58     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/definition.rb:402:in `validate_runtime!'
2023-04-05 11:47:58     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler.rb:145:in `setup'
2023-04-05 11:47:58     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/setup.rb:20:in `block in <top (required)>'
2023-04-05 11:47:58     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/ui/shell.rb:136:in `with_level'
2023-04-05 11:47:58     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/ui/shell.rb:88:in `silence'
2023-04-05 11:47:58     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/setup.rb:20:in `<top (required)>'
2023-04-05 11:47:58     from <internal:/usr/local/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
2023-04-05 11:47:58     from <internal:/usr/local/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
2023-04-05 11:47:58     from ./bin/webpack-dev-server:10:in `<main>'

Redis container
2023-04-05 11:47:26 1:C 05 Apr 2023 09:47:26.929 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
2023-04-05 11:47:26 1:C 05 Apr 2023 09:47:26.929 # Redis version=6.2.6, bits=64, commit=00000000, modified=0, pid=1, just started
2023-04-05 11:47:26 1:C 05 Apr 2023 09:47:26.929 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
2023-04-05 11:47:26 1:M 05 Apr 2023 09:47:26.930 * monotonic clock: POSIX clock_gettime
2023-04-05 11:47:26 1:M 05 Apr 2023 09:47:26.930 * Running mode=standalone, port=6379.
2023-04-05 11:47:26 1:M 05 Apr 2023 09:47:26.930 # Server initialized
2023-04-05 11:47:26 1:M 05 Apr 2023 09:47:26.930 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
2023-04-05 11:47:26 1:M 05 Apr 2023 09:47:26.931 # Can't handle RDB format version 10
2023-04-05 11:47:26 1:M 05 Apr 2023 09:47:26.931 # Fatal error loading the DB: Invalid argument. Exiting.
2023-04-05 11:47:54 1:C 05 Apr 2023 09:47:54.502 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
2023-04-05 11:47:54 1:C 05 Apr 2023 09:47:54.502 # Redis version=6.2.6, bits=64, commit=00000000, modified=0, pid=1, just started
2023-04-05 11:47:54 1:C 05 Apr 2023 09:47:54.502 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
2023-04-05 11:47:54 1:M 05 Apr 2023 09:47:54.503 * monotonic clock: POSIX clock_gettime
2023-04-05 11:47:54 1:M 05 Apr 2023 09:47:54.503 * Running mode=standalone, port=6379.
2023-04-05 11:47:54 1:M 05 Apr 2023 09:47:54.503 # Server initialized
2023-04-05 11:47:54 1:M 05 Apr 2023 09:47:54.503 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
2023-04-05 11:47:54 1:M 05 Apr 2023 09:47:54.504 # Can't handle RDB format version 10
2023-04-05 11:47:54 1:M 05 Apr 2023 09:47:54.504 # Fatal error loading the DB: Invalid argument. Exiting.

MaMpf container
2023-04-05 11:47:57 Waiting for redis to come online
2023-04-05 11:47:57 wait-for-it: waiting 30 seconds for redis:6379
2023-04-05 11:48:27 wait-for-it: timeout occurred after waiting 30 seconds for redis:6379
2023-04-05 11:48:27 running mampf
2023-04-05 11:48:27 bundler: failed to load command: rails (/usr/local/bundle/bin/rails)
2023-04-05 11:48:27 /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/definition.rb:427:in `validate_ruby!': Your Ruby version is 3.1.2, but your Gemfile specified 3.1.4 (Bundler::RubyVersionMismatch)
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/definition.rb:402:in `validate_runtime!'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler.rb:145:in `setup'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/setup.rb:20:in `block in <top (required)>'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/ui/shell.rb:136:in `with_level'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/ui/shell.rb:88:in `silence'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/setup.rb:20:in `<top (required)>'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:56:in `require_relative'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:56:in `kernel_load'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:23:in `run'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/cli.rb:483:in `exec'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
2023-04-05 11:48:27 bundler: failed to load command: sidekiq (/usr/local/bundle/bin/sidekiq)
2023-04-05 11:48:27 /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/definition.rb:427:in `validate_ruby!': Your Ruby version is 3.1.2, but your Gemfile specified 3.1.4 (Bundler::RubyVersionMismatch)
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/definition.rb:402:in `validate_runtime!'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler.rb:145:in `setup'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/setup.rb:20:in `block in <top (required)>'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/ui/shell.rb:136:in `with_level'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/ui/shell.rb:88:in `silence'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/setup.rb:20:in `<top (required)>'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:56:in `require_relative'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:56:in `kernel_load'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/cli/exec.rb:23:in `run'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/cli.rb:483:in `exec'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/cli.rb:31:in `dispatch'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/cli.rb:25:in `start'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/exe/bundle:48:in `block in <top (required)>'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/friendly_errors.rb:103:in `with_friendly_errors'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/exe/bundle:36:in `<top (required)>'
2023-04-05 11:48:27     from /usr/local/bundle/bin/bundle:25:in `load'
2023-04-05 11:48:27     from /usr/local/bundle/bin/bundle:25:in `<main>'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/cli.rb:31:in `dispatch'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/cli.rb:25:in `start'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/exe/bundle:48:in `block in <top (required)>'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/lib/bundler/friendly_errors.rb:103:in `with_friendly_errors'
2023-04-05 11:48:27     from /usr/local/bundle/gems/bundler-2.3.13/exe/bundle:36:in `<top (required)>'
2023-04-05 11:48:27     from /usr/local/bundle/bin/bundle:25:in `load'
2023-04-05 11:48:27     from /usr/local/bundle/bin/bundle:25:in `<main>'

So, I executed docker-compose down --rmi all --volumes to remove all volumes (and docker system prune to get some space back ;)) and now docker compose up works in the branch of this PR. In schema.rb, I now have 2022_08_10_152049.


⚠ Samsung has degraded performance

In 3b01982, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2123 ms

Resolved: Samsung performance has improved in 642f348.


Adjust font size text, depends container width

I tried to write the code shared in the issue 907 with hooks and TS. But I'm getting this error in the tag <Text> and <Svg>

Unknown event handler property onLayout

I need to change the font size to adjust it to the size of the container.
You can see the code, small text works, but if it's big it doesn't  works: https://snack.expo.io/@albertcito/svg-text-adjust-text
May you help me please, how can I do it?

I tested it on the newest version of the library and the this code is never executed text is visible, so the onLayout method is called properly. I will close this issue then. Feel free to comment here if something is wrong and we can always reopen it then.


Proposal to shuffle file/folder listing

Correct typo in package check error message.

Proposal to shuffle the result from file/folder listing.

Sorry, I am very new to github and was planning to submit 2 separate pull requests.
1 for the typo as it was very basic and 1 for the shuffle as it may be worth discussion.But it doesn't seem to be the way it works.
My proposal for shuffling the listing comes from my experience with a very big folder (30.000 files, 25GB) where the Internet connection is not stable.
Without shuffling the listing, the script tries to process always the same files and does not manage to process the complete folder over multiple attempts.
I can give more facts and numbers if you are interested.

Hi,
Can you make a new pull request only for the typo on gawk package please ?
Concerning your shuffling proposal, can you post your ftp-sync logs and give me more facts ?
Thanks

Hello,
I figured out how to create a separate pull request for the typo.
This should be OK now.
We can focus this pull request to the shuffle proposal.
In order to factualize my proposal, I made a graph from the information I have been logging.
Before and after running ftp-sync, I logged the number of local files and its size on disk.
I draw this in the attached Excel sheet.
Data.xlsx
I would like first to remind the context of my usage.
I am using ftp-sync to backup 1 NAS to another from 2 different locations, over Internet.
Both NAS have power on/off schedule which may brake the connection during transfers.
I have truncated the left part of the graph coming from a very long period of stability.
This is the time it took me to understand the limitation and come with the shuffle proposal.
The graph begins thus a little bit before I introduced the shuffle in my own copy of the script.
You can see several jumps in increase.
They correspond to period when both NAS were up at the same time (usually during the week-end).
This shows clearly that after being saturated, the shuffle allowed to reach the expected level of transfers.
(And it only took 3 week-ends to do so after month of being blocked at the previous level ;)
I don't have access to the logs now, but I can upload them later if you wish.
Thank you for considering this change.
Cheers :)

Hello,
Sorry, I am confused by the status of the pull requests.
I see that you merged the new pull request about the typo.
Thanks.
What is the status of this one? It seems to be closed.
Should I create a new one or can we move forward with this?
Best regards,


How to except 1 file - because webp is heavy

I have 1 png it light weight
but when convert to webp is it heavy
https://phuongheng.vn/assets/map-image-b188be8e41ee1b72e349d440475d8d4f.png

Well, file you provided is a WebP image, even if it has PNG extension. Can you provide original PNG and the list of options you were using to convert it?

I config nginx if header require png if on server exist png.web is it return webp i think on server dont exist png.webp is it return png origin

Okay, I see. Indeed WebP is 1.2 Mb, while PNG is only 99 Kb.
Can you show me you config?

I don't use webpack, i use spockets

Ah! Sorry, missed it, I thought we are discussing my Webpack loader.
Well, I am not using Rails (thus Sprockets) for a long time, so I am not quite sure how to exclude file from WebP processing. And I am pretty sure that you should skip this file. WebP has no 100% guarantee to compress PNG, especially when PNG is already compressed good enough.


Update README to correspond to official documentation

https://www.elastic.co/guide/en/beats/metricbeat/5.x/_running_metricbeat_in_a_container.html

The link has changed to https://www.elastic.co/guide/en/beats/metricbeat/5.x/running-in-container.html

Thank you !

Image and Readme updated with more details in 5.2.0
Another Docker Compose file is provided as well


--target + nextest-archive cause llvm-cov to not find files

When I use --target when building the initial archive, trying to run the archive cause llvm-cov to not find the files generated.
Generation command
cargo llvm-cov nextest-archive --all-features  --target aarch64-apple-darwin --archive-file tests.tar.zst

Error
$ cargo llvm-cov nextest --archive-file tests.tar.zst --extract-overwrite --no-fail-fast

<snip> test output </snip>

warning: not found object files (searched directories: /Users/cwfitzgerald/programming/wgpu/target/llvm-cov-target/target/debug); this may occur if show-env subcommand is used incorrectly (see docs or other warnings), or unsupported commands such as nextest archive are used
No filenames specified!
error: failed to generate report: process didn't exit successfully: `/Users/cwfitzgerald/.rustup/toolchains/1.71-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/bin/llvm-cov report -instr-profile=/Users/cwfitzgerald/programming/wgpu/target/llvm-cov-target/wgpu.profdata -ignore-filename-regex '/rustc/([0-9a-f]+|[0-9]+\.[0-9]+\.[0-9]+)/|^/Users/cwfitzgerald/programming/wgpu(/.*)?/(tests|examples|benches)/|^/Users/cwfitzgerald/programming/wgpu/target/llvm\-cov\-target($|/)|^/Users/cwfitzgerald/\.cargo/(registry|git)/|^/Users/cwfitzgerald/\.rustup/toolchains($|/)'` (exit status: 1)

The same problem happens with --no-report on the command, then calling cargo llvm-cov report --lcov --output-path lcov.info
I tried adding --target to the nextest call, but nextest doesn't except that argument with an archive file. Using --no-report and specifying the target when generating the report also doesn't work.
Motivation
Cross compiling from an x86 mac to generate archives used on an ARM mac. See https://github.com/gfx-rs/wgpu/pull/5056
As always, I can PR things if you point me in the right direction.

This and #333 have been fixed in 0.6.1. Thanks for reporting these issues @cwfitzgerald!

Amazing! Thanks for the super fast response and release!


conv2 wraps SpatialConvolutionMM ops maybe?

@fmassa pointed out that it would be a good idea to wrap the convolutions using Toeplitz matrix as cutorch's conv2 op.
An issue to track that.

How do the functions in THCTensorConv.cu relate to this? They seem to define some convolutions but are not exposed to Lua anywhere...

those functions are quite bad in performance, but they are indeed the ones that do convolution


How can I add some text along with loader?

Your page loader is too good and simple. How can I add some text along with loader animation. Basically I want to add my page title be displayed just above the loader animation.
Pl.help

Hi @pvdutils, First of all thank you for the kind words.
The easiest approach would be to create a new element, append it to the self <div> (var a) generated element and place it around through css by adding it to the already self generated css tag.
But I would advise against that. The loader approach is just a bandaid in regards to poor performances handling (eg: font loading/swap, initial html blink... ).
You don't want it to show up for too long and you usually don't have the time to read... having too much stuff on a loading screen could confuse users into thinking an action on their end is needed...

Great.Thanks for quick reply
-DP
Durgaprasad - Chat @ Spike	[1fqpdu]
On February 23, 2022 at 9:45 GMT, amarinediary @.***> wrote:
Hi @.***(https://github.com/pvdutils), First of all thank you for the kind words.
The easiest approach would be to create a new element, append it to the self  (var a) generated element and place it around through css by adding it to the already self generated css tag.
But I would advise against that. The loader approach is just a bandaid in regards to poor performances handling (eg: font loading/swap, initial html blink... ).
You don't want it to show up for too long and you usually don't have the time to read... having too much stuff on a loading screen could confuse users into thinking an action on their end is needed...
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: @.***>


cargo web fails to build project intermittently

Occasionally cargo web start fails and has to be run multiple times before a successful build occurs. See https://github.com/koute/cargo-web/issues/118#issuecomment-405989881

Did this fix itself? If not please reopen.

I can't build the net2 project with cargo-web, but I can build the net2 project with cargo.
The error information as following:
zmant@zmant-PC:~/.cargo/registry/src/code.aliyun.com-738b7dba08a2a41e/net2-0.2.33$ cargo-web build --release
   Compiling cfg-if v0.1.9
   Compiling net2 v0.2.33 (/home/zmant/.cargo/registry/src/code.aliyun.com-738b7dba08a2a41e/net2-0.2.33)
error[E0432]: unresolved import `sys`
  --> src/tcp.rs:18:5
   |
18 | use sys::c;
   |     ^^^ maybe a missing `extern crate sys;`?
error[E0432]: unresolved import `sys`
  --> src/udp.rs:18:5
   |
18 | use sys::c;
   |     ^^^ maybe a missing `extern crate sys;`?
error[E0432]: unresolved import `sys`
  --> src/socket.rs:22:5
   |
22 | use sys;
   |     ^^^ no `sys` in the root
error[E0432]: unresolved import `sys`
  --> src/socket.rs:23:5
   |
23 | use sys::c;
   |     ^^^ maybe a missing `extern crate sys;`?
error[E0432]: unresolved import `sys`
  --> src/ext.rs:19:5
   |
19 | use sys;
   |     ^^^ no `sys` in the root
error[E0432]: unresolved import `sys`
  --> src/ext.rs:20:5
   |
20 | use sys::c;
   |     ^^^ maybe a missing `extern crate sys;`?
error[E0412]: cannot find type `c_int` in this scope
.........
error[E0046]: not all trait items implemented, missing: `send`, `recv`
   --> src/ext.rs:970:1
    |
621 |     fn send(&self, buf: &[u8]) -> io::Result<usize>;
    |     ------------------------------------------------ `send` from trait
...
628 |     fn recv(&self, buf: &mut [u8]) -> io::Result<usize>;
    |     ---------------------------------------------------- `recv` from trait
...
970 | impl UdpSocketExt for UdpSocket {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `send`, `recv` in implementation

error: aborting due to 243 previous errors
Some errors occurred: E0046, E0412, E0422, E0425, E0432.
For more information about an error, try `rustc --explain E0046`.
error: Could not compile `net2`.

To learn more, run the command again with --verbose.
error: build failed

Probability of recurrence：100%.
Any one can help me? thanks very much!!!

@Itanq When you say that you can build it with cargo, does that mean you tried it with cargo build --target wasm32-unknown-unknown?

Hi @Pauan, Thanks your reply, I has tried it with cargo build --target wasm32-unknown-unknown, It aslo can't build, such as cargo-web. Could it be a problem with wasm? How can I resolved it? Thank you very much!

Yes, in that case it's not a problem with cargo-web.
The issue is that net2 is using network APIs which don't exist in the web browser. It's a problem with the web browser, not Rust, so there's nothing that can be done to fix it.
So, you cannot use net2, instead you'll need to use the web browser APIs, such as XmlHttpRequest, WebSocket, or FileReader.

Ok, got it. Thanks for your answer！


DobotSDK.py - moving to specified co-ordinates

Hi,
I was wondering whether you're planning to complete the DobotSDK '_moveTo' so that the arm moves to the angles calculated from the provided Cartesian co-ordinates?
Thanks

Is there any reason why MoveWithSpeed(self, x, y, z, maxSpeed, accel=None, toolRotation=None) doesn't work for you?

Closing this issue as there is no response from the topic starter.
Please re-open if you need further assistance.


[Gally]: master <- dev

Automatically created by Git-Ally

Pull Request Test Coverage Report for Build 487

7 of 7 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 475:
0.0%

Covered Lines:
49

Relevant Lines:
49

💛  - Coveralls

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Matter Controller example: Can not write commands (CON-714)

esp-mater branch: main
esp-idf branch: v5.0.1
module: esp32-s3
Flash and run controller examples, i can not write commands over serial
here is the log
I (1552) NimBLE: GAP procedure initiated: stop advertising.
I (1552) chip[DL]: CHIPoBLE advertising stopped
I (1562) chip[DL]: HandlePlatformSpecificBLEEvent 32779
E (1562) app_main: Matter start failed: 259

I (1882) chip[SPT]:  ----- Commissioner using vendorId 0xFFF1
I (1882) chip[SVR]: Retrieving value from controller server storage.
I (1892) chip[SVR]: Retrieved value from server storage.
I (1892) chip[SVR]: Retrieving value from controller server storage.
I (1902) chip[SVR]: Retrieved value from server storage.
I (1912) chip[SPT]:  ----- UDC listening on port 5560
I (1972) chip[SVR]: Retrieving value from controller server storage.
I (1972) chip[SVR]: Retrieved value from server storage.
I (1972) chip[SVR]: Retrieving value from controller server storage.
I (1992) chip[SVR]: Retrieved value from server storage.
I (1992) chip[CTL]: Generating NOC
I (2062) chip[SVR]: Retrieving value from controller server storage.
I (2062) chip[SVR]: Retrieved value from server storage.
I (2062) chip[SVR]: Retrieving value from controller server storage.
I (2082) chip[SVR]: Retrieved value from server storage.
I (2082) chip[SVR]: Stored value in server storage
I (2102) chip[SVR]: Stored value in server storage
I (2102) chip[ZCL]: Using ZAP configuration...
I (2102) esp_matter_cluster: Cluster plugin init common callback
I (2122) chip[FP]: Validating NOC chain
I (2582) chip[FP]: NOC chain validation successful
I (2582) chip[FP]: Updated fabric at index: 0x1, Node ID: 0x000000000001B669
I (2582) chip[TS]: Last Known Good Time: 2023-08-25T00:29:49
I (2602) chip[TS]: New proposed Last Known Good Time: 2021-01-01T00:00:00
I (2602) chip[TS]: Retaining current Last Known Good Time
I (2612) chip[SVR]: Retrieving value from controller server storage.
I (2622) chip[FP]: Metadata for Fabric 0x1 persisted to storage.
I (2632) chip[TS]: Committing Last Known Good Time to storage: 2023-08-25T00:29:49
I (2652) chip[CTL]: Joined the fabric at index 1. Fabric ID is 0x0000000000000001 (Compressed Fabric ID: 55427473FA54B5E5)
I (2652) chip[CTL]: *** Missing DeviceAttestationVerifier configuration at DeviceCommissioner init: using global default, consider passing one in CommissionerInitParams.
I (2672) chip[SPT]: Setting up group data for Fabric Index 1 with Compressed Fabric ID:
I (2672) chip[SVR]: Retrieving value from controller server storage.
I (2692) chip[SVR]: Retrieved value from server storage.
I (2692) chip[SVR]: Retrieving value from controller server storage.
I (2702) chip[SVR]: Retrieved value from server storage.
I (2702) chip[SVR]: Stored value in server storage
I (2712) chip[SPT]: InitCommissioner nodeId=0x000000000001B669 fabricIndex=0x1
I (2722) chip[DL]: HandlePlatformSpecificBLEEvent 53255
I (2722) chip[DL]: HandlePlatformSpecificBLEEvent 53254

Are you using the UART0 as the console channel? or USB/JTAG? If you are using USB Serial/JTAG Controller, you should select ESP_CONSOLE_USB_SERIAL_JTAG in menuconfig → Component config → ESP System Settings → Channel for console output.

Aah, that makes sense - thank you! :-)


Add English-Korean translation glossary

Contents are migrated from 한글화팀 용어집

/retest

/assign ianychoi

/lgtm
Minor note for future discussion: The term on the table should start with a capital letter, a small letter would be fine, or it would not matter at all?

Minor note for future discussion: The term on the table should start with a capital letter, a small letter would be fine, or it would not matter at all?

@ianychoi We did not discuss about it ever. Following issue or PR will be welcomed.

@ianychoi  Since this PR already got LGTM, I hope to approve this PR to follow dev-1.16-ko.3 schedule.
@gochist @ianychoi Thank you for your contribution and review !
/approve

/lgtm


Fix UIPM sizes

I think this is strictly correct. If we're not interested in the 2nd word of MICROBIT_UIPM_PROPERTY_POWER_CONSUMPTION, then I think MICROBIT_UIPM_MAX_BUFFER_SIZE should be 7 rather than 8.

Thaks Martin!
This partially addresses https://github.com/lancaster-university/codal-microbit-v2/issues/153.

This is addressed in 26e4f565d794b57528b173d0ba5e4d3d9d093692 - so going to close this now


Sometimes yield_from_svc won't stop the emulator immediately

This caused the emulator to continue executing until hitting the adjacent SVC instruction, triggering yield_from_svc again with that adjacent SVC and eventually causing the wrong syscall handler to be called.
Might be a race condition within Unicorn.

May be related to unicorn-engine/unicorn#1579.


⚠ Mobitopup has degraded performance

In b5ce866, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 3008 ms

Resolved: Mobitopup performance has improved in 1bfc3d2.


[ASK] Ability to specify "weight" to each training sample.

Description
I am following "Text Classification of MultiNLI Sentences using BERT" to train a binary classifier on my data. One thing special about my data is that the training labels are noisy. Following the paper  on weak supervision training, one solution is to use "noise-aware" loss function. I think it could be realized by allowing a "weight" to each training sample so that each sample is weighted differently when computing loss. But I didn't find anyway in the code to add this ability. Note that this is different from allowing weights on each label class as in CrossEntropyLoss
Other Comments

You can do so by sampling your examples based on some distribution. You can also do that by using a torch.utils.data.WeightedRandomSampler instead of the existing RandomSampler here: https://github.com/microsoft/nlp-recipes/blob/staging/utils_nlp/models/transformers/sequence_classification.py#L257


win32drv Possibility to change the window title for each display

Currently by creating a display window with lv_win32_init the created window will have the title L"LVGL Simulator for Windows Desktop", that string cannot be easily changed by user.
I am already working on a pull request to fix this issue.

@MouriNaruto could you take look at it?

Thank you!

@kisvegabor
The issue is also solved by https://github.com/lvgl/lv_drivers/pull/259.
Kenji Mouri

Great, I close it then.


how to force case sensitive search with smartcase on

it is great to have smartcase in vim-mode. But my question is a few times I might want to force case-sensitive search. In vim, I could do it by /\C{pattern}, but it seems that \C flag is not recognized by atom yet. (Please correct me if I am wrong).
Is there a good way to occasionally toggle case sensitivity in vim-mode?
Thanks,

As stated in the README, this package is no longer maintained and is deprecated. We recommend that people use the vim-mode-plus package instead. Because of this, we are archiving this repository and closing all issues and pull requests. Thanks very much for your support and contributions!


generate resource mock and add tests for HandleDecisionTaskCompleted

What changed?

Why?

How did you test it?

Potential risks

Release notes

Documentation Changes

Pull Request Test Coverage Report for Build 018f0bf4-1665-4d5e-9eeb-2adb193822bf
Details

0 of 0   changed or added relevant lines in 0 files are covered.
57 unchanged lines in 14 files lost coverage.
Overall coverage decreased (-0.001%) to 67.676%

Files with Coverage Reduction
New Missed Lines
%

common/task/weighted_round_robin_task_scheduler.go
2
89.05%

service/history/handler/handler.go
2
53.91%

common/persistence/sql/sqlplugin/mysql/task.go
2
73.68%

service/matching/db.go
2
73.23%

common/persistence/sql/sqlplugin/mysql/db.go
2
79.49%

common/log/tag/tags.go
3
50.46%

common/task/fifo_task_scheduler.go
4
83.51%

service/frontend/api/handler.go
4
61.98%

service/matching/taskListManager.go
4
80.65%

service/matching/taskReader.go
5
83.55%

Totals

Change from base Build 018f0b39-044e-40d9-83a4-36f15cd4016e:
-0.001%

Covered Lines:
99110

Relevant Lines:
146448

💛  - Coveralls


[DrTuber] Fetch video URL from JSON stream (fixes issue #12058)

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x ] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x ] Searched the bugtracker for similar pull requests

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x ] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x ] Bug fix
[ ] Improvement
[ ] New extractor
[ ] New feature

Updated the [DrTuber.com] extractor to fetch the video URL from the appropriate JSON stream.  Much thanks to einstein95 for his guidance.
Cheers,
Parmjit V.

I have applied the requested fixes - please let me know if this is now to your satisfaction.  Thanks!

I have applied the requested fixes, please review at your convenience.  Thanks!

I have applied the requested fixes, please review at your convenience. Thanks!

Would it be logical to use something like [ for k,v in data['files'].items() ] instead?
The video files are referenced as sub-keys in the the JSON data - the above snippet would allow us to get at this data immediately, without having to loop across a bunch of irrelevant values.

I have applied the requested fixes, please review at your convenience. Thanks!

Would it be logical to use something like [ for k,v in data['files'].items() ] instead?

This is what I've suggested.

The for-in loop has been corrected with the latest commit.

Can you please elaborate on the last point of the previous review - adding a test for a video with 'unavailable formats'?  Does this refer to a test case where the video URL gives a 404 NotFound or unavailable error?  Or does this refer to a video that has an unexpected format such as mp4, flv etc.

I have read the documentation and looked at the other extractors, but I do not see any references to a test of this nature.  I would appreciate any clarification.  Thank you!

_check_formats is used to check formats availability and filter unavailable ones. It's only used for extractors that may serve unavailable formats. You must provide such example URL as you use it your code.

Ah, that makes sense!  Thanks for letting me know about the correct use.
AFAIK, this site does not serve any unavailable formats for videos - shall I just remove the call to _check_formats for this extractor?

I have removed the unnecessary call to _check_formats - please review at your convenience and let me know if there are any further corrections to be made.  Thanks!


Narrowing return type inside a generic function using object map

Bug Report

Incorrectly narrowing type inside a generic function where the return type is indexed from an object.
🔎 Search Terms

Generics, Mapped types, index types
🕗 Version & Regression Information

This is a crash No
This changed between versions - on version 3.3.3333 did not error, but was not correct type either
This is the behavior in every version I tried, and I reviewed the FAQ for entries about generics, index types

⏯ Playground Link

Playground link with relevant code
💻 Code

type A = {
    a: number
}

type B = {
    b?: string
}

type MAP = {
    a: A,
    b: B
}

function getProfilesForNetwork<Network extends keyof MAP>(network: Network): MAP[Network] {
    if (network === 'a') {
        return { a: 43 }
    }
    if (network === 'b') {
        return { b: 'bbbbb' }
        // ERROR - Property 'a' is missing in type '{ b: string; }' but required in type 'A'.(2322)
        // Network is generic over 'a' | 'b' so it can be only 1 of those values, the value should narrow the return type to B here
    }
    throw new Error('Unknown!')
}

🙁 Actual behavior

TS expects the return type to be A & B.
🙂 Expected behavior

The network === 'a' / network === 'b' should narrow the return type and should be either A or B.

This isn't doing what you think it's doing; there isn't narrowing on type parameters like the code sample implies:
function getProfilesForNetwork<Network extends keyof MAP>(network: Network): MAP[Network] {
    if (network === 'a') {
        return { a: 43 }
    }
    if (network === 'b') {
        return { a: 32 } // <- no error
    }
    throw new Error('Unknown!')
}

See #33014


adds a define for adding awscli profiles

the current implementation lacks the ability to add (multiple) aws credentials.
this PR adds the ability to add credentials for aws cli called "profiles"

@justindowning is there any chance to have this inside the module?
if not i will need to release my own forge module based on this...

i think we should add a group parameter, too if not set defaulting to user, and if set sets the group of the .aws dir to group
alternatively we need to have a custom fact, that gets the group of a given user.
also we may need a fact, that gets the homedir of a given user.

Thanks for submitting this @paschdan! I wouldn't worry too much about further complicating configuration with custom facts and alternative permissions -- I think this works well enough as is.

Was a pleaseure @justindowning if you don't mind a release, i would like to add this then as a dependency for another module ^^

Released 1.2.0 > https://forge.puppetlabs.com/jdowning/awscli

Hi justin, i just saw the build is failing,
this is because puppetlabs:concat introduced a new module-dependency from 1.2.0 to 1.2.1
the fix would be to either pin puppetlabs:concat to 1.2.0
or add their dependency (  electrical/file_concat) to our fixtures file


Updating title of App Service Security

This article talks about the security of Azure App Service.  It mentions "Azure Functions" in the title and in the first few sentences, but doesn't discuss this in the rest of the content.

@bchurchill : Thanks for your contribution! The author, @cephalin, has been notified to review your proposed change.

@bchurchill : Thanks for your contribution! The author, @cephalin, has been notified to review your proposed change.

@bchurchill : Thanks for your contribution! The author, @cephalin, has been notified to review your proposed change.

Since it is possible to deploy a function app to app service, I tweaked the wording to reflect this.  I'm open to other suggestions too.  The problem I'm trying to fix is that when I searched google for 'azure functions security' I got this page and clicked on it, which really isn't about azure functions!

@bchurchill Thanks for the suggested change. The only thing I would say is to keep the cross-link to Functions in the intro.

@bchurchill : Thanks for your contribution! The author, @cephalin, has been notified to review your proposed change.

That makes sense!  Updated.

@bchurchill Thank you! #sign-off


chat.zulip.org planned downtime

Following up on #12470, we're starting downtime for the final migration of chat.zulip.org away from Ubuntu Trusty discussed in #12470.  Updates will be posted here.

Downtime began a few minutes ago; the upgrade is proceeding well.

The upgrade is nearly complete.

chat.zulip.org is back up, now on Ubuntu Xenial.


Command line interface

This PR adds a simple command-line accessible directly from the user's path after installation. Here's how it looks:

I just added an entry point in setup.py with a script similar to the example mentioned at https://github.com/academictorrents/at-python/issues/33.
A few points about this PR:

I called the command atget, let me know if you would prefer another name
I'm not sure what the URL and timestamp parameters from academictorrents.get do, but if you provide a bit of context/doc I would be happy to extend the command-line with more options. We can also split the command in various subcommands (e.g. at get ewr576dsuf, at open file.torrent, maybe even at search mnist, etc.).
Once you're happy with this I can update the Readme and the doc to show how to use it

Other comments, to be addressed in different PRs/issues maybe:

Some requirements are missing for the tests (tqdm, numpy)
There is a weird delay between the moment where the download is complete and the time where the program actually exits. See https://github.com/academictorrents/at-python/issues/35
The tests are failing:

Awesome!

I called the command atget, let me know if you would prefer another name

I think atget is nice. We could also have at-get and then other related tools could start with at-

I'm not sure what the URL and timestamp parameters from academictorrents.get do

The URL is a way to have a backup url in case the torrent doesn't download. The timestamps should have the piece checker only look at the timestamps instead of compute hashes which is useful when you have very large files.

We can also split the command in various subcommands (e.g. at get ewr576dsuf, at open file.torrent, maybe even at search mnist, etc.).

I think at-get could take a hash or the path or url to the torrent file. If you just pass the first arg into get then the get function can be modified to do that later.
I like the search idea! A version of the database could be distributed in the pip package and then it could update. Here is a xml file of the current database that could be used: https://academictorrents.com/database.xml

Other comments, to be addressed in different PRs/issues maybe:

Thanks! I can fix the requirements but I don't have time to look into the other issues.

Do you want me to change the name to at-get and merge it? Let me know.

Thank you @ieee8023 for the feedback! I'll change the name and add some documentation to the README, probably this weekend. I'll let you know when it's ready to be merged.

Hi @ieee8023, I'm done -- feel free to have a look and merge if it looks good to you!

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@dda069c). Click here to learn what that means.
The diff coverage is 59.37%.

@@            Coverage Diff            @@
##             master      #34   +/-   ##
=========================================
  Coverage          ?   82.56%
=========================================
  Files             ?       17
  Lines             ?     1113
  Branches          ?        0
=========================================
  Hits              ?      919
  Misses            ?      194
  Partials          ?        0

Awesome! Thanks!


Add Client Lib Guidelines and Exporter Guidelines

This closes #379
It's pretty much 1:1 translated. The only thing different/missing is the TOC.
Feel free to push additional fixes etc to this branch.

This looks good to me. But I could imagine @juliusv or @brian-brazil feel way more strongly about website affairs than I do.

Okay then.. looks like if I don't do the reformatting nobody will ;).
Thrown in some `` and - to make things look nicer.

I made all the changes and more. Please review @discordianfish, @brian-brazil and @juliusv.

Looks good to me, but now that we have content changes we definitely need to get @brian-brazil to review it as well.

In general, I see a lot of style and OCD kind of things I'll still want to change about this. But I won't be able to look at this anymore today, so feel free to merge for now and I'll fix it up later.

Alright, I made all changes requested by Brian. Merging for now as I believe it's already easier to read than the google doc. Let's iterate on it.


Update virtual-network-multiple-ip-addresses-portal.md

Restarting a VM after adding the second IP to the VM is mandatory. The changes will take place only after the restart operation which is not mentioned in the document.

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

Thanks.


support ingress read timeout for azure spring app

Will update version in #4844
This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[x] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
The precondition is to put your code inside this repository and upgrade the version in the pull request but do not modify src/index.json.

spring


Live Testing Python 3.5.3

@danieljurek commented on Mon May 20 2019
Python 3.5.3 is not available in Agent.ToolsDirectory and can't be installed from the UsePythonVersion task. We want to be able to test arbitrary version of Python if they aren't on the agent machine.
A couple options we've discussed

Build and install Python (perhaps cache build outputs periodically so we don't have to spend machine time building)
Run jobs within a Docker container

@scbedd follow-up on which version is getting installed here.

We're running 3.5.7 today:
Found tool in cache: Python 3.5.7 x64

On Linux it's Python 3.5.7, on Windows it's Python 3.5.4


KafkaChannel v1beta1 type bumps

Part of https://github.com/knative/eventing-contrib/issues/1350

/assign


Receiving my own notification

Hi, thank you for the great package!
Everything is running fine about subscribeToTopic and im receiving notification from fcm, even on foreground - only iOS.
My trouble is that every time i send a message a notification pop up in the screen. I tried to stop the receiving on foreground but no success.
So, how can i block notifications triggered by my own messages in FCM.on() - or somewhere else? I'm already sending the owner in the payload but i couldn't find a function that 'kills' the current notification.
Or, if it is simpler, how could i stop to show notifications in the foreground?
payload:
{
  data: { remote: 'true', writerId, category, group },
  notification: { title: 'test', body: `${writerName}: ${message}` }
}

Hello there,
I found a workaround which fixed it.
I changed the validation if (Platform.OS==='ios') to if (Platform.OS==='ios' && writerId !== userId && group !== groupId).
group and writedId i tooke from payload, userId and groupId are parameters to the action that calls FCM.on(FCMEvent.Notification).

@ifalldev - how did you block the code inside FCM.on? were you showing local notification inside FCM.on? can you share some example... thanks...

@shekharskamble, sorry i dont understood what you want to know. Are you receiving the notification about your own action (eg you send a message and receive a notification about it)?
If is it your trouble, i just did that validation (Platform.OS==='ios' && writerId !== userId && group !== groupId), wich means verify before show the notification if it is my own action. I put metatada (writerId and groupId) on the notification and used that to validate.

@ifalldev - "Are you receiving the notification about your own action (eg you send a message and receive a notification about it)?" YES
"which means verify before show the notification if it is my own action".
"verify before show the notification" - How did you achieve this?  are you showing local notification upon receiving remote notification in FCM.on?
Is it possible to share the code sample of an entire condition (Platform.OS==='ios' && writerId !== userId && group !== groupId) with showing the notification?
Thank you very much...

Being honest I did not remember in detail how we solve this issue. But going deeper in the commits log I figured out what has happened.
In fact that approach did not fix the problem 100%, we noticed - with time and use - some inconsistence about delivering the notification to the user, so we deactivated the foreground notification to iOS (android fg notification did not work by default, if you want that you need to setup some things in java core).
But if you really need the foreground notification I believe the way is to validate the notification received before dispatch it as local.
FCM.on(FCMEvent.Notification, notif => {
      const { category, group, writerId } = notif;

      if (notif.local_notification) return;

      if (notif.opened_from_tray) {
        if (notif.category) {
          firebase.database().ref(`categories/${category}/groups/${group}`).once('value')
            .then(snapshot => {
              Actions.chat({ grupo: snapshot.val(), title: snapshot.val().groupName });
            });
        } else {
          firebase.database().ref(`/groups/${group}`).once('value')
            .then(snapshot => Actions.chat({ grupo: snapshot.val(), title: snapshot.val().groupName }));
        }
        return;
      }

      if (Platform.OS === 'ios') {
        switch (notif._notificationType) { //eslint-disable-line
          case NotificationType.Remote:
            notif.finish(RemoteNotificationResult.NewData);
            break;
         case NotificationType.NotificationResponse:
           notif.finish();
           break;
        case NotificationType.WillPresent:
          notif.finish(WillPresentNotificationResult.All);

          break;
        default:
          break;
       }
    }
});

FCM.on(FCMEvent.RefreshToken, token => {
    dispatch({
      type: TOKEN_UPDATED,
      payload: token
    });
  });
}

It means that the secret is to wrap if (Platform.OS === 'ios') {...} with some validation logic, or put some validation logic inside it, once that block controls the action about notification. To do that you can use the parameter sent by FCM (on my case we called it notif - as you can see it in here: FCM.on(FCMEvent.Notification, notif => { const { category, group, writerId } = notif; ...}).
I hope that could help you!

Does notif.finish(); prevent notification from showing? if yes then does it only work for iOS? I dont see any documentation for this...

It was in the readme file, as you can see here.
The poor documentation is the hardest part of working with FCM ;(

@shekharskamble, check it out #554

@ifalldev - thanks a lot

@ifalldev - it seems support for notif.finish is only for iOS and not for android....

@shekharskamble - yeah only iOS need that custom setup, android build everything by itself.
So, have android side foreground notif? If the answer still is no, you should only setup iOS fg notif, right?

@ifalldev @shekharskamble
some clarification:

those notif.finish custom code is optional. if you don't call finish or return anything, the library handles it for you https://github.com/evollu/react-native-fcm/blob/master/index.js#L145
calling finish tells iOS system that you are done with your background work. it is nice to have because iOS times your background process. But not doing it won't cause your notification not showing.

@ifalldev maintaining the documentation is a pain for me as there are so many edge use cases. Let me know if there is any place that can be improved.


[SuperTextField] [iOS] [Android] Typed text not visible during typing

Steps to reproduce
Code:
class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: Container(
            color: Colors.black,
            child: const SuperTextField(
              lineHeight: 16,
            ),
          ),
        ),
      ),
    );
  }
}

Run the app
Tap black rectangle (the text field)
Type more than 1 line of text

Actual behavior
When user types a text longer than the widget's starting size, they won't be able to see what's being typed, because the text goes outside of the widget's boundaries.
https://user-images.githubusercontent.com/3801761/160955954-aeb8d2d7-2c37-4160-bcca-d17783e05a9d.mp4
Expected behavior
While typing, current cursor position should always be visible so the user can see what's being typed.
Platform
Flutter 2.10.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 7e9793dee1 (4 weeks ago) • 2022-03-02 11:23:12 -0600
Engine • revision bd539267b4
Tools • Dart 2.16.1 • DevTools 2.9.2

CC @venkatd

FYI @angelosilvestre - The text field should auto-scroll horizontally, but it isn't. At one point this was working.


💗 those screenshots!  Maybe add PySimpleGUI and requests to your readme?

Prerequisites
Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

[ ] I am running the latest version
[ ] I checked the documentation and found no answer
[ ] I checked to make sure that this issue has not already been filed
[X ] I'm reporting the issue to the correct repository (for multi-repository projects)

Expected Behavior
It's a "readme thing"
Current Behavior

Failure Information (for bugs)
Both PySimpleGUI and requests are also required
Steps to Reproduce
Go here: https://github.com/polymathrobotics/caladan_examples
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
N/A I think
Failure Logs
No logs... it's a "readme thing"
Thank you for posting screenshots

Everyone likes seeing screenshots!  Thanks for putting them into your readme.

Sure, I'll clarify the readme to mention this more explicitly, it's already in the requirements.txt :)


{aks} az aks create/update use a common truncate function for limiting rule group name to 260 characters

Related command
az aks create -n kaveeshcli22 -g kaveeshcli --location westeurope --enable-azure-monitor-metrics --azure-monitor-workspace-resource-id "{full_id}" --grafana-resource-id "{full_id}"
az aks update -n kaveeshcli22 -g kaveeshcli --enable-azure-monitor-metrics --enable-windows-recording-rules
az aks create -n kaveeshcli22 -g kaveeshcli --disable-azure-monitor-metrics
Description
This PR is to address the following feedback comment -> https://github.com/Azure/azure-cli/pull/27488#discussion_r1384278929 to use a common truncate function for limiting the length of the recording rule group  name to 260 characters at most.
Testing Guide
The commands listed above should succeed in cluster create and update with the output containing something similar to (true or false depending on wether enabling or disabling) :
 "azureMonitorProfile": {
    "metrics": {
      "enabled": true,
      "kubeStateMetrics": {
        "metricAnnotationsAllowList": "",
        "metricLabelsAllowlist": ""
      }
    }
  }

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

aks

Queued live test

test_aks_create_with_monitoring_aad_auth_uai_with_syslog
test_aks_create_with_monitoring_aad_auth_msi_with_datacollectionsettings
test_aks_enable_monitoring_with_aad_auth_msi
test_aks_enable_monitoring_with_aad_auth_uai_with_syslog
test_aks_create_with_monitoring_legacy_auth


fix(strict): add use strict to index

no issue

in node v4 requiring this library throws an error because const and let aren't allowed outside of strict mode

darn it, wrong repo :/


Can't scroll to last couple of accounts on the account selection screen

I can reproduce this sometimes the last 5 accounts are not displayed. when scrolling the select account screen.
See the issue after clicking account 1 (or any)
to open the account selection page
then add account
switch account again scroll up then down
try this on an wallet with 50 or more accounts (that is what the user was testing with, and I saw it on a wallet with 500 accounts too).
https://github.com/leather-wallet/extension/assets/33360391/4d9347cb-7015-4b4f-875d-ca434d5efe75

workaround, add some additional accounts so you can always scroll to the one you want to reach anyway.

+1 another user report of the same issue

Thanks for the report, I'll fix this ASAP. I had to add an urgent fix on top for https://github.com/leather-wallet/extension/pull/5171 which resulted in this


feat: row inserter

row based inserter with gRPC

Can you upgrade the guava version by the way, security vulnerabilities.

Done

@MichaelScofield PTAL


Update fmt subproject to 7.1.3

There is no particular change in this update that we require. However, our previous version, 5.3.0, is nearly two years old, so it seems prudent to pull in all the upstream fixes that have been made since then.
New wrap file taken from https://wrapdb.mesonbuild.com/fmt and modified to download from GitHub as per commit 99dde1aff8db ("Download patch files from Github instead of wrapdb").

Thanks!


Node crash causes volumes to become unavailable

Describe the bug
When one of my OpenShift node goes down, the (RWO/rbd) PVC that were attached to that machine would get unavailable.
Pods trying to restart on another node would be stuck in containerCreating, with events mentioning multi-attach errors.
Those would remain stuck until I eventually reboot my faulty node, which can take me hours or days (lab cluster).
Environment details

Image/version of Ceph CSI driver

Using the samples from the ./deploy folder in this repository.
$ oc get pods -o yaml | grep image: | sort -u
      image: quay.io/cephcsi/cephcsi:canary
      image: quay.io/k8scsi/csi-attacher:v1.2.0
      image: quay.io/k8scsi/csi-node-driver-registrar:v1.1.0
      image: quay.io/k8scsi/csi-provisioner:v1.3.0
$ oc get pods -o yaml | grep imageID: | sort -u
      imageID: quay.io/cephcsi/cephcsi@sha256:a33e8dc5f3726c438194c37ed6fb7645062f06bd3a5293e2fa321f265296ecb5
      imageID: quay.io/cephcsi/cephcsi@sha256:fa27d53692647d4186a55e3dd59ef6a5fd8c747c81dc0de0a8237522e05d04e1
      imageID: quay.io/k8scsi/csi-attacher@sha256:26fccd7a99d973845df1193b46ebdcc6ab8dc5f6e6be319750c471fce1742d13
      imageID: quay.io/k8scsi/csi-node-driver-registrar@sha256:13daf82fb99e951a4bff8ae5fc7c17c3a8fe7130be6400990d8f6076c32d4599
      imageID: quay.io/k8scsi/csi-provisioner@sha256:e615e92233248e72f046dd4f5fac40e75dd49f78805801953a7dfccf4eb09148

Been trying to update to the last tags I could find on quay today, though some of the Pods crashed, suggesting some argument passed was no longer valid / supported. I eventually rolled back, as I noticed your copy still uses the same tags I already had.

helm chart version

NA

Kubernetes cluster version

Client Version: openshift-clients-4.2.0-201910041700
Server Version: 4.2.9
Kubernetes Version: v1.14.6+20e2756

Logs

Steps to reproduce
Steps to reproduce the behavior:

Setup OCP (or k8s) and Ceph clusters,
Deploy assets from ./deploy/(cephfs|rbd)/kubernetes/v1.14+ (to be precise, I did deploy my copy before the cephfs resizer bit got added, 46 days ago)
Create PVC, start deployment using that volume
4 Plug out compute node hosting that Pod (or any violent shutdown, that won't nicely terminate CSI Pods running on node)
Wait

Actual results
Replacement pod stuck in containerCreating. Events mentioning multi-attach errors.
Expected behavior
Back when CSI was not mandatory in OpenShift, when one of my node went down, I might have seen multi-attach errors in the very beginning of my replacement Pod starting, though the outage wouldn't have exceeded 5 to 10 minutes in length.
Additional context
Been noticing that issue each and every time I lose a node. And currently,  those RHCOS don't behave well as KVM guests, ... I'ld see crash like those on a daily basis.
$ oc get nodes
NAME   STATUS     ROLES    AGE   VERSION
compute1.demo   NotReady   worker   52d   v1.14.6+31a56cf75
compute2.demo   Ready      worker   52d   v1.14.6+31a56cf75
...
$ oc get pods
NAME                              READY   STATUS              RESTARTS   AGE
nextcloud-demo-17-jps7f           0/2     ContainerCreating   0          13m
nextcloud-demo-17-vvndr           2/2     Terminating         0          116m
...
$ oc describe pod nextcloud-demo-17-jps7f
...
Events:
  Type     Reason              Age               From                                                   Message
  ----     ------              ----              ----                                                   -------
  Normal   Scheduled           13m               default-scheduler                                      Successfully assigned wsweet-demo/nextcloud-demo-17-jps7f to compute5.demo
  Warning  FailedAttachVolume  13m               attachdetach-controller                                Multi-Attach error for volume "pvc-030502d0-1c09-11ea-b52c-52540069748c" Volume is already used by pod(s) nextcloud-demo-17-vvndr
  Warning  FailedMount         5s (x6 over 11m)  kubelet, compute5.demo  Unable to mount volumes for pod "nextcloud-demo-17-jps7f_wsweet-demo(99f80fdd-1c2f-11ea-9492-525400bec0a4)": timeout expired waiting for volumes to attach or mount for pod "wsweet-demo"/"nextcloud-demo-17-jps7f". list of unmounted volumes=[data]. list of unattached volumes=[apachesites data default-token-hssgl]
$ oc get pvc|grep nextc
nextcloud-demo            Bound    pvc-030502d0-1c09-11ea-b52c-52540069748c   50Gi       RWO            ceph-storage   4h52m
$ oc get pods -n csi-ceph -o wide | grep compute1
csi-cephfsplugin-njlt9                          3/3     Running   15         4d5h    <IP_ADDRESS>   compute1.demo   <none>           <none>
csi-rbdplugin-ltp58                             3/3     Running   78         52d     <IP_ADDRESS>   compute1.demo   <none>           <none>
$ oc logs -n csi-ceph csi-rbdplugin-ltp58 -c csi-rbdplugin
Error from server: Get https://<IP_ADDRESS>:10250/containerLogs/rook-ceph/csi-rbdplugin-ltp58/csi-rbdplugin: dial tcp <IP_ADDRESS>:10250: connect: no route to host
[obviously]

...
$ virsh destroy compute1
$ virsh start compute1
...
$ oc get nodes | grep compute1
compute1.demo   Ready    worker   52d   v1.14.6+31a56cf75
$ oc logs -n csi-ceph csi-rbdplugin-ltp58 -c csi-rbdplugin
I1211 16:16:28.730546    4843 cephcsi.go:104] Driver version: canary and Git version: e4b4c70d9267d030ab3663d9a6b0fc20f03d9836
I1211 16:16:28.730741    4843 cephcsi.go:159] Starting driver type: rbd with name: rbd.csi.ceph.com
I1211 16:16:29.186593    4843 mount_linux.go:170] Cannot run systemd-run, assuming non-systemd OS
I1211 16:16:29.186626    4843 mount_linux.go:171] systemd-run failed with: exit status 1
I1211 16:16:29.186649    4843 mount_linux.go:172] systemd-run output: Failed to create bus connection: No such file or directory
I1211 16:16:29.226281    4843 server.go:118] Listening for connections on address: &net.UnixAddr{Name:"//csi/csi.sock", Net:"unix"}
I1211 16:16:29.938617    4843 utils.go:157] ID: 1 GRPC call: /csi.v1.Identity/GetPluginInfo
I1211 16:16:29.938663    4843 utils.go:158] ID: 1 GRPC request: {}
I1211 16:16:29.940166    4843 identityserver-default.go:37] ID: 1 Using default GetPluginInfo
I1211 16:16:29.940185    4843 utils.go:163] ID: 1 GRPC response: {"name":"rbd.csi.ceph.com","vendor_version":"canary"}
I1211 16:16:29.964006    4843 utils.go:157] ID: 2 GRPC call: /csi.v1.Node/NodeGetInfo
I1211 16:16:29.964052    4843 utils.go:158] ID: 2 GRPC request: {}
I1211 16:16:29.964858    4843 nodeserver-default.go:58] ID: 2 Using default NodeGetInfo
I1211 16:16:29.964870    4843 utils.go:163] ID: 2 GRPC response: {"node_id":"compute1.demo"}
I1211 16:16:30.912315    4843 utils.go:157] ID: 3 Req-ID: 0001-0024-f980b615-746a-4e5e-b429-a364fd69838b-0000000000000003-035a230b-1c09-11ea-9aa9-0a580a8105cf GRPC call: /csi.v1.Node/NodeUnpublishVolume
I1211 16:16:30.912344    4843 utils.go:158] ID: 3 Req-ID: 0001-0024-f980b615-746a-4e5e-b429-a364fd69838b-0000000000000003-035a230b-1c09-11ea-9aa9-0a580a8105cf GRPC request: {"target_path":"/var/lib/kubelet/pods/080ab6d5-1c09-11ea-9492-525400bec0a4/volumes/kubernetes.io~csi/pvc-03165680-1c09-11ea-b52c-52540069748c/mount","volume_id":"0001-0024-f980b615-746a-4e5e-b429-a364fd69838b-0000000000000003-035a230b-1c09-11ea-9aa9-0a580a8105cf"}
I1211 16:16:30.912984    4843 utils.go:157] ID: 4 Req-ID: 0001-0024-f980b615-746a-4e5e-b429-a364fd69838b-0000000000000003-18acda65-f8f0-11e9-bcb2-0a580a83001b GRPC call: /csi.v1.Node/NodeUnpublishVolume
I1211 16:16:30.913010    4843 utils.go:158] ID: 4 Req-ID: 0001-0024-f980b615-746a-4e5e-b429-a364fd69838b-0000000000000003-18acda65-f8f0-11e9-bcb2-0a580a83001b GRPC request: {"target_path":"/var/lib/kubelet/pods/25511932-191b-11ea-a362-525400bec0a4/volumes/kubernetes.io~csi/pvc-18638f68-f8f0-11e9-8b94-52540069748c/mount","volume_id":"0001-0024-f980b615-746a-4e5e-b429-a364fd69838b-0000000000000003-18acda65-f8f0-11e9-bcb2-0a580a83001b"}
I1211 16:16:30.920191    4843 utils.go:157] ID: 5 Req-ID: 0001-0024-f980b615-746a-4e5e-b429-a364fd69838b-0000000000000003-035843a1-1c09-11ea-9aa9-0a580a8105cf GRPC call: /csi.v1.Node/NodeUnpublishVolume
I1211 16:16:30.917747    4843 nodeserver.go:434] ID: 4 Req-ID: 0001-0024-f980b615-746a-4e5e-b429-a364fd69838b-0000000000000003-18acda65-f8f0-11e9-bcb2-0a580a83001b targetPath: /var/lib/kubelet/pods/25511932-191b-11ea-a362-525400bec0a4/volumes/kubernetes.io~csi/pvc-18638f68-f8f0-11e9-8b94-52540069748c/mount has already been deleted
...
$ oc get pod | grep nextcloud
nextcloud-demo-17-jps7f           1/2     Running   0          17m

We heave the same problem here too. If a node goes down, the new pods are stuck in container creating because the volume(s) are locked on the failed node.

@humblec is it something to do with fencing? how to handle this scenario
CC @dillaman @nixpanic @ShyamsundarR

@faust64 @lorenzomorandini
Once a pod is marked for deleted (in this case, by the node eviction process), the a/d controller will only proceed with detach if the pod has no running containers per the pod object. Since the node is down, it will never update the pod object, which causes a chicken and egg problem. Detach, in thihs case, requires user to "force delete" the pod, which will cause the a/d controller to issue a detach.
There is another safe-unmount check where the a/d controller waits a max of 6 min for a clean unmount after which it considers the node lost and issues a unilateral detach. We should consider similar logic for this check.
IDK if you follow the work of the storage SIG, but this was discussed 3 weeks ago at out F2F meeting in San Diego. There is doc that can help you: https://docs.google.com/presentation/d/1UmZA37nFnp5HxTDtsDgRh0TRbcwtUMzc1XScf5C9Tqc/edit?usp=sharing

@humblec is it something to do with fencing? how to handle this scenario

Negative -- this is k8s behaving correctly (if not sub-optimally). Just because a node is unresponsive to k8s doesn't mean that workloads aren't still running and actively manipulating storage (e.g. imagine the management network is down but the storage network is still active).
There is really nothing for ceph-csi to do in this instance. It would be great if one day we could storage fence "dead" nodes [1], but the CSI spec doesn't provide us enough information to support that at this time (not that it would impact this issue, though, since it's just k8s).
[1] https://github.com/ceph/ceph-csi/issues/578

Anyone has an "official" workaround? Currently, I'm just blacklist the watcher of the csi volume. And the newly scheduled pod is able to attach to the volume. Someone mentioned "detach" the volume on the previous host. Is it necessary?

Though the issue is not solved yet, the last CSI releases do offer with a workaround (tested with cephcsi:3.2.1).
You can use kubectl get volumeattachment to retrieve a list of attachments, mapping a PersistentVolume to a Node.
You may kubectl delete volumeattachment csi-xxxyyyzzz to release a volume, at which point the Multi-Attach errors should go away, and the replacement node would be able to restart your Pod.
Having tested by plugging network cables out, without rebooting nodes, I could confirm that once the node gets back Ready, its Terminating containers are properly shut down, volumes un-mapped, ...


Use a default connection object in EvmDatabase.ping

2705059811f5d8030914c23f9d5f3353219c0817 changed db_ping.rb to use EvmDatabase instead of MiqServer.
Previously EvmDatabase.ping did not default the connection parameter which was causing db_ping.rb to fail.

@miq-bot add_label bug

@Fryguy @gtanzillo is there a BZ for this?

@chessbyte No, this doesn't have a BZ. I can create one if we need it though.


boot.initrd.network.postCommands should be executed when boot.initrd.networking is enabled

Describe the bug
The boot.initrd.network.postCommands are only executed when the initrd cmdline includes an ip= config line, which is most commonly used for NFS root setups.
The documentation for the option explains no such limitation:

Shell commands to be executed after stage 1 of the boot has initialised the network.

IMO the postCommands should be executed as soon as boot.initrd.networking.enabled is true.
To Reproduce
Steps to reproduce the behavior:
{
  boot.initrd = {
    kernelModules = [ "ipv6" ];
    network = {
      enable = true;
      postCommands = ''
        ip link set up dev eth0
        ip addr add 2001:db8::1/64 dev eth0
        ip route add default via fe80::1 dev eth0
      '';
    };
  };
}

=> Network will not be configured.
Expected behavior
The commands in boot.initrd.networking.postCommands will be executed and network will be set up.
Metadata
$ niv show nixpkgs
Showing package nixpkgs
Reading sources file
  homepage: https://github.com/NixOS/nixpkgs
  url: https://github.com/NixOS/nixpkgs-channels/archive/8bf142e001b6876b021c8ee90c2c7cec385fe8e9.tar.gz
  owner: NixOS
  branch: nixos-19.09
  url_template: https://github.com/<owner>/<repo>/archive/<rev>.tar.gz
  repo: nixpkgs-channels
  type: tarball
  sha256: 1z8id8ix24ds9i7cm8g33v54j7xbhcpwzw50wlq00alj00xrq307
  description: A read-only mirror of NixOS/nixpkgs tracking the released channels. Send issues and PRs to
  rev: 8bf142e001b6876b021c8ee90c2c7cec385fe8e9

Maintainer information:
none given

@mweinelt has this been fixed by https://github.com/NixOS/nixpkgs/pull/81744?

I think it has. Please complain if I'm wrong ;-)

Yep, fixed.


codecov create-commit --git-service github: could not find expected ':'

Starting seeing failure to create a commit;
==> Running command '/home/runner/work/_actions/codecov/codecov-action/543c3d42fc76502218ecdadc04e65dbd2640a67a/dist/codecov create-commit'
/home/runner/work/_actions/codecov/codecov-action/543c3d42fc76502218ecdadc04e65dbd2640a67a/dist/codecov create-commit --git-service github -C cf1550587f8d3bf95d2a48d4f109b55fd672dd9b -Z
info - 2024-10-01 14:42:21,163 -- ci service found: github-actions
Traceback (most recent call last):
  File "codecov_cli/main.py", line 85, in <module>
  File "codecov_cli/main.py", line 81, in run
  File "click/core.py", line 1157, in __call__
  File "click/core.py", line 1078, in main
  File "click/core.py", line 1685, in invoke
  File "click/core.py", line 1434, in invoke
  File "click/core.py", line 783, in invoke
  File "click/decorators.py", line 33, in new_func
  File "codecov_cli/main.py", line 58, in cli
  File "codecov_cli/helpers/config.py", line 65, in load_cli_config
  File "yaml/__init__.py", line 125, in safe_load
  File "yaml/__init__.py", line 81, in load
  File "yaml/constructor.py", line 49, in get_single_data
  File "yaml/composer.py", line 36, in get_single_node
  File "yaml/composer.py", line 55, in compose_document
  File "yaml/composer.py", line 84, in compose_node
  File "yaml/composer.py", line 133, in compose_mapping_node
  File "yaml/composer.py", line 82, in compose_node
  File "yaml/composer.py", line 110, in compose_sequence_node
  File "yaml/parser.py", line 98, in check_event
  File "yaml/parser.py", line 379, in parse_block_sequence_first_entry
  File "yaml/parser.py", line 384, in parse_block_sequence_entry
  File "yaml/scanner.py", line 115, in check_token
  File "yaml/scanner.py", line 152, in need_more_tokens
  File "yaml/scanner.py", line 291, in stale_possible_simple_keys
yaml.scanner.ScannerError: while scanning a simple key
  in "<unicode string>", line 3, column 1:
    s
    ^
could not find expected ':'
  in "<unicode string>", line 5, column 1:

    ^
[PYI-3703:ERROR] Failed to execute script 'main' due to unhandled exception!
Error: Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/543c3d42fc76502218ecdadc04e65dbd2640a67a/dist/codecov' failed with exit code 1

Hi @vsarunas
Apologies that I missed this. Did the architecture on the runner change, by any chance?

It should have not, this is a public ubuntu-22.04 GitHub runner which is using x86_64.

codecov/codecov-action@v4

But had tried to downgrade the action to4.4.1 and v0.7.4 of codecov-cli with the same effect.
I had created a Zendesk support ticket as well yesterday which has more details #134701.

I saw the ticket, you hav me other where as well. I'm trying to stay in one place, and it will be here in GitHub issues if this is a bug.
If you add verbose to the action, is there any more info? What about if you rerun the action with debugging logs?
Please continue to share any private info in the ticket :)

False alarm; codecov.yml was committed with a typo.


go/types: Cannot return T from method receiving Generic[T]

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

Does this issue reproduce with the latest release?
Yes.
What did you do?
See https://go.dev/play/p/fCO1GDA_oZj?v=gotip for an example.
I defined a generic type, e. g.:
type Generic[T any] struct{}

Then I wanted to add a method receiving an instantiation of this generic type and returning T, e. g.:
func (_ Generic[uint8]) Value() uint8 {
	return 0
}

What did you expect to see?
I would expect the program to build without errors.
What did you see instead?
Adding the method leads to an error when building the program:
cannot use 0 (untyped int constant) as uint8 value in return statement

The program only builds if the return type of the method is different from T.

this doesn't do what you think it does.
methods can't be on specific instantiations.
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For questions please refer to https://github.com/golang/go/wiki/Questions

func (_ Generic[uint8]) Value() uint8 { return 0 } does not mean what you think it means. This is the same as func (_ Generic[T]) Value() T { return 0 }. You are overloading the name uint8 with a type parameter named "uint8" that is constrained to be an any. This is the meaning of the "uint8" return value. Hence the very confusing error message.

I vaguely recall there was a suggested vet check for this.

the check was deemed premature at the time #48123

https://go.dev/doc/faq#types_in_method_declaration


Interactive pull request

Add Data to the list and store it in local storage.

Show Data on the DOM.
Update Completed property true and false when the checkbox is checked or unchecked.
Add functionality when the user clicks on the clear all completed button the completed task will be removed.

@Rana-Mudassir Can you go on slack ?

Yes
On Sun, Jan 29, 2023, 3:46 AM Yannick-Noel AKA @.***>
wrote:

@Rana-Mudassir https://github.com/Rana-Mudassir Can you go on slack ?
—
Reply to this email directly, view it on GitHub
https://github.com/Rana-Mudassir/to-do-list/pull/3#issuecomment-1407504385,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APDCA6Q7YFPTDMXQVH5NGH3WUWOTBANCNFSM6AAAAAAUJ4FJLQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


how to configure search guard plugin

Hi,
I installed search guard-5 plugin as following link
https://github.com/floragunncom/search-guard/wiki/Search-Guard-Bundle
i installed perfectly but how to configure it i don't know.
please assist me.

Please don't ask question here, GitHub is for reporting bugs only. For questions, refer to our Google Group:
https://groups.google.com/forum/#!forum/search-guard
For configuration instructions, please refer to our documentation:
http://floragunncom.github.io/search-guard-docs/


[FEATURE REQUEST] Improvement of Dispatch 911 Call

Describe the feature

Move the block of events. This arrangement will allow you to place more information and make it easier to perceive.

Add the ability to edit and delete events (show icons on focus)

Fast events
The dispatcher can quickly add events as requested by units.

Quick events are created in CAD settings, like 10 codes
Example:

L12 reported firing
The dispatcher right-clicks on unit L12 in the list of attached units and selects a quick event
The event is added to the call log

Additional Context
No response

@pp2amd6 I think i've already asked this before, but the Quick Events should be a Value correct?

@Dev-CasperTheGhost Give me an hour. I will think over the function and write down the functionality.

@Dev-CasperTheGhost Give me an hour. I will think over the function and write down the functionality.

yup, no worries. No rush!

Let's deal with tencodes.
Let's take fictional tencodes and divide them into two types: status (officer) codes and situation codes.

Status codes can change the status of an officer.
Situation codes can create a challenge.
===================================================
Tencode table changes
Add a radio button to the tencodes table, which allows you to select the type of code: status code (officer) and situation code.

The officer's panel will show ONLY status codes.
===================================================
Dispatch - 911 Call card
If you press the right mouse button on a unit in the call card, a menu will be called

If a status code is selected in the menu, the status will change for the officer
If a situation code is selected in the menu, an entry will be added to the event log
Recording format: date time: callsign - event
Example: 2021.11.04 20:28:00: 1L-99 Ethan West / 10-13 - Shots Fired!
===================================================
Dispatch - Unit list
If you press the right mouse button on an entry in the list of units, a menu will be called

If a status code is selected in the menu, the status will change for the officer
If the situation code is selected in the menu and the unit is attached to the call, an entry will be added to the event log
If the situation code is selected in the menu and the unit is NOT attached to the call, then the call will be automatically created (if the checkbox is set) and an entry will be added to the event log


Got 0 tweets

I'm working on a research paper and I would like to use twitterscraper to get tweets on a specific query. I got 0 tweets and several issues when runing the code. Please can you help me.

I got the same issue.

same issue. tried different search terms...
I had it implemented on my website back in April 2020, and it worked for a few months, but then suddenly stopped. Now I can't start it on either my local machine nor that server...

Actually there is a perfect solution already posted earlier - https://github.com/taspinar/twitterscraper/pull/337/files.
Just checked it and it works fine!
Now I'm just wondering when this pull request will be accepted/implemented.

You are right @alexey-ny
Heres https://github.com/taspinar/twitterscraper/pull/337/files works for me too.
Thank you!

I have the same issue:
Tried scraping CocaCola but just got 0 tweets:

@alexey-ny  : How can I apply the solution you posted? What do I have to do to implement this pull request?

i am same problem and i tried with a VPN

:+1:

Actually there is a perfect solution already posted earlier - https://github.com/taspinar/twitterscraper/pull/337/files.
Just checked it and it works fine!
Now I'm just wondering when this pull request will be accepted/implemented.

This solution seems to be NOT working again :-(

Hi, will it never work again? what should we do?
Thanks.

same issue
INFO:twitterscraper:Got 0 tweets from username nfrealmusic

same issue
INFO:twitterscraper:Got 0 tweets from username nfrealmusic

I have the same issue:
Tried scraping CocaCola but just got 0 tweets:

@alexey-ny : How can I apply the solution you posted? What do I have to do to implement this pull request?

have you solved this issue?

I have the same issue:
Tried scraping CocaCola but just got 0 tweets:

@alexey-ny : How can I apply the solution you posted? What do I have to do to implement this pull request?

have you solved this issue?


Gradient fallback tints

This is a follow-up to #397, and will hopefully be solved by it, but here it is as a separate issue anyways.
My use case is this: I use a progressive blur at the top of a scrollable container, and I'd like to use a gradient where the blur isn't supported (older/lower-end Android devices).
For now, fallbackTint takes HazeTint, which doesn't support taking a gradient, so I'm forced to set it to Color.Transparent for now.
This could theoretically be done by adding my own background modifier above or below hazeChild, but that's not ideal:

If it's ~above~ below hazeChild, then it's gonna be always drawn on top of the blur. Not great.
If it's ~below~ above hazeChild, it's gonna interfere with the color of the blur, particularly when using a mask instead of progressive. ~(didn't try though, I could be wrong!)~ I tried this and yes, with mask it has an effect.

That itself could be fixed by checking if Haze is supported, but Haze doesn't expose any way to know whether or not blur is supported on the current device. I filed an issue for that at #399.
I might be missing something very obvious, so take this with a grain of salt 😅
And thanks for the awesome library!

I think this is more of a bug in the backwards compatibility for progressive. Haze does draw a gradient for mask, but we don't currently for progressive.

You might also be interested in #384

Ah yes, I just realized that! The mask applies to the fallback tint as well, which is great.
As for progressive, applying a background after it works fine, because Haze takes over rendering completely when blur is available (thus the background has no effect), and a transparent fallback tint makes it work on unsupported devices.


Feature | Trunk

In order to have a better development experience Trunk development tool is
introduced to replace Webpack on the bundle and development pŕocess.
TailwindCSS is still in use by employing the tailwindcss NodeJS package.
Read more on Trunk and what it has to offer in the official repository:
https://github.com/thedodd/trunk

There's many things to discover in this project using Trunk as our development tool! We can also make use of Conditional Compilation with Features for the website which I personally think is very interesting, is like having some kind of "Feature Flags" in the compiler OOTB!


MICA opened incorrectly

[ ✓] This is not about other apps being displayed weird or etc.
[✓ ] This is not about rendering issues that caused by a bug in the Windows.
[ ✓] I've read FAQ.
[ ] I've checked other issues and this is not a duplicate.
Describe the bug
When I launch Mica For Everyone, it asks to download and install .NET Core but when I press Yes nothing happens.
I tried to install any kind of .NET runtime, but nothing happened either.
Expected behavior
MICA opened correctly
Screenshots

Windows Version
Windows 11 Pro
version	23H2
install date	10-Jun-23
build version	22631.3593
expirence	Windows Feature Experience Pack 1000.22700.1003.0

Try with this .NET core version: https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-3.1.32-windows-x64-installer?cid=getdotnetcore

thx problem solved


misc: introduce PR labeler

Pre-flight checklist

[x] I have read the Contributing Guidelines on pull requests.
[ ] If this is a code change: I have written unit tests and/or added dogfooding pages to fully verify the new behavior.
[ ] If this is a new API or substantial change: the PR has an accompanying issue (closes #0000) and the maintainers have approved on my working plan.

Motivation

Let's try to automate a little bit the addition of labels to the opened PRs.

I'd prefer to keep the tagging process manual for now.
When I see tags are missing, I'm more likely to assign a correct tag.
If I see a PR is already tagged, I may not correct a wrong tag that was set automatically, and it is more likely to keep its wrong tag.


onClose animation lost

after updating to 1.5.0 onclose animation lost on emulator and real device
on emulator doesn't give onopen and onclose animation at all

@koswarabilly this should be closed

I am using version 1.6.0. However, the closing modal still does not get animated and the upper right close button is  not shown too. May i ask what i can check or if there is any fix?
Thanks a lot


🎉 Add Linear mouse

🪩 Provide a link to the proposed addition
https://linearmouse.app/zh-CN/
😳 Explain why it should be added
自定义鼠标和触控板的指针，和滚动方向。
📖 Additional context
No response
🧨 Issue Checklist

[X] I have checked for other similar issues
[X] I have explained why this change is important
[X] I have added necessary documentation (if appropriate)

Please close this issue.


After Upgrading coronacards.framework iOS app is not building

While Upgrading coronacards for ios i am facing this issue
Can anyone tell me where i messed up. I followed these
I deleted the CoronaCards.framework from ios of my projec and pasted the new CoronaCards.framework(latest)
Got this error while building xcode project
Undefined symbols for architecture x86_64:
"OBJC_CLASS$_AppleKeyServices", referenced from:
objc-class-ref in CoronaCards(CoronaViewPrivate.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1

This should be fixed in next build