In 2022:
◆ Moved to Lisbon 🇵🇹
◆ Joined @worldcoin 🪩
◆ Launched 65 projects 🚀
◆ Spoke at 6 conferences 🎤
◆ Traveled to 11 countries ✈️
◆ Taught myself Solidity & Rust 🦀
◆ Made frens all around the world 🌍
Insane year, next one will be even better. Let's go 2023!
✨ So you want to add AI image generation to your website?
Rarely, Stable Diffusion will generate NSFW images from regular prompts. The default filter catches it, but your users getting a black image isn't much better. 😅
How can we get around this? With a new model 👇
The default filter Stable Diffusion comes with is pretty good, and usually manages to catch these "exceptions".
(it's easy to manually bypass and only filters sexual content, but that's for another thread 👀)
When it triggers, SD will replace your image with a black square. ⬛️
✨ Defaults are incredibly important for image models.
Most users won't spent hours tweaking prompts, they'll type the first thing that comes to their minds and run with the result.
Fortunately, it's pretty easy to optimize for that, and generate better images by default. 🤯
✨ I started a new app recently, and while I've used Laravel in the past for "heavy" apps, decided to go 100% with Next.js this time, as a challenge.
As I'm building all the scaffolding from the app, I've borrowed some ideas from Laravel that JS devs might find interesting... 👇
While I mostly use @laravelphp for the Queue these days (no other solution comes close, especially coupled with Vapor), you usually don't think about the work it does for you:
📨 Crafting & sending mail
🔐 Authentication & authorization
With @nextjs, you start from scratch. 😅
✨ Yesterday, I made a tweet that converted all the replies into images, using Stable Diffusion.
It blew up, with +2k people coming together to generate all kinds of art, memes, and play around with ML.
Here's how I built it, how much it cost me, and how you can try it out! 👇
I'm a big fan of @midjourney's (another AI image tool) approach to launching:
They made a Discord, where everyone can generate images in public. If you see someone making something cool, you can see their prompt, tweak it, and put your own spin into it.
It makes AI multiplayer!
✨ As part of my quest to make my website more personal, I've now added a map showing where I am.
The cool thing? It dynamically updates the location every day when I wake up, generates an Apple Maps screenshot, and a low-res placeholder. 😮
Here's how I built it 👇
quick alpha for good twitter takes:
talk to lots of people
identify the ideas/examples you keep bringing up in every conversation
tweet those ideas to keep track of them
over time, refine and rehash those ideas over more tweets
earliest example of this I can think of is my experience with my school trying to "update" itself.
I realised I was always bringing up the same example when talking about crypto-native apps, so I made it into a thread. twitter.com/m1guelpf/status/1455384103922978819
📝 How to learn anything
Get started with a project, with a stack you're familiar with (but a new piece you want to master).
Then, debug your way into knowledge.
🎙The last episode of @PJVogt's new crypto podcast told the story of @ConstitutionDAO.
As an addendum, I talked about my experience there, and tried to explain why I'm so excited for the web3 space.
also, purple flowers 💐
pjvogt.substack.com/p/miguel
✨ Wallet history is notoriously hard to "explain" to users. At best, you get a bunch of swaps, but every other tx is a "contract interaction".
I've spent the past week working on a solution (and recreating the iOS lockscreen on web to showcase it 🤪).
wallet.m1guelpf.me
🔎 Today, your wallet's history is a big mess of numbers for anyone non-technical.
Even if websites build UIs for submitting transactions, all context is lost once they leave the page, and they'll have to face Etherscan if they ever want to remember what that was again. 🤷