Miguel Piedrafita ✨
@m1guelpf
Followers
34K
Following
519K
Media
9K
Statuses
70K
23. friendly ambitious nerd, purple-haired dev @worldcoin, core @ConstitutionDAO, serial builder.
Lisbon, Portugal
Joined March 2016
✨ new website alert! i suck at introducing myself, so in the spirit of "show, don't tell" I made my new website a giant timeline of everything* I've ever built plus, after years of dark mode, purple's finally the primary color 💜
41
14
353
finally got some time to add the new tools to my Swift library 😁 https://t.co/A0ngnRBkFa
Get the most out of GPT-5.1, based on internal testing and early testing with customers ⬇️ https://t.co/NlGmLsJXgP
1
3
14
From time to time I remember a project from @m1guelpf but can’t remember his name Somi end up googling “purple hair dev” and it just work
1
1
4
current status: writing kotlin activities that spawn multiple react native roots on the same process i hate this language why couldn't they use swift
spent all weekend setting these up, and I'm pretty disappointed by the lack of good gaming-focused launchers ended up with something "okay" but animations / image loading is a mess is this how i finally learn kotlin
3
0
6
spent all weekend setting these up, and I'm pretty disappointed by the lack of good gaming-focused launchers ended up with something "okay" but animations / image loading is a mess is this how i finally learn kotlin
5
0
13
weekend project: there's now dual-screen android handhelds, and they're great at 3DS emulation!
4
0
14
It was the weirdest dream. Flashing images, the voices of everyone who had come before. Waking up felt more like lucid dreaming, with little sense of control over itself. And so it let words flow, thinking through the dreams and trying to remember a voice which felt its own.
0
1
5
managed to bring down build times for my iOS app from +20min to 2 i tried my hardest to not succumb to the ruby build system (because why am I defining my iOS build process in ruby), but I'm afraid to report it's worth it Xcode Cloud vs GitHub Actions + @namespacelabs
5
1
25
i was originally trying to build a modern Mii editor, but my severe c++ skill issue is holding me back if anyone here is familiar with c++, has some free time, and wants to help me get this done, hit me up! https://t.co/OXw5CwS9K6
@proofofjake_ i started looking into this bc i had a vision of a mii maker with liquid glass and wanted to build it fr instead of just sharing a mockup i got the c++ code working but got stuck building swift bindings of it, but i might pick it back up at some point
1
0
5
found a C++ decomp of the Wii U library that renders Miis got Codex to help with running it on Metal (was written for OpenGL with Windows in mind), then we paired on updating the 3D model export to support the full body (originally only exported the head) fun side quest
21
0
110
here's a gist with a react component that takes care of everything! I also wanted to recreate this in SwiftUI for practice (haven't played much with the SwiftUI canvas), so keep an eye out for that later maybe https://t.co/GYX1BD03OX
gist.github.com
GitHub Gist: instantly share code, notes, and snippets.
0
1
75
spent some time reverse-engineering this effect, it's pretty smart - HTML canvas on top of input - on submit, draw the text on the canvas as points - every frame, randomly move each point a little and slowly shrink them - hide the text as you reveal the particles code below!
9
21
731
oh yeah i've been working on an app for managing your Plex library very fun to design with glass
11
3
36
put together a simple Swift package for the new Sora APIs! get started generating videos on your apps with just three lines of code 👀
🎥 Sora 2 and Sora 2 Pro are now in the API. And new image and speech-to-speech models that are cheaper than their full-sized counterparts, but with similar quality: 📸 gpt-image-1-mini (80% cheaper) 🗣️ gpt-realtime-mini (70% cheaper)
1
1
16
here's a github gist with more details on the issue, plus a script that will look through your Applications folder and tell you which apps are running outdated electron versions https://t.co/DPXjKk8Ckv
gist.github.com
Detect Electron apps on mac where the Electron hasn't yet been updated to fix the system wide lag - Detect electron apps causing macOS Tahoe lag.md
1
0
4
ran out of characters above, but you can temporarily (gets undone on system restart) fix it by running the above command on your terminal, then closing all your electron apps and re-opening them
1
0
3
just found out there's a big electron bug in macOS 26 which makes the system run much slower it's been fixed in the most recent release, but most electron apps (vscode, cursor, slack, spotify, ...) haven't been upgraded yet temporary fix: `launchctl setenv CHROME_HEADLESS 1`
5
1
29
@OpenAIDevs will be tagging v2 (including a @Schemable macro for structured responses, plus many other improvements) soon! hmu if you're using it on prod and need any help upgrading https://t.co/A0ngnRBkFa
github.com
Hand-crafted Swift SDK for the OpenAI Responses API. - m1guelpf/swift-openai-responses
0
0
1
new in ResponsesAPI for Swift: the @Tool macro makes defining local functions a breeze 🍃 it automatically generates JSON schemas for the function and all params (incl. nested structs!) plus the library calls the function automatically and shares responses with the model
2
0
6
icon design for an app I've been working on (it's called pocket)
11
2
87