Public notes
  • Log in
  • Nature
  • Coding
  • Information Sciences
  • Entrepreneurship
  • Practical Wisdom
  • Research
  • Now

Public notes

Elegance is not optional.

TDD: Why small steps are precious
TDD

TDD: Why small steps are precious

A "grand redesign" gives us one application better than the original one, and another application, still messy. Often a new bug report means we will need to develop and ship the fix *twice*.

  • Patryk Kocielnik
    Patryk Kocielnik
Patryk Kocielnik 15 Mar 2025 • 1 min read
Slow media
Wisdom

Slow media

Keep reading. It feels slow, yet it gets you to new, verified knowledge much faster than film.

  • Patryk Kocielnik
    Patryk Kocielnik
Patryk Kocielnik 28 Feb 2025 • 1 min read
Wisdom

Intrinsic motivation

Alfie Kohn: "Normally, it’s hard to STOP happy, satisfied people from trying to learn more about themselves and the world, or from trying to do a job of which they can feel proud."

  • Patryk Kocielnik
    Patryk Kocielnik
Patryk Kocielnik 24 Jan 2025 • 1 min read
Software Engineering

The "Unit" in "Unit Tests": What Google says

Dorota Biernacka from Akamai made an interesting note: If top Google results say the "unit" is a class or a function, what answer would a job interviewer expect?

  • Patryk Kocielnik
    Patryk Kocielnik
Patryk Kocielnik 16 Jan 2025 • 4 min read
The "Unit" in "Unit Test" is the Test!
Software Engineering

The "Unit" in "Unit Test" is the Test!

"The Unit of isolation is the Test."

  • Patryk Kocielnik
    Patryk Kocielnik
Patryk Kocielnik 13 Nov 2024 • 1 min read
Software Engineering

Testing: Level master

Deciding which language to use in the next project? Cosider this first.

  • Patryk Kocielnik
    Patryk Kocielnik
Patryk Kocielnik 7 Sep 2024 • 1 min read
Wisdom

Why focus (not effort) is the key to getting stuff done

A message I got from Cal Newport and Scott Young. It was too good for me to keep it to myself.

  • Patryk Kocielnik
    Patryk Kocielnik
Patryk Kocielnik 11 Aug 2024 • 1 min read
Software Engineering

SSH: Keep a long process running after disconnect

I SSH'd into one of my servers, and started a large sync operation.

  • Patryk Kocielnik
    Patryk Kocielnik
Patryk Kocielnik 5 Aug 2024 • 1 min read
Software Engineering

Mac terminal: Copy a file to the clipboard

Send an image via Slack or WebEx, after copying it from the terminal.

  • Patryk Kocielnik
    Patryk Kocielnik
Patryk Kocielnik 30 Jul 2024 • 1 min read
Deep Learning

Deep Learning, Kalman Filters, and Inflation

There are three questions that keep coming back to me: What is the best way to learn to use deep learning? How do Kalman filters work to make aviation and car driving safer? How to shield savings from inflation?

  • Patryk Kocielnik
    Patryk Kocielnik
Patryk Kocielnik 14 Jul 2024 • 3 min read
Entrepreneurship

Invention: On starting a business with Tim Ferriss

"Indiscriminate action is reflective of too little thinking and planning, and THAT is lazy."

  • Patryk Kocielnik
    Patryk Kocielnik
Patryk Kocielnik 14 Jun 2024 • 1 min read
Software Engineering

Learning to program in Python from Haskell programmers: Optionals

Some Haskell programmers prefer returning lists from functions rather than optional types or "None".

  • Patryk Kocielnik
    Patryk Kocielnik
Patryk Kocielnik 9 May 2024 • 1 min read
Software Engineering

Why your foundational knowledge matters (and TDD too)

It's often easier to write what you need from scratch, and TDD helps at that, a lot.

  • Patryk Kocielnik
    Patryk Kocielnik
Patryk Kocielnik 7 Jan 2024 • 1 min read
Wisdom

Audiobooks

McGinnis: The next best thing to being with great people in person.

  • Patryk Kocielnik
    Patryk Kocielnik
Patryk Kocielnik 30 Dec 2023 • 1 min read
Press review

Press review: 30.12.2023

Hardware side of HPC, Cyber Resilience Act (CRA), calling shells (not only Bash), and Vidir for managing files with a text editor.

  • Patryk Kocielnik
    Patryk Kocielnik
Patryk Kocielnik 30 Dec 2023 • 2 min read
Wisdom

Remember the steel mill story?

Covey mentioned a manager in "7 Habits". Alan Loy McGinnis said, what his name was.

  • Patryk Kocielnik
    Patryk Kocielnik
Patryk Kocielnik 20 Dec 2023 • 1 min read
Software Engineering

TDD: Motivation

Robert C. Martin: "Why don’t developers clean up code? They’re afraid that they’ll break it."

  • Patryk Kocielnik
    Patryk Kocielnik
Patryk Kocielnik 5 Dec 2023 • 1 min read
Investing: Rule #1
Investing

Investing: Rule #1

Phil Town: “There are only two rules of investing: Rule #1: Don’t lose money, and Rule #2: Don’t forget Rule #1!”

  • Patryk Kocielnik
    Patryk Kocielnik
Patryk Kocielnik 5 Dec 2023 • 2 min read
Software Engineering

When to use: Classes vs Data Structures

Classes and Data Structures make it easy to add new functionality. In each of them, a certain way of adding functionality is much easier than in the other. Read this to know, which way will be easier in the code you are working with.

  • Patryk Kocielnik
    Patryk Kocielnik
Patryk Kocielnik 19 Nov 2023 • 1 min read
Functional Object-Oriented Programming
Software Engineering

Functional Object-Oriented Programming

Robert C. Martin: A good program can, and should, be both functional AND object-oriented.

  • Patryk Kocielnik
    Patryk Kocielnik
Patryk Kocielnik 12 Nov 2023 • 2 min read
TDD example: Test an existing Flask app
Software Engineering

TDD example: Test an existing Flask app

Make sure your API doesn't break after the changes you're about to make.

  • Patryk Kocielnik
    Patryk Kocielnik
Patryk Kocielnik 3 Nov 2023 • 8 min read
Nature

Development in production

"[The project] started with a roughly forty-week development phase, then a very intense production deployment, and continues now with an ongoing development-in-production phase."

  • Patryk Kocielnik
    Patryk Kocielnik
Patryk Kocielnik 23 Oct 2023 • 1 min read
TDD Examples: C with DocTest
Software Engineering

TDD Examples: C with DocTest

Quickly get up to speed with Test-Driven Development in C using DocTest - the fastest and most convenient testing library for C++ toolchains.

  • Patryk Kocielnik
    Patryk Kocielnik
Patryk Kocielnik 27 Jul 2023 • 4 min read
Wisdom

Letter mask

For privacy in standard mail ("snail mail").

  • Patryk Kocielnik
    Patryk Kocielnik
Patryk Kocielnik 16 Jun 2023 • 1 min read
Wisdom

How to label a feeling

What words can we use to describe our feelings?

  • Patryk Kocielnik
    Patryk Kocielnik
Patryk Kocielnik 1 Jun 2023 • 1 min read
Public notes
  • Log in
  • Nature
  • Coding
  • Information Sciences
  • Entrepreneurship
  • Practical Wisdom
  • Research
  • Now
Public notes © 2025
Latest Posts Ghost