miniblog.

Awesome Emacs command of the day: M-x apropos-value. Want to know which variables contain a value? This command will find all matching vars.
Want to create a simple major mode, just comment and keyword highlighting? define-generic-mode is what you need! https://www.emacswiki.org/emacs/GenericMode
There's a roleplay/simulation/model Houses of Parliament on Reddit, complete with debates and speakers! Incredible. https://www.reddit.com/r/MHOC/comments/45kmkm/ministers_questions_equalities_viiii_130216/
One big advantage of Rust's nightly compiler builds: you can build a bisect tool to pinpoint compiler regressions! https://github.com/kamalmarhubi/rust-bisect
Awesome Emacs package of the day: eval-in-repl: https://github.com/kaz-yos/eval-in-repl -- it's a great way of interactively executing code to play with it.
I find it much easier to read code that's all lowercase than all uppercase. Shouldn't they be equivalent?
How do you hide your consumer key in an open source twitter client? twittering-mode uses a fun obfuscation: https://github.com/hayamiz/twittering-mode/blob/17c2c0dacea31c81b03d1f27bce6aa6f0d327cca/twittering-mode.el#L12548-L12573
What do level design, REPLs and compiler error messages have in common? Failure margins and feedback loops: https://mkremins.github.io/blog/failure-margins-feedback-loops
I've seen JS beautifiers that re-indent minified code, but jsnice is much smarter. It infers useful variable names! https://www.jsnice.org/
Remarkable blog post demonstrating POC||GTFO 0x08's compiler bug exploitation, but applied to JS minification: https://zyan.scripts.mit.edu/blog/backdooring-js/
Key sequences can be memorable (e.g. `C-c m f' for calling my-function) but they're not as easily repeated. It's a tricky tradeoff.
For more elaborate sequences of numbers in Emacs macros, take a look at the tiny emacs package: https://github.com/abo-abo/tiny
Emacs tip of the day: when creating a macro, press F3 to insert 0. The next time your macro runs, it will insert 1, and so on.
"a + b + c + ... for Rust strings takes linear time, not quadratic, and has no weird side effects or special casing" https://www.reddit.com/r/programming/comments/474q20/rewrite_everything_in_rust/d0car61
What can we learn from JavaScriptCore moving from LLVM to a custom IR called B3? Lots: https://www.philipreames.com/Blog/2016/02/15/quick-thoughts-on-webkits-b3/
Clang's warnings keep getting better. A handy warning on dubious uses of commas just landed on trunk: https://reviews.llvm.org/D3976
Fantastic, *accessible* introduction to compiler writing https://hokstad.com/compiler (uses GCC to work out what the assembly should look like)
Robigalia is a remarkable Rust project to build a Linux compatible userland on top of seL4 https://robigalia.org/
Nifty Emacs package of the day: speed-of-thought: https://github.com/Malabarba/speed-of-thought-lisp Provides brilliant commands for inserting parens and adding defns.
Iterators: Signs of Weakness in Object-Oriented Languages https://www.pipeline.com/~hbaker1/Iterator.html (argues against iterators due to the hidden state)
Showing 761-780 of 922 posts