Using Emacs as $EDITOR
A post on how I configure ZSH and Emacs in order to use the latter as $EDITOR.
Topics /
The most popular blog posts about software engineering on Hacker News. 1,136 posts.
A post on how I configure ZSH and Emacs in order to use the latter as $EDITOR.
I've tried to write a blog post on tag systems for years now. Literally years, I think I first started drafting it out in 2018 or so? The problem is that...
Ruby's `private` keyword means something different compared to basically all other object-oriented languages. Most other languages don't even have a feature matching what Ruby calls `private`, but incredibly, Scala does, which it calls `protected[this]` (meaning
<p> Running live demos can be stressful. You know what you want to say and show. You prepare the CLI commands you want to run to best showcase what you...
Programming language features are never orthogonal.
With a little effort, you can make your mypy-typed Python go zoom.
My inspiration for this article was this thread in r/embedded . There are still many myths and misconception when it comes to the simple questions "Which compiler should I use?" or "Which compiler is the best?". I will try to share my practical experience with GCC, Clang and IAR on Cortex-M ( and Cortex-M only ). This…
Create animations from first principles and morph between different figures with Python. In 5 minutes. Kind of.
Mudlark on the River Thames foreshore by day, then hunt vampires at Carfax Abbey by night. A new game written in APL on the Commodore…
If your app has just ruined my day, I need help, not humour.
Why DFINITY builds Rust with Bazel.
Hacking together bits of electronics to route audio
Projects, experiments and toys by Rafał Pastuszak
Once upon a time, my curiosity of dependent types transitioned into an endeavour to learn how they work under the bonnet. Then I found the paper called “A Tutorial Implementation of a Dependently Typed Lambda Calculus” or just “Simply Easy” – and began reading it. However, the affairs happening there were so complex…
A couple of days ago I was giving a little update to my website and I needed a wayto create and inject custom HTML into some of my posts.
Make your own BASIC to C compiler in Python.
How it felt to be computing in the late aughts vs. now.
How (and why!) to convince the machines to write lenses for you
No one has ever written a FactoryFactoryFactory and deployed it to production, right? This article takes a look at some real Java mishaps.
Julia Evans had a great talk called Making Hard Things Easy . One of the takeaways for me was that I should be using tools for parts of a ...
On best practices and gradient descent.
As I've written about before , a PostgreSQL superuser always has the ability to take over the operating system account in which PostgreSQL i...
The C++ library has long been organized around stream classes, at least when it comes to reading and parsing strings. But streams can be surprisingly slow. For example, if you want to parse numbers, then this C++ routine is close to being the worst possible choice for performance: std::stringstream in(mystring)…