no answer on ipv6 pings

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[ ] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[ ] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
We are having the problem, that IPv6 pings stop working form time to time, it is relatively easy to explain on a ping example, but all other traffic behaves the same.
I am pinging and this happens

64 bytes from OPN:OPN:OPN::191: icmp_seq=352 ttl=56 time=23.3 ms
64 bytes from OPN:OPN:OPN::191: icmp_seq=353 ttl=56 time=23.5 ms
64 bytes from OPN:OPN:OPN::191: icmp_seq=354 ttl=56 time=23.4 ms
64 bytes from OPN:OPN:OPN::191: icmp_seq=355 ttl=56 time=23.7 ms
64 bytes from OPN:OPN:OPN::191: icmp_seq=356 ttl=56 time=23.5 ms
64 bytes from OPN:OPN:OPN::191: icmp_seq=357 ttl=56 time=23.5 ms
64 bytes from OPN:OPN:OPN::191: icmp_seq=358 ttl=56 time=23.6 ms
64 bytes from OPN:OPN:OPN::191: icmp_seq=475 ttl=56 time=23.3 ms
64 bytes from OPN:OPN:OPN::191: icmp_seq=476 ttl=56 time=23.5 ms
64 bytes from OPN:OPN:OPN::191: icmp_seq=477 ttl=56 time=23.2 ms
64 bytes from OPN:OPN:OPN::191: icmp_seq=478 ttl=56 time=23.6 ms
64 bytes from OPN:OPN:OPN::191: icmp_seq=479 ttl=56 time=23.4 ms
64 bytes from OPN:OPN:OPN::191: icmp_seq=480 ttl=56 time=23.3 ms
The ping stops working and picks up again without touching anything on any of the machines
The host we are pinging from is outside our network.
On the opnsense machine it looks like this

15:35:37.787043 IP6 (hlim 64, next-header ICMPv6 (58) payload length: 64) 2001:4c08:2012::191 > RR:RR:RR:RR:RR:RR:639c:4f8f: [icmp6 sum ok] ICMP6, echo reply, seq 204
15:35:38.787845 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 205
15:35:38.787870 IP6 (hlim 64, next-header ICMPv6 (58) payload length: 64) 2001:4c08:2012::191 > RR:RR:RR:RR:RR:RR:639c:4f8f: [icmp6 sum ok] ICMP6, echo reply, seq 205
15:35:39.788994 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 206
15:35:39.789014 IP6 (hlim 64, next-header ICMPv6 (58) payload length: 64) 2001:4c08:2012::191 > RR:RR:RR:RR:RR:RR:639c:4f8f: [icmp6 sum ok] ICMP6, echo reply, seq 206
15:35:40.790073 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 207
15:35:40.790089 IP6 (hlim 64, next-header ICMPv6 (58) payload length: 64) 2001:4c08:2012::191 > RR:RR:RR:RR:RR:RR:639c:4f8f: [icmp6 sum ok] ICMP6, echo reply, seq 207
15:35:41.791367 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 208
15:35:41.791391 IP6 (hlim 64, next-header ICMPv6 (58) payload length: 64) 2001:4c08:2012::191 > RR:RR:RR:RR:RR:RR:639c:4f8f: [icmp6 sum ok] ICMP6, echo reply, seq 208
15:35:42.792035 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 209
15:35:42.792059 IP6 (hlim 64, next-header ICMPv6 (58) payload length: 64) OPN:OPN:OPN::191 > RR:RR:RR:RR:RR:RR:639c:4f8f: [icmp6 sum ok] ICMP6, echo reply, seq 209
15:35:43.793145 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 210
15:35:44.793043 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 211
15:35:45.792861 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 212
15:35:46.793097 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 213
15:35:47.793131 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 214
15:35:48.793362 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 215
15:35:49.793104 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 216
15:35:50.793238 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 217
15:35:51.793016 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 218
15:35:52.793006 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 219
15:35:53.793070 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 220
15:35:54.792878 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 221
15:35:55.793117 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 222
15:35:56.792969 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 223
15:35:57.793134 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 224
15:35:58.792990 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 225
15:35:59.793018 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 226
15:36:00.792797 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 227
15:36:01.792899 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 228
15:36:02.793232 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 229
15:36:03.793247 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 230
15:36:04.793326 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 231
15:36:05.792961 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 232
15:36:06.792923 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 233
15:36:07.792855 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 234
15:36:08.793139 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 235
15:36:09.792948 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 236
15:36:09.792970 IP6 (hlim 64, next-header ICMPv6 (58) payload length: 64) 2001:4c08:2012::191 > RR:RR:RR:RR:RR:RR:639c:4f8f: [icmp6 sum ok] ICMP6, echo reply, seq 236
15:36:10.793953 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 237
15:36:10.793975 IP6 (hlim 64, next-header ICMPv6 (58) payload length: 64) 2001:4c08:2012::191 > RR:RR:RR:RR:RR:RR:639c:4f8f: [icmp6 sum ok] ICMP6, echo reply, seq 237
15:36:11.795023 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 238
15:36:11.795047 IP6 (hlim 64, next-header ICMPv6 (58) payload length: 64) 2001:4c08:2012::191 > RR:RR:RR:RR:RR:RR:639c:4f8f: [icmp6 sum ok] ICMP6, echo reply, seq 238
15:36:12.795959 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 239
15:36:12.795982 IP6 (hlim 64, next-header ICMPv6 (58) payload length: 64) 2001:4c08:2012::191 > RR:RR:RR:RR:RR:RR:639c:4f8f: [icmp6 sum ok] ICMP6, echo reply, seq 239
15:36:13.797311 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 240
15:36:13.797336 IP6 (hlim 64, next-header ICMPv6 (58) payload length: 64) 2001:4c08:2012::191 > RR:RR:RR:RR:RR:RR:639c:4f8f: [icmp6 sum ok] ICMP6, echo reply, seq 240
15:36:14.798867 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 241
15:36:14.798889 IP6 (hlim 64, next-header ICMPv6 (58) payload length: 64) 2001:4c08:2012::191 > RR:RR:RR:RR:RR:RR:639c:4f8f: [icmp6 sum ok] ICMP6, echo reply, seq 241
15:36:15.799150 IP6 (hlim 57, next-header ICMPv6 (58) payload length: 64) RR:RR:RR:RR:RR:RR:639c:4f8f > 2001:4c08:2012::191: [icmp6 sum ok] ICMP6, echo request, seq 242

The ping works, then it doesn't then it starts working again.
To Reproduce
Steps to reproduce the behavior:

Pinging to this machine always yields the same result

Expected behavior
We expect the ping to run steadily (and all other traffic)
Describe alternatives you considered
Screenshots
If applicable, add screenshots to help explain your problem.
Relevant log files
The ping output is already in the explanation
Additional context
The opnsense machine that is pinged, is behind another firewall, but ICMP6 is open anywhere and we can see the echorequest pass through.
The opnsense machine has ospf6 enabled and a static IPv6 default route.
The machine is in a HA setup and has CARP enabled, all virtual IPs are configured as carp, there are about 30 VHID in 8 different networks, the problem exists on the main IP as well as on the CARP IP
pinging the IPv4 address in parallel does not cause any problems.
Environment
Software version used and hardware type if relevant, e.g.:
OPNsense 21.7 (amd64, OpenSSL).
KVM / proxmox
virtio

Yes, it is not a bug, sorry.
The problem seems to be, that the external firewall (also opnsense) does not answer neigbor solicitation requests
2001:x:x:x:x:x:x:x > ff02::1:ff00:1: [icmp6 sum ok] ICMP6, neighbor solicitation, length 32, who has 2001:x:x:x:x:x:x:x
these are not being answered by the external firewall

Ok, forget it, i found the problem, only if someone comes up with this again:
The netmask of an IPv4 Carp address on the secondary firewall was wrong therefore trashing the CARP, which made the IPv6 NDP on the primary firewall unresponsive, which basically broke the routing


Block access to setup process if setup has been completed

the setup endpoints will error if the config is there, however user can still access /uaa
need to disable route or display something appropriate for those cases

FYI this may be a duplicate of https://github.com/cloudfoundry-incubator/stratos/issues/3056

It is indeed a dupe of  #3056

@richard-cox So, can this be closed?


Missing tvb-library from requirements

I see code in this repo having imports from tvb.simulator, yet I can not see tvb-library as a 3rd party python dependency in requirements.txt, or in README in the Installations section.
Also, I see tvb-data as a dependency described in README. Wouldn't be better to move it in requirements.txt?

Thanks for taking a look :+1:


Deployment broken

Last successful run: https://github.com/alphagov/govuk-developer-docs/actions/runs/11499000463
October 24th, 1:11pm
First bad run: https://github.com/alphagov/govuk-developer-docs/actions/runs/11500022582/job/32009292992
October 24th, 2:17pm
I, [2024-10-24T13:17:02.286597 #2071]  INFO -- response: Status 200
/home/runner/work/govuk-developer-docs/govuk-developer-docs/app/github_repo_fetcher.rb:22:in `repo': alphagov/govuk-mobile-remote-config not found (RuntimeError)
	from /home/runner/work/govuk-developer-docs/govuk-developer-docs/app/github_repo_fetcher.rb:40:in `docs'
	from /home/runner/work/govuk-developer-docs/govuk-developer-docs/app/proxy_pages.rb:13:in `block in repo_docs'
	from /home/runner/work/govuk-developer-docs/govuk-developer-docs/app/proxy_pages.rb:12:in `map'
	from /home/runner/work/govuk-developer-docs/govuk-developer-docs/app/proxy_pages.rb:12:in `repo_docs'
	from /home/runner/work/govuk-developer-docs/govuk-developer-docs/app/proxy_pages.rb:3:in `resources'
	from /home/runner/work/govuk-developer-docs/govuk-developer-docs/config.rb:56:in `evaluate_configuration!'
	from /home/runner/work/govuk-developer-docs/govuk-developer-docs/vendor/bundle/ruby/3.3.0/gems/middleman-core-4.5.0/lib/middleman-core/application.rb:329:in `instance_eval'
	from /home/runner/work/govuk-developer-docs/govuk-developer-docs/vendor/bundle/ruby/3.3.0/gems/middleman-core-4.5.0/lib/middleman-core/application.rb:329:in `evaluate_configuration!'
	from /home/runner/work/govuk-developer-docs/govuk-developer-docs/vendor/bundle/ruby/3.3.0/gems/middleman-core-4.5.0/lib/middleman-core/application.rb:286:in `initialize'
	from /home/runner/work/govuk-developer-docs/govuk-developer-docs/vendor/bundle/ruby/3.3.0/gems/middleman-cli-4.5.0/bin/middleman:49:in `new'
	from /home/runner/work/govuk-developer-docs/govuk-developer-docs/vendor/bundle/ruby/3.3.0/gems/middleman-cli-4.5.0/bin/middleman:49:in `<top (required)>'
	from /home/runner/work/govuk-developer-docs/govuk-developer-docs/vendor/bundle/ruby/3.3.0/bin/middleman:25:in `load'
	from /home/runner/work/govuk-developer-docs/govuk-developer-docs/vendor/bundle/ruby/3.3.0/bin/middleman:25:in `<main>'

We need to fix that, but also set up monitoring so that deploys don't silently fail...!

Awesome, thanks @AgaDufrat!
Any thoughts on this? I'm happy to have a go at copying what we've done in govuk-rota-generator:

set up monitoring so that deploys don't silently fail...

That would be nice. We looked into notifications for failed GitHub Action runs https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/monitoring-workflows/notifications-for-workflow-runs but the options are limited.


Add saga for login

No actual work yet but the foundation is there to add API calls later

lol I forgot I pushed to develop


Possibility to disable docs routes

Will be good if package config will allow developer to disable docs routes sometimes.
Actually I want to publish docs because it is not ready to be public yet, but is good enough for developers

Definitely possible. Just read the docs! https://larecipe.binarytorch.com.my/docs/2.2/authorization

I did not see this simple example ;-)
Thank you +1: :-)


Leaderboard: Hit the API

Interracting from the Leaderboard API

Create a new game with the name codewars
Implement the "Refresh" button to get added scores from the leaderboard API
Implement the form "Submit" button to post the new scores to the API
Implement functionalities for get and post using async and await javascript feature

Ok, thank you will do that. Please quick question you mentioned license and I have a license at the bottom of the Readme, can you please elaborate more?

Ok, thank you will do that. Please quick question you mentioned license and I have a license at the bottom of the Readme, can you please elaborate more?

Hi, @netman5 again, yes you can skip this required change because I can see the license on your Readme


Fix the editor theme application for the Mono build log

Fixes https://github.com/godotengine/godot/issues/45248.
The font color is now correct (we were missing one definition in the editor theme). I've also added the code necessary to correctly update the icons on the theme change, but the problem is those icons don't actually adjust with the editor theme for some reason. Their colors are not in the conversion table and they themselves are in fact in the list of exceptions. But why that's the case is unclear, as at least the node warning icon is clearly problematic in light themes.
So I've removed that icon from the exception list and added a special conversion rule for it:

Here's it in action in the Mono panel:
https://user-images.githubusercontent.com/11782833/128073196-dd9ef7c9-cf82-43c6-83ac-bdf09a3f27fd.mp4
And here's the output log (screenshot taken from the 3.x build):

Thanks!


If room candidate list is empty refill it.

When there is only a single room and the expand program runs it may define the candidateList as an empty array. This happens because the expand program launches immediately but there are no rooms capable of expanding until the first one hits PRL4.  This PR fixes this by checking for empty arrays and attempting to rebuild the list should they occur.

This Pull Request has been merged by GitConsensus.
Vote Totals

Yes
No
Abstain
Voters

3
0
0
3

Vote Breakdown

User
Yes
No
Abstain

tedivm
✔

dragoonreas
✔

screepas
✔

Vote Results

Criteria
Result

Has Quorum
True

Has Votes
True


Is this a bug in ThrottleRequests while using api router with throttle middleware '['middleware'=>'throttle:5']'

Laravel Version: 5.5.2

Description:
While write a api with throttle middleware, i expect it can be requested 5 times per minutes, but it doesn't work.
Steps To Reproduce:

add the route:

clear the cache:

test with postman:

we could noticed that the X-RateLimit-Limit returned is 60, not 5, the one we specified in the routes. And what is more strange is the value 58 the X-RateLimit-Remaining returned. Why is 58? Before the test, we have clear the cache, and we have only one request here. If calculating with 60(the returned value of the X-RateLimit-Limit), it should be 59, because we have only one request here(60-1=59). However, the X-RateLimit-Remaining should be 4 if we consider our the limit we specified in the router.

Make sure you remove the throttle settings in your api middleware group inside your Http/Kernel:
protected $middlewareGroups = [
        'web' => [
            \App\Http\Middleware\EncryptCookies::class,
            \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
            \Illuminate\Session\Middleware\StartSession::class,
            // \Illuminate\Session\Middleware\AuthenticateSession::class,
            \Illuminate\View\Middleware\ShareErrorsFromSession::class,
            \App\Http\Middleware\VerifyCsrfToken::class,
            \Illuminate\Routing\Middleware\SubstituteBindings::class,
        ],

        'api' => [
            'throttle:60,1', // remove
            'bindings',
        ],
    ];

@themsaid thank you very much! it work. In this case, is that means that the middleware specified doesn't override the default one?

They're conflicting, so the results are un-expected :)

@themsaid thanks!


create movie description page (html page)

We can use this design: https://bootdey.com/snippets/view/movie-ticket

The movie-ticket component will be used instead : https://github.com/Emimint/CinePro/issues/11


Addon watchdog

Hello, I've been using this addon for six months and it works great. Sometimes when homeassistant machine restarts, asterisk addon remains stopped. But, I've configured:

This watchdog setting makes me go and read Home Assistant add-on configuration, and I've detected that this entry is not configured in  asterisk/config.yaml. May be I'm wrong, but it may be helpful to add something like:
watchdog: tcp://[HOST]:5060

Thanks in advance

That's a great idea. Feel free to contribute as a PR. The most difficult part is testing, I suppose.

I don't know why it doesn't say it on the docs already, but the watchdog option is obsolete.
The watchdog option in the GUI (should) simply restarts the add-on when it crashes and stops. No idea why you are having problems though. Do you see any related errors / warnings in the supervisor logs?

@TECH7Fox we could still add a HEALTHCHECK though, to detect situations where the add-on is stuck.
Example:

https://github.com/hassio-addons/addon-vscode/pull/665


Added timestamps! to EmbeddedDocument

This PR is in reference to https://github.com/jnunemaker/mongomapper/issues/376

Thank you :-)


Add support for mounting other filesystems in user namespaces

Allow mounting other filesystems
...optionally only when CAP_SYS_ADMIN in a user namespace
When using a user namespace it is desirable that it acts like "host root", that is it has the ability to mount filesystems and so on.  However it isn't possible to mount network filesystems.
This change adds the ability to configure a list of allowed filesystems, as well as passing the options through. This makes it possible to mount any file system configured. Whether it works will depend on the user's environment, as block devices generally won't be available within the container (and -o loop sadly won't work because loopback and user namespaces don't mix well), however it will work for many network file systems, tested with cifs.
cc @rata
How to use
See the readme.
Testing done
See the readme.

I'll check it out later this week, but skimming through it, SGTM. @alban can you take a look?

Friendly ping?

@rata sorry, updated now, I had to think about this more than expected ;)

[...] if you can amend the review changes to the previous commit, it would be great :)

Done :)

Thanks!


Provide official docker image

Hey :)
I already opened this request in the (old?) repo.
Would you be able to provide an official docker image?
https://github.com/phrase/phraseapp-client/issues/191

Do you have any update for this? This would help us a lot and would greatly appreciate it.

@EntePF we will talk about this on next planning on Monday.

Can you tell us what you decided on that monday?
If youre willing to maintain it and just dont have time for the initial work, I think we might be able to provide a pull request

@tenjaa sorry I forgot to put an update, this is in progress, see https://github.com/phrase/phrase-cli/pull/47 for details.

Hi @tenjaa
Could you please give it a test and report back if anything is missing? 😃 https://hub.docker.com/r/phrase/phrase-cli/tags
docker pull phrase/phrase-cli:2.0.15 (We will also provide a latest tag in future)

@egze I was also waiting for this, finally it's there 🍾
Running phrase pull and phrase push seems to work fine for me. However, phrase init causes an endless loop.
This is the command I ran:
docker run --rm phrase/phrase-cli:2.0.15 init --access_token myToken

Results in:
Please enter your API access token (you can generate one in your profile at phrase.com): Please enter your API access token (you can generate one in your profile at phrase.com): ...

It would be very handy if you could run the CLI from within docker without having to install the CLI on your system.

@dsimon-onventis We will look into it. Thanks for testing.

@egze Looks good thanks!
Our usecase would be to use it in a CI environment (Concourse) to do some stuff. There we would need jq (to format phrase locales list) and git (to create a PR with the changes).
I can of course understand if you say, that you dont want to install these utilities by default because then more and more requests will arise. My opinion on this topic would probably be that it is no runtime artifact but a utility. Therefore minimal size isnt that important.
Having an up2date image where we could extend from is already helping a lot, though.

@tenjaa @egze I don't think that it makes sense to include anything else. IMO this is meant to be a base image which only includes Phrase and nothing additional.

Yes, we also thought about it and decided to only include the minimum. You could then use our image as a base image and add other packages that you need.
Would that be OK for you @tenjaa ?

Sure no problem!

Hi. Can you provide a latest tag, so we don't need to specify the concrete version?

Running phrase pull and phrase push seems to work fine for me. However, phrase init causes an endless loop.

init is interactive and there is no mode without interaction. The correct usage would be: docker run -it phrase/phrase-cli:2.0.15 init …
Please let me know if this gets you further.

@egze With the -it flag it works flawlessly. Thanks for pointing out!
Maybe you can add a section about running the CLI via Docker somewhere in the documentation. I think it is a great new feature that you can run the CLI now with only Docker having installed!

Done https://github.com/phrase/phrase-cli#5-docker
Thanks for your feedback!


HugeGraphQAChain support return result include question/generated sql/original result/openapi result

test result :

@z7658329 Hi , could you, please, resolve the merging issues and address the last comments (if needed)? After that, ping me and I push this PR for the review. Thanks!

Looks like this may have been dropped. I'll close it, and if you continue work on it, feel free to reopen!


removing runbar troubleshooting sections

@jenschlot, this is the same change as in https://github.com/IBM-Bluemix/docs-staging/pull/3269

Looks pretty straight forward.  Merged and branch deleted.


Add ASP.NET Core Search Scope

Hi @DuncanmaMSFT, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;


Device does not support Cups Light but it is shown anyway

I think we would need to either find a broadcast saying that the device does or does not have the light (perhaps the ones with the light do broadcast?). Alternatively, need to build a database of features that each device supports which could be cumbersome to maintain.

Well, I have only one device in hands. Now, I understood how to catch and decode traffic between device and application and we have a debug input to send bytes and get bytes.
So, I will need community assistance... soon.

No trouble. Appreciate your work to date and I always try to help where I can.


Add runtime dynamic resolution selection

Currently the screen resolution configurable, but is defined at compile time.
I think it would be interesting to allow it to be configured at runtime - i.e. switch between different modes.  In particular, it would be nice to be able to use a higher resolution mode when editing code (in some future version that includes a text editor!) than when running the game.
What do you think?

Yes I agree !

I quite like the idea of having "modes" that set the resolution, palette and font to that of a specific computer/console, e.g. mode("pico-8"), mode("spectrum"), etc...

Yes I think it can be very good to have such features !

Have you some news about this part ?

I have been working on this!  Nearly there... just very busy with other things at the moment :-(

From a build earlier this evening... :-)
➜ cargo build --features="cpython lua" --release
   Compiling px8 v0.0.4 (file:///Users/john/Documents/PX8)
warning: constant item is never used: `SCREEN_WIDTH`
 --> /Users/john/Documents/PX8/target/release/build/px8-0b9199a5bb0d82c4/out/parameters.rs:1:1
  |
1 | pub const SCREEN_WIDTH: usize = 128;
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: #[warn(dead_code)] on by default

warning: constant item is never used: `SCREEN_HEIGHT`
 --> /Users/john/Documents/PX8/target/release/build/px8-0b9199a5bb0d82c4/out/parameters.rs:2:1
  |
2 | pub const SCREEN_HEIGHT: usize = 128;
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: #[warn(dead_code)] on by default

    Finished release [optimized] target(s) in 52.69 secs

👍

Seems ok I think ? I found only bugs with the menu after the modification but otherwise it seems to work perfectly !

Yep, I think we can close!


Orderbook Grouping for Bitmex

Hello,
There are exchange like bitmex that offer orderbook grouping features by price - 0.5, 1, 5, 10 and so on. Is it possible to add this feature to this library?

Hi, sorry for the delay, this slipped through the cracks!   I'm not exactly sure what feature you are asking, do you have an example you can send along?
For some color, right now CCXWS is only relaying order book information provided by the exchange which can be in two formats:

snapshot - a fully constructed order book up to a depth provided by the exchange (usually a depth of 25 or 100 price levels).
updates streams - provides a stream of updated price levels since the last update

This library does not currently have the capability to construct or maintain the book from an update stream which would be needed to create snapshots.  It's something we would like to add, but haven't gotten there yet.


Clean up references to this.dir and this.dist everywhere

This was spread around the server. Now it's set in one place and passed around.

Also turned BUILD_ID_FILE into a constant as it's used in many places.


impl "web" subcommand for opening TreeMaker

https://github.com/ddddddO/gtree/issues/172

Codecov Report
Patch and project coverage have no change.

Comparison is base (be4755c) 88.70% compared to head (a68c17d) 88.70%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #174   +/-   ##
=======================================
  Coverage   88.70%   88.70%
=======================================
  Files          14       14
  Lines         850      850
=======================================
  Hits          754      754
  Misses         74       74
  Partials       22       22

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[Bug] All Be's disk data directory has reached "storage_flood_stage_usage_percent" set, But insert into can still insert data

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
Doris2.1.0
What's Wrong?
Create Doris ENV
3 FE + 4 BE

FE have  one data path： /data1
BE have  one data path： /data1

Create test table:
CREATE TABLE TEST(
    iD                BIGINT       NOT NULL,
    name               varchar(100)
)
DUPLICATE KEY(id1)
DISTRIBUTED BY HASH(id1) BUCKETS 1
PROPERTIES (
   "replication_num" = "3"
);

Execute dd command to fill all the Be's /data1 disk directories to 91% full.
example:
dd if=/dev/zero of=/data1/largefile1 bs=1G count=5

Insert values:
insert into test  values (1,'test_name');

result
Query OK, 1 row affected (0.09 sec)
{'label':'label_1bfb0be2ee8b424f_8f9a3a25ca638bc1', 'status':'VISIBLE', 'txnId':'4419'}

What You Expected?
I expect insert into to return a failure.
For example, the following information.
ERROR 1105 (HY000) at line 1: errCode = 2, detailMessage = (be0)[E-232]disk<PHONE_NUMBER>0781813261 exceed capacity limit.

How to Reproduce?
No response
Anything Else?
This problem will definitely occur.
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

BE.storage_flood_stage_left_capacity_bytes SET TO 100T

I'm looking to figure it out


R_str macro: allows inlining R code directly into Julia, supporting limited variable substitution.

See #82.
This is somewhat limited: it only supports ASCII (due to https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16524), and you can't assign to Julia variables (getting that logic correct is a bit complicated). Nevertheless, it seems to work for simple snippets:
iris = rcopy(:iris)
model =  R"lm(Sepal.Length ~ Sepal.Width,data=$iris)"

Thanks very much for doing this, Simon.  I have been looking forward to having this capability.
Does the logic distinguish between the R use of a $ symbol, as in Formaldehyde$optden, and its use for variable substitution?

Yes: the logic is basically that it tries to parse it as an R expression: if that fails, then it tries to variable substitution via a Julia expression. So
R"sum($iris$Sepal.Length)"

will substitute in the Julia iris variable, but then since the rest is valid R syntax, the rest is interpreted as it would be in R.

Isn't that a bit too clever? I would have disabled interpolation altogether to make things simpler.

@nalimilan But that wouldn't buy us anything over reval, other than escaping $.
I wanted to be able to do things like
X = ...
R"plot($X)"

It's somewhat lucky that most cases are not ambiguous: $ is basically only valid R syntax when followed directly by a symbol (e.g. aa$bb), for which it wouldn't make sense to do substitution.

The changes look good to me.  I think we should go ahead and merge them into master for more extensive testing by users.  I would have been happy with an R_str macro that simply escaped the $ characters and piped the result to reval but Simon's approach has a lot more going for it.
@simonbyrne In your comment about $ in valid R syntax I think "followed directly by a symbol" is not enough.  Look at the example in your previous comment, $X is $ followed by a symbol.  Almost all the usage in R is symbol $ symbol but R expr $ symbol can also be used.

You're right, that's a mistake. I meant $ is only valid R syntax when directly following a symbol, but as you point out that isn't correct. Even then, I can't think of any cases where the usage would be ambiguous, since expr symbol isn't valid syntax.

Okay, I've merged into master. I won't tag a new version for a bit until we've ironed out the kinks.


Testnet

Updating the Dockerfile, adding genesis.yml and config.yml file to run the QRL node on testnet.

Could separate out testnet/mainnet docker builds


[Linux] "sudo apt-get install bfgminer" induces error

after input of :: sudo apt-get install bfgminer
the return is  ::
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package bfgminer
How do i download a compatible version bfgminer being that "downloads are no longer hosted on luke.dashjr.org)"
!thanks in advance!

has anyone found a solution for this issue?

happend to me too aahhh

Same issue.


Cody App Runtime failure

I am not able to run Cody app locally. I am seeing the following errors in Cody app log:
WARN	service.worker	runtime/runtime.go:125	github.com/sourcegraph/sourcegraph/enterprise/cmd/executor/internal/worker/runtime.New	runtime 'docker' is not supported: missing required tools	{"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "ip-192-168-1-24.ec2.internal"}, "Attributes": {"dockerTools": ["src"]}} [2023-08-31][23:57:02][ERROR][app]<PHONE_NUMBER>256053000	WARN	executor	singlebinary/service.go:40	github.com/sourcegraph/sourcegraph/enterprise/cmd/executor/singlebinary.svc.Start.func1	executor for other queue failed	{"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "ip-192-168-1-24.ec2.internal"}, "Attributes": {"error": "runtime is not configured"}} [2023-08-31][23:57:02][ERROR][app]<PHONE_NUMBER>377733000	WARN	service.worker	runtime/runtime.go:125	github.com/sourcegraph/sourcegraph/enterprise/cmd/executor/internal/worker/runtime.New	runtime 'docker' is not supported: missing required tools	{"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "ip-192-168-1-24.ec2.internal"}, "Attributes": {"dockerTools": ["src"]}} [2023-08-31][23:57:02][ERROR][app]<PHONE_NUMBER>377844000	WARN	sourcegraph	svcmain/svcmain.go:261	github.com/sourcegraph/sourcegraph/internal/service/svcmain.run.func1	failed to start service (skipping)	{"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "ip-192-168-1-24.ec2.internal"}, "Attributes": {"service": "executor", "error": "runtime is not configured"}}

Thanks for reporting @arsenaid. What operating system are you using?

MacOS Big Sur 11.7.9 with Intel chip.
On Fri, Sep 1, 2023 at 7:10 AM Justin Dorfman @.***> wrote:

Thanks for reporting @arsenaid. What operating system are you using?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>


runtime(doc): fix grammar in termdebug doc, remove trailing spaces

damn, I was trying to carefully write proper English :(

thanks, I include it

damn, I was trying to carefully write proper English :(

TBH i didnot feel yours vs his that modification had much difference, or even mine,
all meant if a buf local mapping was existed already,
damn, so horrible to write 'proper English', ahaha~
--
shane.xb.qian

The original was fine English, there were no grammar errors. I agree though that all things being equal in writing like in programming less is more. One word shorter? Sure I'll take that.

Ah yes, actually it was fine, but the map-local tag should be :map-local.


bump docker python image and dci version requirement

Fixes #5

@danirus I think these changes fix the issue with docker. At least I have it working, but please note that I'm a bit "shaky" with docker :slightly_smiling_face:
Especially, commit e13ad219368edcd9e5b456fb361b110aa1b27270 is very empiric (i.e. I had a warning before it and did not have the warning after it, so it feels good to me...)

Thanks @gamboz 🙂


expectOne() exceptions in rerender_subscribers_count

We're getting tons of these on chat.zulip.org (giant bunches of one for each logged-in user, presumably whenever anyone joins a stream).  While it's not user-facing, its sufficiently spammy for our JS exception collection that we really need to fix it.  @YJDave can you look into this?
Message:
Expected one element in jQuery set, 0 found

Stacktrace:
error@https://chat.zulip.org/static/webpack-bundles/common-f4465164739557a99ea2.0bc51db7251e.js:1:5416
       = webpack:///./static/js/blueslip.js line 399 column 1
expectOne@https://chat.zulip.org/static/min/app.8906d90d73c9.js:1523:415
       = static/js/setup.js line 62 column 17
rerender_subscribers_count@https://chat.zulip.org/static/min/app.8906d90d73c9.js:1861:79
       = static/js/subs.js line 157 column 9
https://chat.zulip.org/static/min/app.8906d90d73c9.js:1880:122
       = static/js/subs.js line 790 column 9
c@https://chat.zulip.org/static/webpack-bundles/common-f4465164739557a99ea2.0bc51db7251e.js:1:3726
       = webpack:///./static/js/blueslip.js line 225 column 1
dispatch@https://chat.zulip.org/static/webpack-bundles/common-f4465164739557a99ea2.0bc51db7251e.js:24:34748
       = webpack:////srv/zulip-npm-cache/c94ceacb4125bf9375b4c2b46d3f3140ef71ef79/~/jquery/dist/jquery.js?cba4 line 5206 column 1
trigger@https://chat.zulip.org/static/webpack-bundles/common-f4465164739557a99ea2.0bc51db7251e.js:24:55721
       = webpack:////srv/zulip-npm-cache/c94ceacb4125bf9375b4c2b46d3f3140ef71ef79/~/jquery/dist/jquery.js?cba4 line 8201 column 1
https://chat.zulip.org/static/webpack-bundles/common-f4465164739557a99ea2.0bc51db7251e.js:24:56244
       = webpack:////srv/zulip-npm-cache/c94ceacb4125bf9375b4c2b46d3f3140ef71ef79/~/jquery/dist/jquery.js?cba4 line 8269 column 1
each@https://chat.zulip.org/static/webpack-bundles/common-f4465164739557a99ea2.0bc51db7251e.js:14:14823
       = webpack:////srv/zulip-npm-cache/c94ceacb4125bf9375b4c2b46d3f3140ef71ef79/~/jquery/dist/jquery.js?cba4 line 362 column 1
https://chat.zulip.org/static/min/app.8906d90d73c9.js:2162:105
       = static/js/server_events_dispatch.js line 242 column 21

@zulipbot claim

@YJDave was this also fixed in #8701 ?

If I had to guess, this probably isn't, and is what happens when you haven't opened the subscriptions page yet when someone else susbcribes (in which case there's no UI to update).  So probably we're just missing an if statement.

@timabbott I can't seem to reproduce the issue, on localhost or chat.zulip.org. Here is what I have tried:

Login to zulip with two different accounts, in different browser window(incognito)
Try to add/subscribe another/current user
Checking js logs into second browser client, subscription page was not open.

I wasn't able to reproduce this error. Though I have found some unexpected blueslip errors which is fixed in #8748


Mismatches on some rules, but not all, when running EPS v0.16.0 recipes through the platform

A run of TimeRulesRecipes with results: https://app.moderne.io/results/etD0xEAcI
A run of JUnitToAssertJRulesRecipes without any results: https://app.moderne.io/results/BgfO0Wp2C
Whereas this classic AssertJ migration does have a ton of results: https://app.moderne.io/results/pjjEWSdi3

One thing which strikes me as problematic is the fact that the dependencies of error-prone-contrib are declared as provided<EMAIL_ADDRESS>For error-prone-contrib this makes perfect sense, but when running the recipes in the SaaS, these dependencies won't be on the classpath unless they are also on the recipe artifact's classpath.
This might not be the only problem at hand here, but this definitely also needs correcting.

Interesting. We wouldn't want to make e.g. AssertJ a runtime dependency of Error Prone Support. Do you propose to do "something" on the OpenRewrite SaaS-side, or should we look into creating a custom artifact? (I didn't think yet about what this could look like.)


Full screen icon not visible on iPhone

The lightbox full screen icon is not visible on iPhone Chrome or Safari browsers when using an actual iPhone device. Rotating the device from portrait to landscape orientation automatically goes in full screen mode. Tapping on the icon location, when in full screen mode, exists full screen and makes browser top nav bar visible. The share and close buttons are visible, as well as the captions. The navigation arrows are also missing, even when there is space to the left and right of the lightbox image and the caption and the other icons are visible (numbering, links, and close icons).
The above can be verified on the ergec/jQuery-for-PhotoSwipe site demo. They are also apparent on my own site, so it is not only this demo.
The icon is visible for all available devices when the lightbox is opened in the Chrome Developer Tools/Toggle Device Toolbar.

My code just triggers the original plugin. Can you confirm if you experience the same problem on this site. This is the original plugin. http://photoswipe.com

Indeed, I did not test it there, but I did now. The issue is indeed with PhotoSwipe. I will post the issue there.
By the way, you did excellent work with your version. The PhotoSwipe developer apparently is not open to the user suggestions to change the PS code to remove the need for img dimensions.
I made a request to add jqPhotoswipe to cdnjs.com but so far they did not, as apparently the usage does not meet their guidelines.


[Feature Request]:  Solution for leetcode problem 901

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
I would like to add solution in c++,java,python, javascript for leetcode problem 901 [Online Stock Span]
Use Case
Solution to problem 0901
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@Ajay-Dhangar  can you please assign this to me.


Refs 1470: turn on new tasking system in stage

Summary
This is to turn on the new tasking system in stage.
Still trying to figure out how to completely test this in ephemeral. Can see the env var set to "true", but that's it so far. Logging doesn't seem to work and I need to somehow create a user to trigger introspect.
Testing steps
Should be able to see this change in ephemeral.

https://issues.redhat.com/browse/HMS-1470

any idea why this causes automation test failures?


"openstack-snapshoter" requires jq

This may could/should be encapsulated in a role.

(ebi) (ebi) [jamoore@orca-4 scripts]$ bash os-idr-mkvol.sh
os-idr-mkvol.sh: line 5: jq: command not found
[Errno 32] Broken pipe
os-idr-mkvol.sh: line 16: jq: command not found
^CTraceback (most recent call last):
  File "/lifesci/groups/jrs/jamoore/miniconda2/bin/openstack", line 7, in <module>
    from openstackclient.shell import main
  File "/lifesci/groups/jrs/jamoore/miniconda2/lib/python2.7/site-packages/openstackclient/shell.py", line 33, in <module>
    from openstackclient.common import clientmanager
  File "/lifesci/groups/jrs/jamoore/miniconda2/lib/python2.7/site-packages/openstackclient/common/clientmanager.py", line 27, in <module>
    from openstackclient.api import auth
  File "/lifesci/groups/jrs/jamoore/miniconda2/lib/python2.7/site-packages/openstackclient/api/auth.py", line 21, in <module>

(ebi) (ebi) [jamoore@orca-4 scripts]$     from keystoneclient.auth import base
  File "/lifesci/groups/jrs/jamoore/miniconda2/lib/python2.7/site-packages/keystoneclient/auth/__init__.py", line 16, in <module>
    from keystoneclient.auth.conf import *  # noqa
  File "/lifesci/groups/jrs/jamoore/miniconda2/lib/python2.7/site-packages/keystoneclient/auth/conf.py", line 14, in <module>
    from oslo_config import cfg
  File "/lifesci/groups/jrs/jamoore/miniconda2/lib/python2.7/site-packages/oslo_config/cfg.py", line 380, in <module>
    from oslo_config import types
  File "/lifesci/groups/jrs/jamoore/miniconda2/lib/python2.7/site-packages/oslo_config/types.py", line 27, in <module>
    import netaddr
  File "/lifesci/groups/jrs/jamoore/miniconda2/lib/python2.7/site-packages/netaddr/__init__.py", line 18, in <module>
    from netaddr.core import (AddrConversionError, AddrFormatError,
  File "/lifesci/groups/jrs/jamoore/miniconda2/lib/python2.7/site-packages/netaddr/core.py", line 6, in <module>
    """Common code shared between various netaddr sub modules"""
KeyboardInterrupt


[Core] Adding inline to memrcpy function

Fixes the multiple definitions compile error

@mhughesacn looks like the license/cla scan is down ?

Hi Pierre: Sorry, I missed this on Friday.  Please ping me on Slack for a faster response.

@mhughesacn no problem. Will ping you on Slack next time!


Research Server Stripe Texture

About the PR
Adds a new server stripe variant that is purple and adds it to the research server.
Why / Balance
To help it stand out from camera servers and such.
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame.

Changelog
No need.

maybe then add another one for camera server?


Datacom dmswitch

Description
This change is adding a driver for Datacom DmSwitch which covers Datacom devices that still use their legacy NOS (aka DmSwitch). This will allow scrapli automation for Datacom Switches 3000/4000 as well as EDD 2100 series.
Note: I'm also adding two "chore" commits which fixes silly mistakes (wrong commands) from my previous PRs, thanks!
Type of change

[ X] New feature (non-breaking change which adds functionality)
[ X] This change requires a documentation update

How Has This Been Tested?
This change was validated in a lab environment using DM3000/DM4100/EDD 2102-G2 switches using the following firmwares:
EDD-01#show system

Product
-------
 Model:               DmSwitch 2104G2 - EDD (SERIES II)

EDD-01#show firmware
Firmware:
  Version:        5.12
  Compile date:   Tue Sep 23 18:11:32 UTC 2014

Bootloader version: 5.1.4 Oct 10 19:58:10 UTC 2014

---

SW-LAB1#show system

Unit 1
  Product
    Model:               DM4100 - ETH20GT+4GC+4XX+MPLS
    OID:                 <IP_ADDRESS>.4.1.37<IP_ADDRESS>

SW-LAB1#show firmware
Running firmware:
  Firmware version: 15.2.10
  Stack version:    13
  Compile date:     Tue Mar 26 14:40:57 UTC 2019

Flash firmware:

  ID  Version                      Date                 Flag   Size
  1   15.2.10                      26/03/2019 17:40:57  RS     35379780

Also, added the relevant unit tests.
Checklist:

[ X] My code follows the style guidelines of this project (no GitHub actions complaints! run make lint before
committing!)
[ X] I have commented my code, pydocstyle and darglint are happy, docstrings are in google docstring format, and all
docstrings include a summary, args, returns and raises fields (even if N/A)
[ X] I have added tests that prove my fix is effective or that my feature works, if adding "functional" tests please
note if there are any considerations for the vrnetlab setup
[X ] New and existing unit tests pass locally with my changes

:D nice, thanks @humbertogaliza !!


formatOnType removes spaces between if and opening parentheses

if (this_is_one_thing and that_is_another_thing):
   pass

becomes:
if(this_is_one_thing and that_is_another_thing):
   pass

This breaks syntax.

This typically comes up when the statement spans lines, e.g.
if (this and
    that):
  pass

Same as #1780


Python3 support (with workaround)

I had a bit of a problem getting Phonetisaurus to work with python3. The only problem seems to be an out-of-date copy of pybindgen. My solution:
git clone https://github.com/AdolfVonKleist/Phonetisaurus.git
cd Phonetisaurus
rm -rf python/pybindgen
pip3 install --user pybindgen
PYTHON=python3 ./configure [...]

I'm testing a branch that removes the local copy of pybindgen and documents installing pybindgen and python2 vs. python3 changes.

Thanks this works, and is now added to the docs.  I also used this bit in the draft update for openfst 1.7.3 [https://github.com/AdolfVonKleist/Phonetisaurus/tree/openfst173].  I'm closing this.


arangodb: Add a NixOS service

Motivation for this change
Make it easy to launch ArangoDB as a service in NixOS.
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

This is my first crack at this, so it probably needs extra scrutiny.
I based the server arguments on https://github.com/arangodb/arangodb/blob/v3.2.3/scripts/startArangoDBClusterLocal.sh

Thanks for the feedback.  I will address these this week, and update the PR.

@earldouglas Did you make any progress on this?

@bachp Not yet, but I haven't abandoned it yet.

New work in #40167


heatmap mark?

I sometimes see users trying to make heatmaps with Plot.cell, which results in incorrect charts when x and y are continuous. The recommended approach (until now) was to use Plot.bin to create the small squares (or rather, rectangles), as x/y bins. However with projections, this is now incomplete, and we should have a solution for heatmaps in the projected space. Like hexbin, but based on squares (or any other tessellation?). There's probably a lot of code to share with hexbin, the most difficult part to decide might be the API?

I would like to better understand how continuous heatmaps are commonly expressed. Do we want a sparse sample-based approach as with the pixel mark in #1185 (which is really just an optimization of the existing rect mark + interval transform)? Or does the user want to supply a continuous function of xy that is them sampled automatically (in a grid) by Plot? Or maybe the user supplies dense samples in a grid (similar to ImageData) so that the x and y channels can be implicit? Or all of the above?

matplotlib has a funky interpolation method
https://matplotlib.org/stable/gallery/images_contours_and_fields/interpolation_methods.html

Fixed in #1196.


Ensure processes are closed

This PR ensures that all processes are closed before the GUIDE closes.

Argh. Added back those logs...

Tried it out on M1, works well


Sign up as vscode's translator in Transifex

I want to be the translator in Transifex of Visual Studio Code. If allows, thanks a lot!

See https://github.com/Microsoft/Localization/wiki/Visual-Studio-Code-Community-Localization-Project

Although that link isn't give me the information which I want, but still thanks a lot!


Do not panic when an encrypted password is invalid

Fix https://github.com/sensu/uchiwa/issues/549

Coverage increased (+0.01%) to 24.01% when pulling 5c2a241d66e93bdbf7d48c10b0460a9fafb04e79 on palourde:issue-549-panic-encrypted-password into 5205b07cbbcd106ea8e107ac56d7869c287805fa on sensu:master.


Write a procedural macro to replace the js! macro on nightly (full JavaScript parser)

Same as #6, except the fully parse the JavaScript code instead of only tokenizing and stringifying it.
This is significantly harder.

what would be the benefit of parsing the javascript?

@ForsakenHarmony To make sure that it's actually syntactically valid JS without executing it. Also, there may be some optimizations we could do - e.g. if there is no return there there is no point in deserializing the return value.


I just wanna know what's on my clipboard.

If so, this PR's got something for you!
FAQ
Is it beautiful?
No.
Does it work?
Probably.
Will it show you what's on your clipboard?
YES! It sure will.
Serious Note
This is behind the isDevPlayground flag, so it will only show up in local environments for now. I'm working on a better design for this, maybe stealing @zurfyx's idea to put it in with the tree view. We can merge it as-is or if people have ideas I can iterate on the UI.
https://user-images.githubusercontent.com/14864325/177725652-804ecdbc-460a-453b-87b6-3f5b90d97bc3.mov

Yes, please! I'm tired of editing packages/lexical-rich-text/src/index.ts to show what's copied in the console!


When will PHP enums be released

The support for PHP Enums have been merged into master some time ago. But a release has yet not been done containing this functionality.
I see nothing mentioning this functionality among the milestones.
So my simple question is, when will this functionality be released?

See https://github.com/webonyx/graphql-php/issues/1037


Bring back to .c extension

Hi,
I have android Termux. I have cython file and my file name is main.so. I want to bring back the .cfile. I do not have the source code and I have to retrieve the .c file. Let me know the method by which I can bring back the .c extension.
Thanks!

Please ask support questions on the cython-users mailing list (https://groups.google.com/forum/#!forum/cython-users)
In general this is not possible. If you don't have the .c file and you don't have the .pyx file then you can't really get back the C file (and it certainly isn't a feature that Cython provides). If the .so file was compiled with debug symbols you may be able to retrieve some .c source with effort.
If you have the .pyx file then you just need to run cython on it.

Please ask support questions on the cython-users mailing list (https://groups.google.com/forum/#!forum/cython-users)
In general this is not possible. If you don't have the .c file and you don't have the .pyx file then you can't really get back the C file (and it certainly isn't a feature that Cython provides). If the .so file was compiled with debug symbols you may be able to retrieve some .c source with effort.
If you have the .pyx file then you just need to run cython on it.

Hmmm,
This means that we cannot reverse cython .so file.


How to calculate accuracy?

I have trained the ConvWTA models,use my own dataset with the shape [3792,14],Now how do we calculate the accuracy?

My dataset is 1D tensor, I changed Conv kernal as 1*3 to fit it, Now i need encoded data which the size is just like[3792,512],how do I get the encoded data?


Add UI

CI not passed for 3 times.
First time is a really issue, fixed in this commit.
The second time and third time reports error during run npm run build. I cannot reproduce in my local (with node 12/14/18), and first time there's no issue in that step. So I doubt that because of npm cache issue.

Tested CI in this branch, passed.
So I am more inclined to be that the cache of the CI that failed to run before caused the subsequent failure.

Hi @Venjy
Can you help to fix the build error in CI?

@git-hulk I think the CI broken is because of cache issue during make step, will try to create a new PR to re-trigger CI with a new enrionment.


Object Storage Backup setup - Wasabi

I have tried to setup Wasabi (instead of aws) as a storage backend for longhorn backups. I appear to be unable to find a form that works.
I have referred to https://github.com/longhorn/longhorn/issues/811 which is a related issue, but I can't get where I need to be.
I have a secret, in the proscribed form (as per the docs)
apiVersion: v1
kind: Secret
metadata:
name: private-name-secret
namespace: longhorn-system
type: Opaque
data:
AWS_ACCESS_KEY_ID: -base64 encoded access key- # access-key
AWS_SECRET_ACCESS_KEY: -base64 encoded secret key- # secret-key
AWS_ENDPOINTS: aHR0cHM6Ly9zMy5ldS1jZW50cmFsLTEud2FzYWJpc3lzLmNvbQ== # https://s3.eu-central-1.wasabisys.com
I've set "Backup Target Credential Secret" to "private-name-secret"
I've tried various forms of "Backup Target" and not been able to get anything working.
Is anyone successfully using wasabi s3 buckets?
Any pointers appreciated.

What are the forms of the backup target that you used?
Can you link to the Wasabi S3 setup instructions?

What are the forms of the backup target that you used?
Can you link to the Wasabi S3 setup instructions?

The wasabi account user has two policy's attached. One is to restrict access to [bucket Name] and sub-directories. One is the longhorn policy (see below).
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "GrantLonghornBackupstoreAccess0",
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:GetObject",
"s3:ListBucket",
"s3:DeleteObject"
],
"Resource": [
"arn:aws:s3:::[Bucket Name]",
"arn:aws:s3:::[Bucket Name]/*"
]
}
]
}
Access to the bucket, using the users access and secret keys, and the endpoint https://s3.eu-central-1.wasabisys.com have been checked using minio client from the command line.
These details AWS_ACCESS_KEY_ID:(wasabi user access key); AWS_SECRET_ACCESS_KEY:(wasabi user secret key); AWS_ENDPOINTS: https://s3.eu-central-1.wasabisys.com have been base64 encoded and put added to a kubernetes secret. (see previous post)
In the longhorn settings (General) page "Backup Target Credential Secret" is set to the name of the secret with the encoded wasabi account settings (note, this is a paid for account, not a trial account). In the "Backup Target" a range of things have been tried. (eg, but not exclusively)
s3://[Bucket Name]@eu-central-1/longhorn/
error listing backups: error listing backup volumes: Failed to execute: /var/lib/longhorn/engine-binaries/longhornio-longhorn-engine-v1.1.0/longhorn [backup ls --volume-only s3://[Bucket Name]@eu-central-1/longhorn/], output failed to list objects with param: { Bucket: "[Bucket Name]", Delimiter: "/", Prefix: "longhorn/" } response: { } error: AWS Error: RequestError send request failed Get "https://s3.eu-central-1.wasabisys.com/[Bucket Name]?delimiter=%!F(MISSING)&prefix=longhorn%!F(MISSING)": dial tcp: lookup s3.eu-central-1.wasabisys.com on <IP_ADDRESS>:53: server misbehaving , stderr, time="2021-01-05T10:13:40Z" level=error msg="Fail to list s3: failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix: "longhorn/"\n} response: {\n\n} error: AWS Error: RequestError send request failed Get "https://s3.eu-central-1.wasabisys.com/[Bucket Name]?delimiter=%!F(MISSING)&prefix=longhorn%!F(MISSING)": dial tcp: lookup s3.eu-central-1.wasabisys.com on <IP_ADDRESS>:53: server misbehaving\n" pkg=s3 time="2021-01-05T10:13:40Z" level=error msg="failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix: "longhorn/"\n} response: {\n\n} error: AWS Error: RequestError send request failed Get "https://s3.eu-central-1.wasabisys.com/[Bucket Name]?delimiter=%!F(MISSING)&prefix=longhorn%!F(MISSING)": dial tcp: lookup s3.eu-central-1.wasabisys.com on <IP_ADDRESS>:53: server misbehaving\n" , error exit status 1
s3://[Bucket Name]/@eu-central-1/longhorn/
error listing backups: error listing backup volumes: Failed to execute: /var/lib/longhorn/engine-binaries/longhornio-longhorn-engine-v1.1.0/longhorn [backup ls --volume-only s3://[Bucket Name]/@eu-central-1/longhorn/], output failed to list objects with param: { Bucket: "[Bucket Name]", Delimiter: "/", Prefix: "@eu-central-1/longhorn/" } response: { } error: AWS Error: MissingRegion could not find region configuration  , stderr, time="2021-01-05T10:17:13Z" level=error msg="Fail to list s3: failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix: "@eu-central-1/longhorn/"\n} response: {\n\n} error: AWS Error: MissingRegion could not find region configuration \n" pkg=s3 time="2021-01-05T10:17:13Z" level=error msg="failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix: "@eu-central-1/longhorn/"\n} response: {\n\n} error: AWS Error: MissingRegion could not find region configuration \n" , error exit status 1
s3://[Bucket Name]/@eu-central-1/
error listing backups: error listing backup volumes: Failed to execute: /var/lib/longhorn/engine-binaries/longhornio-longhorn-engine-v1.1.0/longhorn [backup ls --volume-only s3://[Bucket Name]/@eu-central-1/], output failed to list objects with param: { Bucket: "[Bucket Name]", Delimiter: "/", Prefix: "@eu-central-1/" } response: { } error: AWS Error: MissingRegion could not find region configuration  , stderr, time="2021-01-05T10:19:03Z" level=error msg="Fail to list s3: failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix: "@eu-central-1/"\n} response: {\n\n} error: AWS Error: MissingRegion could not find region configuration \n" pkg=s3 time="2021-01-05T10:19:03Z" level=error msg="failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix: "@eu-central-1/"\n} response: {\n\n} error: AWS Error: MissingRegion could not find region configuration \n" , error exit status 1
s3://[Bucket Name]/@eu-central-1/
error listing backups: error listing backup volumes: Failed to execute: /var/lib/longhorn/engine-binaries/longhornio-longhorn-engine-v1.1.0/longhorn [backup ls --volume-only s3://[Bucket Name]/@//], output failed to list objects with param: { Bucket: "[Bucket Name]", Delimiter: "/", Prefix: "@/" } response: { } error: AWS Error: MissingRegion could not find region configuration  , stderr, time="2021-01-05T10:21:38Z" level=error msg="Fail to list s3: failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix: "@/"\n} response: {\n\n} error: AWS Error: MissingRegion could not find region configuration \n" pkg=s3 time="2021-01-05T10:21:38Z" level=error msg="failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix: "@/"\n} response: {\n\n} error: AWS Error: MissingRegion could not find region configuration \n" , error exit status 1
s3://[Bucket<EMAIL_ADDRESS>error listing backups: error listing backup volumes: Failed to execute: /var/lib/longhorn/engine-binaries/longhornio-longhorn-engine-v1.1.0/longhorn [backup ls --volume-only s3://[Bucket<EMAIL_ADDRESS>output failed to list objects with param: { Bucket: "[Bucket Name]", Delimiter: "/", Prefix<EMAIL_ADDRESS>} response: { } error: AWS Error: MissingRegion could not find region configuration  , stderr, time="2021-01-05T10:25:54Z" level=error msg="Fail to list s3: failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix<EMAIL_ADDRESS>response: {\n\n} error: AWS Error: MissingRegion could not find region configuration \n" pkg=s3 time="2021-01-05T10:25:54Z" level=error msg="failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix<EMAIL_ADDRESS>response: {\n\n} error: AWS Error: MissingRegion could not find region configuration \n" , error exit status 1
s3://[Bucket<EMAIL_ADDRESS>error listing backups: error listing backup volumes: Failed to execute: /var/lib/longhorn/engine-binaries/longhornio-longhorn-engine-v1.1.0/longhorn [backup ls --volume-only s3://[Bucket<EMAIL_ADDRESS>output failed to list objects with param: { Bucket: "[Bucket Name]", Delimiter: "/", Prefix<EMAIL_ADDRESS>} response: { } error: AWS Error: MissingRegion could not find region configuration  , stderr, time="2021-01-05T10:28:07Z" level=error msg="Fail to list s3: failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix<EMAIL_ADDRESS>response: {\n\n} error: AWS Error: MissingRegion could not find region configuration \n" pkg=s3 time="2021-01-05T10:28:07Z" level=error msg="failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix<EMAIL_ADDRESS>response: {\n\n} error: AWS Error: MissingRegion could not find region configuration \n" , error exit status 1
As I say, this is not an exhaustive list...I've tried putting the endpoint in, or out, region in, or out...bucket in various places, with or without delimiter. I'm far from an expert, but I have tried to follow guidance and documentation, where I have bene able to find it.
Wasabi says it is s3 compatible.  I can stand that up with the other things that I do with it.  I can't configure longhorn to find it.
I know what the endpoint is: https://s3.eu-central-1.wasabisys.com
I know what the region is: eu-central-1 (although I don't believe it is required with that endpoint)
I have provided the access and secret keys, and the endpoint in the k8s-secret
I have set policies in wasabi.  I have confirmed access to the bucket. I have put a folder "longhorn" in the bucket, which ideally I would use - although I'd settle for anything working in the bucket at this point.
I have no further idea how to configure the longhorn settings to get it to connect.
Thank you for your quick response.

The wasabi account user has two policy's attached. One is to restrict access to [bucket Name] and sub-directories. One is the longhorn policy (see below).
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "GrantLonghornBackupstoreAccess0",
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:GetObject",
"s3:ListBucket",
"s3:DeleteObject"
],
"Resource": [
"arn:aws:s3:::[Bucket Name]",
"arn:aws:s3:::[Bucket Name]/*"
]
}
]
}
Access to the bucket, using the users access and secret keys, and the endpoint https://s3.eu-central-1.wasabisys.com have been checked using minio client from the command line.
These details AWS_ACCESS_KEY_ID:(wasabi user access key); AWS_SECRET_ACCESS_KEY:(wasabi user secret key); AWS_ENDPOINTS: https://s3.eu-central-1.wasabisys.com have been base64 encoded and put added to a kubernetes secret. (see previous post)
In the longhorn settings (General) page "Backup Target Credential Secret" is set to the name of the secret with the encoded wasabi account settings (note, this is a paid for account, not a trial account). In the "Backup Target" a range of things have been tried. (eg, but not exclusively)
s3://[Bucket Name]@eu-central-1/longhorn/
error listing backups: error listing backup volumes: Failed to execute: /var/lib/longhorn/engine-binaries/longhornio-longhorn-engine-v1.1.0/longhorn [backup ls --volume-only s3://[Bucket Name]@eu-central-1/longhorn/], output failed to list objects with param: { Bucket: "[Bucket Name]", Delimiter: "/", Prefix: "longhorn/" } response: { } error: AWS Error: RequestError send request failed Get "https://s3.eu-central-1.wasabisys.com/[Bucket Name]?delimiter=%!F(MISSING)&prefix=longhorn%!F(MISSING)": dial tcp: lookup s3.eu-central-1.wasabisys.com on <IP_ADDRESS>:53: server misbehaving , stderr, time="2021-01-05T10:13:40Z" level=error msg="Fail to list s3: failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix: "longhorn/"\n} response: {\n\n} error: AWS Error: RequestError send request failed Get "https://s3.eu-central-1.wasabisys.com/[Bucket Name]?delimiter=%!F(MISSING)&prefix=longhorn%!F(MISSING)": dial tcp: lookup s3.eu-central-1.wasabisys.com on <IP_ADDRESS>:53: server misbehaving\n" pkg=s3 time="2021-01-05T10:13:40Z" level=error msg="failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix: "longhorn/"\n} response: {\n\n} error: AWS Error: RequestError send request failed Get "https://s3.eu-central-1.wasabisys.com/[Bucket Name]?delimiter=%!F(MISSING)&prefix=longhorn%!F(MISSING)": dial tcp: lookup s3.eu-central-1.wasabisys.com on <IP_ADDRESS>:53: server misbehaving\n" , error exit status 1
s3://[Bucket Name]/@eu-central-1/longhorn/
error listing backups: error listing backup volumes: Failed to execute: /var/lib/longhorn/engine-binaries/longhornio-longhorn-engine-v1.1.0/longhorn [backup ls --volume-only s3://[Bucket Name]/@eu-central-1/longhorn/], output failed to list objects with param: { Bucket: "[Bucket Name]", Delimiter: "/", Prefix: "@eu-central-1/longhorn/" } response: { } error: AWS Error: MissingRegion could not find region configuration  , stderr, time="2021-01-05T10:17:13Z" level=error msg="Fail to list s3: failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix: "@eu-central-1/longhorn/"\n} response: {\n\n} error: AWS Error: MissingRegion could not find region configuration \n" pkg=s3 time="2021-01-05T10:17:13Z" level=error msg="failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix: "@eu-central-1/longhorn/"\n} response: {\n\n} error: AWS Error: MissingRegion could not find region configuration \n" , error exit status 1
s3://[Bucket Name]/@eu-central-1/
error listing backups: error listing backup volumes: Failed to execute: /var/lib/longhorn/engine-binaries/longhornio-longhorn-engine-v1.1.0/longhorn [backup ls --volume-only s3://[Bucket Name]/@eu-central-1/], output failed to list objects with param: { Bucket: "[Bucket Name]", Delimiter: "/", Prefix: "@eu-central-1/" } response: { } error: AWS Error: MissingRegion could not find region configuration  , stderr, time="2021-01-05T10:19:03Z" level=error msg="Fail to list s3: failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix: "@eu-central-1/"\n} response: {\n\n} error: AWS Error: MissingRegion could not find region configuration \n" pkg=s3 time="2021-01-05T10:19:03Z" level=error msg="failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix: "@eu-central-1/"\n} response: {\n\n} error: AWS Error: MissingRegion could not find region configuration \n" , error exit status 1
s3://[Bucket Name]/@eu-central-1/
error listing backups: error listing backup volumes: Failed to execute: /var/lib/longhorn/engine-binaries/longhornio-longhorn-engine-v1.1.0/longhorn [backup ls --volume-only s3://[Bucket Name]/@//], output failed to list objects with param: { Bucket: "[Bucket Name]", Delimiter: "/", Prefix: "@/" } response: { } error: AWS Error: MissingRegion could not find region configuration  , stderr, time="2021-01-05T10:21:38Z" level=error msg="Fail to list s3: failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix: "@/"\n} response: {\n\n} error: AWS Error: MissingRegion could not find region configuration \n" pkg=s3 time="2021-01-05T10:21:38Z" level=error msg="failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix: "@/"\n} response: {\n\n} error: AWS Error: MissingRegion could not find region configuration \n" , error exit status 1
s3://[Bucket<EMAIL_ADDRESS>error listing backups: error listing backup volumes: Failed to execute: /var/lib/longhorn/engine-binaries/longhornio-longhorn-engine-v1.1.0/longhorn [backup ls --volume-only s3://[Bucket<EMAIL_ADDRESS>output failed to list objects with param: { Bucket: "[Bucket Name]", Delimiter: "/", Prefix<EMAIL_ADDRESS>} response: { } error: AWS Error: MissingRegion could not find region configuration  , stderr, time="2021-01-05T10:25:54Z" level=error msg="Fail to list s3: failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix<EMAIL_ADDRESS>response: {\n\n} error: AWS Error: MissingRegion could not find region configuration \n" pkg=s3 time="2021-01-05T10:25:54Z" level=error msg="failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix<EMAIL_ADDRESS>response: {\n\n} error: AWS Error: MissingRegion could not find region configuration \n" , error exit status 1
s3://[Bucket<EMAIL_ADDRESS>error listing backups: error listing backup volumes: Failed to execute: /var/lib/longhorn/engine-binaries/longhornio-longhorn-engine-v1.1.0/longhorn [backup ls --volume-only s3://[Bucket<EMAIL_ADDRESS>output failed to list objects with param: { Bucket: "[Bucket Name]", Delimiter: "/", Prefix<EMAIL_ADDRESS>} response: { } error: AWS Error: MissingRegion could not find region configuration  , stderr, time="2021-01-05T10:28:07Z" level=error msg="Fail to list s3: failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix<EMAIL_ADDRESS>response: {\n\n} error: AWS Error: MissingRegion could not find region configuration \n" pkg=s3 time="2021-01-05T10:28:07Z" level=error msg="failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix<EMAIL_ADDRESS>response: {\n\n} error: AWS Error: MissingRegion could not find region configuration \n" , error exit status 1
As I say, this is not an exhaustive list...I've tried putting the endpoint in, or out, region in, or out...bucket in various places, with or without delimiter. I'm far from an expert, but I have tried to follow guidance and documentation, where I have bene able to find it.
Wasabi says it is s3 compatible.  I can stand that up with the other things that I do with it.  I can't configure longhorn to find it.
I know what the endpoint is: https://s3.eu-central-1.wasabisys.com
I know what the region is: eu-central-1 (although I don't believe it is required with that endpoint)
I have provided the access and secret keys, and the endpoint in the k8s-secret
I have set policies in wasabi.  I have confirmed access to the bucket. I have put a folder "longhorn" in the bucket, which ideally I would use - although I'd settle for anything working in the bucket at this point.
I have no further idea how to configure the longhorn settings to get it to connect.
Thank you for your quick response.

@tetricky can you try the below linked endpoint and url
https://github.com/longhorn/longhorn/issues/811#issuecomment-542058767
For the record I set the endpoint and target to:
endpoint: https://s3.wasabisys.com
backup target: s3://longhorn@eu-central-1/

Also ensure that there are no new lines as part of the access key / secret
Which worked for the user in that thread.
There should not be an extra slash after [Bucket Name]/

@tetricky can you try the below linked endpoint and url
https://github.com/longhorn/longhorn/issues/811#issuecomment-542058767
For the record I set the endpoint and target to:
endpoint: https://s3.wasabisys.com
backup target: s3://longhorn@eu-central-1/

Also ensure that there are no new lines as part of the access key / secret
Which worked for the user in that thread.
There should not be an extra slash after [Bucket Name]/

By way of research (and to see how each change affected the error reporting). I first just changed the backup target. "longhorn" is a folder in my bucket - which is  called [bucketname]. I first tried changing just the backup target, using the cuket name.
s3://[Bucket Name]@eu-central-1/
error listing backups: error listing backup volumes: Failed to execute: /var/lib/longhorn/engine-binaries/longhornio-longhorn-engine-v1.1.0/longhorn [backup ls --volume-only s3://[Bucket Name]@eu-central-1/], output failed to list objects with param: { Bucket: "[Bucket Name]", Delimiter: "/", Prefix: "/" } response: { } error: AWS Error: RequestError send request failed Get "https://s3.eu-central-1.wasabisys.com/[Bucket Name]?delimiter=%!F(MISSING)&prefix=%!F(MISSING)": dial tcp: lookup s3.eu-central-1.wasabisys.com on <IP_ADDRESS>:53: server misbehaving , stderr, time="2021-01-06T21:10:12Z" level=error msg="Fail to list s3: failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix: "/"\n} response: {\n\n} error: AWS Error: RequestError send request failed Get "https://s3.eu-central-1.wasabisys.com/[Bucket Name]?delimiter=%!F(MISSING)&prefix=%!F(MISSING)": dial tcp: lookup s3.eu-central-1.wasabisys.com on <IP_ADDRESS>:53: server misbehaving\n" pkg=s3 time="2021-01-06T21:10:12Z" level=error msg="failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix: "/"\n} response: {\n\n} error: AWS Error: RequestError send request failed Get "https://s3.eu-central-1.wasabisys.com/[Bucket Name]?delimiter=%!F(MISSING)&prefix=%!F(MISSING)": dial tcp: lookup s3.eu-central-1.wasabisys.com on <IP_ADDRESS>:53: server misbehaving\n" , error exit status 1
..and then using longhorn (I had zero expectation of theis being the right thing to do, but for completeness...). No useful information. Then I reverted to the bucket name in the backup target, and made sure the secret had no extra characters or lines.
s3://[Bucket Name]@eu-central-1/
error listing backups: error listing backup volumes: Failed to execute: /var/lib/longhorn/engine-binaries/longhornio-longhorn-engine-v1.1.0/longhorn [backup ls --volume-only s3://[Bucket Name]@eu-central-1/], output failed to list objects with param: { Bucket: "[Bucket Name]", Delimiter: "/", Prefix: "/" } response: { } error: AWS Error: RequestError send request failed Get "https://s3.eu-central-1.wasabisys.com/[Bucket Name]?delimiter=%!F(MISSING)&prefix=%!F(MISSING)": dial tcp: lookup s3.eu-central-1.wasabisys.com on <IP_ADDRESS>:53: server misbehaving , stderr, time="2021-01-06T21:21:05Z" level=error msg="Fail to list s3: failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix: "/"\n} response: {\n\n} error: AWS Error: RequestError send request failed Get "https://s3.eu-central-1.wasabisys.com/[Bucket Name]?delimiter=%!F(MISSING)&prefix=%!F(MISSING)": dial tcp: lookup s3.eu-central-1.wasabisys.com on <IP_ADDRESS>:53: server misbehaving\n" pkg=s3 time="2021-01-06T21:21:05Z" level=error msg="failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix: "/"\n} response: {\n\n} error: AWS Error: RequestError send request failed Get "https://s3.eu-central-1.wasabisys.com/[Bucket Name]?delimiter=%!F(MISSING)&prefix=%!F(MISSING)": dial tcp: lookup s3.eu-central-1.wasabisys.com on <IP_ADDRESS>:53: server misbehaving\n" , error exit status 1
Keeping the target the same, I then changed the endpoint, to the form without the eu-central-1 region (base64 encoded, in the secret, confirmed no extraneous characters).
"AWS_ENDPOINTS: aHR0cHM6Ly9zMy53YXNhYmlzeXMuY29t" - in secret.
s3://[Bucket Name]@eu-central-1/
error listing backups: error listing backup volumes: Failed to execute: /var/lib/longhorn/engine-binaries/longhornio-longhorn-engine-v1.1.0/longhorn [backup ls --volume-only s3://[Bucket Name]@eu-central-1/], output failed to list objects with param: { Bucket: "[Bucket Name]", Delimiter: "/", Prefix: "/" } response: { } error: AWS Error: RequestError send request failed Get "https://s3.wasabisys.com/[Bucket Name]?delimiter=%!F(MISSING)&prefix=%!F(MISSING)": dial tcp: lookup s3.wasabisys.com on <IP_ADDRESS>:53: server misbehaving , stderr, time="2021-01-06T21:28:04Z" level=error msg="Fail to list s3: failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix: "/"\n} response: {\n\n} error: AWS Error: RequestError send request failed Get "https://s3.wasabisys.com/[Bucket Name]?delimiter=%!F(MISSING)&prefix=%!F(MISSING)": dial tcp: lookup s3.wasabisys.com on <IP_ADDRESS>:53: server misbehaving\n" pkg=s3 time="2021-01-06T21:28:04Z" level=error msg="failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix: "/"\n} response: {\n\n} error: AWS Error: RequestError send request failed Get "https://s3.wasabisys.com/[Bucket Name]?delimiter=%!F(MISSING)&prefix=%!F(MISSING)": dial tcp: lookup s3.wasabisys.com on <IP_ADDRESS>:53: server misbehaving\n" , error exit status 1
So, as far as I can see, nothing doing.

By way of research (and to see how each change affected the error reporting). I first just changed the backup target. "longhorn" is a folder in my bucket - which is  called [bucketname]. I first tried changing just the backup target, using the cuket name.
s3://[Bucket Name]@eu-central-1/
error listing backups: error listing backup volumes: Failed to execute: /var/lib/longhorn/engine-binaries/longhornio-longhorn-engine-v1.1.0/longhorn [backup ls --volume-only s3://[Bucket Name]@eu-central-1/], output failed to list objects with param: { Bucket: "[Bucket Name]", Delimiter: "/", Prefix: "/" } response: { } error: AWS Error: RequestError send request failed Get "https://s3.eu-central-1.wasabisys.com/[Bucket Name]?delimiter=%!F(MISSING)&prefix=%!F(MISSING)": dial tcp: lookup s3.eu-central-1.wasabisys.com on <IP_ADDRESS>:53: server misbehaving , stderr, time="2021-01-06T21:10:12Z" level=error msg="Fail to list s3: failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix: "/"\n} response: {\n\n} error: AWS Error: RequestError send request failed Get "https://s3.eu-central-1.wasabisys.com/[Bucket Name]?delimiter=%!F(MISSING)&prefix=%!F(MISSING)": dial tcp: lookup s3.eu-central-1.wasabisys.com on <IP_ADDRESS>:53: server misbehaving\n" pkg=s3 time="2021-01-06T21:10:12Z" level=error msg="failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix: "/"\n} response: {\n\n} error: AWS Error: RequestError send request failed Get "https://s3.eu-central-1.wasabisys.com/[Bucket Name]?delimiter=%!F(MISSING)&prefix=%!F(MISSING)": dial tcp: lookup s3.eu-central-1.wasabisys.com on <IP_ADDRESS>:53: server misbehaving\n" , error exit status 1
..and then using longhorn (I had zero expectation of theis being the right thing to do, but for completeness...). No useful information. Then I reverted to the bucket name in the backup target, and made sure the secret had no extra characters or lines.
s3://[Bucket Name]@eu-central-1/
error listing backups: error listing backup volumes: Failed to execute: /var/lib/longhorn/engine-binaries/longhornio-longhorn-engine-v1.1.0/longhorn [backup ls --volume-only s3://[Bucket Name]@eu-central-1/], output failed to list objects with param: { Bucket: "[Bucket Name]", Delimiter: "/", Prefix: "/" } response: { } error: AWS Error: RequestError send request failed Get "https://s3.eu-central-1.wasabisys.com/[Bucket Name]?delimiter=%!F(MISSING)&prefix=%!F(MISSING)": dial tcp: lookup s3.eu-central-1.wasabisys.com on <IP_ADDRESS>:53: server misbehaving , stderr, time="2021-01-06T21:21:05Z" level=error msg="Fail to list s3: failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix: "/"\n} response: {\n\n} error: AWS Error: RequestError send request failed Get "https://s3.eu-central-1.wasabisys.com/[Bucket Name]?delimiter=%!F(MISSING)&prefix=%!F(MISSING)": dial tcp: lookup s3.eu-central-1.wasabisys.com on <IP_ADDRESS>:53: server misbehaving\n" pkg=s3 time="2021-01-06T21:21:05Z" level=error msg="failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix: "/"\n} response: {\n\n} error: AWS Error: RequestError send request failed Get "https://s3.eu-central-1.wasabisys.com/[Bucket Name]?delimiter=%!F(MISSING)&prefix=%!F(MISSING)": dial tcp: lookup s3.eu-central-1.wasabisys.com on <IP_ADDRESS>:53: server misbehaving\n" , error exit status 1
Keeping the target the same, I then changed the endpoint, to the form without the eu-central-1 region (base64 encoded, in the secret, confirmed no extraneous characters).
"AWS_ENDPOINTS: aHR0cHM6Ly9zMy53YXNhYmlzeXMuY29t" - in secret.
s3://[Bucket Name]@eu-central-1/
error listing backups: error listing backup volumes: Failed to execute: /var/lib/longhorn/engine-binaries/longhornio-longhorn-engine-v1.1.0/longhorn [backup ls --volume-only s3://[Bucket Name]@eu-central-1/], output failed to list objects with param: { Bucket: "[Bucket Name]", Delimiter: "/", Prefix: "/" } response: { } error: AWS Error: RequestError send request failed Get "https://s3.wasabisys.com/[Bucket Name]?delimiter=%!F(MISSING)&prefix=%!F(MISSING)": dial tcp: lookup s3.wasabisys.com on <IP_ADDRESS>:53: server misbehaving , stderr, time="2021-01-06T21:28:04Z" level=error msg="Fail to list s3: failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix: "/"\n} response: {\n\n} error: AWS Error: RequestError send request failed Get "https://s3.wasabisys.com/[Bucket Name]?delimiter=%!F(MISSING)&prefix=%!F(MISSING)": dial tcp: lookup s3.wasabisys.com on <IP_ADDRESS>:53: server misbehaving\n" pkg=s3 time="2021-01-06T21:28:04Z" level=error msg="failed to list objects with param: {\n Bucket: "[Bucket Name]",\n Delimiter: "/",\n Prefix: "/"\n} response: {\n\n} error: AWS Error: RequestError send request failed Get "https://s3.wasabisys.com/[Bucket Name]?delimiter=%!F(MISSING)&prefix=%!F(MISSING)": dial tcp: lookup s3.wasabisys.com on <IP_ADDRESS>:53: server misbehaving\n" , error exit status 1
So, as far as I can see, nothing doing.

In the hope that it may assist.  I had a look at connecting from the same server (but not k8s - or in my case k3s) using rclone.
With a test file of "k3os-amd64.iso", in folder "longhorn" in bucket [BucketName]
[ws-server]
type = s3
provider = Wasabi
access_key_id = account_key
secret_access_key = account_secret
region = eu-central-1
endpoint = s3.eu-central-1.wasabisys.com
env_auth = false
rclone ls ws-server:[BucketName] # I can use with or without trailing delimter '/'
534796288 longhorn/k3os-amd64.iso
[ws-server]
type = s3
provider = Wasabi
access_key_id = account_key
secret_access_key = account_secret
region = eu-central-1
endpoint = s3.wasabisys.com
env_auth = false
rclone ls ws-server:[BucketName]
2021/01/07 20:10:36 ERROR : : error listing: AuthorizationHeaderMalformed: The authorization header is malformed; the region 'eu-central-1' is wrong; expecting 'us-east-1'
status code: 400, request id: XXXXXXXXXXXXX, host id: YYYYYYYYYYYYY/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
2021/01/07 20:10:36 Failed to ls: AuthorizationHeaderMalformed: The authorization header is malformed; the region 'eu-central-1' is wrong; expecting 'us-east-1'
status code: 400, request id: XXXXXXXXXXXXX, host id: YYYYYYYYYYYYY/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
So I would conclude that an endpoint s3.wasabisys.com with a region set to eu-central-1 does not respond allowing connection. Whereas an endpoint s3.eu-central-1.wasabisys.com does (for buckets in wasabi eu-central-1).
Any advice appreciated.
tetricky

In the hope that it may assist.  I had a look at connecting from the same server (but not k8s - or in my case k3s) using rclone.
With a test file of "k3os-amd64.iso", in folder "longhorn" in bucket [BucketName]
[ws-server]
type = s3
provider = Wasabi
access_key_id = account_key
secret_access_key = account_secret
region = eu-central-1
endpoint = s3.eu-central-1.wasabisys.com
env_auth = false
rclone ls ws-server:[BucketName] # I can use with or without trailing delimter '/'
534796288 longhorn/k3os-amd64.iso
[ws-server]
type = s3
provider = Wasabi
access_key_id = account_key
secret_access_key = account_secret
region = eu-central-1
endpoint = s3.wasabisys.com
env_auth = false
rclone ls ws-server:[BucketName]
2021/01/07 20:10:36 ERROR : : error listing: AuthorizationHeaderMalformed: The authorization header is malformed; the region 'eu-central-1' is wrong; expecting 'us-east-1'
status code: 400, request id: XXXXXXXXXXXXX, host id: YYYYYYYYYYYYY/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
2021/01/07 20:10:36 Failed to ls: AuthorizationHeaderMalformed: The authorization header is malformed; the region 'eu-central-1' is wrong; expecting 'us-east-1'
status code: 400, request id: XXXXXXXXXXXXX, host id: YYYYYYYYYYYYY/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
So I would conclude that an endpoint s3.wasabisys.com with a region set to eu-central-1 does not respond allowing connection. Whereas an endpoint s3.eu-central-1.wasabisys.com does (for buckets in wasabi eu-central-1).
Any advice appreciated.
tetricky

I am increasingly of the view that what I am seeing is a level of problem with networking, on my stack (may not have anything to do with longhorn specifically).
I am rebuilding it, and will report from there.  I would advise nobody to invest time or effort into this issue.

I am increasingly of the view that what I am seeing is a level of problem with networking, on my stack (may not have anything to do with longhorn specifically).
I am rebuilding it, and will report from there.  I would advise nobody to invest time or effort into this issue.

@tetricky thanks for letting us know, please feel free to open another issue if you are still having problems down the line.

@tetricky thanks for letting us know, please feel free to open another issue if you are still having problems down the line.

Just to confirm, on the off chance it's of some use to someone else. I have now rebuilt the stack, and all is now well.
Using Wasabi with my buckets in eu-europe-1; the endpoint that worked for me was: https://s3.eu-central-1.wasabisys.com
backupTarget: s3://[bucket name]@eu-central-1/[path within bucket]/
backupTargetCredentialSecret: wasabi-secret

apiVersion: v1
kind: Secret
metadata:
name: wasabi-secret
namespace: longhorn
type: Opaque
data:
AWS_ACCESS_KEY_ID: [access key - base64 encoded]
AWS_SECRET_ACCESS_KEY: [secret key base64 encoded]
AWS_ENDPOINTS: [https://s3.eu-central-1.wasabisys.com base64 encoded]

Just to confirm, on the off chance it's of some use to someone else. I have now rebuilt the stack, and all is now well.
Using Wasabi with my buckets in eu-europe-1; the endpoint that worked for me was: https://s3.eu-central-1.wasabisys.com
backupTarget: s3://[bucket name]@eu-central-1/[path within bucket]/
backupTargetCredentialSecret: wasabi-secret

apiVersion: v1
kind: Secret
metadata:
name: wasabi-secret
namespace: longhorn
type: Opaque
data:
AWS_ACCESS_KEY_ID: [access key - base64 encoded]
AWS_SECRET_ACCESS_KEY: [secret key base64 encoded]
AWS_ENDPOINTS: [https://s3.eu-central-1.wasabisys.com base64 encoded]

I am increasingly of the view that what I am seeing is a level of problem with networking, on my stack (may not have anything to do with longhorn specifically).
I am rebuilding it, and will report from there. I would advise nobody to invest time or effort into this issue.

Can confirm that a similar issue happens if DNS is not responding on the network during the installation and the backup storage is a remote S3 bucket hosted at a cloud provider referenced by domain name. I got the same error and realized my DNS server was down during the installation process. Fixing DNS and reinstalling resolved the issue. Leaving this here for anyone troubleshooting the same error message: Doublecheck DNS on the network before starting to troubleshoot Longhorn.

For future reference because I found this through Google:

Your secret needs to have the AWS_ENDPOINTS property set
It should be set to any URL from https://wasabi-support.zendesk.com/hc/en-us/articles/360015106031-What-are-the-service-URLs-for-Wasabi-s-different-storage-regions- with https:// at the beginning
The "Backup Target" must be set to s3://<bucket-name>@<region>/ (mind the trailing slash!)

NOTE: I wasn't able to get this working without using the region-specific S3 endpoint. Longhorn failed with the following error:
error listing backup volume names: failed to execute: /var/lib/longhorn/engine-binaries/longhornio-longhorn-engine-v1.3.1/longhorn [backup ls --volume-only s3://test.longhorn-experiment@eu-central-1/], output failed to list objects with param: { Bucket: "test.longhorn-experiment", Delimiter: "/", Prefix: "/" } error: AWS Error: AuthorizationHeaderMalformed The authorization header is malformed; the region 'eu-central-1' is wrong; expecting 'us-east-1' <nil> 400 66C22CFC58C835E9 , stderr, time="2022-08-12T09:52:24Z" level=error


allow piping into cabinetry cli

it'd be great if I could do the following
jsonpatch 1Lbb-likelihoods/BkgOnly.json <(pyhf patchset extract --name C1N2_Wh_hbb_900_300 1Lbb-likelihoods/patchset.json )|cabinetry fit -

in pyhf we support a standard linux convention that - represents "read from stdin"
Currently I need to do the following:
jsonpatch 1Lbb-likelihoods/BkgOnly.json <(pyhf patchset extract --name C1N2_Wh_hbb_900_300 1Lbb-likelihoods/patchset.json ) > a.json
cabinetry fit a.json

Thanks for the suggestion! This looks useful. I had a quick look at the click documentation for file arguments and it seems like switching to click.File enables the correct handling of -. That might require moving the json parsing into the CLI, since the currently responsible function uses pathlib (or slightly changing that function).
How are you handling this in pyhf?

we don't use click.File directly (maybe we should)  but we do
    with click.open_file(workspace, "r") as specstream:
        spec = json.load(specstream)

and that works
https://github.com/scikit-hep/pyhf/blob/master/src/pyhf/cli/infer.py#L100

Reading config / workspaces from stdin, as well as writing workspaces to stdout, are now supported in the CLI with #143.


Fixes XML parsing for titles with HTML

Addresses #16 and adds a test case.
Note that the solution at lines 90-92 in base.py isn't elegant, but can be modified. I chose to remove_tags common style or links tags that might be seen in HTML from article titles.

Sorry for that,  I accidentally discarded that chunk of code when I committed. Latest commit adds a test case which passes on my build.


Not working with Elixir 1.2

$ mix test
lib/faker/code.ex:1: warning: redefining module Faker.Code
lib/faker.ex:1: warning: redefining module Faker
lib/faker/avatar.ex:1: warning: redefining module Faker.Avatar
lib/faker/commerce.ex:1: warning: redefining module Faker.Commerce

== Compilation error on file lib/faker/app.ex ==
lib/faker/address.ex:1: warning: redefining module Faker.Address
** (CompileError) lib/faker/app.ex:2: cannot import Faker.sampler/2 because it doesn't exist
    (elixir) src/elixir_import.erl:68: :elixir_import.calculate/6
    (elixir) src/elixir_import.erl:18: :elixir_import.import/4

==> faker
could not compile dependency :faker, "mix compile" failed. You can recompile this dependency with "mix deps.compile faker", update it with "mix deps.update faker" or clean it with "mix deps.clean faker"

Are there changes in the works to get Faker working with Elixir 1.2?

Hi, can you provide more information? Works on my machine and on travis https://travis-ci.org/igas/faker/builds/123650682

I apologize for prematurely filing an issue. I just created a brand new Phoenix application under Elixir 1.2, added Faker to it, and it is working fine. Apparently the problem I'm having in my original project is deeper than Faker.

No worries, Craig.


feat: run synthtool to pick up mtls feature

run synthtool to regenerate the client lib to pick up the mtls feature.
@busunkim96 The issues you mentioned in https://github.com/googleapis/python-compute/pull/3 also exists in this PR. I guess maybe they can be fixed separately? (The parameter orders doesn't look like a blocking issue, since they are used to form the query part of an url so the order doesn't matter)

@arithmetic1728 Yep, I think it's fine to fix the ordering issue separately 👍

@arithmetic1728 Yep, I think it's fine to fix the ordering issue separately 👍


how to hide controls of remote user audio and video

Target device: (Note: simulators are not supported for running the UIKit)

Device: Redmi note 9 pro

OS:

[X ] Android

OS Version: 22

App Info

Type:

[X] React Native CLI

Describe the issue
how to Remove the remote user audio and video controls  in agora ui Kit ,
To Reproduce
Steps to reproduce the behavior:
install ui kit
create a rtc token and join in a channel

You can use StyleProps to set remotebtncontainer style as display: none


Make vjp cotangent functions pytree-like

Addresses #3667

@shoyer  Thanks for your help diagnosing this.  When you get a chance, could you review this?
Regarding your idea about composing partial with Partial, that is workable:  I can do something like
  vjp_ =  Partial(partial(unbound_vjp, pvals, jaxpr), consts)

and do something similar for the call to _vjp_pullback_wrapper if I reorder parameters.  I need to reorder parameters since you can't call them in the other order: partial(Partial(...)).  It seems like Partial in its current state is crippled.  What do you think?

I think you could likely make use of Partial without any changes if you use keywords for applying arguments out of order.

@shoyer Okay, I made the changes you requested and added a test.  Is there anything further I should do?

Thanks indeed! I agree about doc updates — those would be a nice follow up

@shoyer My pleasure, thanks for the lightning fast review!


collatz-conjecture: New exercise with test generator

Add new exercise collatz-conjecture (description)
Tests are generated from the canonical data.
I went through the list of Topics and picked the ones I thought were appropriate.

Why is isogram failing?

I'd like to update the canonical data and get rid of that trailing space before I merge this.


Style missing features

QTreeView selection on Mac has different selection color under icon.

Offset tool button comapred to label next to it

can be caused by icon size compared to text size

Closing as both issues are already solved.


MQM/ESA duplicate document entries

There are allegedly duplicate entries in the first document (reported by @martinpopel on EnCs WMT testrun).
Could be caused by data generation here or somehow interact with the duplication of the first item to fill 100 segments (likely when the documents are sorted again).

Details for debugging: It was the first document (after the tutorial) in http://<IP_ADDRESS>:80/dashboard/sso/engces0101/e60336ec/. The first and last sentence of the document was src="So anyway, since it does hold true here, to fix it..." trg="Takže každopádně, protože to platí zde, abych to opravil,..."
(I have just a screenshot and Appraise does not allow me to go back to the first document, so I include just few words of the sentence.)
Based on the context, I think the sentence was actually the last sentence of the document. It did not make sense as the first sentence. @zouharvi can you check the raw input files - if the duplication is not already there?

Fixed in 0f1044bed1447fb8a13788ad5730bd10aabc557b.