Profile avatar
nicklockwood.com
iOS. 3D graphics. Retro games. He/Him.
224 posts 424 followers 374 following
Prolific Poster
Conversation Starter

🎙️For the 9th episode of Dev Conversations, @nicklockwood.com joins us to share his journey into programming: his work on SwiftFormat, thoughts on maintaining motivation in programming, and what he thinks is missing in Swift. SwiftToolkit.dev/posts/dc-nick

"Your health records will be on the block chain." "Everyone will live in the Metaverse." "All art will be NFTs." "Generative AI will replace the need for humans." We need to reckon with the reality that the tech industry no longer creates things that anyone wants.

Very happy for Canada, but the fact it was even close is concerning. Like, if your populace are on the fence about being annexed by the US, something has already gone very wrong.

Here is a breakdown of which iOS version to target when creating a new app. telemetrydeck.com/blog/ios-ver...

misunderstanding the "premature optimization is the root of all evil" quote to mean "wait until you're done before thinking about performance” is a huge problem for the programming profession

Idea: The hex color format #​FF69B4 can't represent wide-gamut (HDR) colors. What if we used #​RRRGGGBBB (12 bits per channel) for extended sRGB? Slight precision loss, but visually negligible. Alternatively, #​RRRRGGGGBBBB (16 bits) for full precision.

This moment when the penny drops that trying to implement bathroom bans is an impossibility for the former Tory Chief Secretary Simon Clarke is delicious.

whoa, an Apple engineer is now contributing to Godot -> github.com/godotengine/... this is precisely how Godot as an open source project can work: large companies contribute, everyone benefits! i suspect there will be increasingly more large companies stepping in. exciting! #godotengine #gamedev

When a PM asks me how long it'll take me to build a feature.

Flappy Swift: a Swift Webassembly game by Simon Leeb sliemeobn.github.io/flappy-swift/

drop whatever you’re doing and watch this video on the curta calculator i don’t know what i imagined when i read pattern recognition but this wasn’t it

A very modern dilemma: I had a specific technical question. I asked Google but it just found answers to similar-but-different questions So I asked ChatGPT and it gave a clear answer to precisely what I asked, but with no references, so I can't trust it didn't just hallucinate what I wanted to hear

The harper's letter crowd is pretending the real threat to free speech is the same as the fake one they spent years panicking about. www.theatlantic.com/ideas/archiv...

My talk from try! Swift Tokyo is now up on YouTube: youtube.com/watch?v=B6rM...

If you’re a conservative defending Trump at this point, you fall into one of three categories: - Hypocrite: you believe everything he does is totally fine (but bad when others do it) - Coward: you know he’s wrong but you don’t want to say it out loud - Idiot: you think he’s doing a good job

I still can't fathom what possessed Bungie to link their new looter shooter to the Marathon franchise? It's hard to imagine they thought the nostalgia of a few old Mac nerds was going to move the needle on sales for this (even ignoring that it seems to share zero heritage with the original games)

How the fuck is Bill Gates' blog this cool? 🤯www.gatesnotes.com/home/home-pa...

I was a bit concerned after they cast Skarsgard, but I quite like the direction they've taken with this It plays up the comedy angle a lot, but as long as they haven't gone full slapstick then I think I'm OK with it The queer erasure still isn't cool tho (Murderbot is explicitly enby in the books)

Custom images from an asset catalog don't automatically resize with text. If an image is not purely decorative, we should ensure it scales appropriately when users adjust their preferred font size. We can easily do it with the ScaledMetric API in #SwiftUI: nilcoalescing.com/blog/Adaptin...

What is going on with right-aligned UITextFields and trailing spaces? They've been broken since iOS 7, and in all that time the only step Apple has taken was in iOS 16 when they finally broke the nbsp workaround that people had been using?! It sure seems like Apple *wants* it to be broken, but why?

Did I achieve any of the things I planned to do today? No But did I organize my thoughts and lay the foundations for the work that needs to be done? Also no OK, but did I at least take the opportunity to relax and recharge my batteries ready for a the week ahead? Alas,

An alert that makes millions đź’¸

Prediction: the focus of the iOS 19 redesign will be to promote something Apple thinks we currently don't use enough. Either because it generates direct revenue (subscription services) or because it justifies spending $2000 on a device mainly used for browsing text. (It's probably gonna be AI)

Throwback to when people said flat design was about minimalism and would be better for performance and battery life because we'd get rid of all those realtime drop shadows and photorealistic textures so instead we got full-screen frosted glass shaders and icons with jiggle physics

The only thing I want from the iOS 19 redesign is for them to put the settings for the current app in control center so that disabling push notifications after you accidentally allow it (or vice versa) doesn't require spelunking a 3-level deep settings app with a broken search function

i have zero interest in most modern low budget shlock because it’s doing this self conscious “haha so bad it’s good just like the 80s!” thing. but you can’t produce that intellectually. you need to be trying to make a normal movie and have it come out wrong because you’re a crazy person

It can be devastating when you don't achieve something you poured your heart and soul into. But don't think of it as a failure - failures are really just life's way of giving you shitpost material

I set myself an ambitious goal for this quarter - something that would really challenge me and motivate me to push myself out of my comfort zone. It's been stressful, and at times I wasn't sure how I could get it done, but just this last week I had a revelation: I can just not do it. #lifehack

My book's so nice, they stole it twice

Look. I’m just saying. The software we use every day could look this good

I know people blame the professors for this, but the reality is that it’s one of the only time in people’s lives where they are more or less sorted pretty randomly. You meet people from all over and with lots of different interests and backgrounds.

Not enough people realize how devastating it is for scientists to suddenly lose their funding. NIH and federal grants are highly competitive and are a huge boost to a scientific career. When funding is revoked, not only does the research halt, but salaries disappear, and livelihoods are upended.