HNHacker News
TopNewBestAskShowJobs

ivzhh

21 karma · joined February 28, 2019

submissionscomments
ivzhh··on Caddy – The Ultimate Server with Automatic HTTPS
One thing I did not get is: why both Caddy and Traefik changed the syntax of their configurations.
ivzhh··on Valkey achieved one million RPS 6 months after forking from Redis
Not directly related to the question. A few years ago, I read about that B-tree is also recommended for in-memory operations because the latency between CPU/memory is high now.
ivzhh··on Logbookd – SQLite Backed Syslogd
Agree, /var/log/messages is there for a long time, writing to log is never a problem. Digesting the log is the niche market and it is profitable enough that we have a lot of tools in this market (rotation, transmission, parsing, etc)
ivzhh··on Logbookd – SQLite Backed Syslogd
Yes, Alpine is a good choice for small servers. I run both FreeBSD and Alpine for my homelab. Alpine feels very close to FreeBSD style. I still prefer pf over ufw/awall.
ivzhh··on Logbookd – SQLite Backed Syslogd
I tried to install OpenBSD on three VM hosts, one Macbook Intel, one FreeBSD and one KVM. OpenBSD failed to install in all three environments. The latter two crashed just during the file system creation stage.
ivzhh··on Podman Desktop v1.5 with Compose onboarding and enhanced Kubernetes pod data
https://github.com/compose-spec/compose-spec/blob/master/spe...
ivzhh··on Linear Algebra Done Right – 4th Edition
This book and mathematical analysis from Zorich are my favorite two math books.
ivzhh··on How to Learn Emacs (2012)
I picked up Emacs this summer (together with neovim). The motivation was simple, I was an early adopter of VSCode and SSH remote, but I noticed that sometimes, the session history (bash history, etc.) was not restored after network issue. I don't get along well with tmux thus I need a solution.

I found Emacsclient is a perfect match to my situation and I simply started from empty init.el. It was annoying in the first a few days to set up LSP, counsel, org-mode. But after about 3 days, everything became very natural and I have been using Emacs ever since. I made a lot of elisp in my init.el to set layout, do automatic actions, etc.

I am not a long time user yet so I can speak for the "learn" part: just use it and you will pick the skill up.

ivzhh··on GNU Emacs Lisp Bytecode Reference Manual [pdf]
> Let's document the Emacs Lisp Bytecode or LAP (Lisp Assembly Program) instructions.
ivzhh··on Ts_zip: Text Compression Using Large Language Models
When I first read about RWKV on zhihu and the author said Bellard was working with him on RWKV. I am so glad ts_zip is out and bring a new application to RWKV.
ivzhh··on Open-source high-performance RISC-V processor
Professor Bao of the OpenXiangShan team is known for his outspokenness, particularly in advocating for the academic model of the RISELab at UC Berkeley, which he often refers to as "Open Source Heavy Industry". As a result, he is a strong proponent of the OpenXiangShan project, as he firmly believes that it is the ideal means of producing high-quality research.
ivzhh··on Fly.io Status – Consul cluster outage
ByteDance replaces etcd with kubebrain [1], which is backed by their own KV store (TiKV seems also supported).

The single-group raft is the hard limit.

[1]: https://github.com/kubewharf/kubebrain

ivzhh··on The SCO lawsuit, 20 years later
Providing legal protection for lawsuits can be a lucrative business. However, I'm not aware of any BSD-based companies that have capitalized on this opportunity. Are there any untold stories?
ivzhh··on Ask HN: Is StackOverflow Dying?
IMHO, SO is tech-stack centric, which worked perfectly in old days. Questions are grouped by Java, Web, .NET, shell/system admin, etc. We got most of answers to general questions for each tech stack in SO. But nowadays, with the rise of open source projects, the knowledge of each project stays with the GitHub issues. This is naturally shaped by the domain knowledge of each project. I would say SO may not see any rapid growth anymore, Github will.
ivzhh··on SGCL: Real-time garbage collector for C++
In early attempts of removing GIL, atomic reference counting slows down performance by 60%. In comparison, tracing garbage collector can defer/coalesce reference counting. You can read more in [2] section 2.1, and this paper introduced a new referencing counting method.

[1] Multithreaded Python without the GIL https://docs.google.com/document/d/18CXhDb1ygxg-YXNBJNzfzZsD... [2] Low-Latency, High-Throughput Garbage Collection https://users.cecs.anu.edu.au/~steveb/pubs/papers/lxr-pldi-2...

ivzhh··on Show HN: krunvm – Create and run lightweight VMs from OCI images
Also, firecracker did not merge virtio-fs [1]. So I guess it is a scope and priority decision:

> To not trade off our core use case simplifying assumptions, we'll need something like a way to build different Firecracker "specialized variants" or alternatively a plugin system. This is something worth discussing for 2021. Again this is not a guarantee, but virtio-fs could fit in such a scheme, especially if it's a rust-vmm crate we can easily import over.

[1]: https://github.com/firecracker-microvm/firecracker/pull/1351...

ivzhh··on System Design Interview book review
My guess is DDIA + USENIX/OSDI/... papers.
ivzhh··on TerarkDB, ByteDance's RocksDB replacement
Leadership or steering committee is a key factor for open source projects operated by companies. A closed pull request with comment "We won't accept the pull request because ..." should not be on the trajectory of an infrastructure project, which is to be/being widely used by any giant vendor.

So RocksDB came from LevelDB and here we go again.

ivzhh··on Lua in the Kernel?
ZFS compiles a modified version Lua 5.2 into zfs.ko and loaded into Linux kernel.
ivzhh··on OpenZFS 2.0.0-Rc1
Reddit discussion: https://www.reddit.com/r/zfs/comments/igmjfh/openzfs20_rc1_r...
ivzhh··on New Google SRE book: Building Secure and Reliable Systems
It seems [Edie Freedman](https://www.itworld.com/article/2708642/history-of-the-o-rei...) chooses the animal based on the description from the authors:

> I ask the authors to supply me with a description of the topic of the book. What I am looking for is adjectives that really give me an idea of the "personality" of the topic.... Sometimes it is based on no more than what the title sounds like. (COFF, for example, sounded like a walrus noise to me.) Sometimes it is very much linked to the name of the book or software. (For example, vi, the "Visual Editor," suggested some beast with huge eyes).

My guess is the animals of the series is kind of decided by the first animal. Several Kubernetes (operators)/Cloud-native books are with birds on front page.