Better HN
topnewbestaskshowjobs
Log inSign up

sanjay_316

5 karma · joined Aug 20, 2020 (6y ago) · 5 submissions

Submissions

comment 6y ago · link · parent

> One project I wrote a whole subsystem to do a particular thing. On a revision of the OS they had the same thing but way better. Tossed out every line of code I had written and used that. But without writing that thing I would not have know if it was worth it or not.

This sounds like it could be a good story to learn from if you wrote it out.

comment 6y ago · link · parent

And in exceptional cases, your similar program will be just different enough in a few key ways that it will open up new use cases.

Redis is just a hashmap (and LRU). A load balancer is also just a hashmap (and routing). There are plenty of interesting questions about which particular hashmaps to use in each case.

comment 6y ago · link · parent

There’s room outside the cities. Even cities require farms at the very least, which — while not wilderness — are not concreted over. Wilderness is good for mental health, clean air, and having options in the case of a collapse of our artificial ecologies of food crops.

comment 6y ago · link · parent

UnitInterval

Represent it internally as either fixed or floating point and divide to convert in and out if needed.

With a nice type system you could even genericize the type over integer constants