HackerTrans
TopNewTrendsCommentsPastAskShowJobs

funny_falcon

61 karmajoined 14 ปีที่แล้ว

comments

funny_falcon
·3 วันที่ผ่านมา·discuss
systems, upstart or even simple primitive script wrapper.

Built-in is also possible: just fork once after start, and you have parent as watchdog and restarter.
funny_falcon
·2 ปีที่แล้ว·discuss
Readability, reproducibility, and simple LRU.

Reproducibility matters for tests, they become simpler. Some other algorithms become simpler as well.

LRU is just a dict with preserving order: on access just delete and insert again.