miniblog.

If you wanted to write a program that would still work (without modification) in 20 years, what language/platform would you use, and why?
Taming Undefined Behavior in LLVM https://www.cs.utah.edu/~regehr/papers/undef-pldi17.pdf (very readable paper on UB behaviour at the level of compiler IR semantics)
Intrigued by the idea of measuring deploy frequency per software project. Unlike most dev metrics, it's hard to game in a detrimental way.
Emacs 25.2 is out! https://www.gnu.org/software/emacs/news/NEWS.25.2
Fun post comparing metaprogramming with Boost.Hana in C++ vs D:
Type Tailoring https://blog.racket-lang.org/2017/04/type-tailoring.html An incredible post showing how to *extend* Typed Racket at the user macro level!
I like the idea of a LOC limit on projects, but it's hard to implement. Avoiding feature creep is good, but so is increasing test coverage.
Emacs master has added a new switch bytecode! https://github.com/emacs-mirror/emacs/commit/88549ec38e9bb30e338a9985d0de4e6263b40fb7
TIL git-log can show multiple heads when --all is too much to see what's going on:
Fortunately, 'make clean' in Remacs does exactly what you think it does. CI has been a huge help spotting a dev has a dirty environment.
I'm resurrecting an old blog using Ghost. So far, I'm impressed: it's minimal but has everything I need. sqlite default DB makes it easy.
Taming Undefined Behavior in LLVM https://blog.regehr.org/archives/1496 (exploring a model for undef behaviour that is comprehensible and amenable to opt)
The origins of XXX as FIXME https://www.snellman.net/blog/archive/2017-04-17-xxx-fixme/ (lisp machines, early Unix, and proper code archaeology!)
Homograph attacks still exist in Unicode domains: https://www.xudongz.com/blog/2017/idn-phishing/ (scary! Whitelist character sets by TLD?)
Solving the knapsack problem (NP-complete!) in Prolog: https://newtocode.wordpress.com/2013/11/23/knapsack-problem-in-prolog/
Showing 3,676-3,690 of 7,585 posts