_ Patch Compile Tests _

+1 :green_heart:
mvninstall
5m  5s
the patch passed

+1 :green_heart:
compile
0m 53s
the patch passed

+1 :green_heart:
javac
0m 53s
the patch passed

+1 :green_heart:
shadedjars
5m 50s
patch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 23s
hbase-server generated 96 new + 0 unchanged - 0 fixed = 96 total (was 0)

_ Other Tests _

-1 :x:
unit
11m 34s
hbase-server in the patch failed.

32m 28s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5247/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5247

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux a99e94009897 5.4.0-1101-aws #109~18.04.1-Ubuntu SMP Mon Apr 24 20:40:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / e4e79179d4

Default Java
Eclipse Adoptium-11.0.17+8

mvninstall
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5247/1/artifact/yetus-jdk11-hadoop3-check/output/branch-mvninstall-root.txt

compile
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5247/1/artifact/yetus-jdk11-hadoop3-check/output/branch-compile-hbase-server.txt

javadoc
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5247/1/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-server.txt

javadoc
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5247/1/artifact/yetus-jdk11-hadoop3-check/output/diff-javadoc-javadoc-hbase-server.txt

unit
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5247/1/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-hbase-server.txt

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5247/1/testReport/

Max. process+thread count
1797 (vs. ulimit of 30000)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5247/1/console

versions
git=2.34.1 maven=3.8.6

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 57s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+1 :green_heart:
mvninstall
4m  3s
master passed

+1 :green_heart:
compile
2m 23s
master passed

+1 :green_heart:
checkstyle
0m 37s
master passed

+1 :green_heart:
spotless
0m 43s
branch has no errors when running spotless:check.

+1 :green_heart:
spotbugs
1m 28s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 45s
the patch passed

+1 :green_heart:
compile
2m 22s
the patch passed

+1 :green_heart:
javac
2m 22s
the patch passed

+1 :green_heart:
checkstyle
0m 35s
hbase-server: The patch generated 0 new + 5 unchanged - 1 fixed = 5 total (was 6)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
14m 25s
Patch does not cause any errors with Hadoop 3.2.4 3.3.5.

+1 :green_heart:
spotless
0m 41s
patch has no errors when running spotless:check.

+1 :green_heart:
spotbugs
1m 37s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 12s
The patch does not generate ASF License warnings.

42m 15s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5247/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5247

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile

uname
Linux 7dfdd7afcdff 5.4.0-144-generic #161-Ubuntu SMP Fri Feb 3 14:49:04 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / e4e79179d4

Default Java
Eclipse Adoptium-11.0.17+8

Max. process+thread count
84 (vs. ulimit of 30000)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5247/1/console

versions
git=2.34.1 maven=3.8.6 spotbugs=4.7.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 24s
Docker mode activated.


julia.withPackages: update registry to fix missing hash for FiniteDiff.jl

Description of changes
This fixes #275802 by picking up an updated augmented registry. The previous one had failed to prefetch hashes for the FiniteDiff.jl package, which was needed by DFTK.jl.
This also adds an improved error message to point users to the source of missing hash problems.
CC @kilianar
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[X] Fits CONTRIBUTING.md.

Thank you for promptly addressing this issue (and, of course, for your efforts in integrating Julia packages into nixpkgs). Your work is much appreciated!


Add vendor files for go build

As moving to the go modules build, leverage the vendors directory to help with the go build ( go build -mod vendor ).
Would be nice to include it in the next formula build.
https://github.com/Homebrew/homebrew-core/blob/master/Formula/helmfile.rb

Why?
Managing a vendor directory is more work for everyone:

reviewers need to skim unrelated changes for PRs
coders need not forget to amend the vendor dir
a copy of dependencies bloat the repository

The on by default go proxy helps with removed dependencies.

@davidovich Yeah, I think you are right, thanks for refreshing me on this matter.  :)

After second thought, I think still vendoring is a good thing, even though I do think the management of vendoring is kind of hard.
But that is why we need to automate the dependencies and vendoring process though.

@chenrui333 Thanks! I'm trying to understand all around it.
Are you basically saying that vendoring would help faster builds while running brew install helmfile?
Was wondering why we can't just extract the pre-build binary from the archive:
https://github.com/Homebrew/homebrew-core/blob/f8474a5343d1ae1b9881b361011e1efa00691650/Formula/helmfile.rb#L4

for homebrew-core, it would disallow the pre-built binary just like policy-wise.
And the vendoring stuff is more like my personal interest though. :)
I still think it does have some value, but it might be too much maintenance overhead.


Added support for Zendesk

Local branch rebased from upstream. New PR for Zendesk webhook support for Devices.

@HenrikFrystykNielsen - A fresh PR for Zendesk WebHook support (for Devices). I need atleast a beta version for this. I will appreciate your efforts/support, if you can take a this as  a next PR merge.

@HenrikFrystykNielsen - did you get a chance to look into PR for Zendesk ?

Gaurav, I can't seem to be able to get Zendesk to send a WebHook? I have registered an app with a WebHook but don't know how to get it to fire. Any ideas?

You need to map your emailId. They have very decent documentations to refer.
On 03/04/2016 6:00 AM, "Henrik Frystyk Nielsen"<EMAIL_ADDRESS>wrote:

Gaurav, I can't seem to be able to get Zendesk to send a WebHook? I have
registered an app with a WebHook but don't know how to get it to fire. Any
ideas?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/aspnet/WebHooks/pull/24#issuecomment-204833192

Sorry, I missed link. Here it is:
https://developer.zendesk.com/embeddables/docs/android/push_notifications_webhook
On 03/04/2016 6:58 AM, "Gaurav Kumar Arora"<EMAIL_ADDRESS>wrote:

You need to map your emailId. They have very decent documentations to
refer.
On 03/04/2016 6:00 AM, "Henrik Frystyk Nielsen"<EMAIL_ADDRESS>wrote:

Gaurav, I can't seem to be able to get Zendesk to send a WebHook? I have
registered an app with a WebHook but don't know how to get it to fire. Any
ideas?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/aspnet/WebHooks/pull/24#issuecomment-204833192

@HenrikFrystykNielsen - just to quick check, do we have any plan for this PR ?

I have been working on it for quite a while but haven't been able to get Zendesk to actually send me a webhook. For now I'll just go based on the docs.

Thanks for your support!
I have more PR - waiting on current. In between, is there anyway to make a
new PR while first one is in process ?
On Tue, May 24, 2016 at 10:16 PM, Henrik Frystyk Nielsen <
<EMAIL_ADDRESS>wrote:

I have been working on it for quite a while but haven't been able to get
Zendesk to actually send me a webhook. For now I'll just go based on the
docs.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/aspnet/WebHooks/pull/24#issuecomment-221332682

--
Thanks & Regards,
Gaurav Arora

thanks for the PR -- it's now in: 1a213d7b9c95086ed0820942abb9ff6cf1488e0e

Thanks a ton! Now I can make other PR
On 29/05/2016 3:08 AM, "Henrik Frystyk Nielsen"<EMAIL_ADDRESS>wrote:

thanks for the PR -- it's now in: 1a213d7
https://github.com/aspnet/WebHooks/commit/1a213d7b9c95086ed0820942abb9ff6cf1488e0e
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/aspnet/WebHooks/pull/24#issuecomment-222330851, or mute
the thread
https://github.com/notifications/unsubscribe/AA6_OTtlvAtb93ZqVqh4_vEE29E553Cnks5qGLXagaJpZM4Gd8_s
.


Fixing testcase DeleteNfsExecutorPodWhileBackupAndRestoreInProgress

What this PR does / why we need it:
Context switch to destination cluster takes time. IN the meantime the in-progress restore is successful and nfs executor pod was not longer found.
Change made: Get the source cluster context and the switched context to destination cluster before starting the restore.
Which issue(s) this PR fixes (optional)
Closes #
Special notes for your reviewer:
RKE (nfs) :https://jenkins.pwx.dev.purestorage.com/job/portworx-backup/job/system-tests/job/basic-system-test/job/px/job/NFS/job/PX-Cloud-RKE-NFS/148/consoleFull

LGTM. Please attach a successful runs.

https://jenkins.pwx.dev.purestorage.com/job/portworx-backup/job/system-tests/job/basic-system-test/job/px/job/NFS/job/PX-Cloud-RKE-NFS/148/consoleFull
@kshithijiyer-px


Correction of AI resource configuration table

In paragraph "Create Application Insight resource", there is a problem with the table describing the parameter to use.

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

#sign-off


Direct links to vk audio files are not working

[x] I've verified and I assure that I'm running youtube-dl 2018.01.27

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

youtube-dl -v https://cs1-61v4.vk-cdn.net/p8/685e996ed19024.mp3?extra=HmokStzaR6szuKgDa8ky8ONk6rF2gOHd5dLqaz1DmJLZcJCoYZbz83w-zHH9vrWx8QNT5au-VB-izC9T2-G0E-Mo-SAKSU3A9PjOgk3brG-22lLcVE1i12agVASxpa-n0OS9l2uADG33
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://cs1-61v4.vk-cdn.net/p8/685e996ed19024.mp3?extra=HmokStzaR6szuKgDa8ky8ONk6rF2gOHd5dLqaz1DmJLZcJCoYZbz83w-zHH9vrWx8QNT5au-VB-izC9T2-G0E-Mo-SAKSU3A9PjOgk3brG-22lLcVE1i12agVASxpa-n0OS9l2uADG33']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.01.27
[debug] Python version 3.6.3 (CPython) - Linux-4.4.0-1049-aws-x86_64-with-Ubuntu-17.10-artful
[debug] exe versions: ffmpeg 3.3.4-2, ffprobe 3.3.4-2
[debug] Proxy map: {}
[generic] 685e996ed19024: Requesting header
WARNING: Could not send HEAD request to https://cs1-61v4.vk-cdn.net/p8/685e996ed19024.mp3?extra=HmokStzaR6szuKgDa8ky8ONk6rF2gOHd5dLqaz1DmJLZcJCoYZbz83w-zHH9vrWx8QNT5au-VB-izC9T2-G0E-Mo-SAKSU3A9PjOgk3brG-22lLcVE1i12agVASxpa-n0OS9l2uADG33: HTTP Error 404: Not Found
[generic] 685e996ed19024: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/home/ubuntu/.local/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 517, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/home/ubuntu/.local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 2198, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.6/urllib/request.py", line 532, in open
    response = meth(req, response)
  File "/usr/lib/python3.6/urllib/request.py", line 642, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.6/urllib/request.py", line 564, in error
    result = self._call_chain(*args)
  File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.6/urllib/request.py", line 756, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/lib/python3.6/urllib/request.py", line 532, in open
    response = meth(req, response)
  File "/usr/lib/python3.6/urllib/request.py", line 642, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.6/urllib/request.py", line 570, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.6/urllib/request.py", line 650, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

...
<end of log>

Description of your issue, suggested solution and other information
I'm receiving an error when I try to use direct link to vk audio. Those links look like this one:
https://cs1-61v4.vk-cdn.net/p8/685e996ed19024.mp3?extra=HmokStzaR6szuKgDa8ky8ONk6rF2gOHd5dLqaz1DmJLZcJCoYZbz83w-zHH9vrWx8QNT5au-VB-izC9T2-G0E-Mo-SAKSU3A9PjOgk3brG-22lLcVE1i12agVASxpa-n0OS9l2uADG33
They are generated for each user personaly when you hit a play button in a broswer and last for some time (maybe few hours), so it might not be valid anymore when somebody will read this message. But I checked It and it is working for anyone (incognito mode, different browsers, vpn). Except youtube-dl.

https://cs1-61v4.vk-cdn.net/p8/685e996ed19024.mp3?extra=HmokStzaR6szuKgDa8ky8ONk6rF2gOHd5dLqaz1DmJLZcJCoYZbz83w-zHH9vrWx8QNT5au-VB-izC9T2-G0E-Mo-SAKSU3A9PjOgk3brG-22lLcVE1i12agVASxpa-n0OS9l2uADG33 is 404 for me.

@dstftw I found out that it require to be logged in at vk.com. Also for some reason lavaplayer can do it without account.

@dstftw wget also can use those links without any credentials. Cookies or -u and -p doesn't help for youtube-dl.

This link will work for some time: https://cs1-61v4.vk-cdn.net/p8/5cdcea23d5a6e2.mp3?extra=D_kLXizRCtYdqi8dtYzu6qxU4na-7CuEwJvMQuQmItCi3oDUM-Tc9VKq7F9xsGpla-MGBSuFmDrAs1D-b2nnFDdik8bUVwoc3e92o3xobjTKcNAGDKiqlJNVfIVkuTC4KqdAOLoNXttr

This link will work for some time: https://cs1-61v4.vk-cdn.net/p8/5cdcea23d5a6e2.mp3?extra=D_kLXizRCtYdqi8dtYzu6qxU4na-7CuEwJvMQuQmItCi3oDUM-Tc9VKq7F9xsGpla-MGBSuFmDrAs1D-b2nnFDdik8bUVwoc3e92o3xobjTKcNAGDKiqlJNVfIVkuTC4KqdAOLoNXttr

@dstftw try wget

Use wget's user agent then.

@dstftw Then why VK extractor doesn't work with those links? It just require login and password. VK is supported site and youtube-dl supports usage of login and password.

Cause this link is not a VK extractor link and youtube-dl uses browsers user agent.


[20.09] rpm: 4.15.1 -> <IP_ADDRESS>, addressing CVE-2021-3421, CVE-2021-20271 and CVE-2021-20266

Motivation for this change
See #117798 for master.
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@ofborg eval

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 117901 run on x86_64-linux 1

3 packages marked as broken and skipped:

clickshare-csc1
python27Packages.libmodulemd
vdrPlugins.xineliboutput

3 packages failed to build and are new build failures:

aliza: log was empty
lattice-diamond: log was empty
oracleXE: log was empty

50 packages built:

aucdtect
bluejeans-gui
clair
clmagma
createrepo_c
dell-530cdn
diffoscope
doodle
drawio
dsseries
dtrx
ec2-utils
epkowa
epm
epson-201106w
epson-workforce-635-nx625-series
epson_201207w
flatpak-builder
gnunet
gnunet-gtk
gnunet_git
gutenprintBin
hpmyroom
hydra-migration
hydra-unstable
intel-ocl
libextractor
libmodulemd
libsolv
megacli
mkl
plex
plexRaw
postscript-lexmark
python27Packages.mkl-service
python27Packages.rhpl
python37Packages.libmodulemd
python37Packages.mkl-service
python37Packages.osc
python37Packages.rpm
python38Packages.libmodulemd
python38Packages.mkl-service
python38Packages.osc
rpm (python38Packages.rpm)
rpm-ostree
rpmextract
scaleft
snowsql
vk-messenger
yandex-disk


Out of memory

Hello,
When mirroring is running, near 50 thread of java process is started and use up to 4 Go of memory. Is it normal ?
Thanks
François

Yes, this is normal. A ton of API requests are made in different threads loading the entire NVD data set into memory. You can throttle back the number of threads using --threads 2. See https://github.com/jeremylong/Open-Vulnerability-Project/tree/main/vulnz#out-of-memory-errors


MSEARCH-67: Add ASCII folding filter.

Changes:

Add ASCII folding filter for multilang fields (src property);
Src field is always present for multilang now.

Everything looks good, but I think it is possible to add test to verify that ascii folding filter is working

@pfilippovEPAM, there is an integration test, see src/test/java/org/folio/search/controller/SearchInstanceIT.java, or do you mean an another test?

Oh, I see now, approved.


Does not implement Send + Sync

Arcow is exactly what I was looking for, thank you!
However, when using it in a data structure with async fn methods, it complains that Arcow is not Send nor Sync.
Is that intentional?
/// simple cache that retires objects that have not been in use for
/// a specific amount of time
#[derive(Derivative, Clone, Debug)]
pub struct MemoryUnionStorage<K: StorageAddress, V: UnionDeps> {
    objects: Arc<DashMap<K, Arcow<V>>>,
}

error[E0277]: `NonNull<arcow::ArcowInner<V>>` cannot be sent between threads safely
   --> lib/graph/graph2/src/providers/heap.rs:56:47
    |
56  | impl <K: StorageAddress, V: UnionDeps + Sync> StorageProvider for MemoryUnionStorage<K, V> where V: ToStorageAddress<K> + DefaultToStorag...
    |                                               ^^^^^^^^^^^^^^^ `NonNull<arcow::ArcowInner<V>>` cannot be sent between threads safely
    |
    = help: within `Arcow<V>`, the trait `std::marker::Send` is not implemented for `NonNull<arcow::ArcowInner<V>>`
    = note: required because it appears within the type `Arcow<V>`
    = note: required for `dashmap::util::SharedValue<Arcow<V>>` to implement `std::marker::Send`
    = note: required because it appears within the type `(K, dashmap::util::SharedValue<Arcow<V>>)`
    = note: required for `hashbrown::raw::RawTable<(K, dashmap::util::SharedValue<Arcow<V>>)>` to implement `std::marker::Send`
    = note: required because it appears within the type `hashbrown::map::HashMap<K, dashmap::util::SharedValue<Arcow<V>>, RandomState>`
    = note: required for `lock_api::rwlock::RwLock<dashmap::lock::RawRwLock, hashbrown::map::HashMap<K, dashmap::util::SharedValue<Arcow<V>>, RandomState>>` to implement `Sync`
    = note: required because it appears within the type `[lock_api::rwlock::RwLock<dashmap::lock::RawRwLock, hashbrown::map::HashMap<K, dashmap::util::SharedValue<Arcow<V>>, RandomState>>]`
    = note: required for `std::ptr::Unique<[lock_api::rwlock::RwLock<dashmap::lock::RawRwLock, hashbrown::map::HashMap<K, dashmap::util::SharedValue<Arcow<V>>, RandomState>>]>` to implement `Sync`
    = note: required because it appears within the type `Box<[lock_api::rwlock::RwLock<dashmap::lock::RawRwLock, hashbrown::map::HashMap<K, dashmap::util::SharedValue<Arcow<V>>, RandomState>>]>`
    = note: required because it appears within the type `DashMap<K, Arcow<V>>`
    = note: required for `std::sync::Arc<DashMap<K, Arcow<V>>>` to implement `Sync`

It should at least be Send, probably also Sync. I'll look into it.

I've modified it to implement Send and Sync if the associated type is Send + Sync, same as with standard Arc. I don't know if that will be enough for your use case, but that's the most I'm sure of at the moment. I think I can make a stronger guarantee but I'll need to take some time to think about it.
Try the latest revision, which I'm not yet ready to publish on crates.io:
[dependencies]
arcow = {git = "https://github.com/SolraBizna/arcow", rev = "005f75ea333bcdea9bf1ceb87d51e38edbbd194c"}

and let me know if this solves your problem.

It works!
It would be nice if PartialEq would also be implemented where T: PartialEq, but that can be worked around with custom newtypes.
Thank you for sharing Arcow!


Option to reverse split diff layout (original on right, modified on left)

monaco-editor npm version: 0.8.0
Browser: All
OS: All
We have an application where, for various reasons, we need to be able to display a split diff with the new version of a file on the left hand side rather than the right. As far as I can tell this isn't currently possible with the monaco diff editor.
I've worked around this by overriding the CSS for the inserted/deleted background colours so that deletions show up as green and insertions show up as red (as well as reversing the inputs so that I input the original file to the "modified" model and vice versa).
However, I've also had to hide the overview ruler on the right hand side of the diff, since I can't override the colours using CSS. This gives me a workable solution but does leave an annoying blank space on the right hand side of the diff. I've also had to disable the +/- line indicators for similar reasons.
Instead of all this, it would be nice to be able to specify an option to lay the split diff out in "mirror mode" with the original/modified panes reversed.

For anyone trying to do the same thing, I came up with a horrible hack for the overview ruler involving colour filters on the canvas elements. Here's the full CSS I'm using for my workaround, which gives a decent result:
/* The monaco editor doesn't let us swap the diff panes so as a workaround, make deletions look like insertions and vice versa by swapping the colours */
.monaco-editor .char-delete, .monaco-editor .line-delete {
    background: rgba(40, 210, 40, 0.2);
}
.monaco-editor .char-insert, .monaco-editor .line-insert {
    background: rgba(255, 0, 0, 0.2);
}

/* To swap the colours in the overview rulers we have to do some hacky colour filtering. Note that this doesn't work in IE: http://caniuse.com/#feat=css-filters */
canvas.modified.diffOverviewRuler {
    /* This filter turns green to red */
    filter: hue-rotate(270deg) brightness(80%) saturate(2);
    -webkit-filter: hue-rotate(270deg) brightness(80%) saturate(2);
}
canvas.original.diffOverviewRuler {
    /* This filter turns red to green */
    filter: hue-rotate(90deg) brightness(1000%) saturate(0.5);
    -webkit-filter: hue-rotate(135deg) brightness(185%) saturate(0.7);
}

Update: with the new theming stuff in 0.9.0 the hack gets a bit more succinct and a bit more robust. You can replace all the CSS above with the following theme:
monaco.editor.defineTheme('flippedDiffTheme', {
    base: 'vs',
    inherit: true,
    rules: [],
    colors: {
        'diffEditor.insertedTextBackground': '#ff000033',
        'diffEditor.removedTextBackground': '#28d22833'
    }
});
monaco.editor.setTheme('flippedDiffTheme');

+1 for this feature request. The above themes work for flipping the colors, but as mentioned above, the +/- line indicators remain flipped and are hence inaccurate in this case.

@mnayan  The +/- can be turned off via the diff editor renderIndicators option.

+1. Any chance for this request to be included?

There's an easier way to reverse original with modified using css and preserving all indicators and colors, including diff overview ruler:
.monaco-diff-editor .editor.original {
	 right: 30px !important;
	 left: unset !important;
}
 .monaco-diff-editor .editor.modified {
	 left: 0 !important;
	 width: unset !important;
}
 .monaco-diff-editor .diffOverview .diffOverviewRuler.original {
	 left: 15px !important;
}
 .monaco-diff-editor .diffOverview .diffOverviewRuler.modified {
	 right: 15px !important;
}

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


Add -i to select an image for provision.beaker

Just --image was available, and muscle memory was hard.
Pull Request Checklist

[x] implement the feature

@lukaszachy would you mind extending artemis as well? https://github.com/teemtee/tmt/blob/main/tmt/steps/provision/artemis.py#L148

@happz Done and forced pushed.


Add type="button" to toggle buttons...

... otherwise the according toggle buttons trigger a form submit if used inside a form element.

No, they definitely don't have it in the displayed sample code:
https://getbootstrap.com/docs/4.0/components/collapse/

the live documentation is older than the current state of the repo.
again, this is already fixed in the repo. if you look closely at your PR, you'll see you're trying to add a second type="button"
https://github.com/twbs/bootstrap/pull/25643


Brick after downgrade 2.1..

"Putting a New 3DS on 2.1.0 in sleep mode is known to cause an UNRECOVERABLE brick! You should avoid closing your device ..."
I dont know if it just me. But after i turn off my o3ds. Then try to continue to part 3. Error pop up when typing the http://dukesrg.. Im not n3ds. But as far as i know the only thing i did is turn off my unit aftet 2.1 successfully installed. Think i shoudnt turn off my unit.. But the warning message is only for new 3ds. But im o3ds
Maybe they should add more specific instruction wheter we turn off or not the unit wheter n3ds or o3ds.. For the newbie like me. Btw thanks, i will again start from part 1.. :(

No. You can run 2.1.0-4 just fine on an Old3DS. Just try clearing cache and cookies on browser and try going to the link again. It's not a brick. You're fine.

Woah.. So im just fine!?. I started all over again. Im already in part 2 ctrnand transfer again.. But thanks again. Now i know.


add sort by username

Fixes #
Changes
One line description for the changelog

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

TODO: add ui element to enable code


Buffer completion

Is your feature request related to a problem? Please describe.
Sometimes is very convenient to have basic word completion. A lost of editors have this feature. Also Vim completion plugins such as mucomplete or asyncomplete.vim have buffer completion source.
Describe the solution you'd like
I suggest to add buffer completion :)
Describe alternatives you've considered
I noticed that you have ins-complete support, but is it possible to complete buffer words with it? Sorry, I am very newbie in it :)

Yeah you can use ins-complete to complete buffer words with <c-n> and <c-p> if you have set complete=.,w,b,u(see :h complete for detailed information). There are a lot of limit with the ins-complete though(it's not async, couldn't combine it with other completion source) but I currently have no time writing another source for it. It'll be nice if someone can help though.

Thanks for explanation!

I created a PR for this feature https://github.com/haorenW1025/completion-nvim/pull/94. I too was missing this from Coc.


Revert #10468

What is the purpose of the change
Duplicated with https://github.com/apache/dubbo/pull/5902
Brief changelog
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #10949 (e94382e) into 3.1 (9bbca3a) will decrease coverage by 4.24%.
The diff coverage is 78.57%.

@@             Coverage Diff              @@
##                3.1   #10949      +/-   ##
============================================
- Coverage     68.98%   64.73%   -4.25%
+ Complexity       99       14      -85
============================================
  Files          1457     1418      -39
  Lines         75426    58841   -16585
  Branches      13235     8639    -4596
============================================
- Hits          52030    38089   -13941
+ Misses        18766    16736    -2030
+ Partials       4630     4016     -614

Impacted Files
Coverage Δ

...org/apache/dubbo/registry/nacos/NacosRegistry.java
49.83% <78.57%> (-9.09%)
:arrow_down:

...luster/router/script/ScriptStateRouterFactory.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...zookeeper/curator/CuratorZookeeperTransporter.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...pc/cluster/router/file/FileStateRouterFactory.java
0.00% <0.00%> (-80.96%)
:arrow_down:

...mmon/serialize/fastjson2/FastJson2ObjectInput.java
0.00% <0.00%> (-56.25%)
:arrow_down:

...mon/serialize/fastjson2/FastJson2ObjectOutput.java
0.00% <0.00%> (-56.25%)
:arrow_down:

...o/rpc/cluster/router/script/ScriptStateRouter.java
0.00% <0.00%> (-46.67%)
:arrow_down:

...ting/zookeeper/curator/CuratorZookeeperClient.java
15.38% <0.00%> (-38.84%)
:arrow_down:

...org/apache/dubbo/remoting/api/pu/DefaultCodec.java
33.33% <0.00%> (-33.34%)
:arrow_down:

...dubbo/remoting/zookeeper/ZookeeperTransporter.java
50.00% <0.00%> (-33.34%)
:arrow_down:

... and 392 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Editor: Comment line(s) not working for .tex files

See rschroll/litex/issues/8

We've released 0.8.0-alpha! - https://groups.google.com/forum/#!topic/light-table-discussion/rkfHTplo4ss. Closing as this should be resolved. Ping us if it is still an issue


Feature/state machine changes

What
Draft PR for state machine implementation.  Tests have not been updated yet.
How to review
Ensure the changes make sense.
Who can review
@janderson2

Closing this PR - new one to follow once unit tests and component tests are fixed.


Innernet fails with "Decode error occurred: Failed to parse message with type 16"

The interface is still set up correctly by innernet (or at least it seems to work and I hope I'm not missing something, but the hosts are still pingable).
❯ /usr/local/bin/innernet -vv --mtu 1420 up japanet7 --interval 60 --daemon
[*] bringing up interface japanet7.
[D] set address <IP_ADDRESS>/16 on interface japanet7
[D] set interface japanet7 up with mtu 1420
[D] route <IP_ADDRESS>/16 already existed.
[*] fetching state for japanet7 from server...
[D] [ureq::stream] connecting to <IP_ADDRESS>:61820 at <IP_ADDRESS>:61820
[D] [ureq::stream] created stream: Stream(TcpStream { addr: <IP_ADDRESS>:4204, peer: <IP_ADDRESS>:61820, fd: 4 })
[D] [ureq::unit] sending request GET http://<IP_ADDRESS>:61820/v1/user/state
[D] [ureq::unit] writing prelude: GET /v1/user/state HTTP/1.1
Host: <IP_ADDRESS>:61820
User-Agent: ureq/2.9.6
Accept: */*
X-Innernet-Server-Key: REDACTED
[D] [ureq::response] Body entirely buffered (length: 2196)
[D] [ureq::pool] adding stream to pool: http|<IP_ADDRESS>|61820 -> Stream(TcpStream { addr: <IP_ADDRESS>:4204, peer: <IP_ADDRESS>:61820, fd: 4 })
[D] [ureq::unit] response 200 to GET http://<IP_ADDRESS>:61820/v1/user/state
[D] [wireguard_control::backends::kernel] get_by_name: got 1 response message(s) from netlink request
[D] [wireguard_control::backends::kernel] get_by_name: parsed wireguard device japanet7 with 4 peer(s)

[*] updated interface japanet7

[D] [ureq::stream] dropping stream: Stream(TcpStream { addr: <IP_ADDRESS>:4204, peer: <IP_ADDRESS>:61820, fd: 4 })

[E] Decode error occurred: Failed to parse message with type 16

NOTE: this also happens with no options set in the command line, that's just the command I've taken straight from my service file.
innernet show also fails with just this error:
❯ innernet -vv show

[E] Decode error occurred: Failed to parse message with type 16

innernet fetch doesn't consider the interface to be up.
❯ innernet fetch japanet7

[E] Interface is not up. Use 'innernet up japanet7' instead

The issue seems to have appeared on my server after a kernel update (a vendored SBC kernel 5.10 → 6.8 mainline) and a friend also got this error after an update to Alpine Linux 3.19 (so it would be 6.1 → 6.6).
❯ innernet --version
innernet 1.6.1

I've now looked a bit more into it. This happens when calling get_local_addrs and the error comes from https://github.com/rust-netlink/netlink-packet-core/blob/91e71b69fe8d94a8ae7e2748b0443272c6c3307c/src/message.rs#L116.
It seems related to k3s as this doesn't happen when I stop it on my server.

@odrling thanks for the investigation. What is k3s?

It's a Kubernetes implementation https://github.com/k3s-io/k3s

I experience the same issue and it started after k3s installation. Stopping k3s service does not help

After looking into it more it seems to be related to this upstream issue https://github.com/rust-netlink/netlink-packet-route/issues/54

the update did not solve the problem for me:
> sudo innernet list
[E] Decode error occurred: Failed to parse message with type 16
> sudo innernet --version
innernet 1.6.1

Is there anything I can troubleshoot?

@Santonclause sorry for a captain obvious question, but are you using recent-enough build from main that has the fix? It hasn't been released yet in any version.
(unfortunately innernet --version returns 1.6.1 for both the last released version and current git main, so that cannot be used to tell which is which)

@Santonclause sorry for a captain obvious question, but are you using recent-enough build from git main that has the fix? It hasn't been released yet in any version.
(unfortunately innernet --version returns 1.6.1 for both the last released version and current git main, so that cannot be used to tell which is which)

@strohel , I've used the 1.6.1 release from here https://github.com/tonarino/innernet/releases and built from it. I assume this is not correct then? Should I just clone the main and build from source there?

@Santonclause Yes, you should try cloning the repo and building from the main branch.
The issue got closed when the fix was merged a few days ago and it is not yet in a release.
I used k3s as a test when I wrote the fix so you should not be running into this error with a build from main.

thank you @odrling! Yes, I just rebuilt from main branch and the issue was fixed. Thank you for the contribution!


Revert "Remove the need for AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY to be set with Digital Ocean deployment"

Reverts Quansight/qhub#1344

I will address this in a new issue.


How to interpret the model analysis report of TensorFlow2

2021-08-07 22:21:14.783664: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:941] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-08-07 22:21:14.783849: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:941] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-08-07 22:21:14.783983: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1406] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 7077 MB memory) -> physical GPU (device: 0, name: GeForce RTX 2070 SUPER, pci bus id: 0000:01:00.0, compute capability: 7.5)
2021-08-07 22:21:14.790480: I tensorflow/core/grappler/optimizers/meta_optimizer.cc:928] Optimization results for grappler item: graph_to_optimize
function_optimizer: Graph size after: 216 nodes (198), 329 edges (310), time = 3.612ms.
function_optimizer: function_optimizer did nothing. time = 0.07ms.
How should we understand these two times（time = 3.612ms and time = 0.07ms）?

The tensorflow version is 2.4.0 with gpu

@Misoknisky ,
In order to expedite the trouble-shooting process, could you please provide the complete code and dataset to reproduce the issue reported here.Thanks!

@ tilakrayal ,

Hellow, i use code  like this
`import tensorflow as tf
from tensorflow.python.keras.engine.base_layer import Layer
from tensorflow.keras.layers import Conv2D
from tensorflow.python.profiler.model_analyzer import profile
from tensorflow.python.profiler.option_builder import ProfileOptionBuilder
print('TensorFlow:', tf.version)
model = tf.keras.applications.ResNet50()
forward_pass = tf.function(
model.call,
input_signature=[tf.TensorSpec(shape=(1,) + (1, 1, 3))])
graph_info = profile(forward_pass.get_concrete_function().graph,
options=ProfileOptionBuilder.float_operation())
print('Flops: {:,}'.format(flops))     # 7
`
The ### outpus:

22:21:14.790480:** I tensorflow/core/grappler/optimizers/meta_optimizer.cc:928] Optimization results for grappler item:
graph_to_optimize

function_optimizer: Graph size after: 216 nodes (198), 329 edges (310), time = 3.612ms.

function_optimizer: function_optimizer did nothing. time = 0.07ms.

Before getting the FLOPS results, there aforementioned outputs are confusing, I don't know how to interpret the both time = 3.612ms and time = 0.07ms.

@Misoknisky ,
On running the given code snippet, I am facing an error stating NameError: name 'flops' is not defined. Please find the gist of it here.Please provide the complete code to reproduce the issue.Thanks!

@Misoknisky ,
Please take a look at this links for more information on how to interpret the model.Link1,Link2,It helps.Thanks!


gpg: fatal: can't create directory `//.gnupg': Permission denied

I've injected the WAL-E module into a postgres docker container. I can get the streaming archiving to S3 to work when I don't incorporate encryption. However, I need to encrypt the files prior to shipping to S3. I generated a gpg key, created a WALE_GPG_KEY_ID with the key id enclosed. While attached to the container, I executed the following command: su - postgres bash -c "envdir /etc/wal-e.d/env wal-e backup-push $PGDATA"
I receive the following error:
wal-e: Could not set up syslog, continuing anyway.  Reason: ENOENT
wal_e.operator.backup INFO     MSG: start upload postgres version metadata
DETAIL: Uploading to s3://sofi-postgresql-backups/basebackups_005/base_000000010000000000000002_00000040/extended_version.txt.
STRUCTURED: time=2015-01-28T19:34:09.320846-00 pid=31
wal_e.operator.backup INFO     MSG: postgres version metadata upload complete
STRUCTURED: time=2015-01-28T19:34:09.395145-00 pid=31
wal_e.worker.upload INFO     MSG: beginning volume compression
DETAIL: Building volume 0.
STRUCTURED: time=2015-01-28T19:34:09.523195-00 pid=31
gpg: fatal: can't create directory `//.gnupg': Permission denied
secmem usage: 0/0 bytes in 0/0 blocks of pool 0/32768
Here is the log from the "docker logs " command:
wal-e: Could not set up syslog, continuing anyway.  Reason: ENOENT
wal_e.worker.upload INFO     MSG: begin archiving a file
DETAIL: Uploading "pg_xlog/000000010000000000000001" to "s3://sofi-postgresql-backups/wal_005/000000010000000000000001.lzo".
STRUCTURED: time=2015-01-28T19:54:13.844163-00 pid=173 action=push-wal key=s3://sofi-postgresql-backups/wal_005/000000010000000000000001.lzo prefix= seg=000000010000000000000001 state=begin
wal_e.worker.upload INFO     MSG: begin archiving a file
DETAIL: Uploading "pg_xlog/000000010000000000000002" to "s3://sofi-postgresql-backups/wal_005/000000010000000000000002.lzo".
STRUCTURED: time=2015-01-28T19:54:13.864128-00 pid=173 action=push-wal key=s3://sofi-postgresql-backups/wal_005/000000010000000000000002.lzo prefix= seg=000000010000000000000002 state=begin
gpg: fatal: can't create directory `/root/.gnupg': Permission denied
secmem usage: 0/0 bytes in 0/0 blocks of pool 0/32768
Seems to be a permissions issue with the /root/.gnupg directory during encryption. I've altered the permissions to no avail. Any direction would be greatly appreciated.

Here are other errors of note within the log:
wal_e.main   CRITICAL MSG: pipeline process did not exit gracefully
DETAIL: "gpg -e -z 0 -r<EMAIL_ADDRESS>had terminated with the exit status 2.
STRUCTURED: time=2015-01-28T19:54:14.057127-00 pid=173
LOG:  archive command failed with exit code 1
DETAIL:  The failed archive command was: envdir /etc/wal-e.d/env /usr/local/bin/wal-e wal-push pg_xlog/000000010000000000000001

Try running GPG on your own, e.g. from the command line.  Something is missing, but regretfully I don't have a firm idea what that may be.  The //.gnupg string is suspicious: it seems like that's a null-expansion of some kind.

Resolved my issue. The full-backup was running as the postgres user and using the /home/postgres/.gnupg dir. However the wal-push command (which was added to the archive_command setting in postgresql.conf) was being ran as the postgres user the the command to run as the postgres user was being executed by root using the /root/.gnupg directory which access was denied. Within the container I changed roots env home to /home/postgres/ and thereafter the .gnupg directory was properly referenced. Hope that makes sense.

I am having this exact issue. Can I ask what you mean by "within the container"? Where are you editing a container? What did you change? I have spent days on this and SUPER appreciate any advice.


Multiline comment being split apart

See https://github.com/StylishThemes/GitHub-Dark/commit/49e8dc980c05f3f50a34f88ac3238128066012b7#diff-64ae9f3acdf5e1c48548adca960457b1 for an example. Our current options are --indentSize 2 --maxAtRuleLength 250. I think the issue has something to do with the , on the broken line.

Hi @silverwind,
Yeah, that's problematic. Unfortunately I'm not able to fix it straight away as I'm working on a new major for https://github.com/ben-eb/cssnano. Would appreciate any help fixing this issue. 👍


What's the best approach to run actor service inside a container?

What's the best approach to run actor service inside a container? Is there some guidance on how to approach this?
From what I'm seeing you can either use the CLI or Kubernetes (docs) but what if we want to run it on Docker Compose with Visual Studio?

@tomkerkhove Please see this sample to running app with docker compose https://github.com/dapr/samples/tree/master/10.hello-docker-compose

That was helpful, thanks!

Would it be useful if I send a PR to extend this sample with a demo?
https://github.com/dapr/dotnet-sdk/tree/master/samples/Actor

@tomkerkhove yes, that would be very helpful, thanks!

I assume the sample moved to here https://github.com/dapr/dotnet-sdk/tree/master/examples/Actor, but it does not contain any hints on how to write Docker-Compose to expose a containerized actor service in a multi-container apps. In particular, how to deal with --dapr-http-port 3500 in dockerfiles

This is what I'm using:
version: '3.4'

services:
  app:
    image: app
    build:
      context: .
      dockerfile: app/Dockerfile
      args:
      - VERSION=1.0.0
    ports:
      - "885:99"
      - "3000"
    depends_on:
      - dapr.statestores.redis
      - dapr.service.placement
    networks:
      - dapr

  app.sidecars.dapr:
    container_name: app.sidecars.dapr
    image: "daprio/daprd:edge"
    command: ["./daprd",
      "-app-id", "myapp",
      "-app-port", "3000",
      "-placement-host-address", "dapr.service.placement:50006",
      "-components-path", "/components"]
    volumes:
      - "./Dapr/:/components"
    depends_on:
      - app
    network_mode: "service:app"

  dapr.service.placement:
    container_name: dapr.statestores.placement
    image: "daprio/dapr"
    command: ["./placement", "-port", "50006"]
    ports:
      - "50006:50006"
    networks:
      - dapr

  dapr.statestores.redis:
    container_name: dapr.statestores.redis
    image: "redis:alpine"
    ports:
      - "6380:6379"
    networks:
      - dapr

networks:
  dapr:
    driver: bridge

Interesting, thanks, I'll try that.  Tbh, I did not expect to have to manually specify placement and redis, as they are already running independently of my app after dapr init

Because you have to have the runtime run somewhere? Maybe dapr run handles this for you but I have never used that before.

Alas, could not make it work even on your example.  Here's my config (I have 2 asp core apps, backend being the one with actors.  As soon as I put then on Dapr network, even direct method invocations start throwing, not just call via actor proxies.  I'll search a bit more on the web what could be the issue, else I'd have to back to Orleans and serverless actors... `version: '3.4'
version: '3.4'

services:
  daprfrontend:
    image: ${DOCKER_REGISTRY-}daprfrontend
    build:
      context: .
      dockerfile: DaprFrontEnd/Dockerfile
    ports:
      - "51000:50001"
    #networks:
    #  - dapr

  daprfrontend-dapr:
    image: "daprio/daprd:latest"
    command: [ "./daprd", "-app-id", "daprfrontend", "-app-port", "80" ]
    depends_on:
      - daprfrontend
    network_mode: "service:daprfrontend"

  daprbackend:
    image: ${DOCKER_REGISTRY-}daprbackend
    build:
      context: .
      dockerfile: DaprBackEnd/Dockerfile
    depends_on:
      - dapr.statestores.redis
      - dapr.service.placement
    ports:
      - "52000:50001"
    #networks:
    #  - dapr

  daprbackend-dapr:
    image: "daprio/daprd:latest"
    command: [ "./daprd",
      "-app-id", "daprbackend",
      "-app-port", "80",
      "-placement-host-address", "dapr.service.placement:50006",
      "-components-path", "/components" ]
    volumes:
      - "./Dapr/:/components"
    depends_on:
      - daprbackend
    network_mode: "service:daprbackend"

  dapr.service.placement:
    container_name: dapr.statestores.placement
    image: "daprio/dapr"
    command: [ "./placement", "-port", "50006" ]
    ports:
      - "50006:50006"
    networks:
      - dapr

  dapr.statestores.redis:
    container_name: dapr.statestores.redis
    image: "redis:alpine"
    ports:
      - "6380:6379"
    networks:
      - dapr

networks:
  dapr:
    driver: bridge

The app ports that you are adding are not defined on the ports section of the application containers so it cannot reach the app itself. Try adding - "80" to them.
However, also make sure the ports are not conflicting so you'll need to use a different app port for the other app & sidecar and make sure they are all part of the network.


Added volumetypes to PSP to prevent issue spinning pods as described …

…at: giantswarm/roadmap#259.

This has been tested on gauss, app is deployed and doesn't show any errors on its log. Repo doesn't have a codeowners so my best bet would be Phoenix.


add solo style dicecost

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
add solo style DiceCost, as used in K-net
Modification
add a solo_style_dice_loss option for diceloss
BC-breaking (Optional)
never
Use cases (Optional)
we can add solo_style_dice_loss option when we init DiceLoss

Checklist

Pre-commit or other linting tools are used to fix the potential lint issues.
The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
If the modification has potential influence on downstream projects, this PR should be tested with downstream projects, like MMDet or MMCls.
The documentation has been modified accordingly, like docstring or example tutorials.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Bug: Scanning images encounters a 500 error during the build process.

📜 Description
While initiating the build process for our application utilizing the ECR container repository, we encounter the following error during image scanning
Image Scan err {"code":500,"status":"Internal Server Error","errors":[{"code":"000","internalMessage":"[{can't pull fsLayers}]","userMessage":"can't pull fsLayers"}]}
Image scanner logs
{"level":"error","ts":1708442073.2559178,"caller":"api/RestHandler.go:99","msg":"err in process msg","err":"can't pull fsLayers","stacktrace":"github.com/devtron-labs/image-scanner/api.(*RestHandlerImpl).ScanForVulnerability\n\t/go/src/github.com/devtron-labs/image-scanner/api/RestHandler.go:99\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2122\ngithub.com/devtron-labs/common-lib/middlewares.Recovery.func1\n\t/go/src/github.com/devtron-labs/image-scanner/vendor/github.com/devtron-labs/common-lib/middlewares/recovery.go:26\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2122\ngithub.com/devtron-labs/image-scanner/internal/middleware.PrometheusMiddleware.func1\n\t/go/src/github.com/devtron-labs/image-scanner/internal/middleware/instrument.go:70\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2122\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/src/github.com/devtron-labs/image-scanner/vendor/github.com/gorilla/mux/mux.go:210\nnet/http.serverHandler.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2936\nnet/http.(*conn).serve\n\t/usr/local/go/src/net/http/server.go:1995"}
[Feb 20 2024 20:44:33 GMT+0530] image-scanner-6fff4b665b-qlk92: {"level":"info","ts":1708442073.2559457,"caller":"api/apiError.go:64","msg":"ERROR RES","TYPE":"API-ERROR","RES":500,"ERROR-MSG":[{"code":"000","internalMessage":"[{can't pull fsLayers}]","userMessage":"can't pull fsLayers"}],"err":null}

Criticality
P0 - Critical/Blocking
Impact on Enterprise
ENT-DEY
👟 Steps to replicate the Issue
NA
👍 Expected behavior
The image should be scanned, and the build should succeed.
👎 Actual Behavior
The build is currently failing because the image scanning is throwing a 500 error.
☸ Kubernetes version
1.25
Cloud provider

AWS

🌍 Browser
Chrome
🧱 Your Environment
No response
✅ Proposed Solution
No response
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find any similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

AB#8626

Use Trivy


Do not auto-indent when pasting text

When you want to reorder a Markdown file like this, by cutting the B-line:
- A
  - C
  - B

and pasting it before the C-line, the text is auto-indented like this:
- A
- B
  - C

while i would expect
- A
  - B
  - C

The combination of constantly stripping trailing whitespace and auto-indenting text causes the most infuriating results when pasting text repeatedly. If a line of text is indented and the line above it is empty, and you select that line and paste multiple copies of it, each copy is indented further over than the last.
So, selecting the line
console.log("hello world");
... and pasting it again and again leaves you with:
console.log("hello world");
console.log("hello world");
console.log("hello world");
console.log("hello world");
...  I recently started using Atom and I like it except for the fact that it stripped all the trailing whitespace off my project and now every time I copy text it gets offset in an unintuitive way.


updated scale elastic pool sample

Fix is in response to user reported issue: https://github.com/MicrosoftDocs/azure-docs/issues/5047

#sign-off

@erickson-doug - please review and merge. Thanks!


Support configuring TypeScript plugins

Depends on https://github.com/Microsoft/TypeScript/pull/28106

Register a new command, '_typescript.configurePlugin', that may be invoked from other VSCode extensions that contribute TypeScript plugins to send additional configuration data.
The configuration is passed along using the configurePlugins tsserver command (see https://github.com/Microsoft/TypeScript/pull/28106)
If tsserver restarts for any reason, the most recent configurations set by this command, if any, will be reset via another configurePlugins call.

@mjbvz for review please


Why the test size is 40?

Thank you for your work, but I have the following questions. About the test set of this working code, your code path shows rain streak, raindrop, and snow three data sets, they include many photos but why did the test.py only test 40 photos each time? Can you explain why?

Thank you for your work, but I have the following questions. About the test set of this working code, your code path shows rain streak, raindrop, and snow three data sets, they include many photos but why did the test.py only test 40 photos each time? Can you explain why?

Thank you for your interest. It only test for 40 photos since the length of DegradationTesis set to 40


MPL-75: Establish schemas team selector

Fixes Issue
Fixes https://github.com/Hyperfoil/Horreum/issues/1589
Changes proposed

[x] Re-establish the schemas filter by team from the UI (that was hidden as part of https://github.com/Hyperfoil/Horreum/pull/1290 because not properly implemented)
[x] Implemented schemas filtering by roles (i.e., team selection), the same way it is implemented on tests side
[x] Improve some test cases for both tests and schemas (focusing on this team filtering)

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[x] All new and existing tests passed.

Keeping in draft as it depends on https://github.com/Hyperfoil/Horreum/pull/1600, once that can be merged I will rebase this PR on top of master

As https://github.com/Hyperfoil/Horreum/pull/1600 got merged, I rebased this PR on top of master branch.

@willr3 @lampajr are we good to merge this?

@johnaohara yes it looks good to merge, didn't know if this was pre or post 0.13 as I didn't see milestones when I checked

Thanks a lot, the milestone was on the issue, otherwise it appears twice in the milestone planning


Running many blake2 hashes in a loop results in Ruby segfault due to GC

Hi, I am working on a pretty significant pull request to this gem that I would like to submit very soon.  However I have run into a showstopper issue with the gem as it is right now.  There is apparently some kind of a memory allocation or cleanup issue in the C extension code that causes a segfault if Ruby Garbage collection is turned on (as it generally always is). Here is some sample code I have created that demonstrates the issue every time on my machine (OS X El Capitan).  I also tried this under several versions of Ruby with the same outcome.  The segfault messages are always different since I think the segfault happens at random times based on when Ruby decides to do a GC sweep so they are pretty much useless as far as I can tell.  I suspect something is getting GC'ed while it is still in use.
#!/usr/bin/env ruby
require 'blake2'

# If GC is disabled this will run cleanly through
# thousands of iterations. If GC is running normally
# if will crash after a couple of thousand hashes pretty
# much every time. Uncomment this to allow clean runs.
#GC.disable

i = 0
100000.times do
  puts i if i % 1000 == 0
  Blake2.new(32, Blake2::Key.none).digest('abc', :to_hex)
  i += 1
end

Unless I uncomment the GC.disable line this fails after a few thousand hashes every time for me.
Unfortunately, I don't have much experience with C or Ruby C extensions.  Do you think you could take a look?
Cheers,
Glenn

Hey Glenn! I'll take a look ASAP (probably today but can't promise anything). I might know why this is happening. Thanks a lot for your future contribution then :-)

I've submitted the PR I mentioned.  Hopefully you can resolve the segfault issue with Garbage Collection.

Hi,
I just tested out the new release using the test code in your commit message.  I am still getting a segfault.
~/src$ gem list | grep blake
~/src$ gem install blake2
Fetching: blake2-0.2.0.gem (100%)
Building native extensions.  This could take a while...
Successfully installed blake2-0.2.0
1 gem installed
~/src$ irb
irb(main):001:0> require 'blake2'
true
irb(main):002:0> 1_000_000.times do
irb(main):003:1*       Blake2.new(32, Blake2::Key.none).digest('abc', :to_hex)
irb(main):004:1>     end
(irb):3: [BUG] rb_gc_mark(): 0x007f96210d40e8 is T_NONE
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]

-- Crash Report log information --------------------------------------------
   See Crash Report log file under the one of following:
     * ~/Library/Logs/CrashReporter
     * /Library/Logs/CrashReporter
     * ~/Library/Logs/DiagnosticReports
     * /Library/Logs/DiagnosticReports
   for more details.
Don't forget to include the above Crash Report log file in bug reports.

-- Control frame information -----------------------------------------------
c:0020 p:0030 s:0078 e:000076 BLOCK  (irb):3 [FINISH]
c:0019 p:---- s:0075 e:000074 CFUNC  :times
c:0018 p:0008 s:0072 e:000071 EVAL   (irb):2 [FINISH]
c:0017 p:---- s:0070 e:000069 CFUNC  :eval
c:0016 p:0025 s:0063 e:000062 METHOD /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb/workspace.rb:87
c:0015 p:0027 s:0056 e:000054 METHOD /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb/context.rb:380
c:0014 p:0024 s:0050 e:000049 BLOCK  /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb.rb:489
c:0013 p:0041 s:0042 e:000041 METHOD /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb.rb:623
c:0012 p:0011 s:0037 e:000036 BLOCK  /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb.rb:486
c:0011 p:0128 s:0033 e:000032 BLOCK  /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb/ruby-lex.rb:246 [FINISH]
c:0010 p:---- s:0030 e:000029 CFUNC  :loop
c:0009 p:0009 s:0027 e:000026 BLOCK  /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb/ruby-lex.rb:232 [FINISH]
c:0008 p:---- s:0025 e:000024 CFUNC  :catch
c:0007 p:0018 s:0021 e:000020 METHOD /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb/ruby-lex.rb:231
c:0006 p:0037 s:0018 E:000dd0 METHOD /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb.rb:485
c:0005 p:0009 s:0015 e:000014 BLOCK  /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb.rb:395 [FINISH]
c:0004 p:---- s:0013 e:000012 CFUNC  :catch
c:0003 p:0174 s:0009 E:000ae0 METHOD /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb.rb:394
c:0002 p:0023 s:0004 E:0026e0 EVAL   /usr/local/var/rbenv/versions/2.3.1/bin/irb:11 [FINISH]
c:0001 p:0000 s:0002 E:000590 (none) [FINISH]

-- Ruby level backtrace information ----------------------------------------
/usr/local/var/rbenv/versions/2.3.1/bin/irb:11:in `<main>'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb.rb:394:in `start'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb.rb:394:in `catch'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb.rb:395:in `block in start'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb.rb:485:in `eval_input'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb/ruby-lex.rb:231:in `each_top_level_statement'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb/ruby-lex.rb:231:in `catch'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb/ruby-lex.rb:232:in `block in each_top_level_statement'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb/ruby-lex.rb:232:in `loop'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb/ruby-lex.rb:246:in `block (2 levels) in each_top_level_statement'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb.rb:486:in `block in eval_input'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb.rb:623:in `signal_status'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb.rb:489:in `block (2 levels) in eval_input'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb/context.rb:380:in `evaluate'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb/workspace.rb:87:in `evaluate'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb/workspace.rb:87:in `eval'
(irb):2:in `irb_binding'
(irb):2:in `times'
(irb):3:in `block in irb_binding'

-- C level backtrace information -------------------------------------------
0   ruby                                0x0000000105784b14 rb_vm_bugreport + 388
1   ruby                                0x000000010561f0e5 rb_bug + 485
2   ruby                                0x0000000105642de6 gc_mark_children + 2358
3   ruby                                0x00000001056491db gc_mark_stacked_objects_incremental + 171
4   ruby                                0x0000000105646f76 newobj_slowpath + 1190
5   ruby                                0x0000000105646aa4 newobj_slowpath_wb_protected + 20
6   ruby                                0x0000000105703381 rb_str_resurrect + 65
7   ruby                                0x0000000105761122 vm_exec_core + 2802
8   ruby                                0x0000000105774d8c vm_exec + 124
9   ruby                                0x00000001057701a7 rb_yield_1 + 87
10  ruby                                0x000000010567a3f8 int_dotimes + 216
11  ruby                                0x000000010577a73a vm_call_cfunc + 314
12  ruby                                0x00000001057632a4 vm_exec_core + 11380
13  ruby                                0x0000000105774d8c vm_exec + 124
14  ruby                                0x0000000105782dee eval_string_with_cref + 1422
15  ruby                                0x0000000105770a61 rb_f_eval + 161
16  ruby                                0x000000010577a73a vm_call_cfunc + 314
17  ruby                                0x0000000105763500 vm_exec_core + 11984
18  ruby                                0x0000000105774d8c vm_exec + 124
19  ruby                                0x0000000105783260 loop_i + 48
20  ruby                                0x0000000105628cd8 rb_rescue2 + 280
21  ruby                                0x000000010577a73a vm_call_cfunc + 314
22  ruby                                0x00000001057632a4 vm_exec_core + 11380
23  ruby                                0x0000000105774d8c vm_exec + 124
24  ruby                                0x00000001057831f7 catch_i + 87
25  ruby                                0x0000000105771c0c rb_catch_protect + 156
26  ruby                                0x000000010577258c rb_f_catch + 76
27  ruby                                0x000000010577a73a vm_call_cfunc + 314
28  ruby                                0x00000001057632a4 vm_exec_core + 11380
29  ruby                                0x0000000105774d8c vm_exec + 124
30  ruby                                0x00000001057831f7 catch_i + 87
31  ruby                                0x0000000105771c0c rb_catch_protect + 156
32  ruby                                0x000000010577258c rb_f_catch + 76
33  ruby                                0x000000010577a73a vm_call_cfunc + 314
34  ruby                                0x00000001057632a4 vm_exec_core + 11380
35  ruby                                0x0000000105774d8c vm_exec + 124
36  ruby                                0x0000000105628078 ruby_exec_internal + 152
37  ruby                                0x0000000105627f86 ruby_run_node + 54
38  ruby                                0x00000001055da6af main + 79

-- Other runtime information -----------------------------------------------

* Loaded script: irb

* Loaded features:

    0 enumerator.so
    1 thread.rb
    2 rational.so
    3 complex.so
    4 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/x86_64-darwin15/enc/encdb.bundle
    5 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/x86_64-darwin15/enc/trans/transdb.bundle
    6 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/unicode_normalize.rb
    7 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/x86_64-darwin15/rbconfig.rb
    8 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/compatibility.rb
    9 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/defaults.rb
   10 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/deprecate.rb
   11 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/errors.rb
   12 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/version.rb
   13 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/requirement.rb
   14 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/platform.rb
   15 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/basic_specification.rb
   16 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/stub_specification.rb
   17 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/util/list.rb
   18 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/x86_64-darwin15/stringio.bundle
   19 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/specification.rb
   20 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/exceptions.rb
   21 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_gem.rb
   22 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/monitor.rb
   23 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb
   24 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems.rb
   25 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/path_support.rb
   26 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/dependency.rb
   27 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/version.rb
   28 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/core_ext/name_error.rb
   29 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/levenshtein.rb
   30 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/jaro_winkler.rb
   31 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/spell_checkable.rb
   32 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/delegate.rb
   33 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb
   34 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb
   35 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/spell_checkers/name_error_checkers.rb
   36 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/spell_checkers/method_name_checker.rb
   37 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/spell_checkers/null_checker.rb
   38 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/formatter.rb
   39 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean.rb
   40 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/e2mmap.rb
   41 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb/init.rb
#!/usr/bin/env ruby
   42 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb/workspace.rb
   43 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb/inspector.rb
   44 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb/context.rb
   45 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb/extend-command.rb
   46 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb/output-method.rb
   47 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb/notifier.rb
   48 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb/slex.rb
   49 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb/ruby-token.rb
   50 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb/ruby-lex.rb
   51 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb/src_encoding.rb
   52 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb/magic-file.rb
   53 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/x86_64-darwin15/readline.bundle
   54 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb/input-method.rb
   55 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb/locale.rb
   56 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb.rb
   57 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/awesome_print-1.6.1/lib/awesome_print/core_ext/array.rb
   58 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/awesome_print-1.6.1/lib/awesome_print/core_ext/string.rb
   59 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/awesome_print-1.6.1/lib/awesome_print/core_ext/method.rb
   60 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/awesome_print-1.6.1/lib/awesome_print/core_ext/object.rb
   61 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/awesome_print-1.6.1/lib/awesome_print/core_ext/class.rb
   62 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/awesome_print-1.6.1/lib/awesome_print/core_ext/kernel.rb
   63 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/awesome_print-1.6.1/lib/awesome_print/inspector.rb
   64 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/shellwords.rb
   65 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/awesome_print-1.6.1/lib/awesome_print/formatter.rb
   66 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/awesome_print-1.6.1/lib/awesome_print/version.rb
   67 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/awesome_print-1.6.1/lib/awesome_print.rb
   68 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/irb/version.rb
   69 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/blake2-0.2.0/lib/blake2_ext.bundle
   70 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/blake2-0.2.0/lib/blake2/key.rb
   71 /usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/blake2-0.2.0/lib/blake2.rb

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

[1]    68901 abort      irb

/tmp$ ruby -v
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]

If I run it with the test script I provided in the bug report I get:
/tmp$ ./bl.rb
0
1000
2000
3000
4000
5000
ruby(69724,0x7fff789b2000) malloc: *** error for object 0x7fb1c2708750: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
[1]    69724 abort      ./bl.rb

And if I turn off GC in that script it will usually but not always make it through 100,000 runs.
So I think this issue is still open.

FYI, I am rebasing my commits against master and I see it when running rake test as well.
~/src/blake2 (fixes_20160513 ✗)$ rake test
/usr/local/var/rbenv/versions/2.3.1/bin/ruby -w -I"lib:test" -I"/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rake-11.1.2/lib" "/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rake-11.1.2/lib/rake/rake_test_loader.rb" "test/**/*_test.rb"
Run options: --seed 39517

# Running:

.........ruby(81793,0x7fff789b2000) malloc: *** error for object 0x7ffd05313df0: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
rake aborted!
SignalException: SIGABRT

Tasks: TOP => test
(See full trace by running task with --trace)

Do you mind running rake clean too?
Can you please uninstall any version of blake2 you might have (gem uninstall basically 😅), and use this command: rake compile && ruby -Ilib -rblake2 test.rb ?
Thanks for your help!

I'm out now. Will run again tonight.

Alright, I can reproduce it now.

Just for posterity, I did the steps above (and rake clobber too) and same result.  Glad you can reproduce now as well.

I've added a new test for the GC. rake will run it by default (100k iterations).  I won't say it it's fixed as you know... I failed to fix it yesterday, but please give it a shot.
I've replaced ruby_xmalloc/frees by regular malloc/frees.

Looking very good.  I modified my local test script to run 99_999_000 iterations.  I ran without fail.  I was running activity monitor watching that ruby process and it did grow to quite a size, almost 2GB before it exited cleanly.  So there is still perhaps some kind of slow memory growth.  No crashes though!! 👍
I'd say ship it, and you might consider removing the last release from rubygems as it is known broken.
Thanks for doing the deep dive!

I'm gonna build some instrumentation to improve the memory usage. Thanks again for reporting this.
I'll ship ASAP with a fix hopefully.

Alright, I'll release this week-end. I pushed 2 bad versions and calling it a day, too tired. I'm closing this, feel free to reopen if you see anything new and thanks for your help 👍


Using empty_pb2 and Empty field within proto buffer causes serializing exception to be thrown

I was previously using the Empty field in the proto file along with the empty_pb2 module for passing around Empty fields.  This was previously working and since I have upgraded grpcio, grpcio-tools, and protobuf I haven't been able to get this to work again.  I keep getting this SerializeToString Error.  Perhaps something else in my env changed but I can't for the life of me figure out why this is suddently failing.  I modified the helloworld example from the website to replicate the issue.  If this is something in my environment, please advise on how to fix it.
I am running on windows 8.1 Pro
protobuf==3.1.0.post1
grpcio==1.0.1
grpcio-tools==1.0.1
helloworld.zip
C:\Users\jsmith\Desktop\sandbox\python\grpc\examples\python\helloworld>python greeter_client.py
ERROR:root:Exception serializing message!
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\grpc_common.py", line 117, in _transform
return transformer(message)
TypeError: unbound method SerializeToString() must be called with Empty instance as first argument (got Empty instance instea
Traceback (most recent call last):
File "greeter_client.py", line 49, in
run()
File "greeter_client.py", line 44, in run
response = stub.SayHello(e)#helloworld_pb2.HelloRequest(name='you'))
File "C:\Python27\lib\site-packages\grpc_channel.py", line 480, in call
state, deadline, = self._blocking(request, timeout, metadata, credentials)
File "C:\Python27\lib\site-packages\grpc_channel.py", line 468, in _blocking
raise rendezvous
grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with (StatusCode.INTERNAL, Exception serializing request!)>

The long and short of it is that you're using the wrong Empty, and Python isn't telling you that what it actually expects is helloworld_pb2.Empty, not empty_pb2.Empty, because Python is silly like that.

Excellent!  Thank you!


vertical and horizontal lines

Description of the new feature / enhancement
Can the vertical and horizontal lines of the mouse cursor be fixed separately?
Scenario when this would be used?
I want to use vertical and horizontal lines fixedly.
Supporting information
No response

What do you mean by the `vertical and horizontal lines? Crosshair utility? A screenshot may be helpful. Thank you! /needinfo


Add vendor directory validation

This causes CI to check that the vendor directory is clean whenever there are changes to this directory.

This tries to vendor all components and checks if there is error. It may be time consuming. It'd be ideal to check only the components involved. But I can see that may need extra script to find the components.
LGTM

This tries to vendor all components and checks if there is error. It may be time consuming. It'd be ideal to check only the components involved. But I can see that may need extra script to find the components.

Note that it will only do this when there is a change to the vendor directory. It took 22 seconds in the CI run where I made a manual change to the vendor directory to test this. I think the overhead is acceptable on these unusual changes, but I agree that ideally we would only check the packages involved.

I think it's all right with Swarmkit as it doesn't vendor many or large components.


cloudwatch_metrics_collector: 2.0.0-1 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository cloudwatch_metrics_collector to 2.0.0-1:

upstream repository: https://github.com/aws-robotics/cloudwatchmetrics-ros1.git
release repository: https://github.com/aws-gbp/cloudwatch_metrics_collector-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.7.2
previous version for package: 1.0.0-1

cloudwatch_metrics_collector
* fix broken build when cmake/rostest cannot find the gmock library (#13 <https://github.com/aws-robotics/cloudwatchmetrics-ros1/issues/13>)
* Fix timestamp conversion bug #10 <https://github.com/aws-robotics/cloudwatchmetrics-ros1/issues/10>
* Update CMakeLists.txt
* Update to use non-legacy ParameterReader API (#7 <https://github.com/aws-robotics/cloudwatchmetrics-ros1/issues/7>)
  * Update to use non-legacy ParameterReader API
  * increment package version
  * address comments, remove use of Aws::CloudWatch::Metrics namespace
* Allow users to configure ROS output location
* Contributors: AAlon, Juan Rodriguez Hortala, M. M, Tim Robinson

Fixes melodic dependency key.


BotMissingPermissions: Bot requires View Channel permission(s) to run this command

Describe the bug
I am trying to run basic example from this repo. but I got an error as like following:
2023-02-17 20:34:24 ERROR    discord.app_commands.tree Ignoring exception in command 'chat'
Traceback (most recent call last):
  File "C:\dev\gpt-discord-bot\.venv\lib\site-packages\discord\app_commands\tree.py", line 1242, in _call
    await command._invoke_with_namespace(interaction, namespace)
  File "C:\dev\gpt-discord-bot\.venv\lib\site-packages\discord\app_commands\commands.py", line 883, in _invoke_with_namespace
    if not await self._check_can_run(interaction):
  File "C:\dev\gpt-discord-bot\.venv\lib\site-packages\discord\app_commands\commands.py", line 1021, in _check_can_run
    return await async_all(f(interaction) for f in predicates)
  File "C:\dev\gpt-discord-bot\.venv\lib\site-packages\discord\utils.py", line 672, in async_all
    for elem in gen:
  File "C:\dev\gpt-discord-bot\.venv\lib\site-packages\discord\app_commands\commands.py", line 1021, in <genexpr>
    return await async_all(f(interaction) for f in predicates)
  File "C:\dev\gpt-discord-bot\.venv\lib\site-packages\discord\app_commands\checks.py", line 365, in predicate
    raise BotMissingPermissions(missing)
discord.app_commands.errors.BotMissingPermissions: Bot requires View Channel permission(s) to run this command.

I think this is problem about permission on Discord, so I checked and try again but still failed.
Another problem is, generated invite URL is wrong.
In the log when I run, I got the message:
[2023-02-17 20:34:20,093] [main.py:42] We have logged in as <mybot>. Invite URL: https://discord.com/api/oauth2/authorize?client_id=...&permissions=328565073920&scope=bot

and I can see the number<PHONE_NUMBER>20 for permission. but it has no permission to view channels according the documentation (https://discord.com/developers/docs/topics/permissions#permissions-bitwise-permission-flags)

PERMISSION
VALUE
DESCRIPTION
CHANNEL TYPE

VIEW_CHANNEL
0x0000000000000400 (1 << 10)
Allows guild members to view a channel, which includes reading messages in text channels and joining voice channels
T, V, S

the result of<PHONE_NUMBER>20 & (1 << 10) is 0 that means having no permission VIEW_CHANNEL as I know.
To Reproduce
Steps to reproduce the behavior:

Run python -m src.main
Send /chat command with any message.
See error

Expected behavior
shows invite url https://discord.com/api/oauth2/authorize?client_id=...&permissions=328565073920&scope=bot
What OS are you running this on? (please complete the following information):

Windows 10
python 3.10
discord.py==2.1.1

Additional context
I changed permission but still happends :/

It turns out I missed step 6 in the setup, which resolved this issue.


persistence issue

when I set the state to "on" (dial to the right) it works
but in another tab, the dial is still "on" (dial to the right) but it doesn't work, so I have to twitch it off and on again for it to work.
please make it so that when it's on, it stays on regardless of the tab (or make that optional)

I tried @dregimbal fork: https://github.com/dregimbal/up-to-eleven
(downloaded all files, put them in a zip with .xpi extension, and installed it on firefox nightly with xpinstall.signatures.required false)
The button appears, and the settings do too, but it doesn't seem to do anything and I hear no difference enabling or disabling it or changing any of the settings.

@horusra can you verify you don't have any other extensions that might be interfering?
It's been a while since I've looked at my fork of this project, but I can confirm that it is still working with my install (Firefox 92.0.1).
On my fork, I believe the link containing the <video> tag must start with "https://www.youtube.com/watch", for example "https://www.youtube.com/watch?v=23lRkdDXqY0". Could you try this link, or running the extension in a new profile?
As an alternative, your sound card may have a "Loudness Equalization" or similar setting which may help depending on your use-case

Yeah so the problem is that the button is global, but only affects the tab. @dregimbal does something a lot better it seems like, I had a quick look.
@dregimbal, do you want to merge all your commit here and, I can publish a new version, and give you commit permission, and then we can publish a new version? We can extend the logic that restricts to some sites, since you helpfully added an option panel. That sounds useful.

@horusra can you verify you don't have any other extensions that might be interfering?

On my fork, I believe the link containing the  tag must start with "https://www.youtube.com/watch", for example "https://www.youtube.com/watch?v=23lRkdDXqY0".
Oh, that must have been the issue, I didn't know it only worked on youtube, I was using a different video streaming site when I tested it.

@horusra can you verify you don't have any other extensions that might be interfering?
It's been a while since I've looked at my fork of this project, but I can confirm that it is still working with my install (Firefox 92.0.1). On my fork, I believe the link containing the video tag must start with "https://www.youtube.com/watch", for example "https://www.youtube.com/watch?v=23lRkdDXqY0".

Oh, that must have been the issue, I didn't know it only worked on youtube, I was using a different video streaming site when I tested it.


Refactor About Page - Static Json Data

Create a static json file and name it 'hosts.json' in the staticData folder. Fields of this json file should include:

name
bio

This information can be copied from the hardcoded component in about page.

See the episodes.json file for an example on how to structure this.


This is misleading => “It is strongly recommended that you use an Event Grid Trigger when triggering an Azure Function with Event Grid"

The recommendation to use an Event Grid Trigger is misleading. Currently, the Event Grid Trigger provides no way to return errors to then retry the processing of an event. Using an HTTP Trigger should be the current recommendation as it provides a way to return HTTP Status Codes that trigger retries.
There is an open issue here about this Event Grid Trigger limitation with no ETA for a fix. In the meantime, I really do think this documentation should be updated to prevent others unnecessarily wasting their time following an incorrect recommendation.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: cc8ec210-042d-e1e3-eebc-8c0ef5921d7a
Version Independent ID: 7e27c3bc-60ed-064c-9639-1a9b9b79a6a8
Content: Receive events from Azure Event Grid to an HTTP endpoint - Azure Event Grid
Content Source: articles/event-grid/receive-events.md
Service: event-grid
GitHub Login: @spelluru
Microsoft Alias: spelluru

Acknowledged. It is indeed misleading. While there are advantages in using Event Grid trigger to integrate with an Azure Function, the limitation around propagating errors from a Function makes the recommendation not to be appropriate for cases in which there is a need to propagate error from the running code in the function. I have added a backlog item for updating this note and we will follow up with the Functions team on the implementation of the feature  mentioned on the linked GitHub issue https://github.com/Azure/azure-functions-eventgrid-extension/issues/85.

@markwhite00 Thanks for reporting this item! I have updated the doc and it will be published soon. We appreciate the feedback!

@markwhite00 We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Flatten code in compiler

I don't see a gain in excluding one line of code into a separate function if it's going to be called just once.

It is useful because it makes the code less complicated and easier to read.


Media Object Variants

Add dynamic {{ url }}
Working pattern will need to have dynamic {{# mediaLeft }} and  {{# mediaRight }}

Added the {{# mediaLeft }} and {{# mediaRight }} sections before and after the body respectively. I set mediaLeft to true and mediaRight to false in the JSON so only the left would show up. Also added the dynamic URL. Close #6.


replace lambda with method reference

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[x] Each commit in the pull request should have a meaningful subject line and body.
[ ] Format the pull request title like [JAV-XXX] Fixes bug in ApproximateQuantiles, where you replace JAV-XXX with the appropriate JIRA issue.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Run mvn clean install to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

fix #412

Coverage decreased (-0.002%) to 86.853% when pulling 4201b2a0dbb6fc49c49cf4e513732cd7aca92d35 on xielele:method into 3f13c71a8fbd3fc8885adedc665f60d6db9f3afa on ServiceComb:master.

Coverage increased (+0.0005%) to 86.82% when pulling 831dd1d5eae9ed8890da8425c2a75cb2753be0e1 on xielele:method into ce4fb5ddd1a3770ed7fa35f494633f76ab886d7e on ServiceComb:master.


[fix] has -> have

Since sourcehut is an org, it should be plural, so has -> have "sourcehut have given us ..."

Organization name is a single entity, not plural.


docs: The square button should be a square button!

On which page do you see this issue?
https://daisyui.com/components/button/#square-button
Describe the issue
This is the issue:

In the above image the square button component should be a square!
What browsers are you seeing the problem on?
It's chrome browser

I think the above error is only forest theme specific

It's also happening with cupcake, valentine and pastel theme

The square button is about having a square aspect ratio. Since the only difference between a square and a circle is actually border radius and the mentioned themes have a big border radius on buttons, it is expected for square button to have the same border radius as other buttons.


Update profanities list with Google banwords

Hello @lukaszraczylo,
The way that go-away works is, rather than checking for the exact matches of every single bad words, it does a bit of "sanitization" on the string being checked for profanity.
For instance, the number 0 is replaced by the letter o. This has the effect of catching not only cock, but also c0ck.
Furthermore, all special characters, including spaces, that are still left once the "sanitization" is done are stripped from the string.
This allows strings containing something like c 0 c k to be recognized as profane, because once the sanitization on the initial string is completed, the string c 0 c k becomes cock.
Finally, profanities are detected by looking in the entire string.
As such, many of the words you've added are unnecessary. Here's a few of them:

4r5e, 5h1t, 5hit, a55, etc.:  Not to mention that because the -, this word would never be detected as profane (e.g. let's say that the input was Man, this guy's an ass-fucker. After the sanitization, the string would be manthisguysanassfucker, and as you can see, the string would contain only assfucker and not ass-fucker.

There's also a couple that I disagree with, such as:

knob
lmfao: While it technically contains a profanity, I think this one is normalized enough to not consider as profane
lust, lusting
sadist

A few of the profanities were also removed, and shouldn't have been as there's a few that are really profane.
That said, there's a couple of new profanities that I agree should definitely be added:

clit
ejaculate
pussies
vulva

Anyhow, I could go on, but just now do I realize how weird it is to be reviewing this kind on code 🤔
TL;DR
I suggest that you add words manually rather than copy an existing list of profanities.
Just make sure that the profanities you add:

have no number(s)
have no space(s)
have no special character(s)
are all lowercase

Looking at the goaway_test.go file and testing a few strings yourself might give you better insight on how go-away works.

Hi @TwinProduction , thank you for the review, I'll add the fixes a bit later - it was a pretty much ad-hoc mid-night commit without deeper checks 👍


Release 1.3.6

Checklist

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

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

@conda-forge-admin, please rerender

This will hopefully fix #9, because we'll use the official CMakeList

@conda-forge-admin, please rerender

@dschreij @carlodri Would you mind reviewing/merging this PR?

Thanks a lot!