alex pretzlav's Avatar

alex pretzlav

@pretz.bsky.social

Cooking, kids, bikes, video games. Oakland, CA iOS @ Patreon, prev Twitter, Periscope, Yelp. he/him https://pretzlav.com/ https://mastodon.social/@pretz

1,040 Followers  |  477 Following  |  113 Posts  |  Joined: 27.04.2023  |  2.095

Latest posts by pretz.bsky.social on Bluesky

He’s seen Alf’s hog

06.11.2025 05:44 β€” πŸ‘ 40    πŸ” 4    πŸ’¬ 0    πŸ“Œ 2
A stop sign with a yellow sign mounted below it which reads
CROSS TRAFFIC DOES NOT STOP
PRETTY UNSAFE FOR A BIKEWAY, YEAH?
SOMEONE MAKE A PETITION OR SOMETHING

A stop sign with a yellow sign mounted below it which reads CROSS TRAFFIC DOES NOT STOP PRETTY UNSAFE FOR A BIKEWAY, YEAH? SOMEONE MAKE A PETITION OR SOMETHING

16.08.2025 02:01 β€” πŸ‘ 0    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
A pair of kid’s sneakers with iridescent rainbow coloring, shiny silver accents, and pink elastic shoelaces. They’re tsukihoshi brand.

A pair of kid’s sneakers with iridescent rainbow coloring, shiny silver accents, and pink elastic shoelaces. They’re tsukihoshi brand.

Very jealous of my four-year-old’s new shoes. He picked them.

25.07.2025 02:05 β€” πŸ‘ 3    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

Absolutely! Even the existence of a puzzle can be a spoiler. I have no idea how far along I am vs others. Also no idea how much is left 🫣
Just last night I found a major clue to a puzzle I’ve known about since the very early game, and now I’m like, was I supposed to solve this ages ago?

22.07.2025 22:49 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

among the many things they don’t tell you about having kids is the amount of money you will shell out to buy various berries

20.07.2025 21:46 β€” πŸ‘ 8122    πŸ” 410    πŸ’¬ 344    πŸ“Œ 172

β€œOnly on day 52” this game is a fractal! I just hit 40.

20.07.2025 15:57 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I’ve been loving it on PS5. Wind up streaming it to my steam deck a fair amount too, since latency doesn’t matter.

20.07.2025 06:11 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Four bottles of fish sauce standing on a kitchen counter β€” Double Parrot, Red Boat, Thanh Ha and Flying Lion.

Four bottles of fish sauce standing on a kitchen counter β€” Double Parrot, Red Boat, Thanh Ha and Flying Lion.

It is done. I have tasted TWENTY-NINE fish sauces in multiple stages across two days, and I have some thoughts. Here are my favorites, but for the curious, read on. Three Crabs, Squid and Megachef devotees, hold your fire. All 3 were near misses, and we may not agree, but I will explain... (1/33)

14.07.2025 01:59 β€” πŸ‘ 70    πŸ” 11    πŸ’¬ 4    πŸ“Œ 5
Preview
Orion β€” HDMI Monitor for iPad Orion: use iPad as an external HDMI monitor.

That’s basically what orion.tube is, I don’t think it’s possible without some additional hardware.

30.06.2025 05:49 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
The Grand Lake Theater in Oakland, with β€œNO KINGS June 14” on it.

The Grand Lake Theater in Oakland, with β€œNO KINGS June 14” on it.

NO KINGS

14.06.2025 19:58 β€” πŸ‘ 4    πŸ” 1    πŸ’¬ 0    πŸ“Œ 1

Literally next in the TL bsky.app/profile/theo...

04.04.2025 14:35 β€” πŸ‘ 20    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
a colorful painting of a woman with the name bjork on the bottom ALT: a colorful painting of a woman with the name bjork on the bottom

rt if u agree

02.04.2025 12:40 β€” πŸ‘ 441    πŸ” 157    πŸ’¬ 11    πŸ“Œ 2

I thought into the breach nailed the mobile port

08.03.2025 02:59 β€” πŸ‘ 5    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Thanks! A tiny tasty of stardom! A coworker pinged me about it too, I still haven’t gotten to the episode!

02.03.2025 19:13 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
The Curious Case of NSObject.observe A deep dive into the NSObject `observe` method for key value observation in swift.

I wrote a blog post about KVO and #SwiftLang: "The Curious Case of NSObject.observe" https://pretzlav.com/blog/2025/02/16/nsobject-observe/
#iOSDev

17.02.2025 05:18 β€” πŸ‘ 3    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0

Honestly, liberalism fucks so hard. I should not feel this much fire and steel in me for such such abstruse concepts of equality and justice for people I've never even met.

And yet I do. Humanity is my brother, and I will defend my brother.

29.01.2025 02:01 β€” πŸ‘ 170    πŸ” 25    πŸ’¬ 4    πŸ“Œ 1

The federal shut down feels eerily familiar to when Elon & co took over Twitter. They came in, asked no questions, had no idea who did what and it was absolute chaos. That was a social media platform. This is the country. People are going to die because these are incompetent cruel bullies.

28.01.2025 18:46 β€” πŸ‘ 311    πŸ” 56    πŸ’¬ 7    πŸ“Œ 2

My extremely niche hot take today is Meow Wolf's Omega Mart is super cool and impressive and it's fucking awesome to see how #Nonchalance and the #Jejune Institute's influence has continued to reverberate for years. Big big elsewhere public works agency vibes.

17.01.2025 08:10 β€” πŸ‘ 0    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
"I have no hopes for 2025. Humanity is disappointing. We killed the Earth. Villains triumph and the innocents suffer. I imagine these trends will continue."

"I have no hopes for 2025. Humanity is disappointing. We killed the Earth. Villains triumph and the innocents suffer. I imagine these trends will continue."

incredible -- the NYT ran fluff "what i hope to see in 2025" blurbs from CEOs and economists, and then this guy

www.nytimes.com/2025/01/02/o...

04.01.2025 04:52 β€” πŸ‘ 6761    πŸ” 1708    πŸ’¬ 90    πŸ“Œ 214

Blippo+

21.12.2024 06:51 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Screenshot of code:

extension NSAttributedString.Key {
  static let userID = NSAttributedString.Key("UserID")
}

let nsAttributedString = NSAttributedString(
    string: "Good morning!",
    attributes: [.userID: "12345",
                 .foregroundColor: UIColor.orange,
                 .link: "http://mastodon.social"])
print(nsAttributedString)
/* Prints
 Good morning!{
     NSColor = "UIExtendedSRGBColorSpace 1 0.5 0 1";
     NSLink = "http://mastodon.social";
     UserID = 12345;
 }
*/

Screenshot of code: extension NSAttributedString.Key { static let userID = NSAttributedString.Key("UserID") } let nsAttributedString = NSAttributedString( string: "Good morning!", attributes: [.userID: "12345", .foregroundColor: UIColor.orange, .link: "http://mastodon.social"]) print(nsAttributedString) /* Prints Good morning!{ NSColor = "UIExtendedSRGBColorSpace 1 0.5 0 1"; NSLink = "http://mastodon.social"; UserID = 12345; } */

More adventures in #iOSDev #SwiftLang AttributedStrings:
It can often be convenient to add custom attributes to NSAttributedStrings, to pass along additional metadata for whatever reason associated with a specific part of a string.

This is straightforward […]

[Original post on mastodon.social]

13.12.2024 06:08 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
The inside of an open Steam Deck showing all its internal components on a desk next to an iFixit screwdriver set

The inside of an open Steam Deck showing all its internal components on a desk next to an iFixit screwdriver set

A photo of the screen of a Steam Deck showing β€œInternal Drive 1.6 TB FREE OF 1.8 TB”

A photo of the screen of a Steam Deck showing β€œInternal Drive 1.6 TB FREE OF 1.8 TB”

Screenshot of KDiskMark showing read and write speeds from 2,200 MB/s read and 1,200 MB/s write

Screenshot of KDiskMark showing read and write speeds from 2,200 MB/s read and 1,200 MB/s write

Screenshot of KDiskMark showing read and write speeds from 3,500 MB/s read and 3,200 MB/s write

Screenshot of KDiskMark showing read and write speeds from 3,500 MB/s read and 3,200 MB/s write

Great Success!

13.12.2024 05:38 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

if you want a religion, go get yourself a religion that demands good works and isn’t venture-backed

12.12.2024 04:47 β€” πŸ‘ 13    πŸ” 2    πŸ’¬ 2    πŸ“Œ 0
A picture of an apple 2 computer with a widescreen green screen display sitting on top, displaying a screen from Oregon Trail. The apple 2 is also extremely wide and Ned has pneumonoultramicroscopicsilicovolcanoconiosis

A picture of an apple 2 computer with a widescreen green screen display sitting on top, displaying a screen from Oregon Trail. The apple 2 is also extremely wide and Ned has pneumonoultramicroscopicsilicovolcanoconiosis

Widescreen gaming on the
Apple ][.

01.08.2023 10:58 β€” πŸ‘ 329    πŸ” 47    πŸ’¬ 19    πŸ“Œ 2

I read those books as a pretty young kid and they really stayed with me. That and Earthsea kind of inoculated me from the HP universe early on.

08.12.2024 06:11 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

a recondite family awaits ... at home depot

06.12.2024 22:15 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Shopping center sign with Nordstrom rack and Michaels signs, and a faded remnant of comp USA

Shopping center sign with Nordstrom rack and Michaels signs, and a faded remnant of comp USA

there are cathedrals everywhere, for those with the eyes to see

06.12.2024 22:08 β€” πŸ‘ 261    πŸ” 34    πŸ’¬ 14    πŸ“Œ 2
Video thumbnail

how do you all remember every UUID? I find it really hard. so I wrote them all down on every uuid dot com

the list has fast search across all 2^122 values (so you can find your favorites) - hoping to add some social features like "trending UUIDs" soon!

06.12.2024 17:51 β€” πŸ‘ 1175    πŸ” 279    πŸ’¬ 48    πŸ“Œ 48

Like many other transit agencies, Caltrain ridership was stuck at a lower level post-2020.

However, with electrification complete, allowing faster and more frequent trips, ridership has soared and is now approaching 2020 levels πŸš‹πŸš‹πŸš‹

06.12.2024 01:15 β€” πŸ‘ 138    πŸ” 13    πŸ’¬ 5    πŸ“Œ 1

Ok I think I’m going to try to fix this as an educational exercise. It should be possible??? It will at least teach me more Swift 6.

04.12.2024 03:37 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

@pretz is following 20 prominent accounts