Andrew Prifer
banner
prif.bsky.social
Andrew Prifer
@prif.bsky.social
98 followers 69 following 66 posts
UI, UX, 3D things. Graphics, UI & Interaction Design @ Luma AI. Prev: Theatre.js, Spline https://bento.me/andrewprifer
Posts Media Videos Starter Packs
The quickest hashing library for react native by @pioner_dev

The thing I'm building makes heavy use of caching at every step and this has been invaluable for calculating cache keys from stuff that’d be too large to key by directly.

github.com/pioner92/re...
GitHub - pioner92/react-native-xxhash: 💪 A high-performance React Native library for generating xxHash hashes using C++ and JSI
💪 A high-performance React Native library for generating xxHash hashes using C++ and JSI - pioner92/react-native-xxhash
github.com
If Lovable can one-shot your project, it probably isn't worth doing.
Lord, I see what You're doing for others; grant me the fortune of a half-billion exit right before OpenAI kills my product, amen.
It saves me an enormous amount of time and brain cycles, but what it doesn't save me from is having to do the thinking.

I feel like the folks who claim it does, are the same ones who previously thought visual programming would be the death of CS degrees.
Not because it is dumb, but because it doesn't have a clue what I need without specific instructions. Whether I'm reviewing code it writes, or telling it what to do, I still have to do all the work aside from typing out the code.
As far as real world utility goes, coding models are a really smart typist with a CS degree. It's hard for me to agree with the crowd declaring the death of coding in <insert number of months>. Even today if I am any less specific in my prompts than this, the llm veers off in undesirable directions.
Say, if you're a small startup and you'd normally pay 10k a month to OpenAI (assuming a couple ten thousand users and normal usage), now you're also paying 500 / month to OpenRouter, which is larger than your Slack and Cursor bills combined.
OpenRouter charging 5% is crazy, because it prices manually wiring up your routing at 1/20 of the value AI models provide. Absurd for something that’s at most 400 loc, and then you'd even get nice things like sorting by historical latency as measured from your backend.
When I said I wished we moved away from chat boxes as a means to interact with AI, I didn't mean I want no interaction at all.
x.com/AndrewPrife...
If only someone built the AI infrastructure for the agentic era. Is there anyone already doing this? Anyone at all?
Learning about Lisp and I keep seeing the word sexpression everywhere. Man the 60's were wild.
it's not looking good bros
Remember when ride-sharing and scooters were all the rage, and then suddenly price hikes and companies folding left and right? It's coming.

"Hear me out, Cursor, but free" Stfu.
It's good for investors because there's no such thing as bootstrapping anymore, and it is good for status-chasers because they can wave around their $10 million pre-seed check as if it means anything. Bad for everyone else.

Bad for users, too.
This extreme subsidizing of users and selling things at a loss is the wrong axis to compete on imo and I can't wait for the bubble to burst. I know game theory won't let us have it any other way, but man is it annoying.
my primary source of anxiety
This is still one of the most audacious things I’ve ever put in a real-world app, but somehow what I’m building now feels a 1000x cooler. The future is bright.
x.com/andrewprife...
Yes, I just deployed my backend on Fly, AMA.
The hard thing about microVM-based services like @flydotio is that you need to know Docker.

The easy thing about microVM-based services is that you only need to know Docker.
x.com/AndrewPrife...
My progressive blur library has weirdly picked up steam lately. If we can reach 200 stars I'll make a React Native version.
Solution: keep track of pending promises, and at each step, race the ones that haven't settled yet.
Write a generator which takes an array of promises and yields each promise as soon as it resolves, only when it resolves.

This isn't as trivial as simply iterating through the promises and yielding them one by one. The slowest promise could delay all the others!

Solution below. ⬇️
Async generators are becoming the standard way to create streaming outputs (AI SDK tool calls, TanStack Start). Here's a fun challenge you WILL need to solve at some point, and which surprisingly has no builtin equivalent.