[BUG] Golang run on Windows without deal with the Firewall

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

$ go version
go version go1.20.6 windows/amd64

Does this issue reproduce with the latest release?

Yes

What operating system and processor architecture are you using (go env)?
go env Output
$ go env
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\Swaraj Singh\AppData\Local\go-build
set GOENV=C:\Users\Swaraj Singh\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\Swaraj Singh\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\Swaraj Singh\go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=D:\Software\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=D:\Software\Go\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.20.6
set GCCGO=gccgo
set GOAMD64=v1
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=NUL
set GOWORK=
set CGO_CFLAGS=-O2 -g
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-O2 -g
set CGO_FFLAGS=-O2 -g
set CGO_LDFLAGS=-O2 -g
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=C:\Users\SWARAJ~1\AppData\Local\Temp\go-build3512185934=/tmp/go-build -gno-record-gcc-switches

How to reproduce

func main() {
	r := gin.Default()

	r.GET("/", func(c *gin.Context) {
		c.JSON(http.StatusOK, gin.H{
			"message": "health ok",
		})
	})

	log.Printf("Server Started, version: %s", version)
	r.Run(":8080")
}

What did you do?

I'm working on a Rest API with Go, but every time I try to run my application with **go run main.go**

the Windows Firewall tells me that has blocked some features of my app. I would like to know if there's some way to make my executions without having to Accept every time.

What did you expect to see?

I see a Windows firewall appearing every time, I run main.go, it becomes very irritating at times

What did you see instead?

Just run the program without the Windows firewall pop

Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For questions please refer to https://github.com/golang/go/wiki/Questions

Sure

The perfect solution 💕
Issue: Windows blocks applications that try to use localhost by default, for some security reasons.
Solution: We will add a localhost add before the PORT, to specify Golang & Windows to run the program in localhost and not access other systems
Solution in code:
func main() {
	r := gin.Default()

	r.GET("/", func(c *gin.Context) {
		c.JSON(http.StatusOK, gin.H{
			"message": "health ok",
		})
	})
        // Add localhost tag
	r.Run("localhost:8080")
}

Yes ,to avoid the pop we can run
func main(){
router := gin.Default()
router.GET("/api",func(ctx *gin.Context) {
	ctx.JSON(http.StatusOK,gin.H{
		"message":"Hello welcome to golang gin webframework",
		"status":http.StatusOK,
	})
 })
   router.Run("localhost:8080")

}


set_fm_data availability calculation incorrect

When SoC is below 20% (forced charging is in place), this time period should also be regarded as unavailable.

Fixed and commited.

Fixed


Lots of issues I guess, just can't get wsl working

So I've done the steps set by many, many different articles and videos, I've even had someone who used to be on the development team for wsl ubuntu try helping me on Twitter, but I've yet to get it working. There's been a few times where I've gotten wsl downloaded enabled wsl2 the update and kernel are good, and ubuntu downloaded with username and password set up, to have it that when I type in wsl, nothing happens. Currently though the issue it shows is:
The Windows Subsystem for Linux optional component is not enabled. Please enable it and try again.
It's enabled, the virtualization is enabled too. I had it working but the python was too old, I accidentally broke that so I decided to uninstall and reinstall wsl and ubuntu, but now it just won't ever work. Idk what to do... the things I've tried:
wsl --install or wsl --update or download wsl from microsoft store
enable online features, enable windows subsystem for linux
wsl --set-version 2
wsl --install -d ubuntu
install ubuntu on microsoft store, all three versions have been tried.
making sure I restart after every step, although my computer really hates that.
setting up username and password on ubuntu
type in wsl and nothing works.
Going to the recommended sites when something stalls me.
I don't have any third party security software running, just on local, I'm on windows 10 version 22H2 (OS build 19045.2545)
I've tried dism.exe/online/enable-feature/featurename:Microsoft-windows-subsystem-Linux/all/norestart and the same for vm
Not sure what else to try but I need to solve it now because it's even corrupted my command line in sublime text just trying to run regular programs in windows

@Shikamaru5: Can you describe the exact command you're running and the output / errors you're getting so we can help diagnose the issue ?

alright so I'll try and do my best, I've screenshotted pics of what I've done.

had to use the update command because just typing wsl --install provides an error. I restarted after doing that.

set it to version 2 of wsl and that seemed to work alright.

Tried installing Ubuntu and when it loaded up Ubuntu didn't work.

Tried to see if wsl was working and it said it required an update, so I visited the website to see and I got the required file.

The remaining are just what my machine says that I have but I can't think of any other steps that I need to do according to looking online. I hope this looked alright and wasn't too confusing.

@Shikamaru5: Did you install the kernel component as the error message suggested ? You can find instructions on how do that here: https://learn.microsoft.com/en-us/windows/wsl/install-manual#step-4---download-the-linux-kernel-update-package

Ya I did, I have x64 so I just downloaded the link WSL2 Linux kernel update package for x64 machines

Did you install it ?

Does wsl work after installing the kernel ? If not, can you please capture /logs ?


chore(ResponseTest.java): Updated contents of string for CommandPlainSecure test

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

v4.0.13
GitHub release

Your semantic-release bot :package::rocket:


Samvera labs main

pulls in updates from samvera-labs main branch

I intended to do this in my fork sorry.


Keypad-initiated unlock events not logged

Hi,
is it expected that keypad unlocks (unlatch) are not tracked in the MQTT entries?
I tried to catch it, be it
nuki/maintenance/log
or
nuki/lock/action
But it is filled with useful unlatch entries only if using the Nuki itself directly, not if the unlatch is initiated via the Keypad (fingerprint in this case).
Is that normal, to not see if the door were unlatched via the Keypad?
These are the events I tried, and they work if unlatching the Nuki directly:
When Nuki Lock Action changes to unlatch
When Nuki Lock Log changes to Lock action received: unlatch
When Nuki Lock Log changes to Querying lock state: unlocking
When Nuki Lock Log changes to Querying lock state: unlatching
When Nuki Lock Log changes to Querying lock state: Lock action received: unlatch
None of this happens if using the Keypad.
Any ideas?
Thank you.

It's i guess similar if you open it manually, sometimes it does register status, sometimes doesn't.

It should always register, no matter if the status changed by keypad or manual operation.


Read gas config from provider by default

A lot of our tests currently are specifying contractInstance.functions.someFunction().txParams({ gasPrice }).call() (e.g. this test), but this gasPrice is taken from the provider which is internally available to contractInstance, so we can take that value internally as the default while still allowing the user to override it with the same .txParams() call.

Closing this as the gasPrice param always defaults to the node config minGasPrice, when it is not informed on txParams.
But txParams will always need to be called since the gasPrice needs to be specified, otherwise, it is going to be 0, and I believe we should not set a default value for gasLimit since it will reflect on how much gas could be used by the transaction.


RRF between RM3 and Ax

As a simple experiment, let's trying running RRF between RM3 and Ax: this package seems to already have RRF implemented: https://github.com/joaopalotti/trec_tools
@emmileaf this might not make much sense right now, but I'll walk you through this...

@emmileaf you showed me some results on this? Can you post to this thread?

Robust04:

BM25+AX
BM25+RM3
BM25+AX+RM3 (RRF)
P-value (Base: BM25+AX)
P-value (Base: BM25+RM3)

MAP
0.2895
0.2903
0.2963
0.019821
0.024997

P30
0.3333
0.3365
0.3410
0.037711
0.161866

Core17:

BM25+AX
BM25+RM3
BM25+AX+RM3 (RRF)
P-value (Base: BM25+AX)
P-value (Base: BM25+RM3)

MAP
0.2700
0.2682
0.2813
0.030513
0.019737

P30
0.4927
0.4940
0.4973
0.588484
0.740242

For Core18, I just realized that my results were inconsistent with the experiments doc, and will need to double check and debug a bit more...

@emmileaf Thanks! Can you try the other fusion methods offered by the package?

For sure- I'll add to this thread.

Yup looks like it, at least for default params/etc. from the package.

Merging of #658 unblocked Core18
Per #668, Core17 probably needs to be rerun

Merging of #658 unblocked Core18
Per #668, Core17 probably needs to be rerun

Results re-run and edited in comments above.
TLDR from updated results: RRF still the most effective, but does not perform as well on core17/core18 compared to robust04.

Good to have these results, but moving forward this should probably be done on the Pyserini end...


IE9 support

Hi,
Prior to flow-router having IE9 support I hacked together my own solution with a patched page.js file.
I've tried my site with the latest version of flow router (with your patched version of page.js) but got 404  errors on every route except the home page. I haven't dug into page.js so I'm not entirely sure why.
I thought I'd share my patched version of page.js so you can see where it differs:
https://github.com/tomwasd/page.js
And also a fork of flow-router that takes a slightly different approach to IE9 support - it uses javascript to detect if the user's browser is IE9 or older. If so, it uses jQuery to load the history polyfill. The idea being you wouldn't unnecessarily load the history polyfill on other browsers but it would load automatically (without the need to add the tmeasday:html5-history-api package) in IE9 or older.
https://github.com/tomwasd/flow-router
There's probably a downsides to my approach that I haven't considered/realised yet!
Hopefully I'll get to the bottom of the issue myself but thought I'd post here in case anyone else is having issues of facing a similar battle.
I've also got IE8 working but the solution is far too horrible to share publicly at the moment. Needs some tweaking!

That seems like a good solution. BTW: Could you send me sample test project and I am super excited to see where it goes wrong.

Yep. I think there is an issue. Your page.js fork works pretty well.
We'll get that as well.

Hi we released a new version with your fix to the page.js as well. Could you check that?


[BRIGHTEON] Support brighteon and fix bug preventing combining multiple formats from different html5 embeds

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting a new site support request
[X] I've verified that I'm running yt-dlp version 2023.09.24 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that none of provided URLs violate any copyrights or contain any DRM to the best of my knowledge
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and am willing to share it if required

Region
No response
Example URLs
https://www.brighteon.com/90b78697-72f1-4468-9972-e3a654bccebe
https://www.brighteon.com/channels/HFamily
Provide a description that is worded well enough to be understood

yt-dlp falls back on generic extractor, giving it a hint that it's not specifically supported,
The site has had changes backed infrastructural changes over the years so some of the information from older Issues may be obsolete
An older ticket asking for support has been closed without confirmation of support other than a message by the OP that due to a plugin it's "no longer necessary".
Each video is detected as 2 html5 embeds (playlists?)
There's an error with detecting the other embed when downloading a format from a different embed.
It's not possible to combine multiple formats if they're from different embeds, the download just fails on everything and reports errors. However combining from the same embed does work.
Channel links are not supported, no way to download all channel's videos as a playlist

Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
D:\yt-dlp>yt-dlp.exe -F -vU https://www.brighteon.com/90b78697-72f1-4468-9972-e3a654bccebe
[debug] Command-line config: ['-F', '-vU', 'https://www.brighteon.com/90b78697-72f1-4468-9972-e3a654bccebe']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[088add956] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19044-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg N-111242-g1bcb8a7338-20230622 (setts), ffprobe N-111242-g1bcb8a7338-20230622
[debug] Optional libraries: Cryptodome-3.19.0, brotli-1.1.0, certifi-2023.07.22, mutagen-1.47.0, sqlite3-3.35.5, websockets-11.0.3
[debug] Proxy map: {}
[debug] Loaded 1886 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>Current Build Hash: 125465ac4416bcd4bf1632b899630ceecc08b341e83fdf10bd34700c58ea5152
yt-dlp is up to date<EMAIL_ADDRESS>[generic] Extracting URL: https://www.brighteon.com/90b78697-72f1-4468-9972-e3a654bccebe
[generic] 90b78697-72f1-4468-9972-e3a654bccebe: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] 90b78697-72f1-4468-9972-e3a654bccebe: Extracting information
[debug] Looking for embeds
[html5] 90b78697-72f1-4468-9972-e3a654bccebe: Downloading m3u8 information
[html5] 90b78697-72f1-4468-9972-e3a654bccebe: Downloading MPD manifest
[debug] Identified 2 html5 embeds
[download] Downloading playlist: Why Fruits & Vegetables Have Lost Their Vitamins - Documentary - HaloRockDocs
[generic] Playlist Why Fruits & Vegetables Have Lost Their Vitamins - Documentary - HaloRockDocs: Downloading 2 items of 2
[download] Downloading item 1 of 2
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for 90b78697-72f1-4468-9972-e3a654bccebe-1:
ID      EXT RESOLUTION FPS │   TBR PROTO │ VCODEC        VBR ACODEC     ABR ASR MORE INFO
────────────────────────────────────────────────────────────────────────────────────────────────────
3       m4a audio only     │   96k https │ audio only        mp4a.40.5  96k 48k DASH audio, m4a_dash
2       mp4 480x270        │  350k https │ avc1.4d401f  350k video only         DASH video, mp4_dash
hls-296 mp4 480x270     15 │  297k m3u8  │ avc1.4d401f       mp4a.40.5
1       mp4 960x540        │ 1500k https │ avc1.640028 1500k video only         DASH video, mp4_dash
hls-792 mp4 960x540     30 │  792k m3u8  │ avc1.4d401f       mp4a.40.5
[download] Downloading item 2 of 2
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for 90b78697-72f1-4468-9972-e3a654bccebe-2:
ID EXT RESOLUTION │ PROTO │ VCODEC     ACODEC
──────────────────────────────────────────────
0  mp3 audio only │ https │ audio only unknown
[download] Finished downloading playlist: Why Fruits & Vegetables Have Lost Their Vitamins - Documentary - HaloRockDocs

------------------------------------------
------------------------------------------

D:\yt-dlp>yt-dlp.exe -f 1+3 -vU https://www.brighteon.com/90b78697-72f1-4468-9972-e3a654bccebe
[debug] Command-line config: ['-f', '1+3', '-vU', 'https://www.brighteon.com/90b78697-72f1-4468-9972-e3a654bccebe']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[088add956] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19044-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg N-111242-g1bcb8a7338-20230622 (setts), ffprobe N-111242-g1bcb8a7338-20230622
[debug] Optional libraries: Cryptodome-3.19.0, brotli-1.1.0, certifi-2023.07.22, mutagen-1.47.0, sqlite3-3.35.5, websockets-11.0.3
[debug] Proxy map: {}
[debug] Loaded 1886 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>Current Build Hash: 125465ac4416bcd4bf1632b899630ceecc08b341e83fdf10bd34700c58ea5152
yt-dlp is up to date<EMAIL_ADDRESS>[generic] Extracting URL: https://www.brighteon.com/90b78697-72f1-4468-9972-e3a654bccebe
[generic] 90b78697-72f1-4468-9972-e3a654bccebe: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] 90b78697-72f1-4468-9972-e3a654bccebe: Extracting information
[debug] Looking for embeds
[html5] 90b78697-72f1-4468-9972-e3a654bccebe: Downloading m3u8 information
[html5] 90b78697-72f1-4468-9972-e3a654bccebe: Downloading MPD manifest
[debug] Identified 2 html5 embeds
[download] Downloading playlist: Why Fruits & Vegetables Have Lost Their Vitamins - Documentary - HaloRockDocs
[generic] Playlist Why Fruits & Vegetables Have Lost Their Vitamins - Documentary - HaloRockDocs: Downloading 2 items of 2
[download] Downloading item 1 of 2
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[info] 90b78697-72f1-4468-9972-e3a654bccebe-1: Downloading 1 format(s): 1+3
[debug] Invoking http downloader on "https://video.brighteon.com/file/BTBucket-Prod/dash/1bbf9e3a-409f-46ae-b107-a35e07b31e72_540.mp4"
[debug] File locking is not supported. Proceeding without locking
[download] Destination: Why Fruits & Vegetables Have Lost Their Vitamins - Documentary - HaloRockDocs (1) [90b78697-72f1-4468-9972-e3a654bccebe-1].f1.mp4
[download] 100% of  222.58MiB in 00:00:17 at 12.59MiB/s
[debug] Invoking http downloader on "https://video.brighteon.com/file/BTBucket-Prod/dash/1bbf9e3a-409f-46ae-b107-a35e07b31e72_audio.mp4"
[download] Destination: Why Fruits & Vegetables Have Lost Their Vitamins - Documentary - HaloRockDocs (1) [90b78697-72f1-4468-9972-e3a654bccebe-1].f3.m4a
[download] 100% of   35.34MiB in 00:00:02 at 17.29MiB/s
[Merger] Merging formats into "Why Fruits & Vegetables Have Lost Their Vitamins - Documentary - HaloRockDocs (1) [90b78697-72f1-4468-9972-e3a654bccebe-1].mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Why Fruits & Vegetables Have Lost Their Vitamins - Documentary - HaloRockDocs (1) [90b78697-72f1-4468-9972-e3a654bccebe-1].f1.mp4" -i "file:Why Fruits & Vegetables Have Lost Their Vitamins - Documentary - HaloRockDocs (1) [90b78697-72f1-4468-9972-e3a654bccebe-1].f3.m4a" -c copy -map "0:v:0" -map "1:a:0" -movflags "+faststart" "file:Why Fruits & Vegetables Have Lost Their Vitamins - Documentary - HaloRockDocs (1) [90b78697-72f1-4468-9972-e3a654bccebe-1].temp.mp4"
Deleting original file Why Fruits & Vegetables Have Lost Their Vitamins - Documentary - HaloRockDocs (1) [90b78697-72f1-4468-9972-e3a654bccebe-1].f1.mp4 (pass -k to keep)
Deleting original file Why Fruits & Vegetables Have Lost Their Vitamins - Documentary - HaloRockDocs (1) [90b78697-72f1-4468-9972-e3a654bccebe-1].f3.m4a (pass -k to keep)
[download] Downloading item 2 of 2
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
ERROR: [html5] 90b78697-72f1-4468-9972-e3a654bccebe-2: Requested format is not available. Use --list-formats for a list of available formats
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1567, in wrapper
  File "yt_dlp\YoutubeDL.py", line 2028, in __process_iterable_entry
  File "yt_dlp\YoutubeDL.py", line 1782, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 2883, in process_video_result
yt_dlp.utils.ExtractorError: [html5] 90b78697-72f1-4468-9972-e3a654bccebe-2: Requested format is not available. Use --list-formats for a list of available formats

[download] Finished downloading playlist: Why Fruits & Vegetables Have Lost Their Vitamins - Documentary - HaloRockDocs

--------------------------------------
--------------------------------------

D:\yt-dlp>yt-dlp.exe -f 1+0 -vU https://www.brighteon.com/90b78697-72f1-4468-9972-e3a654bccebe
[debug] Command-line config: ['-f', '1+0', '-vU', 'https://www.brighteon.com/90b78697-72f1-4468-9972-e3a654bccebe']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[088add956] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19044-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg N-111242-g1bcb8a7338-20230622 (setts), ffprobe N-111242-g1bcb8a7338-20230622
[debug] Optional libraries: Cryptodome-3.19.0, brotli-1.1.0, certifi-2023.07.22, mutagen-1.47.0, sqlite3-3.35.5, websockets-11.0.3
[debug] Proxy map: {}
[debug] Loaded 1886 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>Current Build Hash: 125465ac4416bcd4bf1632b899630ceecc08b341e83fdf10bd34700c58ea5152
yt-dlp is up to date<EMAIL_ADDRESS>[generic] Extracting URL: https://www.brighteon.com/90b78697-72f1-4468-9972-e3a654bccebe
[generic] 90b78697-72f1-4468-9972-e3a654bccebe: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] 90b78697-72f1-4468-9972-e3a654bccebe: Extracting information
[debug] Looking for embeds
[html5] 90b78697-72f1-4468-9972-e3a654bccebe: Downloading m3u8 information
[html5] 90b78697-72f1-4468-9972-e3a654bccebe: Downloading MPD manifest
[debug] Identified 2 html5 embeds
[download] Downloading playlist: Why Fruits & Vegetables Have Lost Their Vitamins - Documentary - HaloRockDocs
[generic] Playlist Why Fruits & Vegetables Have Lost Their Vitamins - Documentary - HaloRockDocs: Downloading 2 items of 2
[download] Downloading item 1 of 2
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
ERROR: [html5] 90b78697-72f1-4468-9972-e3a654bccebe-1: Requested format is not available. Use --list-formats for a list of available formats
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1567, in wrapper
  File "yt_dlp\YoutubeDL.py", line 2028, in __process_iterable_entry
  File "yt_dlp\YoutubeDL.py", line 1782, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 2883, in process_video_result
yt_dlp.utils.ExtractorError: [html5] 90b78697-72f1-4468-9972-e3a654bccebe-1: Requested format is not available. Use --list-formats for a list of available formats

[download] Downloading item 2 of 2
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
ERROR: [html5] 90b78697-72f1-4468-9972-e3a654bccebe-2: Requested format is not available. Use --list-formats for a list of available formats
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1567, in wrapper
  File "yt_dlp\YoutubeDL.py", line 2028, in __process_iterable_entry
  File "yt_dlp\YoutubeDL.py", line 1782, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 2883, in process_video_result
yt_dlp.utils.ExtractorError: [html5] 90b78697-72f1-4468-9972-e3a654bccebe-2: Requested format is not available. Use --list-formats for a list of available formats

[download] Finished downloading playlist: Why Fruits & Vegetables Have Lost Their Vitamins - Documentary - HaloRockDocs

--------------------------------------
--------------------------------------

D:\yt-dlp>yt-dlp.exe -f 1+0 -vU https://www.brighteon.com/channels/HFamily
[debug] Command-line config: ['-f', '1+0', '-vU', 'https://www.brighteon.com/channels/HFamily']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[088add956] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19044-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg N-111242-g1bcb8a7338-20230622 (setts), ffprobe N-111242-g1bcb8a7338-20230622
[debug] Optional libraries: Cryptodome-3.19.0, brotli-1.1.0, certifi-2023.07.22, mutagen-1.47.0, sqlite3-3.35.5, websockets-11.0.3
[debug] Proxy map: {}
[debug] Loaded 1886 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>Current Build Hash: 125465ac4416bcd4bf1632b899630ceecc08b341e83fdf10bd34700c58ea5152
yt-dlp is up to date<EMAIL_ADDRESS>[generic] Extracting URL: https://www.brighteon.com/channels/HFamily
[generic] HFamily: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] HFamily: Extracting information
[debug] Looking for embeds
ERROR: Unsupported URL: https://www.brighteon.com/channels/HFamily
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1567, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1702, in __extract_info
  File "yt_dlp\extractor\common.py", line 715, in extract
  File "yt_dlp\extractor\generic.py", line 2568, in _real_extract
yt_dlp.utils.UnsupportedError: Unsupported URL: https://www.brighteon.com/channels/HFamily

referring to (3): The brighteon plugin might be an option and it's still supported for the current version of yt-dlp.


autocomplete using type inference rarely works

Suppose I have a field declared like this:
final elt = new TextAreaElement();

In the same file, if I type elt. followed by control-space to trigger autocompletion, I only get autocompletes for Object.
However, if I type "elt.", then select Packages->Dart->Re-analyze Sources, then type control-space, then I will see the autocompletes for TextAreaElement.
In particular, deleting the "." and retyping it will cause autocompletes to be lost. Typing characters elsewhere in the file seems not to affect it. Only edits to the same (incomplete) Dart statement seem to cause autocompletes to be lost. But this is the most common case, and therefore autocomplete rarely works.
A workaround is to declare the type:
final TextAreaElement elt = new TextAreaElement();

Then autocomplete always works. But we'd like to discourage people from using this Java-like style, so it would be better if autocomplete worked without the type declaration.
This is using 0.4.8 of the plugin and Dart SDK 12.0.

@danrubel, potentially a caching issue in code completion?


Add a LICENSE file

Hello, it would be best to add a file with the license in the repository

Hi, i don't know what you exactly mean, but there is a License File

sorry wrong thread


added prometheus rules to the helm chart

ContainerEphemeralStorageUsageAtLimit
ContainerEphemeralStorageUsageReachingLimit
EphemeralStorageVolumeFilledUp
EphemeralStorageVolumeFillingUp

That's what we have/use at the moment. If you wish, I could make the individual alerts toggle-able.
There is a potential for additional NodeOutOfEphemeralStorage and NodeRunningOutOfEphemeralStorage or similar, but since we don't have them yet, I'd leave them for a possible follow-up.
Please take a look.

Also, to further avoid spam, the following inhibit rules could be recommended (viz kubectl explain alertmanagerconfigs.monitoring.coreos.com.spec.inhibitRules):
        - source_matchers:
            - alertname="EphemeralStorageVolumeFilledUp"
          target_matchers:
            - severity="warning"
            - alertname="EphemeralStorageVolumeFillingUp"
          equal:
            - pod_namespace
            - pod_name
            - volume_name
        - source_matchers:
            - alertname="ContainerEphemeralStorageUsageAtLimit"
          target_matchers:
            - severity="warning"
            - alertname="ContainerEphemeralStorageUsageReachingLimit"
          equal:
            - pod_namespace
            - pod_name
            - exported_container

I'll try to squeeze it into the README

Just release 1.11.1 with your change

Awesome, thank you for swift review and new release!


Add global navigation reset method

Changes
Add reset method to increment the position reset counter
Only incrementing the lat_lon reset counter since it seems to be the only counter processed in the AuxGlobalPosition module in PX4: https://github.com/Auterion/PX4_firmware_private/blob/eaa169d211a19ecbd37a454846eb117e40ec204d/src/modules/ekf2/EKF/aid_sources/aux_global_position/aux_global_position.cpp#L59
Testing
Only unit-testing

There's some CI failures: https://github.com/Auterion/px4-ros2-interface-lib/actions/runs/11135419376/job/30945399106?pr=59


DBZ-8441 Make AbstractConnectorTest#createEngine method abstract

With this change, all EmbeddedEngine stuff which is used in the tests should be localted only in EmbeddedEngineTest and TestingEmbeddedEngine classes, i.e. used only for running tests for EmbeddedEngine itself.
https://issues.redhat.com/browse/DBZ-8441

@vjuranek Applied, thanks


Method versions for gtoolkit

In pharo we use to have method versions from the image, it would be nice to have that feature to recover and compare code

Gtoolkit already has this feature


1632 reorganize access control

Pull Request Checklist:

[x] Positive Test Case Written by Dev

[x] Automated Testing

[x] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Reorganize access control for easier pull requests.
@cuahsimarko @martinseul @pkdash @sblack-usu @zhiyuli @dtarb
This pull request does not change anything in the code, but makes the next pull request easier to understand and review by breaking up the file hs_access_control/models.py into

models/privilege.py: declare and modify privilege.
models/provenance.py:  record provenance and history of privileges
models/user.py: UserAccess and user methods.
models/group.py: GroupAccess and group methods.
models/resource.py: ResourceAccess and resource methods.
models/utils.py: utility classes.

This selection of files will make the next pull request (communities of groups) easier to review, by making it rather obvious what the changes are. In its current state, the next pull request is nearly unreadable because git diff gets confused; this file breakdown makes the changes easily readable.
Careful crafting of hs_access_control/models/__init__.py makes it unnecessary to make any source code changes as a result of this reorganization, by simulating the original `hs_access_control/models.py``.
Positive Test Case

No changes. Tests pass as before

retest this, please

@alvacouch yeah looks like Jenkins is down again, Phu will be in the hospital, maybe reach out to our support line (I think we have a third-party support contract somewhere, or maybe RENCI?)

http://ci.hydroshare.org:8080/ just spins for me, since I started here, I noticed CI/CD crashes a lot, RENCI used to talk about JVM heap in Slack and rebooting as a workaround.

retest this, please

retest this, please

retest this, please

retest this, please

retest this, please

retest this, please

retest this, please

retest this, please

retest this, please


Batch update dependencies

What should this PR do?
Resolves DEVED-232 by updating dependencies.
Why are we making this change?

Need to keep repo up-to-date.

What are the acceptance criteria?

Everything should work as it does in production.

How should this PR be tested?

Check out the branch, remove your node_modules, and install dependencies with npm ci.
Check that everything looks like it does in production.

Pull request process
Reviewers:

Test functionality using the criteria above.
Offer tips for efficiency, feedback on best practices, and possible alternative approaches and things that may not have been considered.
For shorter, "quick" PRs, use your best judgement on #2.
Use a collaborative approach and provide resources and/or context where appropriate.
Provide screenshots/grabs where appropriate to show findings during review.

Reviewees:

Prefer incremental and appropriately-scoped changes.
Leave a comment on things you want explicit feedback on.
Respond clearly to comments and questions.

Yup! And the Node upgrade — all tracked currently in Jira


pinta: 1.4 -> 1.6

There three distinct changes:

Updated pinta to version 1.6. Note, that package now uses buildDotnetPackage instead of plain mkDerivation.
CC maintainer: @viric

In order to do 1., I needed:
2. Add dotnet package Mono.Addins (init at 1.2)
3. Add makeWrapperArgs argument to buildDotnetPackage (we have the same thing in buildPythonPackage and I think it should be often useful)
CC maintainer: @obadz
I stripped  Version, Culture and PublicKeyToken attributes from <Reference Include="..." />  in Pinta's .csproj files, so that xbuild could find those libraries. I don't know if that was a correct way to resolve that issue but something very similar happens in this monodevelop patch: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/dotnet-modules/patches/monodevelop-fsharpbinding.references.patch
I tested it locally just in case for both system="i686-linux" and system="x86_64-linux".

@demin-dmitriy, the dotnet change looks fine to me.


Using extension on environment where quarto is not on PATH

Currently the extension is calling quarto from LUA and assumes it will be on PATH
https://github.com/quarto-ext/shinylive/blob/213a995285e5f8c46293532f6cd9ac3e0d050b7a/_extensions/quarto-ext/shinylive/shinylive.lua#L416-L421
This may not be true (e.g in Posit Connect environment cc @aronatkins @colearendt).
For solving issue this could be done to point to the quarto binary
pandoc.path.join({os.getenv('QUARTO_BIN_PATH'), 'quarto'})

though it needs to be adapted for Windows (which requires .exe or .cmd depending if released or dev version.
We may need to add a help in our Quarto LUA API to get easily the PATH to quarto binary used from the lua filter in an extension cc @cscheid

Once this is available

https://github.com/quarto-dev/quarto-cli/issues/9572

but then it will mean that new version of shinylive will require quarto 1.5 unless we decide to backport #9572 in 1.4. But usually we backport only regression


Test for #1497 xml-io should pass namespace info to NamespaceAware

Closes #1497

SmallRye Reactive Messaging failure is unrelated.


Harlequin freezes in context menu

Before Proceeding, please acknowledge:

[x] I have consulted the Troubleshooting guide.
[x] I have searched Issues and Discussions in this repo.
[x] Feature requests should be initiated as Discussions. This is a bug report.

Describe the bug
Harlequin uses 100% CPU resources of one CPU core and becomes unresponsive when using an item from the context menu to explore an SQLite database.
To Reproduce

Create a copy of any SQLite DB to experiment with. (I've done this with Firefox's bounce-tracking-protection.sqlite and an SQLite DB that is created and used by one of our internal applications at work.)
Open the BD in Harlequin using harlequin -a sqlite dbname.sqlite.
Using the left pane , navidate to any table of that DB and press . to open the context menu.
Pick an item from the context menu (I was interested in "Preview Data" and "Describe", the behaviour was the same.)
Run the chosen item and watch Harlequin freeze and eat up 100% of a CPU core. I had to send it a SIGTERM to exit Harlequin.

Expected behavior
Do not freeze. :)
Actual behavior
Does freeze. :)
Contributing
Are you interested in contributing a fix?

[ ] Yes
[ ] Maybe
[x] No, I unfortunately don't speak Python -.-

Additional context
Please provide as much as you can, but don't waste your time if it's definitely not relevant or you don't know.
What is the output of harlequin --version?
harlequin, version 1.25.0
Installed Adapters:
  - duckdb, version 1.25.0
  - sqlite, version 1.25.0

What database adapter are you using with Harlequin? (Default is duckdb)
SQLite only
What other options are you using when invoking Harlequin? (If you are using a profile, please add relevant items from your profile here).
None.
Can you tell us more about your system?
I've tried this on two separate systems to verify that this is not an issue with PuTTY or the SSH session.
System 1:

Shell: bash 5.2.15(1)
Terminal: SSH connection using mRemote <IP_ADDRESS>15 with PuTTY 0.81
OS of the shell: Debian 12 Bookworm, latest patches installed
OS of the terminal (if different from the shell): Windows 10 Edu 22H2
Default locale / language for your OS/Terminal/Shell: en_US.UTF-8

System 2:

Shell: bash 5.1.16(1)
Terminal: Gnome-Terminal 3.44.0 for Gnome 42
OS of the shell: Linux Mint 21.3
Default locale / language for your OS/Terminal/Shell: de_DE.UTF-8

[!TIP]
For example, for my system, these are:

Bash
Windows Terminal
Ubuntu 22.04 / WSL2
Windows 11
en_US/UTF-8

How did you install Harlequin?

[x] pipx (on System 2)
[ ] conda/mamba
[ ] pip (global install)
[x] pip + venv/virtualenv or pipenv (on System 1)
[ ] Poetry
[ ] uv/Rye
[ ] other: _____________

Thanks for the report; something seems wrong with message handling -- I wonder if this could be related to #659


Argument '--depth ' cannot be used multiple times

I often set what I consider to be sane defaults in my aliases.
E.g., alias lt="lsd --tree --depth 2"
So that when I run I run a command, lt for example, I will more often than not get the output that I want.
When I want to override my defaults, such as depth, I will just append them to my aliased command, # lt --depth 5.
Expected behavior
My expectation is that the most recent argument overrides the oldest.
In this case: lsd --tree --depth 2 --depth 5, I would expect a tree of depth 5, not 2, to be produced.
Actual behavior
An argument parsing error:
error: The argument '--depth <num>' was provided more than once, but cannot be used multiple times

USAGE:
    lsd --blocks <blocks>... --color <color>... --date <date>... --depth <num> --group-dirs <group-dirs>... --icon <icon>... --icon-theme <icon-theme>... --classify --long --size <size>... --tree

For more information try --help

Hi @nathanph, thanks for the report.
This seems to be a fair request. Some of the flags seems to already have this feature. I guess we will have to align all the other flags on it.


Feature/masking

Hi @bustikiller, I re-implemented your feature requests slightly differently - would you mind taking a look and let me know a) what you think and b) if this works for your use case?
Thanks!


[Storage] Temp fix to allow idempotent storage account creates

ICM ticket: https://icm.ad.msft.net/imp/v3/incidents/details/83117490/home
Once a proper new sdk is released, I will undo this fix.

One an issue to track the real problem.


Polestar API

Describe the bug
Hello, I am trying to connect my Polestar 2 to evcc.
After entering email as ID and password I get:
cannot create vehicle type 'template': cannot create vehicle type 'polestar': cannot find vehicle, got: []
when entering wrong password I get:
cannot create vehicle type 'template': cannot create vehicle type 'polestar': login failed: code not found
Vehicle is registered in Polestar account / app.
Any ideas?
Steps to reproduce

...
Configuration details
- name: Polestar
    type: template
    template: polestar
    title: Polestar # Wird in der Benutzeroberfläche angezeigt (optional)
    user<EMAIL_ADDRESS># Benutzerkonto (bspw. E-Mail Adresse, User Id, etc.)
    password: xxx
    capacity: 75

Log details
cannot create vehicle type 'template': cannot create vehicle type 'polestar': cannot find vehicle, got: []

What type of operating system are you running?
Linux
Version
evcc version 0.128.3

no issues with 0.128.4 on my side.
config:
    vehicles:
    - name: polestar
      type: template
      template: polestar
      title: Polestar 2
      user<EMAIL_ADDRESS>      password: 'xxx'
      cache: 20m

startup logs
[main  ] INFO 2024/07/26 06:52:12 evcc 0.128.4                                                                                │
│ [main  ] INFO 2024/07/26 06:52:12 using config file: /etc/evcc.yaml                                                                                │
│ [db    ] INFO 2024/07/26 06:52:12 using sqlite database: /root/.evcc/evcc.db                                                                                │
│ [main  ] INFO 2024/07/26 06:52:12 listening at :7070                                                                                │
│ [ocpp-1] DEBUG 2024/07/26 06:52:14 waiting for chargepoint: 5m0s                                                                                │
│ [ocpp  ] INFO 2024/07/26 06:52:15 charge point connected, registering: xyz                                                                                │
│ [lp-1  ] DEBUG 2024/07/26 06:52:23 charge total import: 201.070kWh                                                                                │
│ [site  ] INFO 2024/07/26 06:52:23 site config:                                                                                │
│ [site  ] INFO 2024/07/26 06:52:23   meters:      grid ✓ pv ✓ battery ✓                                                                                │
│ [site  ] INFO 2024/07/26 06:52:23     grid:      power ✓ energy ✓ currents ✓                                                                                │
│ [site  ] INFO 2024/07/26 06:52:23     pv 1:      power ✓ energy ✗ currents ✗                                                                                │
│ [site  ] INFO 2024/07/26 06:52:23     pv 2:      power ✓ energy ✗ currents ✗                                                                                │
│ [site  ] INFO 2024/07/26 06:52:23     battery 1: power ✓ energy ✗ currents ✗ soc ✓ capacity ✗                                                                                │
│ [site  ] INFO 2024/07/26 06:52:23   vehicles:                                                                                │
│ [site  ] INFO 2024/07/26 06:52:23     vehicle 1: range ✓ finish ✓ status ✓ climate ✗ wakeup ✗                                                                                │
│ [lp-1  ] INFO 2024/07/26 06:52:23 loadpoint 1:                                                                                │
│ [lp-1  ] INFO 2024/07/26 06:52:23   mode:        minpv                                                                                │
│ [lp-1  ] INFO 2024/07/26 06:52:23   charger:     power ✓ energy ✓ currents ✗ phases ✗ wakeup ✗                                                                                │
│ [lp-1  ] INFO 2024/07/26 06:52:23   meters:      charge ✓                                                                                │
│ [lp-1  ] INFO 2024/07/26 06:52:23     charge:    power ✓ energy ✓ currents ✗                                                                                │
│ [site  ] DEBUG 2024/07/26 06:52:23 set buffer soc: 60                                                                                │
│ [site  ] DEBUG 2024/07/26 06:52:23 set buffer start soc: 75                                                                                │
│ [site  ] DEBUG 2024/07/26 06:52:23 set priority soc: 30                                                                                │
│ [site  ] DEBUG 2024/07/26 06:52:23 set battery discharge control: false                                                                                │
│ [lp-1  ] DEBUG 2024/07/26 06:52:23 !! active phases: 3p = min(0p measured 0p vehicle 3p physical 0p charger)                                                                                │
│ [lp-1  ] DEBUG 2024/07/26 06:52:23 phase timer inactive                                                                                │
│ [lp-1  ] DEBUG 2024/07/26 06:52:23 pv timer inactive                                                                                │
│ [lp-1  ] INFO 2024/07/26 06:52:23 vehicle updated: unknown -> Polestar 2``

did you checked your yaml config?
on top of that check if you are able to login into https://polestarid.eu.polestar.com/PolestarLogin/login
Seems for some accounts, you need to request the api permissions over support.

Solved: If you buy a Polestar pre-owned you need to register new ownership with Polestar customer service.

Solved: If you buy a Polestar pre-owned you need to register new ownership with Polestar customer service.


TwitterApi.throttledQuery goroutine bugfix

as it stands, 'q' can change value before the goroutine is evaluated, resulting in the wrong entry being returned to the queue.
The sleep that follows probably makes it virtually impossible to occur, but should still be fixed.

Looks like you're right, even though it seems rather unlikely that it would run into this situation. Still a correct fix.

@ChimeraCoder: LGTM!


Python 3.4 Signals

Flask v0.10.1
Flask-User v0.6.1
The following signal does not trigger in python 3.4, but works in python 2.7:
from flask.ext.user.signals import user_logged_in

@user_logged_in.connect_via(app)
def track_login(sender, user, **extra):
    sender.logger.info('user logged in')

If I change the way the signal is imported, it works fine in python 3.4 AND python 2.7:
from flask.ext.user import signals

@signals.user_logged_in.connect_via(app)
def track_login(sender, user, **extra):
    sender.logger.info('user logged in')

I'm starting to wonder if this is an issue with Flask and how it imports extensions into flask.ext, very strange behavior nonetheless ... I'll continue to investigate.

Replicating the error: https://github.com/neurosnap/Flask-User/blob/signals/example_apps/signals_app.py

Available in v0.6.3.


Github-Issue-544:Replication auto pauses on follower cluster having w…

…ait_for_active_shards true:Fixed
Signed-off-by: Priyanka Sharma<EMAIL_ADDRESS>Description
The leader index setting "wait_for_active_shards" is not copied/applied on the follower cluster. The default value of said setting is assumed at the follower cluster unless specified or changed specifically for the follower cluster.
Following is the expected behaviour in the identified scenarios relating to the "wait_for_active_shards" index setting,

If the wait_for_active_shards setting is set to “all” during index creation, the index replication will succeed but the said setting will not be copied to the follower cluster(Verify through the “_settings” API). If one of the follower node goes down, the replication should still continue.

If the wait_for_active_shards setting is set to “all” during index creation, and is later changed dynamically to any other valid value, on applying replication again, replication should not be affected and the setting value should also not change on the follower-cluster.

If the wait_for_active_shards setting is set to “default/any valid value”, and later changed to “all”, then the setting change should be ignored at the follower-cluster. No change in replication or the said setting's value.
NOTE- In all the above cases, the setting “wait_for_active_shards” value should be “default” on the follower-cluster.

If the follower index setting "wait_for_active_shards" is set to valid value in “start-replication” API, then that should be applied to the follower cluster.

If the follower index setting "wait_for_active_shards" is set to valid value in “update-settings” API for the follower cluster, then that should be applied on the follower cluster.

Issues Resolved
https://github.com/opensearch-project/cross-cluster-replication/issues/544
Check List

[Yes ] New functionality includes testing.

[Yes] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #624 (2384c38) into main (f3fee90) will increase coverage by 1.98%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##               main     #624      +/-   ##
============================================
+ Coverage     70.76%   72.74%   +1.98%
- Complexity      966      982      +16
============================================
  Files           141      141
  Lines          4600     4601       +1
  Branches        507      507
============================================
+ Hits           3255     3347      +92
+ Misses         1013      934      -79
+ Partials        332      320      -12

Impacted Files
Coverage Δ

...rch/replication/task/index/IndexReplicationTask.kt
67.73% <100.00%> (+0.30%)
:arrow_up:

...ication/action/stats/TransportLeaderStatsAction.kt
85.18% <0.00%> (-3.71%)
:arrow_down:

...rch/replication/task/shard/ShardReplicationTask.kt
75.91% <0.00%> (+2.18%)
:arrow_up:

...ication/action/status/ReplicationStatusResponse.kt
50.90% <0.00%> (+3.63%)
:arrow_up:

...lication/action/status/TranportShardsInfoAction.kt
96.66% <0.00%> (+16.66%)
:arrow_up:

.../action/status/TransportReplicationStatusAction.kt
96.73% <0.00%> (+17.39%)
:arrow_up:

...arch/replication/metadata/UpdateMetadataRequest.kt
100.00% <0.00%> (+22.72%)
:arrow_up:

...cation/action/changes/TransportGetChangesAction.kt
88.88% <0.00%> (+25.39%)
:arrow_up:

...rch/replication/action/status/ShardInfoResponse.kt
72.26% <0.00%> (+36.97%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Connexion 3 alpha release is out now! 🎉

Discussed in https://github.com/spec-first/connexion/discussions/1660

Originally posted by RobbeSneyders March  3, 2023
We've been working on Connexion 3 for about a year now, and we're happy to finally be able to release a first alpha release. The goal of the alpha release is to provide users the ability to test the new version and provide feedback while we further polish the codebase and update the documentation.
🛠 Connexion 3 brings some major changes:

Connexion can now be used as middleware to supercharge any ASGI or WSGI compatible framework.
Aiohttp support has been dropped in favor of an ASGI compatible AsyncApp based on Starlette which is almost a drop-in replacement for the FlaskApp.
Connexion functionality is now pluggable by adding or removing middleware.
Validation is now pluggable by content type, solving longstanding issues regarding endpoints with multiple content types and providing the ability to plug in your own validation logic.

But these are only the highlights. There's a whole list of changes, fixes, and improvements, which you can read about in the changelog.
📃 Documentation
We still need to update the documentation for Connexion 3, but in the meantime, we've created a single page which provides high level documentation to get started with the new version here.
📣 Feedback
We would really love to hear from you. By trying Connexion 3 now and providing feedback, you get the opportunity to make sure that updating your application will be as painless as possible, while helping to create a more stable GA release.

For questions, comments, and feedback, please use this thread
For issues specific to the alpha version, please create a new issue and mark it with the Connexion 3 milestone
For missing documentation, please comment on https://github.com/spec-first/connexion/issues/1531

Locking this. Please discuss in https://github.com/spec-first/connexion/discussions/1660.


Entering “Tab” is always moving focus instead of  inserting a tab in code.

VSCode Version: 1.27.1
OS Version: windows7

Steps to Reproduce:
1.C-M or not，entering  ‘tab’ is always moving the focus。
2.

Does this issue occur when all extensions are disabled?: Yes

@Lynn-cc I cannot reproduce. When I open for example an untitled file and press Tab I get the \t character or 4 spaces (depending on my settings) inserted in the editor.

@alexandrudima How could I show you this problem ? It do happens anytime, Even I closed all the project and restarted the VSCode and opened a new file. Make a video?

@Lynn-cc Does this reproduce if you disable all extensions? What is shown in the keybindings editor (ctrl+k ctrl+s) if you search for Tab:

yes
show these lines

@Lynn-cc By using Control-M it is possible to toggle the behaviour of Tab. Does your status bar show "Tab Moves Focus"?

Alternatively, you can execute F1 > Toggle Tab Key Moves Focus
This toggles the Tab key between trapping focus (inserting the \t character or spaces) and moving focus.

Hey @alexandrudima
I'm experiencing this issue as well. I'm running version 1.28.0.
Unfortunately, I'm not able to reliably replicate it but sometimes when I hit tab when my cursor is at the start of a new line, it removes focus from the main editor window.
When I'm having the issue, toggling tab mode with Control-M does not change the behaviour and both modes seem to remove focus.
If I'm able to reliably reproduce it, I'll add a comment with the steps I took.
Thanks

@alexandrudima I do see the label at the status bar, but nothing changed. The 'tab' key always moves the focus whenever the label shows or not.

@Lynn-cc "Tab Moves Focus" is a mode that is entered manually. i.e. when VS Code starts up, it is not in this mode. This mode is entered through the action "Toggle Tab Key Moves Focus" which is bound out-of-the-box to Ctrl+M.
To leave this mode, it is possible to run the same action again, i.e. "Toggle Tab Key Moves Focus" or Ctrl+M again. It is also possible to click on the green indication from the status bar to leave this mode.
If you enter this mode accidentally and you don't find it useful, perhaps you are pressing Ctrl+M by accident. It is possible to remove this keybinding from the Keybindings Editor (Ctrl+K Ctrl+S) > Search for the action > Right click > Remove Keybinding. This should hopefully make it that you never end up in this mode by accident.

@alexandrudima I think a gif I made could explain everything:
record
I just want to add 'tab' in my files for better coding experience, but VSCode can't do it now.


Post Tweet with Media and Geo Tag

Hello,
I would like to be able to post a tweet with an image and that is geo-tagged.
twurl -X POST "/1.1/statuses/update_with_media.json" --file pic.png -file-field "media[]" -d "status=Hello" geocode=39.45,-95.16
Thanks.

There is nothing that prevents using twurl with the statuses/update_with_media as it is today. A couple of notes:

The statuses/update_with_media is deprecated. You should be using statuses/update and the media/upload endpoint.
Geo-tagging a Tweet works on both endpoints (update_with_media and update), but you need to pass the lat and long into the lat/long params, not a "geo" param. You also need to pass it in a -d option.
Geo-tagging must be enabled on the Twitter handle in order for geo-tagging to be allowed. See statuses/update

Post questions on using those endpoints at https://twittercommunity.com/c/rest-api

Closing for age / inability to repro - please open a new issue if this still occurs with 0.9.3


Can we use multiple GPUs with this code ?

I have two 1080ti GTX GPUs. I am interested in the model 3(lrcn). So is there a way we can do distributed training with the Keras wrapper . Training two batches in 2 GPUs and update the weights as we do in normal TF.  I am very new to Keras. This will be really nice . Also I found this documentation in Keras about multi GPUs but it doesn't give much .
Multi GPU keras

I haven't done this myself. This thread looks like a fun read, though: https://github.com/fchollet/keras/issues/2436 :)
Closing this issue for now. If you figure out how to apply it, would be awesome if you could share your implementation!


update the task status state of agent to other nodes

When the task status of the agent > the task status of the leader, update the task status state of agent to other nodes.
Signed-off-by: ZhiPeng Lu<EMAIL_ADDRESS>

This change doesn't look right. Again, I think it would be best if you file an issue before sending out PRs.


[QUESTION] Custom exception

Prerequisites
Versions

PHP version: 7.2
Laravel version: 5.7
Package version: 3.1

Description
How I can throw custom exceptions to get it in the controller with the row line number included?
Inside in ToModel function I search the id of some models, if I can't find the id I need throw a custom exception with a custom message and tell to user what row is the problem.
its possible?
Additional Information
my model function
public function model($row){
        $Comuna = Comuna::where('nombre', $row['comuna'])->first();
        if(!$Comuna){
            throw new Throw('La comuna no existe, row: xxx');
        }
        if(!isset($row['n'])) return null;
        $dias = explode(', ', $row['dias']);
        $Curso = Curso::firstOrNew(['id' => $row['id'] ?? null, 'borrador_id' => null, 'institucion_id' => auth()->user()->institucion_id]);
        $Curso->nombre = $row['nombre'];
        $Curso->institucion_id = auth()->user()->institucion_id;
        $Curso->comuna_id = $Comuna->id;
        return $Curso;
    }

@patrickbrouwers Can we just use the unique rule like with any laravel project? Doesn't seem to be working..
    public function rules(): array
    {
        return [
            '*.0' => 'required|unique:ingredients',
        ];
    }

Depends, if you are using batch inserts, it might not have been inserted in the db yet, so duplicate might not be noticed yet

I'm not using batch inserts, what I can't find in the docs is

do we need the number of the row? or the field in front of the rule?

Both work. Name gets aliased to *.name by us

Name only works if you are using heading row. Numeric only works if no heading row concern is used

Does this work in model mode? It doesn't seem to be working for me (using  the ToModel) method.

I get the following error when using unique, does this ring a bell?
 "SQLSTATE[42S22]: Column not found: 1054 Unknown column '5.0' in 'where clause' (SQL: select count(*) as aggregate from `ingredients` where `5`.`0` = V74UG)",


ELMo word embeddings

Have you thought of adding ELMo word embeddings to the selection? It outperforms both GloVe and Word2Vec embeddings.
Link to ELMo: https://github.com/allenai/allennlp/blob/master/tutorials/how_to/elmo.md
Implementation with Keras: https://towardsdatascience.com/elmo-embeddings-in-keras-with-tensorflow-hub-7eb6f0145440

Hi,
never thought about it. It would be good to add it. I'll try to do it as I get some time.
Thank you for the recommendation.
P.S. Feel free to implement it and open a PR with it ;)


Attach video ID/URL to error messages

Checklist

[x ] I'm reporting a feature request
[x ] I've verified that I'm running youtube-dl version 2020.09.20
[x ] I've searched the bugtracker for similar feature requests including closed ones

Description

Tartube is a GUI for youtube-dl. It uses the --dump-json option to collect a list of videos, without downloading the videos themselves.
Many videos produce errors. For example, at the time of writing, this video has not gone live, so YouTube generates an error:
youtube-dl --dump-json https://www.youtube.com/watch?v=UjMTHJnwUYc
ERROR: This live event will begin in 4 days.

youtube-dl does not tell us which video has produced the error. It does not tell us the video ID anywhere in the log.
(In this example above, we gave youtube-dl the URL of the video, but the same problem applies if we give youtube-dl the URL of a channel or playlist.)
My feature request is this: every error should contain the ID of the video that produced it.

@dstftw, are you sure this is a duplicate? This was a request for URLs, not video IDs.


Consolidate tests

Move the tests, test, and test_fit (???) files over to an appropriate location.

https://github.com/lincc-frameworks/lephare-dev/pull/22 first stab at it by @jeremykubica


Document ec2 and azure contextualization

Author Name: Jaime Melis (@jmelis)
Original Redmine Issue: 4840, https://dev.opennebula.org/issues/4840
Original Date: 2016-10-03

EC2 packages are not linked in the documetation. In the EC2 guide it links to the KVM packages:
http://docs.opennebula.org/5.0/advanced_components/cloud_bursting/ec2g.html#context-support
It would be a good idea to add two new guides to the contextualization guide, similar to KVM and vCenter, with information about EC2 context packages, and the Azure contextualization method (no package, just a boot script).

EC2/Azure cloudbursting deprecated.


Bump to version <IP_ADDRESS>

Signed-off-by: Tyler Ohlsen<EMAIL_ADDRESS>Description
Bump to version <IP_ADDRESS> by removing the rc1 version qualifier from the plugin & necessary dependencies.
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Build is failing due to common-utils and job-scheduler dependencies still on version <IP_ADDRESS>-rc1. Blocked until these are updated to <IP_ADDRESS>.

Now failing due to the 1.0.0 OpenSearch artifact not available yet.
Could not HEAD 'https://artifacts.opensearch.org/releases/core/opensearch/1.0.0/opensearch-1.0.0-linux-x64.tar.gz'. Received status code 403 from server: Forbidden

Closing in favor of #110


Binary Search Tree (BST)

@Racso-3141 I would like to work on and implement this data structure, please assign me this issue


Specification not easy to discover on openapis.org

When I search for "openapi specification" I will get https://www.openapis.org/ as first result, I go to the website and there is no obvious link to the specification. There is a Specification button, but it's only a menu. I am expecting a direct link to https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md or better yet a smarter presentation than an md file such as https://swagger.io/specification/

Duplicate of https://github.com/OAI/OpenAPI-Specification/issues/1641


Oryx 2.1.2: "org.apache.hadoop.fs.FSDataInputStream" not found on CDH 5.5.1 Cluster

After reading release and bug-fixed notes, I think 2.1.2 is pretty good version, think for @srowen's contribution for this.
Since I have to remain a CDH 5.4.x cluster with Oryx 2.0.x running on it, I deploy a new cluster for 2.1.x branch.Unfortunately, this try seemed to be more difficult than I imagined. Some dependency library has changed on CDH 5.5.1 while compute-classpath.sh and oryx-run.sh on 2.1.2 are a few different from those on 2.0.x.
Everything was still OK until I started to run Oryx with old als.conf for 2.0.0. Exceptions were thrown by batch and speed :
Batch
spark-submit --master yarn-client --name OryxBatchLayer-ALSTest --class com.cloudera.oryx.batch.Main      --jars /opt/cloudera/parcels/CDH/jars/spark-examples-1.5.0-cdh5.5.1-hadoop2.6.0-cdh5.5.1.jar --files test.conf --driver-memory 512m      --driver-java-options "-Dconfig.file=test.conf" --executor-memory 1g --executor-cores 1      --conf spark.executor.extraJavaOptions="-Dconfig.file=test.conf" --conf spark.ui.port=20000 --conf spark.io.compression.codec=lzf --conf spark.logConf=true --conf spark.serializer=org.apache.spark.serializer.KryoSerializer --conf spark.speculation=true --conf spark.ui.showConsoleProgress=false --num-executors=3 oryx-batch-2.jar

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/fs/FSDataInputStream
	at org.apache.spark.deploy.SparkSubmitArguments.handle(SparkSubmitArguments.scala:394)
	at org.apache.spark.launcher.SparkSubmitOptionParser.parse(SparkSubmitOptionParser.java:163)
	at org.apache.spark.deploy.SparkSubmitArguments.<init>(SparkSubmitArguments.scala:97)
	at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:113)
	at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.fs.FSDataInputStream
	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
	... 5 more

Speed
spark-submit --master yarn-client --name OryxSpeedLayer-ALSTest --class com.cloudera.oryx.speed.Main      --jars /opt/cloudera/parcels/CDH/jars/spark-examples-1.5.0-cdh5.5.1-hadoop2.6.0-cdh5.5.1.jar --files test.conf --driver-memory 256m      --driver-java-options "-Dconfig.file=test.conf" --executor-memory 512m --executor-cores 1      --conf spark.executor.extraJavaOptions="-Dconfig.file=test.conf" --conf spark.ui.port=20001 --conf spark.io.compression.codec=lzf --conf spark.logConf=true --conf spark.serializer=org.apache.spark.serializer.KryoSerializer --conf spark.speculation=true --conf spark.ui.showConsoleProgress=false --num-executors=2 oryx-speed-2.jar

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/fs/FSDataInputStream
	at org.apache.spark.deploy.SparkSubmitArguments.handle(SparkSubmitArguments.scala:394)
	at org.apache.spark.launcher.SparkSubmitOptionParser.parse(SparkSubmitOptionParser.java:163)
	at org.apache.spark.deploy.SparkSubmitArguments.<init>(SparkSubmitArguments.scala:97)
	at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:113)
	at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.fs.FSDataInputStream
	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
	... 5 more

I guessed Oryx could find some hadoop's libs but I have no idea how to solve this problem.
I found something similar on stackoverflow, something wrong on my Spark's configurations?

Yes, I'm afraid that's not going to work. 2.1 requires CDH 5.5. I'm not clear whether you are saying you're using CDH 5.5 or 5.4, and whether you are using old scripts with the new version (you can't do that).
The classpaths are a little different. Really, the whole compute-classpath.sh mechanism is clunky. It avoids one problem (different builds) but causes another (fragile env-specific dependencies). But it still wouldn't mean you could use 2.1 with CDH 5.4 since it has Spark 1.3.
In 2.2.x, spark-submit gets used for Spark jobs so the classpath complexity goes away to a large extent.

I run Oryx 2.1.2 on CDH 5.5.1 with old configuration of ALS algorithm for Oryx 2.0.1.Does it master?

That much is fine. I notice from your snippet that you're not actually running the binaries from this project with the supplied script. That won't work either, in general, or at least you're on your own.

I just wrote a script to start three layers more simply, and it calls oryx-run.sh exactly from this project.
As for the binaries, I changed their names such changing "oryx-batch-2.1.2.jar" to "oryx-batch-2.jar"

Hm, how does it run them then? I don't see the relationship to the spark-submit you posted above.

What I posted above is the output of oryx batch  and oryx speed in start() method of my script:
Instance=`basename $PWD`
Conf="$Instance".conf
Pids="./pids"

oryx() {
    ./oryx-run.sh $1 --conf $Conf
    if [ $? -eq 0 ]; then
        echo "$1 layer started, done"
    else echo "Failed to start $1 layer"
    fi
    sleep 3
    ps -ef | grep $Instance | grep $1 | awk '{print $2}' >> $Pids
}

start() {
    ./oryx-run.sh kafka-setup --conf $Conf
    echo "Starting Oryx2 instance -- $Instance..."
    if [ -f $Pids ]; then
        pids=`cat $Pids`
        echo -e "Oryx running as:\n$pids"
    else
        oryx batch
        oryx speed
        oryx serving
    fi
}

...
...

case "$1" in
    start)
        start
        ;;
    stop)
        # SIGABRT
        stop -6
        ;;
    restart)
        # SIGABRT
        stop -6
        start
        ;;
    kill)
        # SIGKILL
        stop -9
        ;;
    *)
        echo "Usage: $0 <start | stop | restart | kill>"
        ;;
esac

I followed the link posted yesterday, and the exceptions gone.
Oryx on my node(with CM5.5.1 installed) could not find proper configurations, because there are none of services(Datanode, Node manager and so on.) running on it. I planed to make it as a "client" of spark jobs, which doesn't get involved in any computation at all.
So I created relevant services on this node but stopped them, and all things work now.Thanks for help!

Ah, that was my next question: do the libraries even exist on the machine? it assumes you're running inside the cluster, and needs to be an edge node at least.

Yep, this node is a part of CDH cluster. I installed CM 5.5 and deployed CDH 5.5.1 parcel on it. The point here is that if I just leave it with default configuration (without creating Datanode ,NodeManager and
Spark Gateway services on it), Oryx/spark-submit can't read proper configuratons of Spark, Hadoop and Yarn as other nodes do. Maybe "edge node" you refer to is what I want, and could you explain what's the meaning of "edge node"?

Yes it has to be at least a Spark gateway, to deploy the Spark libs and files. It has to be a machine you can spark-submit from. "Edge node" is just another word for "gateway"

Thanks a lot. Now I am pretty sure that I deploy this node as a "edge node", which satisfies my requirements perfectly.


Use @next/font to serve the Inter font

This seems to not work on prod, but you might need to clear your cache to see it break.

Might also just be me, it starts to break, as soon as I open the firefox dev tools on the beta page. Probably cause I have deactivated the caching in the network tab.


Add env var BLITZ_TELEMETRY_DISABLED

https://github.com/search?q=BLITZ_TELEMETRY_DISABLED&type=code

Added BLITZ_TELEMETRY_DISABLED as an alternative to NEXT_TELEMETRY_DISABLED.
https://github.com/blitz-js/blitz/pull/2664


Add script to migrate metadata for Prereg submissions

Purpose
Recent changes with the impl. of file uploaders in the Prereg registration schema require existing draft metadata to be supplemented.
Additionally, some questions that did not previously have uploaders now have them, and consequently saved data for those questions needs to be updated.

And __init__  file will need to be added to make the script runnable with
python -m scripts.prereg.migrate_metadata_for_uploaders

Please add logging and use scripts.utils.add_file_logger to log to a file in the correct place.

Ran on a current copy of prod with no errors.


Setting BLAS_ENABLE_CONST_INPUT=OFF has no effect in some places

The option BLAS_ENABLE_CONST_INPUT can be set to OFF, theoretically disabling kernel instantiation with const input buffers. However, this has no effect in some parts of the source. This is because the source C++ checks whether BLAS_ENABLE_CONST_INPUT is defined, not its value.

The CMake defines BLAS_ENABLE_CONST_INPUT here
BLAS_ENABLE_CONST_INPUT is #ifdef'd here

I have a fix for this and will submit a pull request soon.

Fixed in https://github.com/codeplaysoftware/sycl-blas/pull/333.


Lint script in package.json is ignored

OS?
OSX Sierra
Versions.
Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ember-cli.com/user-guide/#watchman for more info.
angular-cli: 1.0.0-beta.16
node: 6.8.1
os: darwin x64

Repro steps.
I've tried to change the way tslint runs when we run the command ng test in the scripts section of the file package.json but it seems to be ignored no matter what I change. At least that's what I understood here
Mention any other details that might be useful.
When I run npm run lint or ng lint (the same goes when I run tslint)  it works as expected using the overriden config of the package.json, but when I run ng test, maybe it takes another configuration
This is the scripts section in the package.json:
  "scripts": {
    "start": "ng serve",
    "lint": "tslint \"src/**/*.ts\" -e \"src/**/assets/**\"",
    "tslint": "tslint \"src/**/*.ts\" -e \"src/**/assets/**\"",
    "test": "ng test",
    "pree2e": "webdriver-manager update",
    "e2e": "protractor"
  }

This is the angular-cli.json:
{
  "project": {
    "version": "1.0.0-beta.16",
    "name": "node-ui"
  },
  "apps": [
    {
      "root": "src",
      "outDir": "dist",
      "assets": "assets",
      "index": "index.html",
      "main": "main.ts",
      "test": "test.ts",
      "tsconfig": "tsconfig.json",
      "prefix": "app",
      "mobile": false,
      "styles": [
        "styles.scss"
      ],
      "scripts": [],
      "environments": {
        "source": "environments/environment.ts",
        "dev": "environments/environment.ts",
        "prod": "environments/environment.prod.ts"
      }
    }
  ],
  "addons": [],
  "packages": [],
  "e2e": {
    "protractor": {
      "config": "./protractor.conf.js"
    }
  },
  "test": {
    "karma": {
      "config": "./karma.conf.js"
    }
  },
  "defaults": {
    "styleExt": "scss",
    "prefixInterfaces": false
  }
}

The current implementation is somewhat awkward in that ng lint uses npm run but ng test uses the webpack tslint-loader. So linting via test has a fixed configuration.

@clydin So there is no way at this moment to ignore or exclude files from tslint? Or configure anything?

With ng lint yes.  I believe ng test doesn't lint by default anyway.

Yes, but I want to configure tslint when I run ng test. I don't want to have two different configurations, I want ng test and ng lint to use the same config

You can run linting while testing with ng test --lint but as @clydin mentioned that seem to be using the wrong lint config. That's a bug.


Version 0.9 not available on PyPI

I just tried uploading a dataset, and got the message:
Upload failed, and you are not using the latest version of lincbrain-cli.  We suggest upgrading lincbrain-cli to v0.9.0 and trying again.
But it looks like v0.9.0 isn't available on PyPI: https://pypi.org/project/lincbrain-cli/#history

Thanks for the report @dstansby.  This is due to our release process being manual at the moment.  @aaronkanzer can you please manually resolve this issue?

@dstansby Can you proceed with pip install lincbrain-cli==0.8.5 in the meantime? I can look into this error message when I get the chance, but ideally the pinned install to 0.8.5 should unblock you

@kabilar just for reference -- it seems that that error message @dstansby got is just a catch-all for any upload error -- the dandi (lincbrain) CLI rounds up the semantic version in that error message when surfacing to the end user
https://github.com/dandi/dandi-cli/blob/15196a93310618f8897c7b43444e216bbb094549/dandi/upload.py#L444-L460

Hi @dstansby, thanks for the report.  @aaronkanzer has now resolved this error.  The latest release (0.10.0) now has a GitHub tag, GitHub release, and PyPi release.


How to make group by request??

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

The closest equivalent of group by in the Xata API is summarize.
If no aggregation function is specified in it, summarize returns results as a "distinct" - equivalent to SELECT name FROM "users" GROUP BY name;
In case you need to execute a grouping statement that is not supported by the summarize API, you can instead run SQL. The SQL-over-HTTP API is available in the TypeScript SDK: https://xata.io/docs/sdk/sql/overview#examples
Also, Beta access was just launched for wire protocol Postgres (SQL) connectivity: https://xata.io/blog/serverless-postgres-platform which enables using ORMs (Prisma, Drizzle).
We try to keep the scope of issues in this repo around SDK bugs and enhancement requests. Please consider using discord or contact support for questions!

I see thats very helpful. I love the sdk, of course is missing things like nested inserts (inserting link). And it gives some issues when using cloudflare. (node:buffer not found)
Great work and the platform is very promising. Best of luck


Error when deploying the site remotely

HI there,  It is my first to to use base-camp for my development and I am currently uploaded the site for review but I get this error:
Warning: require(/var/www/html/wp-content/themes/jennifer/vendor/composer/../../app/helpers.php): failed to open stream: No such file or directory in /var/www/html/wp-content/themes/jennifer/vendor/composer/autoload_real.php on line 66
Fatal error: require(): Failed opening required '/var/www/html/wp-content/themes/jennifer/vendor/composer/../../app/helpers.php' (include_path='.:/usr/share/php') in /var/www/html/wp-content/themes/jennifer/vendor/composer/autoload_real.php on line 66
Thanks in advance!

I remember I disabled autoload. I am not sure if that's the reason why I get this issue.

Hello there. What do you mean that you have disabled autoload? Have you tried to delete vendor folder and then run composer install?

Hi Suomato,
It is all fixed now.  I destroyed my droplet and created a new one.  I used Duplicator plugin on my first droplet and it wasn't working the way It supposed to so I did the old way of migrating the site from local to remote, manually it is lol! And it works perfectly.
Thank you for your reply and thank you for creating this awesome starter theme.  I am going to close this issue now.


Looks like security update KB5005568 causes container to use HyperV

Today below package was installed on our build server

This causes the containers to switch from process to hyperv. Which was not installed and broke the build
Disabling Health Check (always report healthy)
Creating Container C103833
Version: 18.4.28601.29407-NL
Style: sandbox
Multitenant: No
Platform: 18.0.28593.29261
Generic Tag: <IP_ADDRESS>
Container OS Version: 10.0.17763.2114 (ltsc2019)
Host OS Version: 10.0.17763.2183 (ltsc2019)
Using hyperv isolation
Using locale nl-NL
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Using license file C:\Agent_work\1\s\ERP AL\licenses\dev-bc.flf
Additional Parameters:
-e customNavSettings=FeatureSwitchOverrides=disableSmartListActions,EnableTaskScheduler=True
-v C:\Agent_work\1\a\Assemblies:c:\run\Add-ins
-v "C:\Agent_work\1\s\ERP AL\tenantExtensions:c:\s-tenantExtensions"
-v "C:\Agent_work\1\s\ERP AL\Extensions:c:\s-Extensions"
-e customNavSettings=UsePermissionSetsFromExtensions=false,EnableTaskScheduler=True
Files in C:\ProgramData\BcContainerHelper\Extensions\C103833\my:

AdditionalOutput.ps1
license.flf
MainLoop.ps1
SetupAddIns.ps1
SetupVariables.ps1
updatehosts.ps1
Creating container C103833 from image local:sandbox-18.4.28601.29407-nl
8a3ab8f284be12e6192c94735789449ad5815d08d0dcb9afa19331798053ad6d
Finishing: Create container - 0m 3s
Disconnect-AzAccount -Scope Process -ErrorAction Stop
Clear-AzContext -Scope Process -ErrorAction Stop
##[error]docker: Error response from daemon: hcsshim::CreateComputeSystem 8a3ab8f284be12e6192c94735789449ad5815d08d0dcb9afa19331798053ad6d: The virtual machine could not be started because a required feature is not installed.

In this case, you managed to update the host before we managed to publish the corresponding generic images.
That can happen, if you want to be sure to run process isolation, you need to specify -isolation process.

Freddy are new generic images run in parallel with bccontainerhelper upgrades, or are they independent?

Independent
Actually my bccontainerhelper build yesterday broke because of the missing container os builds.
Luckily, it seems that with Windows 11, the need for exact match between host and container OS goes away.

new generic images have been deployed


docs: add comments

Add comments to the configuration file in a way I suggest here https://github.com/apify/apify-docs/pull/1141#discussion_r1749806422

Oh yeah I should've done that. Thank you!


no-reference with type definition files

Bug Report

TSLint version: 3.15.1
TypeScript version: 2.0.0 beta
Running TSLint via: Sublime Linter

TypeScript code being linted
/// <reference path="../types/node.d.ts" />

with tslint.json configuration:
{
  "no-reference": true
}

Actual behavior
Reference not allowed warning.
Expected behavior
Because this is a type definition file my understanding is that a reference is [still the way to import it](https://github.com/Microsoft/TypeScript/issues/2242#issuecomment-836941810 rather than with ES6 modules. As a result the <reference is valid in this use case with no ES6 alternative.
I wonder if it would be appropriate to allow the rule to allow type definition files?

@DataTables better in this situation to just add your typings files to your list of files via your tsconfig.json file. Then you don't have to include comments like that anywhere in your source files.
Perhaps that should be better explained in the documentation though?

Including that in the documentation sounds good to me - thanks!


HOTFIX: Added streams to pkgs

Streams was missing from the packages. Note, it's already fixed in trunk.

@miguno @ijuma @guozhangwang could you please have a look? Thanks.

LGTM


Recipe: Complex Numbers

Crates
num

Section
16.1 Mathematics

Demonstrate using complex numbers (n+m√-1) with num crate

Going to give this a shot

Let me know if more things are needed and I'll adjust the PR accordingly 😃


Dotnet issue in MS Visual Studio Code

dotnet : The term 'dotnet' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of  the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + dotnet + ~~~~~~     + CategoryInfo          : ObjectNotFound: (dotnet:String) [], CommandNotFoundException     + FullyQualifiedErrorId : CommandNotFoundException

Sounds like a good issue for VS Code as it seems to be integration related.
If you have troubles with command line, please let us know here. Thanks!


chore(package): update jest to version 20.0.4

Closes #64

Coverage remained the same at 76.567% when pulling a8ea11f614aca19ecb839c5528651ca4058e6e2e on greenkeeper/jest-20.0.4 into dbf2d3539a0e9e0ecafdf8b9a5749d42b9d073b2 on master.


Merge HavokXML, HavokBinary and HavokData classes.

As @blueskythlikesclouds mentioned a while back, it'd be better to have these all as one rather than three separate classes for what's essentially just different ways of storing the exact same data.

Merged all three classes into the new HavokPackFile class. 0d0b3bbfbb716290ed4125aa47dc1c824de5b7c9


jenkins.groovy throws java.net.SocketException: Connection reset

I have both GitBlit and Jenkins running in Tomcat on the same server.
Whenever my repository triggers the Jenkins script as post-receive action nothing happens in Jenkins and I find the following in my Tomcat log instead:
2016-10-22 15:35:57 [INFO ] jenkins hook triggered by melo for ~melo/my_cv.git
2016-10-22 15:35:57 [ERROR] Failed to execute Groovy script jenkins.groovy
java.net.SocketException: Connection reset
[...]

Full log here.
I added another log line to the groovy script to log the entire triggerUrl and the URL is correct.
When I just curl that URL from the same server where GitBlit and Jenkins run, there is no error and the Jenkins job runs.
Do you have any idea what could cause this problem?
I don't know what more I could check.
Thanks in advance for any feedback!

Hi ,
Did you find any answer for this problem?

Oh wow, it's been a while, so I'm not sure if I remember.
I believe something with the SSL handshake went wrong or something of that sort...
When I look at my current gitblit.properties I have this for the groovy.JenkinsServer:
groovy.JenkinsServer:=http://localhost:7070/jenkins
This is possible because both GitBlit and Jenkins run on the same host in my case, obviously.
I believe this made things work for me.
When using the internet facing https URL instead, which hits a Tomcat dedicated virtual host that is reverse proxied to Tomcat, it failed.
Honestly I don't know why. The certificate is a valid one from Let's Encrypt.
Not sure if that is really helping you...


Thrust exception running testMRFMapViewer

I'm super excited about this library!
However, when I run the testMRFMapViewer, it displays the window for just a second and then exits with the following exception:
radix_sort: failed on 2nd step: cudaErrorInvalidConfiguration: invalid configuration argument
I'm running this on Ubuntu 18.04 with an nvidia gtx 1070. I'm using Cuda version 11.
My cmake version is the latest version from here(https://cmake.org/download/), which is 3.18.0.
I did notice this warning when running cmake, but it built anyway:
CMake Warning (dev) in CMakeLists.txt:
  Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
  empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
  for policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  CUDA_ARCHITECTURES is empty for target "mrfmap".
This warning is for project developers.  Use -Wno-dev to suppress it.

Full output from ./testMRFMapViewer:
Trying to read file /home/kevin/src/mrfmap/mrfmap/config/coffin_world_640.yaml
[GVDBInference] Created context 0x55b7c18ed890
[GVDBMRFMap] Initialized with:
	res::0.02
	const_sigmasq_poly::0.05, 0, 0
	const_bias_poly::0, 0, 0
	occ_thresh::0.5
	acc_thresh::0.1
	prior::0.1
	max_iters::3
	dims::4 4 3
	rows::480
	cols::640
	K::
381.361       0   319.5
      0 381.361   239.5
      0       0       1
	Polynomial Degree::3
	GVDB Config::3 3 3 3 3

  Device List:
Max. texture3D width: 16384
Max. texture3D height: 16384
Max. texture3D depth: 16384
   0. GeForce GTX 1070
   Using Device: 0, GeForce GTX 1070, Context: 0x55b7c18ed890
Starting GVDB Voxels. ver 1.11
 Creating Allocator..
 Creating Scene..
[GVDBInference] setting x and y to<PHONE_NUMBER>,<PHONE_NUMBER>
[GVDBInference] setting selected voxel id to 0
Creating context
[GVDBMapLikelihoodEstimator] Created context 0x55b7c1fcf7e0
  Device List:
Max. texture3D width: 16384
Max. texture3D height: 16384
Max. texture3D depth: 16384
   0. GeForce GTX 1070
   Using Device: 0, GeForce GTX 1070, Context: 0x55b7c1fcf7e0
Starting GVDB Voxels. ver 1.11
 Creating Allocator..
 Creating Scene..
 Accuracy threshold is 0.1
[GVDBMapLikelihoodEstimator] setting x and y to<PHONE_NUMBER>,<PHONE_NUMBER>
Starting OctoMap thread...
Starting MRFMap thread...
Starting PangoViewer thread!
Adding channel 3
Starting loop!
Viewer initialized!
terminate called after throwing an instance of 'thrust::system::system_error'
  what():  radix_sort: failed on 2nd step: cudaErrorInvalidConfiguration: invalid configuration argument
[1]    14107 abort (core dumped)  ./testMRFMapViewer

Full output from cmake:
cmake .. -GNinja -DCMAKE_INSTALL_PREFIX="../install"
-- The CUDA compiler identification is NVIDIA 11.0.194
-- The CXX compiler identification is GNU 7.5.0
-- The C compiler identification is GNU 7.5.0
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/ccache/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Setting build type to 'Release' as none was specified.
-- [MRFMap]:: Export name is mrfmap-targets
-- Eigen3 version 3.3.4 found in /usr/include/eigen3, but at least version 3.3.7 is required
-- [MRFMap]:: Cloning and configuring Eigen 3.3.7
-- [MRFMap]:: Eigen3 include directory used is /home/kevin/src/mrfmap/mrfmap/build/_deps/eigen-src
-- [MRFMap]:: Cloning and configuring octomap.
-- [octomap]:: Export name is mrfmap-targets
-- octomap building as Release
-- dynamicEDT3D building as Release
-- Found OpenCV: /usr (found version "3.2.0")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'yaml-cpp'
--   Found yaml-cpp, version 0.5.2
-- [MRFMap]:: Cloning and configuring codetimer.
-- [codetimer]:: Export name is mrfmap-targets
-- [codetimer]:: Pulling and configuring libcuckoo
-- [libcuckoo]:: Export name is mrfmap-targets
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- [MRFMap]:: Cloning and configuring pybind11.
-- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.17", minimum required is "2.7")
-- Found PythonInterp: /usr/bin/python2.7 (found version "2.7.17")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so
-- pybind11 v2.5.dev1
-- Found CUDA: /usr/local/cuda (found version "11.0")
-- [MRFMap]:: Cloning and configuring gvdb-voxels.
-- [GVDB]:: Export name is mrfmap-targets
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
-- Found GLEW: /usr/include
-- Autodetected CUDA architecture(s):  6.1
ARCH_FLAGS are -gencode;arch=compute_61,code=sm_61
kernel files found are cuda_gvdb_copydata.cu;cuda_gvdb_module.cu
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Skipping depth buffer test in raycast
-- Using depth image as buffer
-- [MRFMap]:: Cloning and configuring pangolin.
-- [Pangolin]:: Export name is mrfmap-targets
-- Found GLEW: /usr/lib/x86_64-linux-gnu/libGLEW.so
-- Eigen Found and Enabled
-- libdc1394 Found and Enabled
-- V4L Found and Enabled
-- Performing Test HAVE_FFMPEG_MAX_ANALYZE_DURATION
-- Performing Test HAVE_FFMPEG_MAX_ANALYZE_DURATION - Success
-- Performing Test HAVE_FFMPEG_AVFORMAT_ALLOC_OUTPUT_CONTEXT2
-- Performing Test HAVE_FFMPEG_AVFORMAT_ALLOC_OUTPUT_CONTEXT2 - Success
-- Performing Test HAVE_FFMPEG_AVPIXELFORMAT
-- Performing Test HAVE_FFMPEG_AVPIXELFORMAT - Success
-- ffmpeg Found and Enabled
-- OpenNI Found and Enabled
-- OpenNI2 Found and Enabled
-- libpng Found and Enabled
-- libjpeg Found and Enabled
-- libtiff Found and Enabled
-- libopenexr Found and Enabled
-- liblz4 Found and Enabled
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components: doxygen dot
-- [MRFMap]:: Building in Release mode!
-- [MRFMap]:: Release build.
-- Autodetected CUDA architecture(s):  6.1
-- [MRFMap]:: ARCH_FLAGS are -gencode;arch=compute_61,code=sm_61
-- [MRFMap]:: current source is /home/kevin/src/mrfmap/mrfmap
-- [MRFMap]:: kernel files found are gvdbhelper.cu;gvdbkernels.cu
-- Configuring done
CMake Warning (dev) in CMakeLists.txt:
  Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
  empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
  for policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  CUDA_ARCHITECTURES is empty for target "mrfmap".
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in CMakeLists.txt:
  Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
  empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
  for policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  CUDA_ARCHITECTURES is empty for target "GVDBKERNELS_PTX".
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in build/_deps/gvdb-src/source/gvdb_library/CMakeLists.txt:
  Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
  empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
  for policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  CUDA_ARCHITECTURES is empty for target "gvdb".
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in build/_deps/gvdb-src/source/gvdb_library/CMakeLists.txt:
  Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
  empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
  for policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  CUDA_ARCHITECTURES is empty for target "gvdbPTX".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /home/kevin/src/mrfmap/mrfmap/build

Hi! And thanks for trying the library out! I've noticed the same issue when I tried building with CUDA 11 as well
https://github.com/NVIDIA/gvdb-voxels/issues/96
and it's currently unresolved. In the meanwhile I'd suggest trying it out with CUDA 10.2 - it's reasonably straightforward to use two CUDA installs within the same system (And there are scripts out there to switch the environment variables between the two)

Thank you! I was able to get the test app to run using cuda 10.2.

Great to hear! Closing this issue for now, will update if and when I get to the root of the issue with cuda 11.


Make locale script load asynchronously

Otherwise, onload event does not fire in certain environments such as in WinJS apps.

@hanthomas thanks for the PR


[Q] Access point

What is the URL access point or how to setup it?
I try: http://domain.tld/api/v1
And nothing happen - October CMS Not found 404.

Please read the documentation. The way RESTful works is that it generates RESTful controllers from controllers that are written on other plugins. The plugin exposes a scaffolding command which can be run from a terminal / console. Simply CD into your OctoberCMS project and run the command to create a RESTful controller for your existing controller. So, if you have a plugin that has a People (for example) controller then it would be accessible like:
http://domain.tld/api/v1/people


Visual script: copying function node should copy values

Godot version:
v3.1.dev.calinou.b293dd3
OS/device including version:
windows 10 x64
Issue description:
in visual script :
-when copy a function node (ex: a=b ,or any node contain values) it create the node but it does not copy values.
-when copy a function node (ex: animated sprite "set animation" with str value run) it create the node but the value type will be "any" and the value gone.

Can't reproduce. Was probably fixed.
I tried duplicating a vector3 constructor with values (10,10,10) and a set variable function with a string "12345".
Can you check?

Yes its fixed , in both cases it copy correctly.


LICENSE

Hi!
What is the LICENSE of this work? Can you add the LICENSE file please?
Thanks.

Thanks for mentioning this! I've added it in :)


Publish file announcements to Nostr

Maybe a crazy idea, but I was thinking that we could have a special event kind number for "file announcement" on https://github.com/fiatjaf/nostr that would contain the files of different Agora instances and their descriptions and links for visitors to go and buy them.
Each Agora instance would publish these lists to multiple Nostr relays, then a special client software could browse all these files from multiple Agora instances from a central place, and then move to the individual Agora instance after deciding to buy one of the files.
What do you think?

That sounds very cool, although I wonder if it would get too spammy. If an Agora instance is adding a bunch of files, then it would presumably be sending out a bunch of notifications. They might not generate notifications though, instead just being added to a list in the background, that could be perused and searched at will.

The spamminess will depend on the client implementation and also on the criteria relays will use to determine whether they will accept a big bulk of spam stuff from particularly spammy Agora instances.


Unable to debug (hit breakpoints) for ASYNC functions

VSCode Version: Code 1.8.1 (ee428b0eead68bf0fb99ab5fdc4439be227b6281, 2016-12-19T14:49:23.350Z)
OS Version: Windows_NT ia32 6.1.7601
Extensions:

Extension
Author
Version

vscode-mocha
Compulim
0.1.1

code-runner
formulahendry
0.6.2

docomment
k--kato
0.0.9

net-core-project-manager
ksubedi
0.3.6

cpptools
ms-vscode
0.9.2

csharp
ms-vscode
1.5.3

omnisharp
ms-vscode
0.3.3

typescript-javascript-grammar
ms-vscode
0.0.6

Steps to Reproduce:

Create typescript project
Create async method in class ( methodName = async() => {} )
Put breakpoint inside method, debug and see breakpoint does not get it

It's working for me though.

Please post exact steps for reproducing the bug. Otherwise people can't help you much.

It looks like the difference in your case is that this is a single line function - we don't have a way to set a bp in the middle of a line right now.
This will be handled by https://github.com/Microsoft/vscode/issues/14784 (but won't work until maybe node 8)