Miguel Piedrafita ✨

@miguel.build

23. serial builder, purple-haired developer @world.org, core @ConstitutionDAO. friendly ambitious nerd.

thought i'd built a very simple iOS app during Christmas, then spent most of the time on this screen will probably not finish the app (HomeKit APIs are worse than I expected), but came out pretty cool!

thought I'd try to figure out exactly how rewind.ai works today. the tl;dr is: - screenshot your screen every ~2s, store all the screenshots as a video file (HEVC, so we get compression for free) - constantly monitor the app the user's in, and save it to an encrypted sqlite db

Bild

cool things I built last month for @world.org: 🪪 Credentials – using your phone's NFC scanner to read passport data and validate its authenticity, without sending any personal info to a server 👤 DeepFace – letting you authenticate streams of video (or photos) as real

A slide from the "A new World" keynote.

It shows three cards labeled "Driver's license – Germany", "National ID – Germany", and "Passport – United States".

Below, a header reads "World ID Credentials" with a subtitle saying "Secured with AMPC".A slide from the "A new World" keynote.

It shows an orange icon with a shadow of a person inside and a scan line going through the middle.

Below, a header reads "World ID Deep Face" with a subtitle saying "Deep fakes, solved."

the  path I took at 16 to get to where I am now doesn't exist anymore i really dislike the state of twitter nowadays and have been posting a lot less because of this only recently I realized that makes me part of the problem in a way anyways, lots more tweets soon

want to build iOS apps with @OpenAI's new Realtime API? Here's a Swift package that handles all the hard stuff (like websockets) so you can focus on your app 😁 (will also add support for managing conversations and voice for you in the coming days) https://t.co/Gp24w9NW3k

GitHub - m1guelpf/swift-realtime-openai: A modern Swift SDK for OpenAI's Realtime API

A modern Swift SDK for OpenAI's Realtime API. Contribute to m1guelpf/swift-realtime-openai development by creating an account on GitHub.

github.com

if you wanna deploy @OpenAI's new realtime APIs to mobile/web apps, you'll need a proxy websocket server. this lets you handle auth, rate limits, private info, and not leak API keys!! here's a simple 🦀 lib to build & deploy one of these in 5 minutes. https://t.co/nIyZB8FzyS

GitHub - m1guelpf/openai-realtime-proxy: Safely deploy OpenAI's Realtime APIs in less than 5 minutes!

Safely deploy OpenAI's Realtime APIs in less than 5 minutes! - m1guelpf/openai-realtime-proxy

github.com

i keep seeing people in the tl optimizing for the wrong things avoid the signaling, don't try to be the main character, engagement won't make you happy build something that makes you proud of yourself, make some friends, be kind to everyone

recently got a Blackmagic camera, which doesn't have continuous auto-focus. you can fix this by buying a $1k LiDAR kit from DJI, which also requires you to have a motor physically turn the focus ring on the lens. time to bust out an ESP32 i guess 🫠

"I need a simple app. Let's not over-engineer things and just go with Laravel with a sqlite database this time, no serverless or anything crazy" > installs arch linux on the VPS > manually sets up everything from scratch > builds a Rust tool for zero-downtime deployments https://t.co/3eZ6hNWMCC

been struggling to write code over the past few weeks today, i turned on code coverage view on vscode (the thing where it shows you which lines get hit by tests), and slowly making all the red lines turn green ended up being a great motivator