Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
I have read many books in 2025; let’s forget most and talk about the good ones.
-
A Quick Why I won’t try to sell AWK in this post, I’ve done it before.
-
Background It wasn’t my first time standing over a lasagna pan, trying to eyeball how to cut it into 6 equal portions.
-
Surrounding text in Vim/Neovim is not strictly complicated, but finding a good workflow is not immediately obvious either.
-
What is LocalSend?
-
Problem wc -l is pretty good at counting lines, it’s what most people use # man cat | wc -l 71 Except that it collapses all your data to a single number.
-
Previously, in Using recon_trace with Elixir, I had laid out a foundation for using :recon_trace specifically with Elixir.
-
I have read many books in 2024; let’s forget most and talk about the good ones.
-
While most macOS users know how to take and use screenshots, I would argue there are 2 ways to improve the experience.
-
Background Recently, I’ve been experimenting with WezTerm and Neovim.
-
Most people know they can add functions to the shell, but often limit themselves to their dotfiles.
-
The Template Itself If you need to copy-paste: for {name, params} <- %{ "test name 1" => %{}, "test name 2" => %{}, "test name 3" => %{} } do @tag params: params test name, %{params: params} do # use params.???
-
Situation If you’ve been stuck in a terminal where ctrl-c didn’t seem to work > bash sig-catcher loop 1 loop 2 loop 3 ^C loop 4 loop 5 ^C^C^C^C loop 6 loop 7 loop 8 # it keeps going ...
-
I wrote before about psql Tips and Tricks.
-
(2025-02-16 update: How to get Elixir logging with recon_trace) This year, I finally got around to learn recon_trace.
-
Background Over Christmas, I decided that it was a good time to try the Gleam track on Exercism.
-
I have read many books in 2023; let’s forget most and talk about the good ones.
-
Quick links: better defaults variables temporary tables Why psql?
-
What is this?
-
What is entr?
-
I mentioned in Reduce is Not the Answer how: reduce is fairly low-level reduce doesn’t capture “intent” Very loosely, I believe that “loop constructs” fall somewhere on this abstraction scale: Exact placement is subjective; this is a starting point.
-
TLDR The reduce function: can do anything, and often does… fails to communicate intent compared to its alternatives reduce is the for-loop of functional programming… What is reduce?
-
Spreadsheets aren’t my favorite things, but I’ve spent a decent amount of time using them.
-
A lot of people don’t know that join exists, or what it does 🤔 I mean the join command that’s already on your computer and ready to go: # BSD (macOS) > join usage: join [-a fileno | -v fileno ] [-e string] [-1 field] [-2 field] [-o list] [-t c…
-
What is Livebook?
-
I have read many books in 2022; let’s forget most and talk about the good ones.
-
Do you babysit long-running applications?
-
tl;dr The answer is on stackoverflow: if (RectA.Left < RectB.Right && RectA.Right > RectB.Left && RectA.Top > RectB.Bottom && RectA.Bottom < RectB.Top) which is correct but not especially obvious.
-
Not just JavaScript… While this post uses process.env – JavaScript, TypeScript, and node – to make a point, none of the problems listed are JavaScript-specific.
-
(Disclaimer: I wrote vim-slime) Installing a vim plugin: probably not fun… Maybe you’ve heard about vim-slime, thought it was cool … but you weren’t sure what you were getting yourself into 🤔 That’s understandable … I feel the same about every vim plugin:…
-
It started with a conversation with my parents.
-
I recently stumbled on something that I thought would be easy: parsing and validating dates in Awk.
-
Help me help you When I’m at someone’s desks, in person or virtually, it drives me crazy to see the heroics of typing everything in a REPL… Let alone trying to manually fix broken code on in a REPL… Or losing their work when exiting the REPL, and trying to
-
(when I switched my shell to zsh, I mentioned that I would try fish and report back: this is it.)
-
I have read many books in 2021; let’s forget most and talk about the good ones.
-
How do you read non-JSON inputs with jq?
-
Azerbaijanian Translation, thanks to Amir.
-
Short version: module names and file names don’t have to match!
-
I had not tried to write my own mix tasks until this week.
-
Over the years, I wrote a bunch of quick JavaScript apps with code similar to: document.addEventListener("keydown", ev => { // ESC if (ev.keyCode === 27) { // ... } // Enter if (ev.keyCode === 13) { // ... } // ... but I found out…
-
Spanish Translation, thanks to Laura.
-
For years, I’ve been solving the wrong problem: how do I cd.. efficiently?
-
Switching off the git master branch was easier than I expected!
-
I have read many books in 2020; let’s forget most and talk about the good ones.
-
Imagine a simple Go project: . ├── go.mod ├── main.go └── stats └── avg.go No tricks: click to enlarge You are about to create stats/avg_test.go: what is the right package name declaration for that file?
-
Spanish Translation, thanks to Laura.
-
Spanish Translation, thanks to Laura.
-
I had heard about Zsh before: I thought it had many good things going for itself.
-
Problem Quick: why is this JSON not valid?
-
When dealing with directories in bash, some obvious things seem like too much work… Here are 2 quick tips for easier handling of directories in bash. unix-filename-rubout When dealing with long directory names, you can usually complete forward by pressing…