bg de en es fr it nl pl pt sv tr zh

note

Ghostty

Alexander Thiemann

term = "xterm-256color" theme = "iTerm2 Solarized Light" # macos-titlebar-style = hidden minimum-contrast=1.05 font-size=13 font-family = "JetBrains Mono" font-thicken=true font-thicken-strength=1 adjust-cell-height=1 cursor-style=block window-padding-x=5 window-padding-y=5 # Fast startup w/...

Note #16: Mundane consumption

James Darling

It’s been 3 months since my last note, in which time I’ve become Head of Technology for the 6 digital adult national screening programmes, raised 2 kittens into young adults, built and run a new art piece, and got engaged. But that’s all very productive and too much to write about. Let’s do some...

Note #15: Weak Core

James Darling

Throughout my 30s I have increasingly got a sore back. A couple of weeks ago it hit my sciatic nerve and I spent the next 3 days trying to find comfortable ways to lie in bed. A visit to the physio has given me the damning diagnosis of having a weak core. I now have to lie on my front and wave my...

Note #14: A New Year

James Darling

It’s a New Year and I have plans of writing yearnotes, and liked the idea of making plans for the quarter, but then I remember I still can’t write weekly notes and its already the 12th of January, so I should accept who I am, get out of my own way and write a note already. I’ll just go backwards...

Note #13: Post-its

James Darling

Sometimes my brain gets so overloaded that simple decisions become too overwhelming and I start crying over what to pack for a weekend away. When this happens I have learnt that it’s helpful to empty my brain into post-it notes. This isn’t a productivity system. I have no rules. There’s no set...

Note #12: Shed

James Darling

3 weeks ago I was busy building a workshop with my dad. It inevitably took more time and brainspace than anticipated. It is still not finished. But I had to stop as I had run out of dad time, I needed to get back to my life, and I needed a break. Of course I made a timelapse. Here it is: In...

Note #11: Trains

James Darling

After last week’s introverted cerebrality, this week was social and busy. I’ve dashed from having lunches and drinks to catch up with people, to collecting second hand windows from gumtree and leftover building materials from friends for the workshop I’m building in my garden next week, to a...

Note #10: Brain

James Darling

I’ve been in my brain a lot recently. This is by design: I’ve got things I want to learn and think about, and it’s been rewarding and fun. But the impact on my mental and physical health has been stark. I go to bed with a full head, and wake up with an immediate desire to scroll on my phone until...

Python

Alexander Thiemann

Using Pipenv with Visual Studio Code (VS Code) Run pipenv --venv in the root directory of your pipenv project. It will return something like /Users/[username]/.local/share/virtualenvs/[project]-[random_string] on Mac. Put this path into the .vscode/settings.json file of your project: {...

Haskell

Alexander Thiemann

GHC9.x Install on M1 mac Preqs: brew install llvm@13 Add to path export PATH="/opt/homebrew/opt/llvm@13/bin:$PATH" Install via GHCup Fix ffitarget_arm64.h not found on M1 Mac fatal error: 'ffitarget_arm64.h' file not found Fix: C_INCLUDE_PATH="`xcrun --show-sdk-path`/usr/include/ffi"...

iOS Development

Alexander Thiemann

Sharing files between app and app extension Need to enable App Groups (see the Capabilities of the app) and add a group extension. let groupDocumentPath = FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: "group.your.group")! // ...

HTTP Cookies

Alexander Thiemann

Localhost cookies not working? Omit domain and sameSite when setting localhost cookies during development – the browser will ignore the cookie entirely if set.