Better HN
topnewbestaskshowjobs
Log inSign up

rmorell

17 karma · joined May 7, 2013 (13y ago) · 3 submissions

Submissions

comment 11y ago · link · parent

Nobody explicitly decided to enable the logging by default. It was caused by an uninitialized variable. Uninitialized variables result in undefined behavior, but can often go unnoticed in practice if the code around them results in the value in memory (or register) for that variable usually being a certain value. In this case, it happened to result in logging being disabled by default in most situations. But using jemalloc for the process rather than the standard malloc implementation was enough to cause the opposite result, apparently due to jemalloc poisoning malloc()ed regions (which overwrote the "usual" value).

comment 12y ago · link · parent

sed is provably Turing complete: http://www.catonmat.net/blog/proof-that-sed-is-turing-comple... which means that it's effectively able to simulate any other Turing-complete language (provided enough processing power and memory).

comment 13y ago · link · parent

Old news: http://docs.yahoo.com/docs/pr/releaseindex.html