atlas news
  Peterbe
29  april     12h22
Bun WebView is eating up my tmp storage
   Bun WebView API creates tmp files that are large. It can eat your disk
17  april     13h34
html-getter - A powerfully simple HTML scraper in Bun
   When Bun v1.3.12 was released last week, they subtly included a powerful feature, almost under the radar: WebView. It’s like Playwright Puppeteer but...
14  april     14h25
Bestest security tip for updating packages with Bun
   I don’t know when this was added but if you use Bun in your TypeScript project, you might be familiar with bun upgrade which is a CLI tool for...
01  april     13h20
pytest import file mismatch
   Make sure your test files in a pytest tested project sit in directories with a init .py
12  march     15h07
Copy the current line in VS Code
   In VS Code you can copy the current line without first selecting it. Cmd-C without selection defaults to whole line.
06  march     15h27
logger.error or logger.exception in Python
   Consider this Python code: try: 1 0 except Exception as e: logger.error("An error occurred while dividing by zero.: %s", e) The output of...
26  february     17h23
How to find which git SHA it was when you merged in the default branch
   Please tell me there’s a better way. I’m in a git feature branch. It was branched off of master some time ago. Then I made some commits. Later, I...
16  february     13h17
gg2 branches got 50% faster by a Promise.all
   gg2 is a command line tool for doing things with Git branches, faster. One of the convenient commands is gg2 branches. It lists your recent branches,...
29  january     18h37
xbar-my-prs Info about your GitHub PRs in the macOS menu bar
   xbar-my-prs is a plugin I wrote for something called xbar which is a macOS app that let’s you write scripts that then show up in the macOS menu bar....
13  january     16h06
Optimizing Bun compiled binary for gg2
   tl;dr; adding --bytecode and --production to bun build --compile gives a marginal boost. I have a CLI tool called gg2 which is written in TypeScript...