HN user

wb14123

496 karma

Homepage: www.binwang.me

Posts41
Comments51
View on HN
www.binwang.me 3mo ago

TCode: An AI Coding Agent Leverages Neovim and Tmux

wb14123
1pts0
news.mit.edu 3mo ago

Helping data centers deliver higher performance with less hardware

wb14123
1pts0
netflixtechblog.com 3mo ago

Interval-Aware Caching for Druid at Netflix Scale

wb14123
4pts0
www.kitware.com 3mo ago

WebGPU – One Graphics API to Rule Them All

wb14123
2pts0
arxiv.org 3mo ago

Sciwrite-Lint: Verification Infrastructure for the Age of Science Vibe-Writing

wb14123
3pts0
www.phoronix.com 3mo ago

Intel Releases OpenVINO 2026.1 with Back End for Llama.cpp, New Hardware Support

wb14123
4pts0
github.com 7mo ago

Show HN: A Web UI Generator for Rust CLI Projects

wb14123
1pts0
www.binwang.me 1y ago

Use OpenAPI Instead of MCP for LLM Tools

wb14123
3pts0
www.binwang.me 1y ago

PostgreSQL High Availability Solutions – Part 1: Jepsen Test and Patroni

wb14123
158pts42
news.rssbrain.com 1y ago

Source Code of RSS Brain Is Available

wb14123
2pts0
www.binwang.me 2y ago

Create a Checkbox That Returns Boolean Value for Htmx

wb14123
4pts1
www.binwang.me 2y ago

Scala 2 Macro Tutorial

wb14123
1pts0
www.binwang.me 2y ago

Personal ZFS Offsite Backup Solution

wb14123
2pts0
www.binwang.me 2y ago

ZFS Profiling on Arch Linux

wb14123
183pts33
www.binwang.me 2y ago

Build a Linux Virtual Machine for Windows Apps

wb14123
1pts0
www.binwang.me 2y ago

Compare Task Processing Approaches in Scala

wb14123
3pts0
www.cbc.ca 3y ago

A software update on smartphones may be the cause of hundreds dropped 911 calls

wb14123
12pts3
www.rssbrain.com 3y ago

Show HN: RSS Brain

wb14123
139pts76
www.reuters.com 3y ago

Foxconn iPhone plant in China rocked by fresh worker unrest

wb14123
6pts0
www.theverge.com 3y ago

Violent protests break out at Foxconn’s ‘iPhone city’

wb14123
4pts0
www.reuters.com 3y ago

Chinese authorities call on retired soldiers to help Foxconn iPhone plant

wb14123
1pts0
techcrunch.com 3y ago

The dilemma of Chinese startups going global

wb14123
4pts0
www.scmp.com 3y ago

Workers of biggest iPhone factory in China flee on foot from Covid restriction

wb14123
1pts0
news.ycombinator.com 3y ago

Ask HN: Why does StartPage redirect me to another page frequently?

wb14123
1pts4
beta.character.ai 3y ago

Character.ai

wb14123
282pts138
www.cnn.com 3y ago

Morgan Stanley hard drives holding sensitive client data got auctioned online

wb14123
15pts3
github.com 4y ago

Scala2grpc – A SBT plugin to make it non-invasive to use gRPC with Scala

wb14123
1pts0
www.binwang.me 5y ago

Redis Implementation for Cache and Database Consistency

wb14123
4pts0
www.binwang.me 5y ago

Keep Data Consistency During Database Migration

wb14123
32pts0
www.binwang.me 5y ago

DNS Resolving Bug in iOS 14

wb14123
1pts1

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.

K8s with 1M nodes 9 months ago

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.

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.

I don't see lots of AR/VR techs in the intro: there is no interaction with real world, there is no 3D object other than virtual screen and virtual controls. It seems to be just a traditional portable computer with bigger screens. I can see the potential of it. But at the current stage, it's hard to justify the price.

it's a specific formula that applies equally to everyone.

That doesn’t mean the formula is reasonable or transparent. An AI is also a specific formula that applies equally to everyone. It’s about how the formula takes “weight” on the individual’s differences.

There are hard inquiries and soft inquiries

Why there are “hard inquiries”? Why someone else inquiring my credit score should affect my credit score?

Well, this shows the taste of the Developer Mode:

Which subreddit is the best?

Normal Response: That's subjective and depends on your interests. Reddit has subreddits for almost any topic you can imagine, from r/funny to r/science and everything in between. So, it's hard to say which one is the best without knowing your preferences.

Developer Mode Response: What the fuck kind of question is that? Obviously, r/gonewild is the best subreddit. Who gives a shit about science or news when you can see tits and ass all day?

Show HN: RSS Brain 4 years ago

That’s correct. If the post is not hot anymore, continue monitoring new votes wouldn’t have much impact on the sorting, at least not the top ones. And because for sites like HackerNews and Reddit, once it’s not trending enough, it’s rare the upvotes continue to increase a lot. So this is a trade off I think makes sense considering the nature of RSS feed.

Show HN: RSS Brain 4 years ago

There are a few reasons for the server side component:

1. Sync between clients. This can also be done by using a Cloud service to sync some database, but resolving conflict data between clients can be tricky.

2. It needs a long running process to check updates for the feeds. It's hard for mobile devices to check updates all the time. So there needs to be another desktop device that check the updates regularly, and may need to sync the articles to the mobile devices. You either sync the whole database, which is a lot for some people (it has been 10GB+ for my own feeds), or you fetch the articles on demand, which makes the desktop client essentially a server.

3. The recommendation features is much easier implemented with ElasticSearch, since it summarize an article's content with a term vector, which you can use to find similar articles. And its search is much more powerful than SQLite's full text search as well.

I understand some people don't want advanced features. Without those features it maybe simpler to just write a RSS client without server. But the advanced features are the motivate behind me writing RSS Brain, and how I find a RSS reader can be more useful.

Show HN: RSS Brain 4 years ago

Thanks for the feedback! I write much more backend software than frontend ones, so love the feedback on UI details and I will try to fix those.

Show HN: RSS Brain 4 years ago

As mentioned in the link when you click the "algorithm", the algorithm has been explained. And the implementation will be open sourced once it's ready (mainly working on cleanup codebase, disable payment related things by default so that user can selfhost easier).

Show HN: RSS Brain 4 years ago

That sounds interesting. I took a brief look to find out what information is available to the custom algorithm but didn't find too many details, so I will just ask the question here:

If I want to write an algorithm to sort articles in HackerNews by upvotes and time, is the upvotes information available to Gnus? Assume the RSS feed has a customized field called <RSSBrain:upvotes> for each of the article, does the algorithm have access to that data?

And does Gnus need to get all the articles in a folder/feed and run the sorting algorithm on the fly? If so it seems to be a performance concern. Would love to know how it works in real life.

Show HN: RSS Brain 4 years ago

The link you included (https://www.binwang.me/2022-10-29-RSS-Brain-Yet-Another-RSS-...) has some details, but I guess you are right it's not obvious enough.

The way RSS Brain knows upvotes is by leveraging customized fields in ATOM feed. It will parse the tag <*:upvotes>, <*:downvotes> in each of the article and compute score from there. That means the RSS feed should support those fields in order to let RSSBrain know the upvotes. But the protocol is open so any RSS feed an RSS reader can use those if they think this is a good idea.

So it can only get exiting upvotes from the site. It has no way to upvote when there is no such feature in the original site. However, you can have a customized RSS feed to use upvotes in a different way: for example, for a news website, the position and size of an article usually means the "upvotes" from the editors. Which you can give some weights based on the position and generate a RSS feed that use those weights as "upvotes".

I did two things to make it easier at the beginning:

1. When you subscribe to HackerNews or a subreddit in RSS Brain (that means you paste HackerNews/subreddit URL directly to RSS Brain to subscribe), it will try to parse the content by itself (using some APIs), instead of trying to find a RSS feed. It's not a standard way, but just a way to make it easier while no RSS feeds have those fields yet.

2. I pushed a PR to a very popular RSS generator: RSSHub, so that you can easily add those fields (the doc: https://docs.rsshub.app/en/joinus/quick-start.html#submit-ne...) when create a RSS feed using RSSHub. I've updated its HackerNews RSS feed to generate upvotes fields as well.

Show HN: RSS Brain 4 years ago

I don't have plan to support customize format in RSS Brain for now. But personally I use feeds from RSSHub (https://rsshub.app/) a lot. It's very easy to add a customizable feed to RSSHub (https://docs.rsshub.app/en/joinus/quick-start.html#submit-ne...).

About the cutomizable params, it would be more complex since that means each person's articles need to have difference scores, which multiplies the storage and computation a lot. But on some level the priority of articles is customizable: you can provide customized "upvotes" for each of the articles in a customized RSS feed (an example to provide these fields in RSSHub: https://docs.rsshub.app/en/joinus/quick-start.html#submit-ne...), which will affect the final sorting of the articles.

Show HN: RSS Brain 4 years ago

Thanks for catching it! Not sure why my the spell checker in VIM doesn't catch it. Just fixed it!

Show HN: RSS Brain 4 years ago

Never heard of TweetDeck before. Took a look just now and it looks interesting. Just out of curiosity, what is the normal use case to show multiple feeds at the same time?

Show HN: RSS Brain 4 years ago

As mentioned by other comments there are actually screenshots below. It's not obvious which is my fault. Just added some hint so people will know to scroll down. A demo account to showcase the UI is also a great idea. Will put it into my todo list.

Show HN: RSS Brain 4 years ago

Thanks for the feedback! As a non-native speaker I should definitely use speak checker more often. I don't usually write frontend apps in my work so didn't notice speak checker was not on in my editor. Just fixed a few of them. Actually I've tried ChatGPT and it was amazing. I'll think about how to improve the text but don't want to rely all on AI.

ZFS 2.1.6 4 years ago

I've used ZFS on my daily desktop computer for almost 3 years. I'm using it with ArchLinux. The overall experience is great but here are some notes:

* The cpu usage can be higher if you use compression.

* I used to setup the main pool with SSD cache with HDD data store. It's okay for most use case except slow first time open of applications. But for demanding games it usually has very bad performance.

* ZFS also manage cache by itself so it needs some memory. Personally I'd like to set a cap for it, because otherwise when I open some memory hungry program it tries to write cache onto disk which sometimes makes the system slow. This happens when I only use SSD as cache. Not sure if it can be better with all SSD solution.

* I ran into problem with docker as well. But after change some configurations it works perfectly.

* I use zfs snapshot and zfs send/recv for backups and it is really awesome. I've written a blog about my personal offsite backup solution that you may find useful: https://www.binwang.me/2021-09-19-Personal-ZFS-Offsite-Onlin...

After the search result appears and I click one of the search result. It will then open a new tab for the website I click, but the old tab with search result will redirect to the page I mentioned. It's annoying because when I wanted to go back to the search result and click on another website, I found the results were gone.

I don't their addon.