TIL it's impossible to play BluRay on Linux until a proprietary player has uploaded keys! https://wiki.archlinux.org/index.php/Blu-ray#Decrypting_using_PK_and_Host_K.2FC_.28step_3.2.2.29 (war on generic computing)
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!
There's a roleplay/simulation/model Houses of Parliament on Reddit, complete with debates and speakers! Incredible.
One big advantage of Rust's nightly compiler builds: you can build a bisect tool to pinpoint compiler regressions!
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:
What do level design, REPLs and compiler error messages have in common? Failure margins and 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:
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:
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"
Showing 4,711-4,725 of 7,584 posts