HNHacker News
TopNewBestAskShowJobs

vyskocilm

440 karma · joined September 25, 2019

[ my public key: https://keybase.io/vyskocilm; my proof: https://keybase.io/vyskocilm/sigs/XC1eQ5jM24gBBDLh36XGyjWgUVVX7Zv0vhV5xIywuqM ]
submissionscomments
vyskocilm··on Linux Zoom client proactively reading everything written to X11 clipboard
Sure flatpak have a static permission system too, even it is not recommended and xdg portals are the way of integrating with a host.

https://flathub.org/en/apps/com.github.tchx84.Flatseal

vyskocilm··on Java 26 is here
Yeah XMLHttpRequest and activex thing IE6 had. That was Javascript style that days.
vyskocilm··on Java 26 is here
JEP 504: Remove the Applet API

Glad to see this being removed. Java plugins especially on Linux were awful and required by tons of corporate stuff. Anyone remeber IcedTea Web? A functional and opensource Java plugin and Java Webstart implementation?

vyskocilm··on Windows 11 Notepad to support Markdown
At this moment ReactOS guys should consider distributing their apps separatelly from their bundle.

https://github.com/reactos/reactos/tree/master/base/applicat...

vyskocilm··on Students using “humanizer” programs to beat accusations of cheating with AI
We have been banned from using Ami Pro for writing a technical reports on my highschool in late 90s and required to write them by hand as an attempt to combat copy&pasting. We "shared" all the calculations in the class anyway, so it haven't worked well.
vyskocilm··on Linux is good now
> I don’t feel like a consumer, but a janitor. I don’t want this.

I think it was Jorge Castro, the creator of Universal Blue, who called it the sysadmin culture. Most Linux distros are made by sysadmins for sysadmins, and you're expected to change and configure your system. I was a sysadmin myself for a long time. I used Slackware; switched from the 2.4 kernel to 2.6; tweaked CFLAGS on Gentoo; replaced SysV init with systemd; used PipeWire from the earliest versions - you name it, I did it.

Nowadays I use https://aeondesktop.github.io/ - an immutable system with Btrfs snapshots. Everything is installed from Flathub. The major roadblock is that much of the Linux world expects you to modify the system one way or another, so your mileage may vary. I replaced my printer because I did not wanted to install binary blobs from HP/Samsung.

> Perhaps I haven’t found «the right distro»

I’d look at immutable or image-based offerings, which aims at low or no maintenance: Aeon Desktop, Universal Blue, Endless OS. There are reviews on sites like LWN.net

vyskocilm··on Why I chose Lua for this blog
It really depends. I learned Lua in order to contribute to kulala plugin for neovim and found the language nice and easy to learn.

Of course it has its warts, but given the topic, almost everything is better than a vimscript imho.

vyskocilm··on Hurl: Run and test HTTP requests with plain text
https://github.com/mistweaverco/kulala.nvim is an another restish (it can do gRPC to) plugin for neovim. It is intended to be compatible with a Jetbrains as much as possible.
vyskocilm··on Fun with Go Iterators
Shameless plug. I had experimented with Go iterators a while ago and did a https://github.com/gomoni/it

It was updated to 1.23, so it is as idiomatic as I can get. And yes it has a map method between two types. Just a single simple trick used.

vyskocilm··on AAA Gaming on Asahi Linux
I believe libkrun is the tech behind.

https://fosstodon.org/@slp/113283657607783321

Sergio Lópéz has more info in his blog

https://sinrega.org/2024-03-06-enabling-containers-gpu-macos...

https://sinrega.org/2023-10-06-using-microvms-for-gaming-on-...

vyskocilm··on AllSystemsGo: Varlink Now [video]
Why bother with Varlink IPC, and why now?

The Varlink IPC has been around for a while, but recently we started using it heavily in systemd. In this talk I'd like to explain what Varlink IPC is, and why we are now adopting it so heavily. And I also want to explain why I think that Varlink is a good candidate as IPC of choice for any Linux software, both low-level and higher-level. We'll compare it with D-Bus in particular, and highlight where it shines (and where it doesn't shine so much).

vyskocilm··on Russ Cox is stepping down as the Go tech lead
Well written list of what made Go better language during last years. I'd add iterators, the recent big thing from Russ.
vyskocilm··on Hamlet: A type-safe Haml template engine for Go
Looks similar to https://templ.guide/ Which imho has a nicer syntax for the templates.
vyskocilm··on BlazingMQ: High-performance open source message queuing system
FJI: There is a faq entry about that https://bloomberg.github.io/blazingmq/docs/introduction/comp...
vyskocilm··on SUSE Liberty Linux: secure your Linux future without fear of vendor lock-in.
I use openSUSE Aeon (former MicroOS Desktop) for about a year. It is based on rolling Tumleweed and the system is stable. It updates on a background automatically.

If you are not looking for a fine tunning your system and expects stable (yet bleeding edge) base, which just works, I can recommend it.

The biggest thing is that the model pushes one to embrace usage of a distrobox/flatpak.

vyskocilm··on The Missing Semester of Your CS Education
I use neovim with Ale plugin for LSP and linters. Somehow it maps into my brain better than anything else. Its fast, on cli, feature rich, usable without a mouse...

The only thing where vim/neovim really sucks against other tools is the project specific configuration.

vyskocilm··on TikTok-owner ByteDance planning to layoff thousands in coming months
All your layoffs are belong to us.
vyskocilm··on An overview of single-purpose Linux distributions
FOSDEM talk about Fedora CoreOS, Ubuntu Core, openSUSE MicroOS, and Bottlerocket OS and how they all tackle the single purpose problem in their own way.
vyskocilm··on How generics are implemented in Go 1.18
There is tinygo with llvm backend and the build times are abysmal.
vyskocilm··on PipeWire 0.3.46
An another great thing about Pipewire is that it made desktop sharing possible under Wayland.
vyskocilm··on PipeWire: A server for Linux audio and video streams
An another amazing feature of Pipewire is that it made desktop sharing under Wayland possible. Really awesome piece of a software.
vyskocilm··on CMake Part 1 – The Dark Arts
Zproject is not a build system. It's more like package.json esque thing for C. We used it on a past and it was capable to generate auto tools (or c make) build recipes, Debian or rpm packaging, ffi bindings and more.

But you're right it got almost zero traction outside of zeromq.

vyskocilm··on Sir, Please Step Away from the ASR-33 (2010)
It's even more funny, given the fact Rob Pike co invented UTF-8 with Ken Thompson. So he must know a thing or two about Unicode.

Not using Unicode for Go syntax is a great thing.

vyskocilm··on Python 3.9
I would like to know the details, seriously. Thousands of broken packages because of major python release?

As a former package maintainer I can assure you that every update of gcc breaks the build of some other package. And we are talking about C or c++, languages existing longer than Python and having much stronger backward compatibility story. And no one ever said that upgrade to recent gcc is a problem.

Iow there is hardly any up to date system which do not require constant maintenance.

vyskocilm··on Using Vim for C++ Development
Well, quite irony is that the best support I ever saw was... JavaScript and Node. As every such project has node_modules with dev dependencies, so everything can use project local dependencies. Ale does that.
vyskocilm··on Using Vim for C++ Development
Microsoft Language Server is a protocol. It's up to each language to have own , blessed implementation like clangd, solargraph, or gopls. The beauty of ale plugin is that it supports almost anything from scratch and as I work on a multi language projects all the time it rocks everywhere. Do you have prettier installed? Boom all your JS files are checked. Do you have gopls, gofmt, goimports? Then yeah, you can use all of those from your editor. And so on. I am usually surprised how many linters it supports. Recently I got hints when editing protobuf file. Did not expected it.

It is possible that coc.vim can do better. But I can't imagine how much better it should have be.

vyskocilm··on Using Vim for C++ Development
I personally prefer https://github.com/dense-analysis/ale plugin. It is in vimscript and supports almost everything (including clangd) out there: https://github.com/dense-analysis/ale/blob/master/supported-...
vyskocilm··on Grub2 security update renders system unbootable
You might take a look at openSUSE Leap. I use the rolling update variant Tumbleweed for my laptops. But my feeling is that they are working hard to find the sweet spot between stable and bleeding edge.
vyskocilm··on Ask HN: How do I learn C properly?
Any C based project of zeromq project like https://github.com/zeromq/czmq is worth to read. Pieter Hintjens started a book explaining all the design decisions there https://hintjens.gitbooks.io/scalable-c/ Sadly he didn't have a time to finish the book.