HackerTrans
TopNewTrendsCommentsPastAskShowJobs

funny_falcon

61 karmajoined vor 14 Jahren

comments

funny_falcon
·vor 4 Tagen·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
·vor 2 Jahren·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.