HackerTrans
TopNewTrendsCommentsPastAskShowJobs

database64128

no profile record

Submissions

Latest ToS update includes class action waiver and forced arbitration

github.com
2 points·by database64128·vor 4 Monaten·0 comments

Std: Introduce `Io` Interface by Andrewrk

github.com
8 points·by database64128·vor 9 Monaten·0 comments

comments

database64128
·vor 9 Monaten·discuss
No, having the bare minimum "HDR support" does not mean it works fine. I have a 27-inch 4K 144Hz monitor with P3 wide color gamut and HDR600. This monitor is connected to 2 PCs, one running Arch Linux with GNOME as the DE and one with Windows 11.

Since Windows 11 24H2, with the new color management feature turned on, I can get correct colors on the monitor in both SDR and HDR modes. So it ends up with HDR on at all times, and mpv can play HDR videos with no color or brightness issues.

GNOME, on the other hand, is stuck with sRGB output in SDR mode, so you get oversaturated colors. With HDR on, SDR content will no longer be oversaturated, but if you play HDR videos with mpv, the image looks darkened and wrong. I've tried setting target-peak and target-contrast to match the auto-detected values on Windows, but the video still looks off.
database64128
·vor 9 Monaten·discuss
I don't think so. I'm on GNOME 49 and nothing has changed compared to 48.
database64128
·vor 9 Monaten·discuss
> Every time I login using a Wayland desktop, only my main monitor is detected and it defaults to 60hz. I have to go through a whole process of unplugging the "undetected" monitors and plugging them back in.

Are you using GNOME? mutter has this problem where it does not retry commit on the next CRTC: https://gitlab.gnome.org/GNOME/mutter/-/issues/3833. If this is actually what's happening on your system, switching to KDE should solve it.

> HDR on Wayland is barely functional (in my experience)

This also sounds specific to GNOME, as mutter still doesn't have color management. You'll get a better HDR experience with KDE.
database64128
·vor 10 Monaten·discuss
Have you actually contributed to the Go standard library?

Yes, there are people who don't work for Google and can +2 on changes, but you still need 2 Google employees to at least +1 on your change before it can be submitted. This is mentioned in the Contribution Guide [0] and is enforced by Gerrit.

> Finally, to be submitted, a change must have the involvement of two Google employees, either as the uploader of the change or as a reviewer voting at least Code-Review +1. This requirement is for compliance and supply chain security reasons.

[0] https://go.dev/doc/contribute
database64128
·vor 10 Monaten·discuss
Yes. To land a change in the Go standard library, you'll need 2 Google employees to approve your change on their "trusted devices".
database64128
·vor 10 Monaten·discuss
I see you use a hard-coded constant ALIGN = 512. Many NVMe drives actually allow you to raise the logical block size to 4096 by re-formatting (nvme-format(1)) the drive.
database64128
·vor 11 Monaten·discuss
You could use something like https://github.com/database64128/swgp-go to obfuscate WireGuard traffic.

Using full-blown VPNs under such environments has the disadvantage of affecting your use of domestic web services. You might want to try something like https://github.com/database64128/shadowsocks-go, which allows you to route traffic based on domain and IP geolocation rules.
database64128
·vor 3 Jahren·discuss
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.