← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 114
  1. The Best Books I Read in 2025

    I have read many books in 2025; let’s forget most and talk about the good ones.

  2. How to Write Self-Contained AWK Scripts

    A Quick Why I won’t try to sell AWK in this post, I’ve done it before.

  3. Background It wasn’t my first time standing over a lasagna pan, trying to eyeball how to cut it into 6 equal portions.

  4. Surrounding text in Vim/Neovim is not strictly complicated, but finding a good workflow is not immediately obvious either.

  5. Software I like: LocalSend

    What is LocalSend?

  6. When to use "cat -n" instead of "wc -l"

    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.

  7. How to get Elixir logging with recon_trace

    Previously, in Using recon_trace with Elixir, I had laid out a foundation for using :recon_trace specifically with Elixir.

  8. The Best Books I Read in 2024

    I have read many books in 2024; let’s forget most and talk about the good ones.

  9. Screenshot Smarter, with macOS

    While most macOS users know how to take and use screenshots, I would argue there are 2 ways to improve the experience.

  10. Fixing tmux for 256 colors

    Background Recently, I’ve been experimenting with WezTerm and Neovim.

  11. Using Shell Functions Casually

    Most people know they can add functions to the shell, but often limit themselves to their dotfiles.

  12. A Table-Driven Test Template for Elixir

    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.???

  13. When ctrl-c Is Not Enough

    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 ...

  14. More psql Tips and Tricks

    I wrote before about psql Tips and Tricks.

  15. Using recon_trace with Elixir

    (2025-02-16 update: How to get Elixir logging with recon_trace) This year, I finally got around to learn recon_trace.

  16. Gleam Support in Vim with ALE

    Background Over Christmas, I decided that it was a good time to try the Gleam track on Exercism.

  17. The Best Books I Read in 2023

    I have read many books in 2023; let’s forget most and talk about the good ones.

  18. psql Tips and Tricks

    Quick links: better defaults variables temporary tables Why psql?

  19. Data Analysis: Strange Loop 2023 Videos

    What is this?

  20. entr: The Standalone File Watcher

    What is entr?

  21. Reduce Anti-Patterns

    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.

  22. Reduce is Not the Answer

    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?

  23. How to Export Excel Formulas to CSV

    Spreadsheets aren’t my favorite things, but I’ve spent a decent amount of time using them.

  24. INNER JOIN Files on the Command-Line

    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…

  25. Livebook: Getting Started

    What is Livebook?

  26. The Best Books I Read in 2022

    I have read many books in 2022; let’s forget most and talk about the good ones.

  27. ding: Audio Feedback for Exit Codes

    Do you babysit long-running applications?

  28. 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.

  29. Serious Talk: Environment Variables

    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.

  30. Trying vim-slime in Docker

    (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:…

  31. The World Changes Around Your Code

    It started with a conversation with my parents.

  32. Parsing and Validating Dates in Awk

    I recently stumbled on something that I thought would be easy: parsing and validating dates in Awk.

  33. Stop Typing Into REPLs

    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

  34. Fish Shell is Awesome

    (when I switched my shell to zsh, I mentioned that I would try fish and report back: this is it.)

  35. The Best Books I Read in 2021

    I have read many books in 2021; let’s forget most and talk about the good ones.

  36. Reading Raw Text into jq

    How do you read non-JSON inputs with jq?

  37. Software I like: Chrome Coverage Tab

    Azerbaijanian Translation, thanks to Amir.

  38. Short version: module names and file names don’t have to match!

  39. Elixir Notes: Mix Tasks and @shortdoc

    I had not tried to write my own mix tasks until this week.

  40. Life After KeyCode

    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…

  41. Rebase a Tmux Session

    Spanish Translation, thanks to Laura.

  42. cd.. Until .git Directory

    For years, I’ve been solving the wrong problem: how do I cd.. efficiently?

  43. Goodbye Git Master Branch

    Switching off the git master branch was easier than I expected!

  44. The Best Books I Read in 2020

    I have read many books in 2020; let’s forget most and talk about the good ones.

  45. Which Package Name for Go Tests?

    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?

  46. Software I like: Skitch

    Spanish Translation, thanks to Laura.

  47. Chrome Extension: Click to Remove Element

    Spanish Translation, thanks to Laura.

  48. First Look at Zsh

    I had heard about Zsh before: I thought it had many good things going for itself.

  49. Dealing with Non-ASCII Characters

    Problem Quick: why is this JSON not valid?

  50. Better Directory Handling in Bash

    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…