Miles . 마일스 Profile
Miles . 마일스

@mileswjohnson

Followers
1,816
Following
311
Media
63
Statuses
9,366

Y Combinator Founder of @tothemoonrepo - Fan of Rust & TypeScript developer tools, monorepos, and design systems - Former @Coinbase , @Airbnb

Portland, OR
Joined July 2008
Don't wanna be here? Send us removal request.
Explore trending content on Musk Viewer
@mileswjohnson
Miles . 마일스
2 years
I use tailwind. I like tailwind. But I'm still not sold that this is better than vanilla CSS, CSS-in-JS, or other alternatives. If anything, it's even more confusing sometimes.
Tweet media one
59
19
328
@mileswjohnson
Miles . 마일스
14 days
Little hint.
Tweet media one
@mileswjohnson
Miles . 마일스
15 days
In SF, starting a new job tomorrow :)
4
0
35
20
4
296
@mileswjohnson
Miles . 마일스
2 years
I constantly see tweets about how complicated TypeScript in a monorepo is, so I've been writing a pretty in-depth article about it. Expect it in the next few days!
11
10
267
@mileswjohnson
Miles . 마일스
2 years
Is axios still the best client-side fetch lib?
50
5
217
@mileswjohnson
Miles . 마일스
2 years
Looking to integrate @typescript in a monorepo? Are you overloaded, confused? I've been there... As such, I've conjured all my experience and knowledge on this subject to provide an in-depth guide for using TS project references. I hope it helps!
6
32
178
@mileswjohnson
Miles . 마일스
2 years
After using `class` in @solid_js , going back to `className` in React just feels gross...
9
4
158
@mileswjohnson
Miles . 마일스
1 month
Tweet media one
3
8
156
@mileswjohnson
Miles . 마일스
5 months
After building a @nuxt_js app the past month, it's crazy how much better its devx is compared to @nextjs
9
14
157
@mileswjohnson
Miles . 마일스
10 months
@ThePrimeagen I use it constantly. Bad take.
3
0
136
@mileswjohnson
Miles . 마일스
4 years
After 4 years, Monday will be my last day at Airbnb. My heart goes out to the other 1900 friends and co-workers who have lost their jobs as well.
11
0
137
@mileswjohnson
Miles . 마일스
2 years
It's been an amazing 2.5 years at @coinbase working with first-class team mates on design systems, dev tooling, and react native, but it's time to move on. I'll have some big announcements in the coming weeks!
9
0
123
@mileswjohnson
Miles . 마일스
2 years
Submitted a Y Combinator application. I honestly never expected this to happen in my career, but here we are. It's pretty exciting!
8
0
100
@mileswjohnson
Miles . 마일스
4 years
After many weeks of conversations and interviews, I can excitedly announce that I will be joining the @coinbase team next month! Really stoked to work on such a high quality product.
10
0
86
@mileswjohnson
Miles . 마일스
2 years
I'm very excited for @solid_js + @astrodotbuild supremacy
1
1
78
@mileswjohnson
Miles . 마일스
2 years
Just cleaned up 200gb of space on my 500gb macbook by deleting the Rust target folders 🙃
6
0
62
@mileswjohnson
Miles . 마일스
2 months
@t3dotgg Why do you talk about Rust when you don't even know Rust?
3
0
61
@mileswjohnson
Miles . 마일스
11 months
Spending my time today learning @vuejs and @nuxt_js !
2
1
56
@mileswjohnson
Miles . 마일스
10 months
@trashh_dev @nextjs Hey man, I figured out your problem. You're using nextjs. Glad I could help, cheers.
1
0
51
@mileswjohnson
Miles . 마일스
2 years
Are @trashh_dev fans called trash cans?
Tweet media one
7
4
48
@mileswjohnson
Miles . 마일스
9 months
It's crazy how good oxlint (and oxc tools) is. Not just in performance, but ease of use. Banking on Rust was a good choice!
0
3
45
@mileswjohnson
Miles . 마일스
2 years
Ayyyeee
Tweet media one
3
0
45
@mileswjohnson
Miles . 마일스
2 years
@jaydanurwin It's more so that I don't want to handle CORS, JSON parsing, body formatting, and everything else manually.
4
0
44
@mileswjohnson
Miles . 마일스
1 year
Are you unhappy with the Node/npm ecosystem? Hoping for something better? Me too. Say hello to espresso ☕️, an in-development next-generation package registry/manager. 🟧 ESM only, no CJS 🟫 Builds packages on demand ⬛️ ES build targets Learn more:
6
6
43
@mileswjohnson
Miles . 마일스
2 years
My new stack is quite enjoyable to work in: - @solid_js + start + kobalte - @tailwindcss - @vite_js - @apollographql
5
1
42
@mileswjohnson
Miles . 마일스
10 months
The new stack I'm planning to tinker with: Backend - @adonisframework Frontend - @vuejs , @nuxt_js , @vite_js Tools - @biomejs
8
1
39
@mileswjohnson
Miles . 마일스
2 years
@thevrnrd @kentcdodds The latter is far better for autocompletion and other tooling though.
4
0
40
@mileswjohnson
Miles . 마일스
2 years
I'm learning about so many new Rust APIs because of AoC. For example, windows(). Like, wtf, why is this in std???
4
1
36
@mileswjohnson
Miles . 마일스
15 days
In SF, starting a new job tomorrow :)
4
0
35
@mileswjohnson
Miles . 마일스
1 year
@tannerlinsley Where's the NOT react option???
3
0
33
@mileswjohnson
Miles . 마일스
2 years
35. I'm now the old guy on the team.
7
0
32
@mileswjohnson
Miles . 마일스
1 year
@trashh_dev It's the fucking worst man. Half my time is spent fixing windows problems.
3
0
29
@mileswjohnson
Miles . 마일스
2 years
@ParasocialFix What about... filed?: string | undefined
9
0
28
@mileswjohnson
Miles . 마일스
2 years
Played with @solid_js on stream for the first time. Initial thoughts: - Lack of Storybook type environment makes it hard to experiment at first. Threw up a quick Vite app to move forward. - Ecosystem felt rough until I stumbled upon solid-primitives/aria.
3
2
28
@mileswjohnson
Miles . 마일스
1 year
Hey @rustlang friends. If you use GitHub actions, I've created a new action for setting up Rust/Cargo, which is better than the current solutions:
2
0
28
@mileswjohnson
Miles . 마일스
8 months
@trunarla It was a beeg probleem!
0
0
26
@mileswjohnson
Miles . 마일스
2 years
@devongovett Vercel "borrowing" features. Color me shocked!
0
0
25
@mileswjohnson
Miles . 마일스
3 years
Any designers looking for work? I have a small open source project I would love a custom website design for!
25
0
17
@mileswjohnson
Miles . 마일스
2 years
React really is all about abstractions instead of just supporting native syntax.
2
3
25
@mileswjohnson
Miles . 마일스
2 years
Anyone have the Macbook air M2??? It looks great, so tempted to buy
19
0
23
@mileswjohnson
Miles . 마일스
2 years
Like 10 years later and I still have to google the difference between all the flexbox properties. So. poorly. named...
3
1
24
@mileswjohnson
Miles . 마일스
2 years
I hear that build systems are all the rage lately, so I'm happy to announce moon! A build system written in Rust, designed to scale for companies and projects of any size! I have a long list of cool things planned, so stick around!
4
3
24
@mileswjohnson
Miles . 마일스
2 years
@trashh_dev This is a good resource and starting point:
1
1
24
@mileswjohnson
Miles . 마일스
5 months
Do you use @adonisframework ? Do you wish it generated types for models and controllers? Great, me too, so I wrote a codegen provider that does just that! Will do more testing and then release it.
1
2
23
@mileswjohnson
Miles . 마일스
1 year
1.5 years of my life gone, but it was worth it.
@tothemoonrepo
moonrepo
1 year
After a year and a half of development, moon has finally reached a v1 🎉! The next year will be very exciting. 🗜️ Project constraints/boundaries 🏷️ Project tagging 🐚 Shell wrapping for system tasks 🗝️ Env var substitution 🔩 New token variables
0
15
57
1
1
22
@mileswjohnson
Miles . 마일스
2 years
@trashh_dev bruh I hate those threads. like that madza guy or whatever
3
0
21
@mileswjohnson
Miles . 마일스
1 year
CI costs for @tothemoonrepo was costing me about $700 a month, which is absurd. So instead, I converted an old unused macbook and an $800 windows laptop into self-hosted runners. Now my CI costs are basically zero, and these self-hosted runners are beefier than what GH provides.
1
0
20
@mileswjohnson
Miles . 마일스
1 year
@trashh_dev Not as good as Rust 1.69 released today on 4/20... Nice
2
0
20
@mileswjohnson
Miles . 마일스
2 years
Life is so quiet when there's no work slack to unnecessarily check all the time
4
0
20
@mileswjohnson
Miles . 마일스
2 years
I wish I was in SF for Next.js conf, feel like I'm missing out
5
0
20
@mileswjohnson
Miles . 마일스
3 months
Updated my resume and applied to a few new positions ;)
6
1
20
@mileswjohnson
Miles . 마일스
1 year
The more I use @render the more I like it. Very simple and easy to understand UI, and it "just works".
0
1
20
@mileswjohnson
Miles . 마일스
2 years
@ramsey Technically it's Node.js, which is quite different from browser JavaScript.
6
0
16
@mileswjohnson
Miles . 마일스
10 months
Everyone's focusing on linters/formatters in Rust, but I really want a typechecker written in Rust. TypeScript is great but it has so much baggage at this point, and the perf is bad.
2
3
18
@mileswjohnson
Miles . 마일스
6 months
@AdamRackis Who the hell pays for postman?
1
0
18
@mileswjohnson
Miles . ��일스
7 months
@thekitze The only worthwhile RN packages are the expo ones.
2
0
18
@mileswjohnson
Miles . 마일스
2 years
1
0
18
@mileswjohnson
Miles . 마일스
5 months
Another cool thing about @nuxt_js is its modules. Was able to get svg icons up and running in like 1 minute. This would have taken forever with react.
1
2
17
@mileswjohnson
Miles . 마일스
3 months
Happy fathers day to me. Thanks to my beautiful wife, I'll be a father by the end of the year 😋
2
0
17
@mileswjohnson
Miles . 마일스
3 years
This past year has been wild. During the entirety of the pandemic, I... - Was let go from Airbnb - Joined Coinbase (and helped launch React Native) - Got in a relationship - Got engaged - Bought a house - Uncle to my first niece - Major progress on open source What's next?
3
0
17
@mileswjohnson
Miles . 마일스
2 years
@trashh_dev serious. the cognitive overhead trying to look at old components is just too high lol
1
0
16
@mileswjohnson
Miles . 마일스
1 year
@MelkeyDev Only thing Go has over Rust is fast compile times.
5
0
16
@mileswjohnson
Miles . 마일스
7 months
@ohmypy Awful take.
1
0
15
@mileswjohnson
Miles . 마일스
2 years
What are your thoughts on @solid_js ? Solid start and the entire primitives/etc ecosystem look promising.
@buildsghost
Jamie
2 years
I’m finding that I dislike the current direction of React
3
11
189
1
0
15
@mileswjohnson
Miles . 마일스
2 years
@nickemccurdy @jaydanurwin You need to handle `credentials`. And using fetch().json() forces you to do that everytime. I can build my own abstractions/wrappers, and at that point, might as well just use a lib.
4
0
14
@mileswjohnson
Miles . 마일스
2 years
@puppo92 There's absolutely no reason to use express in 2023.
3
0
14
@mileswjohnson
Miles . 마일스
1 year
The best feature of Slack is that you can DM yourself.
2
1
13
@mileswjohnson
Miles . 마일스
2 years
@mehulsharmamat It's just a lot to understand when going back to old components and trying to figure out wtf is going on. CSS is much more organized as everything is read top down.
2
0
14
@mileswjohnson
Miles . 마일스
2 years
The worst part about @rustlang isn't the borrow checker, it's the compile times...
3
1
14
@mileswjohnson
Miles . 마일스
1 year
My setup-rust action now caches `~/.cargo` and `target`. Brought CI times down upwards of 90%! For example, lint on windows before was 5m, after is 45s!!!
2
1
14
@mileswjohnson
Miles . 마일스
2 months
@domenic You can migrate from jest to vitest in a couple hours. I did it on all my projects, definitely worth it. Jest is tech debt at this point.
0
1
14
@mileswjohnson
Miles . 마일스
2 years
One of my @rustlang asks is that arguments using `Option` are actually optional and can be omitted...
Tweet media one
4
2
14
@mileswjohnson
Miles . 마일스
2 years
@ebey_jacob I hope Solid takes over.
0
0
14
@mileswjohnson
Miles . 마일스
1 year
Me at the store: *Not going to buy snacks to eat healthier* Me at home everyday: *Fuck I wish I bought snacks*
3
1
12
@mileswjohnson
Miles . 마일스
2 years
I don't write tests because everything I write is perfect
3
0
13
@mileswjohnson
Miles . 마일스
4 years
Ive been able to gather my thoughts these last few days, and I just want to thank everyone for their support, especially Airbnb colleagues. It's heartwarming to know I left an impact and will be missed, even from individuals I never met!
1
0
13
@mileswjohnson
Miles . 마일스
2 years
Started using this week to build my design system and props to @MLFabien for providing such a polished and powerful library!
1
0
13
@mileswjohnson
Miles . 마일스
6 years
If you write React @typescriptlang and want to generate PropTypes from your interfaces, I just released an alpha of my new Babel 7 plugin! Would love some testing and feedback.
0
3
13
@mileswjohnson
Miles . 마일스
2 years
Going to start streaming Rust/TypeScript/Node.js and more on Twitch while I primarily work on open source projects. Stay tuned!
0
1
13
@mileswjohnson
Miles . 마일스
1 year
Missing that office life. Coffee and snacks on deck? Socializing? Getting out of the house? Chilling with friends? Going out for lunch? Yes plz.
2
0
12
@mileswjohnson
Miles . 마일스
2 years
@jarredsumner Why is bun basically reimplementing every single API that exists in the ecosystem?
2
0
12
@mileswjohnson
Miles . 마일스
2 years
Felt like such a beginner. It was a humbling experience. Even though my start was rough, I'm still excited to use @solid_js .
1
0
12
@mileswjohnson
Miles . 마일스
2 years
After 3 years, I finally caught covid! My pokedex is now complete.
1
0
12
@mileswjohnson
Miles . 마일스
4 years
Interview today for the first time in like 5 years. Nerves are getting the best of me.
5
0
12
@mileswjohnson
Miles . 마일스
2 years
@JLarky Or you know, not through npm/yarn/etc at all. Just run the rust binary directly!!!
1
0
12
@mileswjohnson
Miles . 마일스
1 month
I miss the old internet. Who wants to join me and start a new one?
5
0
12
@mileswjohnson
Miles . 마일스
2 years
This begs to ask the question, why doesn't @rustlang auto-cleanup the target folder and remove stale build artifacts???
0
1
12
@mileswjohnson
Miles . 마일스
6 years
@iamcookbook @reactjs "Amazing. Every word of what you just said.. was wrong." - Luke Skywalker
0
1
11
@mileswjohnson
Miles . 마일스
11 months
Why does no registry (npm, crates, etc) include a changelog on the package page??? It's such a hassle having to find the repo, then find the changelog.
4
0
11
@mileswjohnson
Miles . 마일스
2 years
Now that `useEvent` is basically shelved, @solid_js just keeps looking better and better.
3
0
11
@mileswjohnson
Miles . 마일스
2 years
@FrantssB @solid_js Truth. React just feels poor in comparison now
0
0
11
@mileswjohnson
Miles . 마일스
2 years
@deepwhitman @nickemccurdy @jaydanurwin Of course regular fetch can do it all. It's just a bad API.
1
0
11
@mileswjohnson
Miles . 마일스
2 years
We just launched remote caching of build artifacts for moon powered repositories for FREE, up to 1GB of storage. Check it out!
@tothemoonrepo
moonrepo
2 years
We're very excited to announce that remote caching is now publicly available! You can start using it for free using our new service:
2
3
19
0
0
11
@mileswjohnson
Miles . 마일스
2 years
.mjs stands for Miles Johnson Script. Y'all are welcome.
3
0
11
@mileswjohnson
Miles . 마일스
10 months
This is so weird to me. Why prettier? The tool that is the fastest and least problematic in the JS ecosystem??? Why not a better linter? Test runner?? Type checker???
@algoraio
Algora
10 months
#prettier total prize just became $25,000 🎉 new $2,500 pledge by @napi_rs 🦀 started with $10k from @vjeux now we here ✨
Tweet media one
5
9
44
3
1
10
@mileswjohnson
Miles . 마일스
1 year
I have ideas for: - An alternative npm package/registry spec, that would help to alleviate all the problems the ecosystem currently has. - A new CSS/styling approach that is not CSS-in-JS or Tailwind. I wish I had more time to really prototype these 😅
2
0
10
@mileswjohnson
Miles . 마일스
2 years
Thoughts in TS return inference: Use it sometimes, but not always. For primitives, complex types, and const/literals, it works great. But sometimes the inf types are too broad, and returning an explicit type that narrows it is sometimes better. TLDR; both approaches are fine!
3
0
10
@mileswjohnson
Miles . 마일스
2 years
@phuctm97 Just typing the props argument is the cleanest approach IMO: function Button(props: { variant ... }) {}
1
0
10
@mileswjohnson
Miles . 마일스
1 year
The hardest part of building a developer tool/CLI, is the terminal output... Half making it useful, the other half making it pretty.
0
0
10
@mileswjohnson
Miles . 마일스
2 years
Free wifi that asks for a bunch of personal info. Please stop.
1
0
10