Better HN
topnewbestaskshowjobs
Log inSign up

wb14123

496 karma · joined Dec 18, 2012 (13y ago) · 106 submissions

Homepage: www.binwang.me
Submissions

comment 1mo ago · link · parent

I created my own harness tcode (https://github.com/wb14123/tcode) to leverage tmux and neovim. Have been using it all the time since the beginning of this year.

comment 4mo ago · link · parent

I wrote a harness leveraging tmux and nvim: https://github.com/wb14123/tcode . It's able to open subagents and even talk with them, all managed by tmux and using nvim as the UI for both the editor and the messages display window.

3.

TCode: An AI Coding Agent Leverages Neovim and Tmux(binwang.me ↗)

1 points · by wb14123 · 7mo ago · discuss

4.

Helping data centers deliver higher performance with less hardware(news.mit.edu ↗)

1 points · by wb14123 · 7mo ago · discuss

5.

Interval-Aware Caching for Druid at Netflix Scale(netflixtechblog.com ↗)

4 points · by wb14123 · 7mo ago · discuss

6.

WebGPU – One Graphics API to Rule Them All(kitware.com ↗)

2 points · by wb14123 · 7mo ago · discuss

7.

Sciwrite-Lint: Verification Infrastructure for the Age of Science Vibe-Writing(arxiv.org ↗)

3 points · by wb14123 · 7mo ago · discuss

8.

Intel Releases OpenVINO 2026.1 with Back End for Llama.cpp, New Hardware Support(phoronix.com ↗)

4 points · by wb14123 · 7mo ago · discuss

comment 11mo ago · link · parent

Yeah I'm also wondering that. I'm looking for self-host PostgreSQL after Cockroach changed their free tier license but found the HA part of PostgreSQL is really lacking. I tested Patroni which seems to be a popular choice but found some pretty critical problems (https://www.binwang.me/2024-12-02-PostgreSQL-High-Availabili...). I tried to explore some other solutions, but found out the lack of a high level design really makes the HA for PostgreSQL really hard if not impossible. For example, without the necessary information in WAL, it's hard to enforce primary node even with an external Raft/Paxos coordinator. I wrote some of them down in this blog (https://www.binwang.me/2025-08-13-Why-Consensus-Shortcuts-Fa...) especially in the section "Highly Available PostgreSQL Cluster" and "Quorum".

My theory of why Postgres is still getting the hype is either people don't know the problem, or it's acceptable on some level. I've worked in a team that maintains the in house database cluster (even though we were using MySQL instead of PostgreSQL) and the HA story was pretty bad. But there were engineers manually recover the data lost and resolve data conflicts, either from the recovery of incident or from customer tickets. So I guess that's one way of doing business.

10.

Show HN: A Web UI Generator for Rust CLI Projects(github.com ↗)

1 points · by wb14123 · 11mo ago · discuss

comment 1y ago · link · parent

Instead of giving up the good guarantee of etcd, a better approach maybe grouping some nodes together to create a tree like structure with sub clusters.

comment 1y ago · link · parent

Yeah yet this is a happy path with no failure imported. Still surprised to see this kind of scenario was not tested inside AWS.

comment 1y ago · link · parent

This kind of replication can be configured in vanilla Postgres with something like ANY 3 (s1, s2, s3, s4) in synchronous_standby_names? Doc: https://www.postgresql.org/docs/current/runtime-config-repli...

comment 1y ago · link · parent

Surprised to see Amazon RDS doesn't pass such simple test. Nicely done!

15.

Use OpenAPI Instead of MCP for LLM Tools(binwang.me ↗)

3 points · by wb14123 · 1y ago · discuss

comment 1y ago · link · parent

Ever since CockroachDB changed their license, I'm searching for alternatives. PostgreSQL is an obvious choice but is there a good HA solution? What people usually do for HA with PostgreSQL or do they just not care about it? I tested Patroni, which is the most popular one in my knowledge, but found some HA issues that makes me hesitate to use: https://www.binwang.me/2024-12-02-PostgreSQL-High-Availabili...

17.

PostgreSQL High Availability Solutions – Part 1: Jepsen Test and Patroni(binwang.me ↗)

158 points · by wb14123 · 1y ago · 42 comments

comment 2y ago · link · parent

Is it really prioritizing happiness tho? From Wikipedia:

> According to the World Happiness Report 2019, Bhutan is 95th out of 156 countries.

Not to mention its ethnic cleansing of the non-Buddhist population. There are definitely other things that have higher priority on the government's agenda than people's happiness.

19.

Source Code of RSS Brain Is Available(news.rssbrain.com ↗)

2 points · by wb14123 · 2y ago · discuss

20.

Create a Checkbox That Returns Boolean Value for Htmx(binwang.me ↗)

4 points · by wb14123 · 2y ago · 1 comment

21.

Scala 2 Macro Tutorial(binwang.me ↗)

1 points · by wb14123 · 2y ago · discuss

1234