Posts
Getting Started with perlimports
·3104 words·15 mins
linting
perlimports
precious
tidying
Reducing software dependencies is one way to reduce an application’s attack surface. I’ve laid out how perlimports can be used to manage and reduce Perl dependencies in both modern and legacy applications. It’s not difficult, but it should be done with care.
GitHub Copilot Chat: First Impressions
·3099 words·15 mins
AI
GitHub
GitHub Copilot
Recently I got access to GitHub’s Copilot Chat. I have been trying to figure out how (and if) Copilot can help to improve my productivity.
Initially I did not think yet another article on AI would have any point, but many smart, competent software developers do not use AI (yet?). Some of them may not be aware of how they can leverage AI and some may rightly just be wary of all the hype. My plan is to share some practical examples and you can judge for yourself if it is worth your time.
Find and Fix More Typos
·1402 words·7 mins
fzf
linting
Neovim
precious
tidying
typos
VS Code
When you’re constantly producing code and documentation, mistakes will happen. Some will be easy to spot and others may elude you. We know that attention to detail counts. If someone finds a typo in your documentation or their code, they may be inclined to ask themselves what else may be wrong. In order to avoid the impression of carelessness, let’s automate the finding and fixing of typos.
Using Tig to Make Sense of Git
·1188 words·6 mins
git
Tig
TUI
If you work with Git as your version control system, youβve likely already resigned yourself to the fact that it’s a complicated beast. Git is a fantastic tool, but it can be cumbersome to navigate repositories, logs, the stash, etc. Thatβs where a tool like Tig comes in.
4 Strategies for Context Switching in Git
·1257 words·6 mins
git
worktree
Anyone who spends a lot of time working with Git will eventually need to do some form of context switching. Sometimes this adds very little overhead to your workflow, but other times, it can be a real pain.
Let’s discuss the pros and cons of some common strategies for dealing with context switching.
is: an inspector for your environment
·1273 words·6 mins
Go
bash
dotfiles
is
I love writing bash scripts, but there are some aspects of it which I find to be a bit tedious. I’ve written “is” to try to make shell programming a little more enjoyable. Let’s look at how to get started with it.
Closing Duplicate Tabs With AppleScript
·745 words·4 mins
AppleScript
Hammerspoon
I have a browser tab problem. This is how I solved it without using Chrome extensions.
Whither Perl
·129 words·1 min
perl
TPRC
presentations
The slides and video for my “Whither Perl” talk are now available.
Using Docker to Fix a Perl 5.37 Test Failure
·738 words·4 mins
Docker
perl
A demonstration of how to use Docker to fix a test which fails under Perl 5.37