Bookmark
Coreutils Gotchas
https://www.pixelbeat.org/docs/coreutils-gotchas.html, posted 26 Aug by peter in development documentation howto reference shell toread
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.
Bookmark
Python Practical Package Packing 2024
https://matt.sh/python-project-structure-2024, posted 19 Jul by peter in development howto python reference toread
requirements.txt
(or “requirements insetup()
call”) is not a valid way to manage dependencies — and it hasn’t been for the past 5+ years. If you are still usingrequirements.txt
it shows you need professional help. luckily, i’m a professional.Let’s go over some bad / good / example practices for living your best python life in 2024.
Bookmark
LibreChat AI
https://itsfoss.com/librechat-linux/, posted 15 Jul by peter in ai development free howto opensource software
LibreChat AI is an open-source platform that allows users to chat and interact with various AI models through a unified interface. You can use OpenAI, Gemini, Anthropic and other AI models using their API. You may also use Ollama as an endpoint and use LibreChat to interact with local LLMs. It can be installed locally or deployed on a server.
Bookmark
How to think about HTML responsive images
https://danburzo.ro/responsive-images-html/, posted Apr '24 by peter in css development graphics howto html reference webdesign
Here’s how I made sense of responsive image content, progressing from simpler to more complicated — and then back to simple.
Bookmark
What to read to become a better writer
https://www.economist.com/the-economist-reads/2022/09/09/what-to-read-to-become-a-better-writer, posted Dec '23 by peter in howto list reference toread writing
Yes, writing is hard. But if you can first grasp the origins and qualities of bad writing, you may learn to diagnose and cure problems in your own prose (keeping things simple helps a lot). Similarly heartening is the observation that most first drafts are second-rate, so becoming a skilled rewriter is the thing. These five works are excellent sources of insight and inspiration.
Bookmark
Politics and the English Language
https://www.orwellfoundation.com/the-orwell-foundation/orwell/essays-and-other-works/politics-and-the-english-language/, posted Jul '23 by peter in howto language literature opinion writing
Being George Orwell's thoughts on how to write well, and his formulation of six rules:
i. Never use a metaphor, simile or other figure of speech which you are used to seeing in print.
ii. Never use a long word where a short one will do.
iii. If it is possible to cut a word out, always cut it out.
iv. Never use the passive where you can use the active.
v. Never use a foreign phrase, a scientific word or a jargon word if you can think of an everyday English equivalent.
vi. Break any of these rules sooner than say anything outright barbarous.
Bookmark
Self-hosting SSO with Nginx (Part 1): Keycloak
https://joeeey.com/blog/selfhosting-sso-with-nginx-keycloak-part-1/, posted May '23 by peter in development hosting howto security toread
There are many tools that we can use for SSO, such as Authelia, Authentik, or Keycloak.
Although some of the aforementioned SSO tools may be easier to set up, I decided to go with Keycloak. Keycloak is an enterprise-level tool that is supported by Redhat. Using Keycloak will give us a lot of flexibility, and ticks the boxes for acceptable memory usage, theme-ability, and multi-factor authentication support.
Bookmark
Tree views in CSS
https://iamkate.com/code/tree-views/, posted Nov '22 by peter in css development howto html webdesign
A tree view (collapsible list) can be created using only HTML and CSS, without the need for JavaScript. Accessibility software will see the tree view as lists nested inside disclosure widgets, and the standard keyboard interaction is supported automatically.
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
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.