🐾 littlej

Welcome

I met this one in a cat cafe

Little cutie

Support my cat cafe visits at buymeacoffee.com/littlej


Sun 30 Nov 2025 01:07:07 PM GMT

2025-11-30 The number 8 should have a line on the bottom and the top because otherwise it might be confused for infinity.

Sat 29 Nov 2025 05:26:47 PM GMT

A philosophy of computer usage. It should enable you to organise and execute on expressing yourself. It’s easy to get lost in configuring bullshit that you don’t really care about.

Sat 22 Nov 2025 06:51:04 PM GMT

Me realising todo! is just a wrapper around panic. [looks inside meme]

Sat 15 Nov 2025 03:57:35 PM GMT

git upll
WARNING: You called a Git command named 'upll', which does not exist.
Continuing in 2.0 seconds, assuming that you meant 'rm -rfd $(git rev-parse --show-toplevel)/.git'.

Thu 30 Oct 2025 11:34:10 PM GMT

title: When I look inside hoping to get Some macro: Looks inside meme with None kernel panic crab

Wed 29 Oct 2025 01:03:15 AM GMT

I frequently find that prompt strings are too long. Once you start moving into deeper larger directories, your command quickly gets chopped up.

A quick fix is to append a newline to the prompt string:

PS += '\n'

and be done with it.

No need to use a prompt string manager, or dig into the default configs and change it there, or manage your own dotfiles.

Wed 22 Oct 2025 01:14:43 PM BST

Why is it Graphical user interface and terminal user interface, then command line interface? Bitch I aint a line.

Tue 14 Oct 2025 12:44:02 PM BST

I read a book recently that had the following sentence in it:

Mapper: From each chunk, a series of key-value pairs is generated.

Perhaps it’s prejudice, but I listen more when someone gets this right. I believe when people will see the letter “s”, they write (or more usually say) the plural - are generated.

Tue 14 Oct 2025 01:15:27 AM BST

I’ve had enough of the fact that people are encouraged to use throwaway variables in Python. So just in case, I’m getting a guard if.

joke = 'funny'
case x:
    case _ if joke == 'funny':
        print('haha')

TODO picture of guard dog, but it’s an if statement.

Sat 11 Oct 2025 12:28:39 PM BST

Today’s version of climbing the mountain for an appointment with the oracle is waiting for 4:52am to come around for your free version of ChatGPT-5 to re-emerge.

Thu 09 Oct 2025 01:06:26 PM BST

I sometimes get stuck in a loop where I run a command then quickly press up to re-run it realising that I mis-ran another command just after it; this time I press up twice. What?! the mis-typed command is still there. Oh, it’s three times now. Damn, must be four. WTF?

TODO the list keeps getting one longer

Thu 09 Oct 2025 01:03:07 PM BST

TODO add handles to each entry

Sometimes you just want to run a Python experiment with your development tools, but without the setup effort (not everybody has time to run uv --init …)

Why not switch out the interpreter for a script which manages that automatically?

TODO see pydev experiment

Tue 07 Oct 2025 10:23:09 PM BST

#Vim

In Vim, one can jump to a letter on the current line with f<letter>. What if the line is very long and we don’t have time for plugins?

Let’s assume you’ve scanned your desired location and you see collections of letters (we call these words.)

How many times should you have to tap ; to get to your desired word?

If you choose e as your jump letter, you’re going to be button mashing. What about z? There isn’t one this time (drat.)

Which letters can you depend on to get you around quickly?

Fri 03 Oct 2025 11:24:09 PM BST

Tip: how to get rid of annoying Ruff errors.

$ ruff check cool.py
E722 Do not use bare `except`
 --> cool.py:768:1
    |
766 | try:
767 |     pass
768 | except:
    | ^^^^^^

try:
    pass
except Exception():
    ...
All checks passed!

/end