HNHacker News
TopNewBestAskShowJobs

squadrick

209 karma · joined August 10, 2017

Whatever works.
submissionscomments
squadrick··on Typehere.cc
https://github.com/Squadrick/typehere

Clone of typehere.co which is no longer available.

It gives you a text canvas where anything you type is stored in the browser's local storage. Convenient scratch-pad right from the browser.

squadrick··on Show HN: Shadesmar – Fast C++ IPC using shared memory
Yup
squadrick··on A Day to Make a World of Difference
ThoughtSpot is making election days a paid-holiday for all employees on the day national general elections happen in their country.
squadrick··on (Better) Interprocess Locks
HN thread of the previous post: https://news.ycombinator.com/item?id=21402594
squadrick··on Robust Interprocess Locks
> That's not safe. PIDs are recycled.

Yup, didn't think of that possibility, thanks for pointing it out.

> You may (should?) be able to initialize a pthread-based PTHREAD_PROCESS_SHARED + PTHREAD_MUTEX_ROBUST mutex in a shared memory region and have everything just work.

Trying this now, I'll make another post if I can get it working. Thanks for the suggestion.