Marcin Borkowski: Homepage

https://mbork.pl/Homepage

35 posts

Tech 97% · Culture 3%

Subscribe via RSS

  1. Binding TAB in Dired to something useful

    I’m old enough to remember Norton Commander for DOS. Despite that, I never used Midnight Commander nor Sunrise Commander – Dired is still my go-to file manager these days. In fact, Dired has a feature which seems to be inspired by NC: when there are two Dired windows, the default destination for copying, moving and symlinking is “the other” window. Surprisingly, another feature which would be natural in an orthodox file manager is absent from Dired

    0 ▲
  2. Easter 2026

    Christ has risen, rejoice! I have a bit of a rough time right now, but we have Good News – Jesus is greater than our troubles! Like in previous years, rest assured that I will pray a decade of the Rosary for all of you, my dear readers. Hallelujah!

    0 ▲
  3. Node.js and .env files

    The more I work with Node.js, the more I appreciate its built-in features. Supply chain attacks are a real thing and the more I can do without pulling in megabytes (or even kilobytes) of dependencies, the better. For example, one of the very common patterns in Node applications are configs in .env files. The traditional way to digest them is to use dotenv, which admittedly has zero dependencies – but nowadays even that is not necessary.

    0 ▲
  4. Disabling Eslint in one line with Tide

    When coding in JavaScript, I use Eslint like everybody else. (Let’s set the discussion about Eslint vs. Oxlint for another time.) One problem I have is that sometimes (rarely, but not never) I need to tell Eslint that I broke one of the rules intentionally and I don’t want it to nag me about it.

    0 ▲
  5. Selecting a sample of a PostgreSQL table

    Today I have a nice SQL tip about sampling tables in SQL. (I’m writing about PostgreSQL as usual but this applies to other databases, too, since this feature is in the SQL standard.) Imagine you have a large table and you want to get a general feeling about what its contents look like.

    0 ▲