David Lochhead
banner
defmech.com
David Lochhead
@defmech.com
Award-winning Creative Coder. Glasgow, Scotland. Personal account. #creativecoding
My indispensable Mac apps.

Pastebot (tapbots.com/pastebot/)
TextSniper (www.textsniper.app)
CleanShot X (cleanshot.com)
June 18, 2025 at 11:16 AM
Has anyone else noticed Chrome with devtools open is now running like treacle? I’m sure something has changed recently. 🤷🏻‍♂️

#chrome #webdev
May 28, 2025 at 9:32 AM
I’ve been using #gsap for probably decades now and just discovered gsap.context() (gsap.com/docs/v3/GSAP.... Although I think it’s pretty new? Anyway it’s saved my bacon and would definitely recommend having a look if you’ve not seen it. Especially handy if you need to reset `from` based tweens.
gsap.com
May 16, 2025 at 10:46 AM
I guess that proves how useful praying is. 🤣
I'm not saying that Vance has angered God, but if he offers to pray for you, it might be best to politely decline
April 21, 2025 at 1:00 PM
Any #css folks know why, when using Safari, in this demo (codepen.io/davidlochhea...) that when resizing the browser window, bigger then smaller, the grid will overflow it's container? And is there a fix?

🙏
February 3, 2025 at 11:45 AM
Wow. DeepSeek is fast compared to ChatGpt. 🤯
January 27, 2025 at 8:11 PM
Doing silly things with CSS grid. Just need to build all the other chars! 🤣

#css
January 4, 2025 at 1:37 PM
I think my intestines are about to stage an intervention.
December 29, 2024 at 1:33 PM
My lungs and ribs are getting very tired of this cough. 😷
December 20, 2024 at 5:04 PM
A few days after its release and I’ve switched off Apple Intelligence. Wasn’t doing anying useful for me and seemed to be impacting battery life. 🤷
December 15, 2024 at 11:47 AM
“Celebratory doughnuts area” #f1
December 8, 2024 at 11:07 AM
Tomorrow’s media diet consists of the Abu Dhabi Grand Prix followed by Dune Parts 1 & 2 in laser IMAX!
December 7, 2024 at 12:35 PM
I love the sea wall scene in Blade Runner 2049. Looks and sounds amazing. 👌🏻
December 7, 2024 at 12:20 AM
Ten minutes into watching Home Alone for the first time. And wow. Everyone is a terrible person.
December 6, 2024 at 7:58 PM
Reposted by David Lochhead
Fun fact: If someone quotes a post of yours in a way that is unwelcome (as is commonplace on Twitter/X) there is a tool to combat the unwanted attention. Simply click the three dot menu on the quote post & click "Detach quote". This removes your post from their quote post. Useful to know, do share!
November 12, 2024 at 2:19 PM
Reposted by David Lochhead
PCalc is 50% off from now through Monday for our Black Friday sale! That's only $4.99 USD.

iOS / iPadOS / watchOS / visionOS:
pcalc.com/store/pcalc

macOS:
pcalc.com/store/pcalcmac

This has been a difficult year, and my updates have been slow as a result, so your patience with me is appreciated!
November 29, 2024 at 11:37 AM
What sounds better? One SONOS Era 300 or a pair of Era 100?

#sonos
November 29, 2024 at 5:06 PM
Has Photek’s Form & Function Vol 2 album disappeared from AppleMusic?

Still have it on phone but it doesn’t show up in search.

It’s a banger.
November 29, 2024 at 9:09 AM
Really enjoyed Heretic. Hugh Grant really on form. 👌🏻
November 28, 2024 at 11:00 PM
Where’s my Peanuts AppleTV screensaver? #AppleTV
November 24, 2024 at 9:05 PM
You really notice the lack of a 120hz display when you are trying to read text while scrolling. 🫨
November 23, 2024 at 9:59 AM
I like Japanese mayo a lot but …
Would you drink mayonnaise? If so - good news! Lawson will start selling a “drinkable mayonnaise” as a test product in Japan starting 11/26. Enjoy while the rest of us retch in the corner.
November 23, 2024 at 9:57 AM
Viewed some of old WebVR demos in it too. davidlochhead.xyz/experiments/...
November 22, 2024 at 12:04 PM
Finally had a shot of the Apple Vision Pro. 🤯
November 22, 2024 at 11:59 AM
I am more likely to like a post if the existing number of likes ends in a 9. 🤣
November 22, 2024 at 9:19 AM