codedump.ch

This is where I collect things that interest and inspire me.

Luggage Losers

2024-07-01

https://luggagelosers.com/

A live ranking of airlines by how much luggage they are losing right now.

Python Mocking 101

2024-06-24

Python Mocking 101: Fake it before you make it

@patch("module.mock_function")
def test_thing(..., mock_call):
    mock_call.return_value = {"foo": "bar"}

    module.mock_function(a, b, c)

    mock_call.assert_called_once_with(a, b, c)
ds{count}{motion} // delete the surroundings
cs{count}{motion} // change the surroundings
ys{count}{motion} // add surroundings

Surround things in vscode vim

https://www.devever.net/~hl/traintoilet

What I love about this is that this person paid attention to their
surroundings. They tried to understand the most ordinary thing they encountered.
Yet this makes clear that even those things had to be designed by someone.
Somebody had to make an effort and figure out a system on how to lock a train
toilet. And this hack somewhat pays homage to that.

Skate Short Film

2024-06-18

https://timberfestival.org.uk/

Map of the sounds of forests all around the world.

Big Take

2024-06-17

paulstretch

Stretch any sound to the extreme.
Example with the Windows 98 startup sound.

https://lettersofnote.com/2012/02/15/i-love-my-wife-my-wife-is-dead/

Richard Feynman's letter to his dead wife.
Austin Kleon recommends reading obituaries for motivation. This goes in a
similar direction. Maybe this is sort of the same but four couples?

https://www.elletownsend.co.uk/blog/posts/blog-with-eleventy/

How to create a blog with 11ty

  1. 1
  2. 2
  3. 3