miniblog.

The esoteric language BF was designed to be a language where you could write a very small compiler. Self-hosting BF is significantly harder though. If we designed languages to minimise total LOC for a project plus its compiler, what would end up with?
When your blog is already hosted by GitHub, you can even have your comment backend on GitHub too! https://utteranc.es/ (I've decided to trial it on my blog: https://www.wilfred.me.uk/)
Persisting editor and mental state across debugging sessions is really hard. It's often easier to have a single, longer debugging session.
Ever wondered what the (interactive) function does at the C level of Emacs? It's just been ported in Remacs! https://github.com/Wilfred/remacs/pull/1022/files
It's easy to use lots of different versions of Rust nightly. Remacs requires a specific version. The https://autogen.sh/ scripts are admirably defensive, to help you get on the right version!
Photo
I'm not sure about teaching OO in terms of shape hierarchies or animal species hierarchies. It might help intuition, but doesn't reflect typical usage IME. If you did model animals in an OO style, you'd be more likely to have base classes or interfaces like IFarmable, IHuntable.
There are technologies that are arcane, time consuming to learn, but extremely helpful to know. Have you encountered any that fit these criteria?
The latest Read Eval Print Love discusses rules engines! https://leanpub.com/readevalprintlove004/read I'm also interested to learn that Clojure has a unification library in its stdlib.
There's a seedy underbelly of refactoring tools that work most of the time. For example, grep and sed can perform function renaming. For a small codebase, this works well (you can test or eyeball the result). Ideally we'd only use fully correct tools, but simplicity often wins.
Mid stack inlining in Go: https://go.googlesource.com/proposal/+/master/design/19348-midstack-inlining.md (Interesting implementation details: the inliner is AST based, how to preserve existing stack reflection APIs, and how to show good tracebacks.)
NLL (non-lexical lifetimes) now landing in Rust! https://smallcultfollowing.com/babysteps/blog/2018/10/31/mir-based-borrowck-is-almost-here/
I've realised that the expression problem applies to docs just as much as code. E.g. for a PL, do you organise syntax highlighting docs with all editors together, or do you have a separate page for all relevant plugins of a single editor?
OH: Minecraft is the MUD of today's youth. This is a really interesting way of thinking about Minecraft! It certainly seems to be an outlet for all sorts of creative projects.
What does computing look like if we don't organise our functionality into programs that become OS processes? What paradigms have we not considered? https://shalabh.com/programmable-systems/systems-not-programs.html
I love how smartphone web browsers will offer a handy option if your clipboard contains a URL. Saves two key presses! I wonder if there are other UIs that could be improved by considering the current clipboard context.
Photo
Showing 2,416-2,430 of 7,508 posts