Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Open Source Version of AI "Math Notes" from Apple WWDC (github.com/ayushpai)
13 points by ayushpai 10 months ago | hide | past | favorite | 3 comments



I was excited to see what sort of interesting trickery was involved in making this app, just to realize all its doing is writing an image to disk and shooting it over to openai.

Well done.

Although I should note, I believe there is a completely extraneous disk write here. I believe you can use pillow to directly read the bytes into memory before sending the image data to openai rather than doing disk write -> read from disk -> byte encode -> openai which is pretty inefficient.


I believe Apple isn't doing any "trickery" either. They're probably just running a local (on-device) llm?


Thank you for writing everything in one file and not creating needless abstractions across many directories. More code should be written this way until abstraction is actually required. It was very easy to understand this way.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: