Better HN
topnewbestaskshowjobs
Log inSign up

grep_it

2,009 karma · joined May 6, 2019 (7y ago) · 94 submissions

https://siemens.blog
Submissions

comment 8h ago · link · parent

I came across the paper on google scholar while looking into radix trees. Funny enough there was a recent post from valkey on dropping the skiplist in favour of a btree for their sorted set[0].

Looking forward to the blog post!

0: https://news.ycombinator.com/item?id=50534387

2.

Arctic: A Practical Lock-Free Adaptive Radix Tree(usenix.org ↗)

99 points · by grep_it · 3d ago · 12 comments

3.

The History of Pachinko(scottspachinkorestorations.com ↗)

3 points · by grep_it · 3d ago · discuss

comment 3d ago · link · parent

This view is narrow minded and reductive. You imply playing with toys isn’t a life well lived, but peel back any value system that you’ve set up, explicit, or otherwise, and you may find nihilism at the end.

A cage went in search of a bird.

comment 5d ago · link · parent

I find that partitioning by key range tends to be more flexible and malleable to rebalancing (merge, splits, etc). Doing things like CRC16(key) % 16384 tends to bite eventually.

comment 5d ago · link · parent

Not only are they still being manufactured, but they are continuing to see innovations. Heat assisted magnetic recording (HAMR), mentioned in the article, which will heat disk via the R/W head, allowing for higher density drives.

comment 1w ago · link · parent

... and Doug's perl script, which was never committed to source control. It lives on a single box and silently upholds a number of implicit system invariants. In someones inbox is an email from Doug, sent just before he retired, that the script needs to be copied over to the new box before the hardware migration is complete.

comment 1w ago · link · parent

After pi’s got expensive I started picking up refurbished Dell micros and Lenovo tinys cheap and haven’t looked back. They are also perfect for the 10” mini rack[0].

0: https://github.com/geerlingguy/mini-rack#build-showcase

comment 1w ago · link · parent

Tim's description of dicts always stuck with me by describing the hash table slot states as one of citizen, virgin, or turd[1]. <wink>

1: https://mail.python.org/pipermail/python-list/2000-March/048...

comment 2w ago · link · parent

Similar experience here, except it was Qbasic followed by Delphi. Good memories of passing our dumb little games around the compute lab. It wasn't till later in life that I connected Pascal to Wirth when reading Algorithms + Data Structures = Programs (I still think the last chapter on compilers holds amazing as an introduction to the subject).

comment 4w ago · link · parent

I've had good success with just using mypyc (https://mypyc.readthedocs.io/en/latest/introduction.html) on typed python code.

12.

Delta: Highly available, strongly consistent storage using chain replication (2022)(engineering.fb.com ↗)

31 points · by grep_it · 2mo ago · 3 comments

comment 2mo ago · link · parent

Lamport lists his collected works on his site[0] along with some commentary for each one, and directly mentions, The Maintenance of Duplicate Databases, as the origin for logical clock paper. Many of the notes have interesting commentary.

> Many computer scientists claim to have read it. But I have rarely encountered anyone who was aware that the paper said anything about state machines. People seem to think that it is about either the causality relation on events in a distributed system, or the distributed mutual exclusion problem. People have insisted that there is nothing about state machines in the paper. I've even had to go back and reread it to convince myself that I really did remember what I had written.[1]

0: https://lamport.azurewebsites.net 1: https://lamport.azurewebsites.net/pubs/pubs.html#time-clocks

14.

Distributed Systems Classics (2017)(nvartolomei.com ↗)

351 points · by grep_it · 2mo ago · 75 comments

comment 2mo ago · link · parent

Did you read the article?

“[…]because we can generate 1.2 METRIC BAJILLION valid URLs just for a single fork of linux.git.”

comment 2mo ago · link · parent

Sibling comment touched on it, and I guess rust does offer just that, but void casting and doing explicit offset checks for a field is one reason. You can kind of think of it like a tuple in that way and a db engine might use a similar technique.

comment 2mo ago · link · parent

I think the size of linked binaries and simplicity were always the main features?

comment 2mo ago · link · parent

This reminds me how you can save a bunch of bytes just by making sure your structs are aligned. In go for example:

  type Wasteful struct {
    a int16
    b int
    c byte
  }

  type Aligned struct {
    b int
    a int16
    c byte
  }

Will have sizes of 24bytes and 16bytes (on a 64bit system). Same data 8bytes more. If you are storing millions of those objects, then it adds up.

comment 3mo ago · link · parent

I always come back to this game whenever I'm at a hotel for a conference waiting for the elevator.

20.

Paxos Made Simple (2001) [pdf](lamport.azurewebsites.net ↗)

65 points · by grep_it · 4mo ago · 7 comments

comment 4mo ago · link · parent

Awesome resource, thanks for sharing!

22.

Open Source Low Tech(opensourcelowtech.org ↗)

675 points · by grep_it · 5mo ago · 140 comments

comment 7mo ago · link · parent

Except that eventually you'll find you lose a write when things go down because the page cache is write behind. So you start issuing fsync calls. Then one day you'll find yourself with a WAL and buffer pool wondering why you didn't just start with sqlite instead.

24.

The Architecture of Open Source Applications (Volume 1) Berkeley DB(aosabook.org ↗)

89 points · by grep_it · 9mo ago · 12 comments

comment 10mo ago · link · parent

Last I heard, DuckDuckGo backend was Perl.

26.

Load Balancing (2023)(samwho.dev ↗)

5 points · by grep_it · 10mo ago · discuss

27.

Clock synchronization is a nightmare(arpitbhayani.me ↗)

232 points · by grep_it · 11mo ago · 159 comments

comment 12mo ago · link · parent

Relevant: https://db.cs.cmu.edu/papers/2022/cidr2022-p13-crotty.pdf

29.

SO-YOU-DONT-HAVE-TO INCORPORATED'); DROP TABLE companies; --(sydht.ai ↗)

3 points · by grep_it · 1y ago · discuss

comment 1y ago · link · parent

I love the authors style!
1234