Bookmark
Git - git-worktree Documentation
https://git-scm.com/docs/git-worktree, posted 2022 by peter in development documentation howto reference versioncontrol
In its simplest form,
git worktree add <path>
automatically creates a new branch whose name is the final component of<path>
, which is convenient if you plan to work on a new topic. For instance,git worktree add ../hotfix
creates new branchhotfix
and checks it out at path../hotfix
. To instead work on an existing branch in a new worktree, usegit worktree add <path> <branch>
. On the other hand, if you just plan to make some experimental changes or do testing without disturbing existing development, it is often convenient to create a throwaway worktree not associated with any branch. For instance,git worktree add -d <path>
creates a new worktree with a detachedHEAD
at the same commit as the current branch.If a working tree is deleted without using
git worktree remove
, then its associated administrative files, which reside in the repository (see "DETAILS" below), will eventually be removed automatically (seegc.worktreePruneExpire
in git-config[1]), or you can rungit worktree prune
in the main or any linked worktree to clean up any stale administrative files.
Bookmark
Damn Cool Algorithms: Levenshtein Automata
blog.notdot.net/2010/07/Damn-Cool-Algorithms-Levenshtein-Automata, posted 2022 by peter in development nlp reference text toread
The basic insight behind Levenshtein automata is that it's possible to construct a Finite state automaton that recognizes exactly the set of strings within a given Levenshtein distance of a target word. We can then feed in any word, and the automaton will accept or reject it based on whether the Levenshtein distance to the target word is at most the distance specified when we constructed the automaton. Further, due to the nature of FSAs, it will do so in O(n) time with the length of the string being tested. Compare this to the standard Dynamic Programming Levenshtein algorithm, which takes O(mn) time, where m and n are the lengths of the two input words! It's thus immediately apparrent that Levenshtein automaton provide, at a minimum, a faster way for us to check many words against a single target word and maximum distance - not a bad improvement to start with!
Of course, if that were the only benefit of Levenshtein automata, this would be a short article. There's much more to come, but first let's see what a Levenshtein automaton looks like, and how we can build one.
Bookmark
Selling Software To Large Businesses
https://training.kalzumeus.com/newsletters/archive/enterprise_sales, posted 2022 by peter in business entrepreneurship howto reference startup
I was under a common engineer misapprehension that BFE [Big Freaking Enterprise] sales requires playing golf, inviting clients to steak dinners, and having budgets beyond to reach of small businesses. This is not 100% true: you can hack the BFE procurement process to your advantage. Let's dig into how.
Bookmark
Conventional Commits
https://www.conventionalcommits.org/, posted 2021 by peter in development documentation git reference versioncontrol
The Conventional Commits specification is a lightweight convention on top of commit messages. It provides an easy set of rules for creating an explicit commit history; which makes it easier to write automated tools on top of. This convention dovetails with SemVer, by describing the features, fixes, and breaking changes made in commit messages.
Bookmark
Faster Maven builds
https://blog.frankel.ch/faster-maven-builds/1/, posted 2021 by peter in development howto java performance reference
I want to detail some techniques you can leverage to make your Maven builds faster in this post. The following post will focus on how to do the same inside of Docker.
Bookmark
Spreadsheet Formulas for Personal Finance
https://bou.ke/blog/formulas/, posted 2021 by peter in finance howto list math reference toread
I love spreadsheets. Spreadsheet programs like Microsoft's Excel, Apple's Numbers and Google Sheets are the secret heroes of our civilization.
I've also been interested in personal finance and the FIRE community for a while—not so much in the early retirement aspect but in the financial literacy it teaches its members. I have combined my passion for both into one mega-spreadsheet that I use to track my income, expenses, savings and investments in one overview. While creating this spreadsheet I got proficient in some new formulas, which I'll share here—and also write down for my own reference.
Bookmark
6 things you should do before you finish your recording session
https://diymusician.cdbaby.com/music-career/6-things-you-should-do-before-you-finish-your-recording-session/, posted 2021 by peter in audio howto list music reference
So you're all done recording your next song. You've laid down final takes for all the tracks, mixed everything and decided on the final master. Congrats!
But before you call it a day and prepare to distribute to streaming platforms, there are a few things many musicians forget to do that can take their song to the next level.
Bookmark
Coreutils Gotchas
https://www.pixelbeat.org/docs/coreutils-gotchas.html, posted 2021 by peter in development linux list reference shell
We make very careful considerations about the interface and operation of the GNU coreutils, but unfortunately due to backwards compatibility reasons, some behaviours or defaults of these utilities can be confusing.
This information will continue to be updated and overlaps somewhat with the coreutils FAQ, with this list focusing on less frequent potential issues.
Bookmark
The Acronyms That Protect Your Music Rights
https://diymusician.cdbaby.com/music-rights/the-acronyms-that-protect-your-music-rights/, posted 2021 by peter in business copyright list music reference
What ARE all these letters? Even music veterans are sometimes confused. But it's important to understand the difference between your ASCAP and your UPC, because they all play an essential role in earning revenue from your music copyrights.
Bookmark
Safe Herbs For Parrots
https://www.northernparrots.com/safe-herbs-for-parrots-blog822/, posted 2021 by peter in bird food health list reference
Herbs are a fantastic addition to your Parrot's diet, not only for their abundance of health benefits, but also in the variety they provide as part of a balanced diet. They can be presented in a chop, threaded through the cage bars, or even strung together as a shredding toy.
|< First < Previous 11–20 (241) Next > Last >|