Joined • 61 following • 1885 followers

Websitehttps://saagarjha.com
Emailsaagar@saagarjha.com
HotelTrivago

Saagar Jha

(replying to Saagar Jha)
“But Saagar, they’re making those because they want your photos!” sure this sounds like a great time to increase scrutiny for photos access permissions now that the excuses are gone

Saagar Jha

I really need Apple to make a out-of-process remote image view API that shows stuff from my photo library in the custom photo pickers every app refuses to abandon

Saagar Jha

(replying to Saagar Jha)
“But Saagar, they’re making those because they want your photos!” sure this sounds like a great time to increase scrutiny for photos access permissions now that the excuses are gone

Saagar Jha

So I checked decided to check up on how Fuchsia is going (as I do from time to time) and it seems like Google is in fairly advanced stages of trying to ship it on a phone, with explicit references to test hardware in this form factor (Iris–Pixel 10 Pro?) in multiple CLs
2 replies →
2 replies

oskar

(replying to Saagar Jha)

@saagar did they already drop the support for Swift? I don’t see any mention on the website


U+002C

(replying to Saagar Jha)

@saagar Wait until you try building it


Saagar Jha

(replying to cakemix)
@cakemix I feel like this is one of those phones you are not supposed to get a case for

Saagar Jha

So when are we going to discoveryd Golden Gate’s Mission Control

Saagar Jha

(replying to Saagar Jha)
I guess the silver lining is that I can try to talk myself out of this at the Apple Store for a week

cakemix

(replying to Saagar Jha)

@saagar and since I am late Nov. I have plenty of time to pick a case. lol

Saagar Jha

(replying to cakemix)
@cakemix I feel like this is one of those phones you are not supposed to get a case for

Saagar Jha

They get rid of the supply chain guy for like five minutes…

Saagar Jha

(replying to Saagar Jha)
I guess the silver lining is that I can try to talk myself out of this at the Apple Store for a week

cakemix

(replying to Saagar Jha)

@saagar and since I am late Nov. I have plenty of time to pick a case. lol

Saagar Jha

(replying to cakemix)
@cakemix I feel like this is one of those phones you are not supposed to get a case for

Saagar Jha

You’re going to jack in the box? Congrats I guess but I’m not sure I needed to know you two were doing that

Saagar Jha

Fun fact: the more you practice, the better you get at making just-in-time presentations. Please enjoy my slides that I put the finishing touches on while at the lectern: https://github.com/saagarjha/Presentations/tree/main/CocoaHeads%20%2B%20SLUG%20October%202026

https://federated.saagarjha.com/notice/BB7eDkqcgz4DhnOXLs

Saagar Jha

(replying to Ma’moun)
@mamouneyya I don’t think it will be livestreamed but it will be recorded (and I will of course be posting my slides)

Saagar Jha

(replying to Saagar Jha)
Quick Q&A.

Q: Do you like AI?
A: I would only approach it with a loaded gun

Q: Do you hate AI?
A: Sometimes it can do my chores

Q: AI? Security?? Sam Altman should be charged with felonies
A: Maybe he should attend my talk

Q: wtf is a San Mateo?
A: Take Caltrain

k, cis iirc

(replying to Saagar Jha)

@saagar I’m astonished that San Mateo actually exists


Saagar Jha

This Thursday I’m tricking a bunch of iOS developers into listening to me speak about threat models and secure design. Come join me at Verkada’s San Mateo office to hear about pushing the state of the art forward in sandboxing AI agents on macOS! https://luma.com/51htcbzd
1 replies →
1 replies

Ma’moun

(replying to Saagar Jha)

@saagar Will there be an online streaming?

Saagar Jha

(replying to Ma’moun)
@mamouneyya I don’t think it will be livestreamed but it will be recorded (and I will of course be posting my slides)

Saagar Jha

(replying to Saagar Jha)
Quick Q&A.

Q: Do you like AI?
A: I would only approach it with a loaded gun

Q: Do you hate AI?
A: Sometimes it can do my chores

Q: AI? Security?? Sam Altman should be charged with felonies
A: Maybe he should attend my talk

Q: wtf is a San Mateo?
A: Take Caltrain

k, cis iirc

(replying to Saagar Jha)

@saagar I’m astonished that San Mateo actually exists


Saagar Jha

It’s amazing how the “try a bunch of undiscoverable stuff and see if it works” programming model of SwiftUI seems to have been totally saved by the existence of AI which excels at doing exactly this
2 replies →
2 replies

Tim Johnsen

(replying to Saagar Jha)

@saagar FAFO: the official model of SwiftUI and AI


Matt Massicotte

(replying to Saagar Jha)

@saagar I have heard of a number of people just having AI just produce UIKit code instead


Saagar Jha

It’s hard to find good things to say about GitHub these days but I will give them credit that their terms of service are refreshingly succinct and really easy to understand. If you haven’t given them a read yet now is a good opportunity to do so: https://docs.github.com/en/site-policy/github-terms/github-terms-of-service

Saagar Jha

(replying to Jesse Wilson)
@jessewilson Yeah it’s funny that you can basically just make languages do this inefficiently if you want but you can’t get them to do it efficiently

Saagar Jha

(replying to shac ron ₪‎)
@shac Embedded systems also say no to heaps often

Saagar Jha

(replying to Michel Schinz)
@michelschinz Yes and that heap is a bump arena

Saagar Jha

(replying to Félix)
@fay59 This sounds like something a debugger should know how to solve

Andy Wingo

(replying to Saagar Jha)

@saagar @fay59 there are solutions to all of these problems wingolog.org/archives/2014/03/


Saagar Jha

(replying to Félix)
@fay59 If you’ve got a bug in your loop the memory’s got to come from somewhere be it recursive or not

Félix

(replying to Saagar Jha)

@saagar also enjoy the debugger taking 15 minutes to give you a backtrace when you stop your process by hand

2 replies →
2 replies

Saagar Jha

(replying to Félix)
@fay59 This sounds like something a debugger should know how to solve

Andy Wingo

(replying to Saagar Jha)

@saagar @fay59 there are solutions to all of these problems wingolog.org/archives/2014/03/


Jason Molenda

(replying to Félix)

@fay59 @saagar fake news, lldb has an optimized stack walker specifically to handle inf recursion crashes well; I think the most stack frames you can get with std main thread stack size is ~500k frames; lldb can walk that in 5.5 seconds on my m4 max desktop. I mean unlimited stack means really infinite recursion crash ofc, 500k is just the start of what you could do in that env.

Jason Molenda

(replying to Jason Molenda)

@fay59 @saagar (if you have lldb formatting argument variables for each stack frame, that’s gonna take longer of course - lots of memory reads and type formatters. but just looking at “lldb has enumerated all stack frames, and knows the pc values with symbol name and debug info for each”, 5-6 seconds max.)

Félix

(replying to Jason Molenda)

@jasonmolenda @saagar I don’t stack overflow all that much but I recall at least Xcode not being very good at it. maybe I’m unjustly blaming lldb for it

Jason Molenda

(replying to Félix)

@fay59 @saagar to be fair, in the early days I’d written lldb’s register tracking up & down the stack with a recursive algorithm and you can guess what happened next.


Saagar Jha

@jackdaniel I wish but the current RAM prices may make this difficult