Better HN
topnewbestaskshowjobs
Log inSign up

tmulcahy

13 karma · joined Jul 9, 2012 (14y ago) · 12 submissions

I write software and blog at https://mulcahy.ca/
Submissions

comment 1mo ago · link · parent

What about it isn't well engineered?

comment 1y ago · link · parent

I usually code with VIM. I work in many different languages and repos simultaneously. Python, TypeScript, C++, Kotlin, etc. Sometimes I need to ssh into a server and code there because I can't build AOSP on my Mac laptop. I sometimes find autocomplete helpful, but I can't be bothered to keep it working across all of these environments.

comment 2y ago · link · parent

Did you mean erythritol? It's often paired with monk fruit, but it's a completely separate substance. Erythritol has been linked to stroke - e.g. see https://www.cnn.com/2023/02/27/health/zero-calorie-sweetener... - but I have seen no such links involving monk fruit.

comment 3y ago · link · parent

Agreed. This is the best explanation of Log-Structured Merge Trees I've seen. I finally feel confident that I understand the concept.

comment 3y ago · link · parent

Slide rules seem really cool! I'd like to acquire one for my desk. Anyone have recommendations for particular models or features? And where I can buy one? I'm hoping to get one in good condition, easy to use, and not to expensive. Bonus points if there is some cultural significance like the Pickett that the Apollo program used.

comment 4y ago · link · parent

Thanks for the explanation. Very interesting! I assume you only do the DFS when you detect a lock ordering violation? So if there is the potential for a deadlock you'll do extra work to make sure that you're actually deadlocked before aborting?

comment 4y ago · link · parent

Any details/links that explain this? The article seems to suggest that they used to detect the deadlock as it was about to happen, and then abort everything and retry. This doesn't seem too different from "when they happen". What is the optimization?

comment 4y ago · link · parent

> The lock ordering rules had become too complicated and this was getting us too many transaction restarts, so I stole the standard technique from databases

What is the standard technique from databases?

comment 4y ago · link · parent

They do mention LMDB, which OpenLDAP uses as a backend: https://www.openldap.org/doc/admin24/backends.html

comment 4y ago · link · parent

The ryg blog: https://fgiesen.wordpress.com/

comment 5y ago · link · parent

Chrome bookmarks are safe. This is https://en.wikipedia.org/wiki/Google_Bookmarks