Wastholm.com

requirements.txt (or “requirements in setup() call”) is not a valid way to manage dependencies — and it hasn’t been for the past 5+ years. If you are still using requirements.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.

A vector database indexes and stores vector embeddings for fast retrieval and similarity search, with capabilities like CRUD operations, metadata filtering, horizontal scaling, and serverless.

Here’s how I made sense of responsive image content, progressing from simpler to more complicated — and then back to simple.

Using the Yocto Project is fairly easy, until something goes wrong. Without an understanding of how the build process works, you’ll find yourself trying to troubleshoot “a black box”. Here are a few items that new users wished they had known before embarking on their first build with Yocto Project. Feel free to contact us with other suggestions.

Enligt bokföringslagen ska räkenskapsinformation arkiveras (sparas) i sju års tid – och i den form den hade när den kom till företaget. Får exempelvis ett företag in material på papper ska det också arkiveras på papper och har det kommit in elektroniskt ska det arkiveras elektroniskt. Det går däremot inte att skanna in pappersfakturor och sedan slänga fakturorna när allt är inskannat. Man får inte heller skriva ut elektroniska fakturor och sedan bara arkivera dem på papper, de måste även arkiveras digitalt.

Väljer du att skanna in en pappersfaktura säger dock bokföringslagen att du bara behöver arkivera pappersfakturan (originalet) i tre år och den inskannade kopian i sju år.

Store any website on your mobile phone or computer, easily.

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.

Det svenska uttrycket, liksom dess tyska förebild ”einem die Stange halten” har enligt Svenska Akademiens ordbok två olika ursprung, med från början lite olika betydelse. I det första fallet avser stången en lans eller motsvarande, och uttrycket bygger på att första ledet i en äldre stridsordning hade lansar som vapen som de höll mot fienden — och så länge de höll fienden stången kunde fienden inte ta sig framåt. Det andra fallet bygger på att skiljedomaren vid en medeltida tvekamp skilde de stridande åt med en stång när den ena parten gav upp och förklarade sig övervunnen. En numera utdöd variant av det uttrycket var ”hålla stången rätt emellan (två personer)”, med betydelsen ’medla på rätt sätt’.

Economic terms, from “absolute advantage” to “zero-sum game”, explained to you in plain English

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 branch hotfix and checks it out at path ../hotfix. To instead work on an existing branch in a new worktree, use git 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 detached HEAD 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 (see gc.worktreePruneExpire in git-config[1]), or you can run git worktree prune in the main or any linked worktree to clean up any stale administrative files.

1–10 (240)   Next >   Last >|