Header image for Why An 8TB Drive Isn’t 8 Usable TB

Why An 8TB Drive Isn’t 8 Usable TB

I bought an 8TB external SSD to use as a live boot Linux device. I knew that this issue was due to the way that bits are aggregated into terabytes, but — thanks to our mate ChatGPT — here’s a nice explanation of why my 8TB SSD only shows 7,452 …

Header image for Wrap with HTML tags in VSCode

Wrap with HTML tags in VSCode

Using the Emmet capabilities in VSCode (see previous TIL) you can highlight a section of HTML code and quickly wrap it with other HTML using Emmet shortcuts.

Header image for __main__.py file in a project

__main__.py file in a project

This is, to a Python project / module, what if __name__ == '__main__ is to an individual Python file.

Header image for A nice workflow for creating Python projects with AI

A nice workflow for creating Python projects with AI

First, create a new project using poetry

Header image for neofetch for Linux system info summary

neofetch for Linux system info summary

neofetch provides a nice snapshot of system information. This is what you were wanting to add to the --sysinfo output for gpt-engineer.

Header image for Emmet Abbreviations in VSCode

Emmet Abbreviations in VSCode

Apparently there’s this plugin for many IDEs called Emmet which makes writing HTML very fast!

Header image for Installing Racket (Scheme) in WSL

Installing Racket (Scheme) in WSL

We’ll install Racket from apt as follows, as the snap version ended up with many hassles

Header image for raco is Racket’s Package Management System (among other things …)

raco is Racket’s Package Management System (among other things …)

In the Racket programming language, raco is a command-line tool used to interact with Racket's package management system, run tests, build documentation, and perform other tasks related to Racket development. It's a versatile utility that automates various tasks in Racket projects.

Header image for Working through SICP in Jupyter Notebooks

Working through SICP in Jupyter Notebooks

I’m reading Structure and Interpretation of Computer Programs and want to write Racket in VSCode in Jupyter notebooks in a dialect of Scheme closest to the book. This requires this declaration at the top of each Racket file:

Header image for Writing Racket (Scheme) in Jupyter Notebooks

Writing Racket (Scheme) in Jupyter Notebooks

First, we’re going to install Jupyter. As we don’t want to contaminate our global Python installation, we’ll do this in a venv