Pete Hunt 🚁 Profile Banner
Pete Hunt 🚁 Profile
Pete Hunt 🚁

@floydophone

35,231
Followers
848
Following
304
Media
10,224
Statuses

Dad CEO @dagster Built Prev: Twitter, Excalidraw, Smyte, Instagram, Facebook, React.js

Silicon Wharf
Joined April 2008
Don't wanna be here? Send us removal request.
@floydophone
Pete Hunt 🚁
2 years
Tweet media one
25
396
3K
@floydophone
Pete Hunt 🚁
3 years
90% of my job as a senior engineer is giving others the confidence to go with the less-impressive-but-simpler approach.
20
271
2K
@floydophone
Pete Hunt 🚁
2 years
If you're surprised about the log4j vulnerability, just wait until you hear what happens when you put a .URL into a hashtable
25
288
2K
@floydophone
Pete Hunt 🚁
2 years
all you npm haters aint never used pip
62
73
1K
@floydophone
Pete Hunt 🚁
2 years
This morning I'm releasing a hobby project I've worked on for the past two weekends: GPT-3 powered video summarization.
71
127
1K
@floydophone
Pete Hunt 🚁
2 years
“The problem with object-oriented languages is they’ve got all this implicit environment that they carry around with them. You wanted a banana but what you got was a gorilla holding the banana and the entire jungle.” RIP @joeerl
5
181
867
@floydophone
Pete Hunt 🚁
8 months
I think many struggle with OLTP relational databases because we do a bad job educating people, and many of our best practices are not actually best practices. RDBMSes can do a lot more than most people think. Wanted to share a few contrarian principles that helped me out w/ them:
15
114
823
@floydophone
Pete Hunt 🚁
1 year
We just shipped a new blog post I wrote on the @dagster blog. It's a step-by-step tutorial on how to build a ChatGPT-like bot that can answer technical questions about any GitHub repo using a great new Python library - @langchain - and the @OpenAI API. (1/4)
23
60
596
@floydophone
Pete Hunt 🚁
11 months
@alexgraveley i got about 20k for my work on react too!
17
19
722
@floydophone
Pete Hunt 🚁
7 months
a few weeks ago, i moved summarize dot tech off of gpt-3.5 and onto @MistralAI 's mistral-7b-instruct, an open-source LLM that runs on normie hardware. the model is hosted by @perplexity_ai . it's just as fast, just as high quality, and much cheaper to run. here are the details:
17
62
689
@floydophone
Pete Hunt 🚁
3 years
Literally never ever use redux on a new project under any circumstances. Even if it’s what the team knows.
63
43
673
@floydophone
Pete Hunt 🚁
10 months
Before React Server Components...
Tweet media one
10
30
606
@floydophone
Pete Hunt 🚁
1 year
pretty good deal available on @googlecloud rn
Tweet media one
22
16
595
@floydophone
Pete Hunt 🚁
5 years
Like this tweet if you remember *zoom: 1;
10
19
554
@floydophone
Pete Hunt 🚁
8 years
JS isn't the problem, shitty adtech is the problem
24
371
548
@floydophone
Pete Hunt 🚁
5 years
twitter's in the midst of a huge shift towards graphql, and the team has grown to the point that it needs a dedicated manager. i'm pretty sure that twitter is the 2nd largest graphql app in the world after facebook, so if you're interested in managing this team, DMs are open!
10
109
525
@floydophone
Pete Hunt 🚁
9 years
Just announced: react native. Use react and JS to build native apps (native views, not DOM) and interpret gestures. #reactjsconf
34
853
492
@floydophone
Pete Hunt 🚁
3 months
The AI bubble burst is gonna be brutal.
38
31
491
@floydophone
Pete Hunt 🚁
6 years
Whether react or react native lives or dies doesn’t matter. What’s important is that the programming model pioneered by react lives on.
5
80
456
@floydophone
Pete Hunt 🚁
7 years
Anytime @reactjs bugs you, remember that 1. Angular added "else" just a few months ago and 2. It looks like this:
24
192
456
@floydophone
Pete Hunt 🚁
2 years
@antoniogm not really
Tweet media one
20
5
409
@floydophone
Pete Hunt 🚁
2 years
The first commit on React was over ten years ago.
13
51
396
@floydophone
Pete Hunt 🚁
2 years
Tweet media one
4
26
389
@floydophone
Pete Hunt 🚁
8 months
if bun actually frees us from ESM/CommonJS hell then that might be its killer feature
6
20
386
@floydophone
Pete Hunt 🚁
1 year
The reality is gpt-4 won’t make engineers more productive or companies more efficient; we are just going to ship even more microservices
12
14
364
@floydophone
Pete Hunt 🚁
5 years
your yearly reminder that it's 2019 and we still don't have UITableView (foundation of most apps w/ a feed) in the browser
@floydophone
Pete Hunt 🚁
9 years
your yearly reminder that it's 2015 and we still don't have UITableView (foundation of most apps w/ a feed) in the browser
3
11
47
13
41
338
@floydophone
Pete Hunt 🚁
2 years
microservices are an architectural style enabled by 0% interest rates
10
24
318
@floydophone
Pete Hunt 🚁
8 months
this is a popular pov but i disagree. you will hire from very different talent pools, and have a very different engineering culture, depending on whether you pick c#, nodejs, or scala
@levelsio
@levelsio
8 months
What tech framework you choose is by far the least important thing in building a startup Which is funny because it’s what everyone seems to spend the most attention and time on Getting a customer to spend their money by building a product that solves a problem should be
86
91
1K
27
14
306
@floydophone
Pete Hunt 🚁
2 years
@nroman some principal OOP architect back in the day decided that a URL object must represent the canonical resource in some abstract sense. to do this they need to resolve dns, even to compute the hash code. it is bananas
5
25
298
@floydophone
Pete Hunt 🚁
2 years
but they told me react is slow and bad
Tweet media one
14
8
297
@floydophone
Pete Hunt 🚁
2 years
uses GPT-3 to give you a high-quality written summary of a YouTube video, and will link to the relevant timestamps in the video so you can watch the interesting parts yourself.
12
53
292
@floydophone
Pete Hunt 🚁
2 years
i wish someone would make a react JSX runtime for tailwind, where every tailwind classname exists as a boolean prop on every html element. so i could do stuff like <div pt6 spaceY4 w24 h24 bgRed100={isFailed} bgWhite100={!isFailed}>...</div> cc @adamwathan
52
11
283
@floydophone
Pete Hunt 🚁
1 year
so... what bad things would happen if we added package.json files to all of our python packages and started using npm instead of pip?
40
15
276
@floydophone
Pete Hunt 🚁
1 year
i just want a badge that shows up on twitter accounts that went hard on web3 in 2021 and transitioned to going hard on AI in 2023
8
10
274
@floydophone
Pete Hunt 🚁
6 years
Some advice for hackers who want to start companies but haven't had a great idea yet: wasm is shipping and could be foundational tech for the next generation of billion-dollar startups (like SaaS was)
6
50
260
@floydophone
Pete Hunt 🚁
2 years
@twothreemany it issues a network request. dns specifically
7
7
251
@floydophone
Pete Hunt 🚁
2 years
one thing that helped @reactjs get adoption early on was we were really nice to people who were mean on the internet, and then they turned into nice people
6
11
245
@floydophone
Pete Hunt 🚁
2 years
Relational databases like MySQL and Postgres should throw errors when they table scan unless an explicit flag on the connection is set.
12
18
249
@floydophone
Pete Hunt 🚁
8 years
it took a few years but @reactjs just surpassed @angularjs in github stars #coremetrics
7
94
245
@floydophone
Pete Hunt 🚁
2 years
Reminds me a lot of this
@floydophone
Pete Hunt 🚁
2 years
“The problem with object-oriented languages is they’ve got all this implicit environment that they carry around with them. You wanted a banana but what you got was a gorilla holding the banana and the entire jungle.” RIP @joeerl
5
181
867
2
15
239
@floydophone
Pete Hunt 🚁
7 years
Correct for your biases: everything you like isn't as good as you think it is, and everything you hate isn't as bad as you think it is.
6
94
242
@floydophone
Pete Hunt 🚁
1 year
Tweet media one
8
5
235
@floydophone
Pete Hunt 🚁
5 years
Have you noticed less cryptospam in your timeline? Here’s why!
11
32
233
@floydophone
Pete Hunt 🚁
10 months
...and after React Server Components. @dagster blog post coming tomorrow!
Tweet media one
8
3
235
@floydophone
Pete Hunt 🚁
4 years
Microservices bake the temporary dysfunctions of your organization into your software forever.
7
29
215
@floydophone
Pete Hunt 🚁
2 years
At @dagsterio we made the unorthodox decision to use Postgres as our message queue instead of something like Kafka or RabbitMQ (1/4)
17
24
217
@floydophone
Pete Hunt 🚁
7 years
Remember everyone: if you are doing responsive web design, you are infringing on a Google patent:
12
105
215
@floydophone
Pete Hunt 🚁
3 years
Game devs trash on the web for being bloated and slow, then turn around and make us download 40gb updates for their game every week.
5
9
208
@floydophone
Pete Hunt 🚁
2 years
when deciding on whether to adopt a microfrontend approach, consider whether you like having all of your trash in a small number of trashcans, or little bits of trash scattered all throughout your house
6
24
209
@floydophone
Pete Hunt 🚁
1 year
@acdlite I think you guys should be way more aggressive in pushing back against this stuff. Throwing out the react programming model and adopting something like signals (or worse, signals plus a dsl) is a huge step backwards and most people haven’t internalized that
9
14
189
@floydophone
Pete Hunt 🚁
1 year
I don't understand the useReducer() stans. Seems like it'll result in the same old Redux boilerplate problem where you need to define a bunch of different types for all of your actions. IMO useState() + helper functions is the way to go. Am I missing something?
31
3
184
@floydophone
Pete Hunt 🚁
9 years
Starting to see a trend of premature fluxing of react apps. Try plain @reactjs first and bring in flux only when you absolutely need it.
20
131
180
@floydophone
Pete Hunt 🚁
2 years
hell yeah
@pascal_bornet
Pascal Bornet
2 years
Unlike other weeding technologies, this #robot utilizes high-power lasers to eradicate weeds, without disturbing the soil... And, avoiding the use of herbicides! It leverages #AI to instantly identify and target weeds while rolling, days and night By Carbon Robotics #green
106
948
4K
5
24
182
@floydophone
Pete Hunt 🚁
4 years
re: this weekend's web performance discussion, here's the lighthouse score of google docs, which is perhaps the finest application to ever run in the browser. not everyone is building content sites!
Tweet media one
4
17
183
@floydophone
Pete Hunt 🚁
8 years
Interviewing a tech lead? Ask them what types of technical debt they allow and forbid in their codebase and why.
3
54
180
@floydophone
Pete Hunt 🚁
7 years
According to the top comment on hacker news, @SoundCloud layoffs wouldn't have happened had they used a graph database.
5
29
177
@floydophone
Pete Hunt 🚁
11 months
Today we're making the @dagster company and project roadmap public. (1/12)
Tweet media one
2
22
173
@floydophone
Pete Hunt 🚁
6 months
Is jsx the most successful deployment of xml of all time? 🤔
26
7
170
@floydophone
Pete Hunt 🚁
8 years
really great post on how to diagnose a perf problem w/ a react app
2
62
170
@floydophone
Pete Hunt 🚁
2 years
i wanted to share some news - a few months ago (pre-elon!) @schrockn convinced me to leave twitter and lead engineering at elementl, the company behind @dagsterio
12
4
163
@floydophone
Pete Hunt 🚁
10 months
react server components are the easiest way to build a static html site and evolve it over time
36
6
158
@floydophone
Pete Hunt 🚁
8 years
Roller coaster tycoon was programmed by just one person. In assembly language.
8
41
151
@floydophone
Pete Hunt 🚁
6 years
we are hiring frontend engineers! shoot me an email pete.hunt @smyte .com
4
40
144
@floydophone
Pete Hunt 🚁
9 years
This should fix a big missing piece of the React server rendering story:
3
46
142
@floydophone
Pete Hunt 🚁
9 years
check out @twitter open-sourcing some react components
1
55
139
@floydophone
Pete Hunt 🚁
5 years
Also: always deferring to senior engineers is what’s keeping you junior
2
23
137
@floydophone
Pete Hunt 🚁
2 years
Tweet media one
3
11
135
@floydophone
Pete Hunt 🚁
7 years
signs you may be becoming a real ceo :(
Tweet media one
5
8
132
@floydophone
Pete Hunt 🚁
7 years
@thomasfuchs I did a talk a few years ago that addresses this directly, if it matters.
5
5
133
@floydophone
Pete Hunt 🚁
7 years
if you're a front-end engineer who needs to do ops, this is a great resource
0
28
130
@floydophone
Pete Hunt 🚁
8 months
bun being able to hot reload unit tests is actually its best feature i think
10
5
132
@floydophone
Pete Hunt 🚁
8 months
Before you commit any queries to the codebase, write a script to fill up your local development DB with 100k+ rows, and run EXPLAIN on your query. If it doesn't use that index, it's not ready to be committed. Baking this into an automated test would be better, but is hard to do.
4
6
131
@floydophone
Pete Hunt 🚁
1 year
As a tech entrepreneur and engineer, my AI/LLM strategy for 2023 is to learn the HVAC trade.
8
1
130
@floydophone
Pete Hunt 🚁
5 years
I think one of the reasons JS is so successful is that it has a really strong culture of focusing on cold start performance. Spend some time in JVM land and you’ll quickly appreciate it :)
11
14
124
@floydophone
Pete Hunt 🚁
8 years
CSSConf taught me a few things. The first one is the "React world" needs to build more bridges to the "CSS world".
10
21
126
@floydophone
Pete Hunt 🚁
5 years
twitter infra running smoothly all day, just sayin!
2
7
126
@floydophone
Pete Hunt 🚁
6 years
Clearly @reactjs is the lightest weight js library
@biolojical
Biolojical
6 years
Mass in grams 10^33🌞 . . . . 10^28🌎 . 10^26🌖 . . . . . . . . 10^17🗻 . . 10^14🌀 . . 10^11🌉 . 10^9🌲 10^8🐋 10^7🐘 10^6🦏 10^5⛹️‍ 10^4🐩 1000🐇 100🐀 10🦇 1🥜 0.1🐝 0.01🐞 0.001🐜 . . . . . 10^-9🔘human cell . . 10^-12🔵bacterium . . 10^-15🔹virus . . . . . . . 10^-23⚛️
189
9K
22K
2
18
124
@floydophone
Pete Hunt 🚁
2 years
it turns out that many organizations' Big Data™ can often fit on a single cloud instance. @duckdb is super well poised to step in as the data warehouse in those situations, especially given its features, perf, and testability. however, there's one big problem with it: (1/4)
4
13
124
@floydophone
Pete Hunt 🚁
1 year
The overall end product is pretty cool, and adaptable to your own GitHub repo. Check out our blog post to learn more! And thanks to @hwchase17 for the great @langchain library! (4/4)
6
17
121
@floydophone
Pete Hunt 🚁
7 years
> Tweets about lack of empathy in our industry > Is a total asshole to recruiters
8
15
119
@floydophone
Pete Hunt 🚁
2 years
@dadamssg @mjackson microservices work great until you have to do a big cross cutting change and then you're fucked
4
6
119
@floydophone
Pete Hunt 🚁
1 year
📈📈📈
@TechCrunch
TechCrunch
1 year
Elementl raises $33M Series B for its data orchestration platform based on Dagster by @fredericl
2
12
54
18
3
119
@floydophone
Pete Hunt 🚁
1 year
what the fuck
@eraserlabs
Eraser
1 year
📐 Introducing DiagramGPT • Code → Diagrams • Natural language → Diagrams Diagrams are helpful to have but painful to draw. What if you could generate diagrams from what you already have? From code or project descriptions?
12
63
364
3
6
113
@floydophone
Pete Hunt 🚁
1 year
@levelsio Your dilution math is 10x too low, and you forgot that this is taxed at cap gains not income. Completely changes the story. By my math they’re taking home over a mil after taxes per year. Not bad!
9
1
112
@floydophone
Pete Hunt 🚁
10 months
apple's original logo from the 70s was dope
Tweet media one
5
2
114
@floydophone
Pete Hunt 🚁
3 years
Most projects are served just fine with context, hooks, and something like useSWR(). Beyond that you should look at something like relay.
8
4
114
@floydophone
Pete Hunt 🚁
3 years
my favorite react state management solution just hit 1.0
@dai_shi
Daishi Kato
3 years
We are thrilled to announce Jotai v1, a @ReactJS state management library. This is the outcome of last ten month work. Visit 👉 and find cute jotai mascot! 👻
20
146
861
2
5
111
@floydophone
Pete Hunt 🚁
8 months
bravest person on hacker news
Tweet media one
4
14
110
@floydophone
Pete Hunt 🚁
1 year
@ThePrimeagen My hot take is rust is the wrong choice 99% of the time
15
2
108
@floydophone
Pete Hunt 🚁
8 months
2. Think in terms of indexes first. Every single time you write a query, you should first think: "which index should I use?" If no usable index exists, create it (or create a separate table with that index, see point 1). When writing the query, add a comment naming the index.
1
7
111
@floydophone
Pete Hunt 🚁
8 months
(yes, this violates database normalization principles, but in the real world where you need to consider performance we violate those principles all the time)
1
7
110
@floydophone
Pete Hunt 🚁
6 years
This might be my favorite HN quote ever: “Excel is the human condition, messy, varied, capable of doing many things and most of the features aren't used, and results are often horrifying. But it works.”
0
24
109
@floydophone
Pete Hunt 🚁
6 years
I’m definitely on team monolith.
6
5
106
@floydophone
Pete Hunt 🚁
1 year
@burgessdryan ask the engineer working on it how long it will take, multiply by 3. simple as that
7
6
108
@floydophone
Pete Hunt 🚁
6 years
what if we made constantsCamelCased and MUTABLE_VARIABLES_UPPERCASE?
25
18
105