How to create a Python package in 2022
How do you create a Python package? How do you set up automated testing and code coverage? How do you publish the package? That's what this article...
How do you create a Python package? How do you set up automated testing and code coverage? How do you publish the package? That's what this article...
When I was kids, I draw my perfect laptop PC to note. At that time, I couldn’t have the laptop. But, now I can start my project!
You probably need to do fewer things right now. Prioritization, the other definition There’s two loose definitions of prioritization. Prioritization(1): Ordering a todo list. You make a giant list of things you could do, things you should do, things you’d like to do… and then you put a unique number...
On my home network I have guest WiFi configured and when guests come round they need to know the password. Happily there's a way to make thi...
For web automation/testing, Selenium has been the de facto "standard" since forever. It's simple to get started with and supports almost every programming language. My problem with it has been: It's good enough, but nothing more. It doesn't work that well with modern, Javascript framework heavy sites (Angular, React
The world's worst security flow
When was the last time you completed a project? When was the last time you started a project? Have you every felt that you were trapped working on something that you don’t enjoy anymore? Size is something that I’m sure most developers with the drive to do side projects have felt. Recently I have been completing more…
It's time to settle the endless internet debates.
Table of Contents Major features Eglot is now part of Emacs core Tree-Sitter is also part of Emacs core Install packages from source with package.el Org mode 9.6 use-package in Emacs core Pure GTK Emacs is here for Wayland! Compile EmacsLisp files ahead of time Native access to SQLite databases HaikuOS support New…
I've never "got" the appeal of a Mac. But I have to use one for work. Here's a partial list of everything I cannot do on a Mac, but I can do on Ubuntu. These are all objective facts. These are things which either are impossible, or require adding unsupported 3rd party software - sometimes at a cost. Resize the system…
tl;dr: dd works for reading and writing disks, but it has no "low level I/O" capabilities that make it more suited for this than any other shell utility. Like cat you should use it where it makes sense, e.g. to take advantage of its wide array of options, rather than try to ensure that all disk related commands begin…
The unedited, writerly feel of monospaced fonts meets the readability and legibility of proportional ones.
New zine: The Pocket Guide to Debugging
Aliases, etc that have made rebase-based workflows in Git much less advanced feeling.
Most command line programs that offer line editing -- like bash, Python, GDB, psql, sqlite and more -- do so using GNU readline. Readline's a powerful library that grants history, completion, movement and editing to programs that use it --- and a stable and consistent set of keyboard shortcuts. Shame, then, that even…
Learn what's new in Emacs 28.1
so here's a short tutorial on ansi escape codes and terminal control, because you philistines won't stop using ncurses and oh my god WHY ARE WE STILL USING NCURSES IT IS THE TWENTY FIRST FUCKING CENTURY
It's like discovering a treasure chest under my kitchen sink
LSP (language server protocol) is fairly popular today. There's a standard explanation of why that is the case. You probably have seen this picture before:
I recently took delivery of a new replacement logic board for the ubiquitous classic Casio F-91W from Sensor Watch. The F-91W needs no introduction. It’s probably the most popular quartz watch in the world with something like 90 million total units sold.
An update on my years-long habit, with a new tool.
A Home Assistant Love Story
Modern mobile devices contain a myriad of distractions and addictive platforms. My vices are Twitter and TikTok.
I’ve been working on some long-needed updates to Videogrep , my command-line tool that automatically generates supercuts. These updates were motivated in part by a 10 week class I recently developed and taught at the School for Poetic Computation called Scrapism (web-scraping-as-art). The class includes a section on…
A minimal guide to everyday Git for solo developers: initialize a repo, add files, commit changes, view history, and restore earlier versions.
tl;dr: online TLA+ manual/advanced techniques/examples here. TLA+ is a tool for testing abstract software designs. I first stumbled on it in 2016 and found it so useful I wrote a free online guide to help others learn it. Then I decided the guide wasn’t good enough and wrote Practical TLA+ in 2018. Then I decided the…