Better HN
topnewbestaskshowjobs
Log inSign up

database64128

646 karma · joined Aug 27, 2021 (5y ago) · 50 submissions

https://github.com/database64128
Submissions

comment 1y ago · link · parent

Disable Windows Defender on your main rig and try again?

comment 2y ago · link · parent

I just finished adding UDP GRO & GSO support to my WireGuard proxy software. The work involved rewriting a large part of the program.

https://github.com/database64128/swgp-go

For those who don't know, UDP Generic Receive Offload and Generic Segmentation Offload allow you to receive and send multiple same-sized UDP packets coalesced in a single buffer (or many in an iovec but you really shouldn't). Compared to calling sendmsg(2) on individual packets, sending them coalesced in one call traverses the kernel network stack exactly once, thus has significantly lower overhead.

wireguard-go and many QUIC implementations use the same trick to improve throughput. Unfortunately the in-kernel WireGuard driver does not take advantage of UDP GSO, and swgp-go had to cope with that by attempting to coalesce multiple unsegmented messages received in a single recvmmsg(2) call.

33.

Go 1.23 Release Notes(go.dev ↗)

8 points · by database64128 · 2y ago · discuss

34.

Show HN: DDNS-go – netlink/iphlp/asuswrt –> A/AAAA/HTTPS RRs(github.com ↗)

2 points · by database64128 · 2y ago · discuss

comment 3y ago · link · parent

I wrote a silly Telegram bot for my group chats: https://github.com/database64128/CubicBot

It's mostly just some useless commands that say stupid things, and stats collection for earning "achievements" and displaying leaderboards.

The bot was written in C# and seriously over-engineered to be completely modular. Every command and stats collector can be turned on or off in config. A running instance with all features turned on is available as https://t.me/Cubic0Bot.

36.

DNS query flooding for domain curl(github.com ↗)

3 points · by database64128 · 3y ago · discuss

comment 3y ago · link · parent

Why does the in-kernel WireGuard perform so much worse on the AWS instances?

comment 4y ago · link · parent

You have to delete the PIN it forced you to create during OOBE. This forces the system to apply your MSA's password to the actual account. Without this step, the account has no password. You can still recreate the PIN afterwards and it won't delete the password.

39.

Extending Go Forward Compatibility(github.com ↗)

1 points · by database64128 · 4y ago · discuss

comment 4y ago · link · parent

Once I posted a super long reply to a super long and messy feature request: https://github.com/database64128/youtube-dl-wpf/issues/131. It's basically like this:

> First of all, thank you for your support...$blah_blah_blah

> Unfortunately, I have to say no to some of your requests. $project is just a small side project of mine. My approach to its development will always be to prioritize my own use cases, while also catering to the community as much as I can. As you may have noticed, I have already implemented a bunch of new features and made quite a few changes based on community feedback. Decisions on whether to adopt a proposal from the community are made by evaluating the usefulness of the proposed feature or change for me and the wider community, and the feasibility of implementing it in my limited spare time.

> Now that I have explained my ways of doing side projects to you, let's go through your proposals:

comment 4y ago · link · parent

The blog post is out: https://go.dev/blog/go1.19

comment 4y ago · link · parent

Just tried Win+X on Build 22621. Arrow keys and letters work right away. I didn't have to wait or slow down.

43.

Monads and Popular FP Abstractions Based on Go Generics (Option, Result, Either)(github.com ↗)

3 points · by database64128 · 4y ago · discuss

44.

GitHub will require 2FA by the end of 2023(github.blog ↗)

222 points · by database64128 · 4y ago · 305 comments

45.

Git v2.35.2 breaks actions/checkout in containers(github.com ↗)

2 points · by database64128 · 4y ago · discuss

comment 4y ago · link · parent

> Seems like mullvad is being used by a lot of bad actors and they're not really doing anything about it.

If you set up your own VPN server on popular cloud platforms, you'll notice that almost all Cloud platforms face the same issue. Basically this is what you get when you use a data center IP for Internet browsing.

comment 4y ago · link · parent

A small project of mine: https://github.com/database64128/youtube-dl-wpf

It uses WPF so it can only run on Windows though.

comment 5y ago · link · parent

The issue is about downstream source build packages. These packages are not based on any forks. The MultiMC maintainers don't even want source build packages to exist. They insist that distributing binaries built by them is the only way. This essentially contradicts the Apache 2.0 license, which states that distribution of the original work is allowed.

And there's the hostility throughout the conversation from the MultiMC maintainers.

49.

Author of MultiMC says any “unofficial” build is trademark infringement(github.com ↗)

5 points · by database64128 · 5y ago · 8 comments

comment 5y ago · link · parent

I just updated my youtube-dl GUI to support yt-dlp.

https://github.com/database64128/youtube-dl-wpf

Currently it's WPF based and therefore only supports Windows. I'm considering porting it to Avalonia so I can also use it on my Linux desktop.

The reason I made this GUI is mostly for manual format selection. The automatic 'bestvideo+bestaudio/best' doesn't always result in the best format combination. So I always select AV1 + Opus manually and use the WebM container. The GUI also includes some opinionated defaults like embedding metadata, thumbnail, subtitles.

12