Sam Meech Ward Profile Banner
Sam Meech Ward Profile
Sam Meech Ward

@Meech_Ward

Followers
1,290
Following
232
Media
201
Statuses
758

Still trying to figure it all out

vancouver
Joined October 2014
Don't wanna be here? Send us removal request.
Explore trending content on Musk Viewer
@Meech_Ward
Sam Meech Ward
3 months
10X Dev Code Editor Setup
25
103
1K
@Meech_Ward
Sam Meech Ward
1 year
I don't know if it's right, but it feels good. I've found myself replacing 100% of my existing data-fetching/loading code in @nextjs with server components and suspense. All of my code pretty much looks like this now. My favorite part is watching the stream using curl
Tweet media one
24
23
533
@Meech_Ward
Sam Meech Ward
2 months
Here's a tutorial no one asked for It's the BROH stack bro Bun + React + drizzle Orm + Hono + Kinde Auth + TanStack Query + TanStack Router + TanStack Form + Tailwind + Shadcn + Zod + Neon + just watch it and find out, it's better than htmx
Tweet media one
13
34
326
@Meech_Ward
Sam Meech Ward
5 months
BROH stack? Bun React Drizzle ORM Hono
18
2
79
@Meech_Ward
Sam Meech Ward
1 month
@nixcraft I got 99 problems but a mouse ain’t one
Tweet media one
6
1
57
@Meech_Ward
Sam Meech Ward
3 months
Just another JavaScript WAT video for you
4
5
46
@Meech_Ward
Sam Meech Ward
5 months
1
0
45
@Meech_Ward
Sam Meech Ward
2 months
@ziademarcus Its fine to release half a baked cake NEVER release a half-baked cake You’ll make people sick
3
3
37
@Meech_Ward
Sam Meech Ward
4 months
SSR (left) vs CSR (right) Simulated slow internet and slow server processing. The network request takes 3 seconds, processing the request takes 3 seconds. When I click on a navigation link, that link should immediately reflect my action by turning bold, the url should update
9
5
33
@Meech_Ward
Sam Meech Ward
3 months
Git: Goddamn idiotic truckload of sh*t
1
5
35
@Meech_Ward
Sam Meech Ward
7 months
Why I like using a typesafe ORM like @DrizzleORM in my projects
1
2
34
@Meech_Ward
Sam Meech Ward
5 months
@typecraft_dev My MacBook Pro
0
0
30
@Meech_Ward
Sam Meech Ward
2 months
Books I’ve owned for a long time Guess which ones I didn’t read
Tweet media one
6
3
26
@Meech_Ward
Sam Meech Ward
2 months
Is this bun, deno, or node? Is this lambda, workers, or a VPS? It doesn't matter, it just works
Tweet media one
4
4
26
@Meech_Ward
Sam Meech Ward
2 months
I’ve been using for a while and it’s my favorite diagram tool They just launched Eraser AI, here’s my honest review on the new features
Tweet media one
@eraserlabs
Eraser
2 months
✨ Eraser AI, the first copilot for technical design. So many coding copilots, but what about a copilot for non-coding tasks like drawing arch diagrams and writing tech docs? After 1M diagrams generated, Eraser AI is here for engineers and architects.
18
43
177
3
3
26
@Meech_Ward
Sam Meech Ward
2 months
For anyone confused about why you might want to vite proxy, and what that even means for your application
3
0
25
@Meech_Ward
Sam Meech Ward
5 months
@matteocollina I can't tell if you're telling people to stop complaining or asking people to give money. I went to look for a sponsor/donation button somewhere, like most open source projects have, and I could not find one for node.
1
0
24
@Meech_Ward
Sam Meech Ward
2 months
Tweet media one
1
0
20
@Meech_Ward
Sam Meech Ward
2 months
@IroncladDev
IroncladDev 🔩
2 months
CORS is useless and I’m tired of pretending it isn’t
36
27
589
1
1
19
@Meech_Ward
Sam Meech Ward
1 month
I just went from about 120 wpm to 11 wpm
Tweet media one
3
0
20
@Meech_Ward
Sam Meech Ward
5 months
@fireship_dev Just do what I do and make sure your app has no users It's pay for what you use. 500% markup on 0 is still 0
2
0
18
@Meech_Ward
Sam Meech Ward
1 year
@dragidavid @nextjs But thanks to a recent tweet by @ThePrimeagen , I've started wrapping my "user-facing" promises in a custom `noThrowReturnError` function so that I don't end up using try catch.
Tweet media one
Tweet media two
1
0
18
@Meech_Ward
Sam Meech Ward
5 months
It turns out i've been overcomplicating things. This is how you manage SSL certificates, forward http to https, and handle traffic as a reverse proxy: sudo vim /etc/caddy/Caddyfile my.domain { reverse_proxy localhost:3000 } That's it, nothing else. Thank you @caddyserver
1
3
18
@Meech_Ward
Sam Meech Ward
24 days
Someone gives you one of these. What’s the first thing you do with it?
Tweet media one
15
0
17
@Meech_Ward
Sam Meech Ward
1 year
@Zimano_ @nextjs There are a lot of reasons why data fetching with useEffect is undesirable. * useEffect is complex: * You always render the page first without the initial data * You make more network requests than is often necessary * Race conditions * etc.
1
1
17
@Meech_Ward
Sam Meech Ward
7 months
classic map reduce in #javascript
1
1
17
@Meech_Ward
Sam Meech Ward
1 year
@clientside_dev @nextjs Streaming. @nextjs has made it really easy to stream with suspense and loading.tsx pages. Also, getServerSideProps is indirect so the dev experience isn't as good. Server components let us write and execute the async code right where we need it.
Tweet media one
2
1
16
@Meech_Ward
Sam Meech Ward
2 months
😈
Tweet media one
@eraserlabs
Eraser
2 months
just making sure you took a moment to upvote us on ProductHunt
Tweet media one
1
4
12
1
1
15
@Meech_Ward
Sam Meech Ward
3 months
I made this last summer and wanted to turn the footage into a YouTube video, but I'm bad at that so I'll post a few seconds here instead I used my iPhone with a game controller to wirelessly control an ESP 32 that's connected to two a hacked hoverboard controllers so I have a
0
1
15
@Meech_Ward
Sam Meech Ward
1 month
spent an hour trying out @solid_js for the first time its isomorphic approach is🔥🔥🔥
1
0
13
@Meech_Ward
Sam Meech Ward
5 months
@threepointone @kentcdodds The moment I saw `class default class Counter {`, I thought, oh shit this is actors. One paragraph later "That’s it. That’s the big idea. You can call it the Actor model" Now all we need is to replace JavaScript with Misty lang to complete Douglas Crockford's prophecy
1
1
13
@Meech_Ward
Sam Meech Ward
6 months
To anyone trying to learn how to code: Don't stop trying. Don't stop writing code. Make a side project that you genuinely get excited about, it doesn't matter what it is, just be excited about working on it. Don't think you've wasted time because you were stuck on problem for
3
2
13
@Meech_Ward
Sam Meech Ward
8 months
I used to force my relational data into DynamoDB just so i could get a fast and pay-as-you-go (free) database service for my side project. Now I use @tursodatabase . I know that Turso has tons of amazing features that make it great for apps at large scale. It's an amazing set of
0
0
12
@Meech_Ward
Sam Meech Ward
2 months
I knew it was going to be small, but this is ridiculous My new esp32 s3 with ov5640 camera I might try to make an ai pin…. but better
Tweet media one
1
0
12
@Meech_Ward
Sam Meech Ward
2 months
If I have to sign one more PDF, I’m going to quit my job
4
0
12
@Meech_Ward
Sam Meech Ward
18 days
How Apple Intelligence works 1. Apple Devices are now AI devices. They run AI models locally using all your private information so we get context aware assistants. Works without internet or data sharing 2. Apple has data centres that follow Apple's commitment to privacy. They
Tweet media one
1
3
10
@Meech_Ward
Sam Meech Ward
1 year
I don't always generate a lighthouse report, but when I do....
3
1
11
@Meech_Ward
Sam Meech Ward
22 days
WWDC is right around the corner here's 42 seconds of @SwiftLang to get you ready
2
0
10
@Meech_Ward
Sam Meech Ward
4 months
I'm almost done making the longest tutorial of my life, now I need help making a youtube title. Here's the tech stack: bun, hono, react, drizzle, kinde, tanstack query router form, postgres - neon, flyio
5
1
11
@Meech_Ward
Sam Meech Ward
2 months
Don’t use llms to do critical or creative thinking Use llms to do the mundane bitch work
5
1
11
@Meech_Ward
Sam Meech Ward
2 months
Two of you go unsubscribe right now
Tweet media one
3
0
10
@Meech_Ward
Sam Meech Ward
8 months
Effortless Auth in Next.js 14 Using Auth.js & Drizzle ORM
1
1
10
@Meech_Ward
Sam Meech Ward
2 years
Thank you to my youtube subscribers for making this possible🥰
Tweet media one
0
0
10
@Meech_Ward
Sam Meech Ward
7 months
Well that was unexpected
Tweet media one
3
2
10
@Meech_Ward
Sam Meech Ward
1 year
@dragidavid @nextjs Something like this:
Tweet media one
2
0
10
@Meech_Ward
Sam Meech Ward
4 months
I got 24 seconds on the #KindeSpeedRun I need tips on how to do this faster so I can take first place
1
2
9
@Meech_Ward
Sam Meech Ward
2 months
@ThePrimeagen It’s time to become a swifty
1
0
9
@Meech_Ward
Sam Meech Ward
3 months
How do you do this in a SSR app? CSR = easy SSR = ? 1. submit 2. immediatly navigate to new page 3. show loading state of new thing created 4. show new thing created in it's natural state All while allowing the user to still navigate around without blocking This is simulating
2
2
8
@Meech_Ward
Sam Meech Ward
2 months
I had no idea you could just make a native windows desktop app with swift This is a good thing because swift is a good language More people should use swift
3
0
9
@Meech_Ward
Sam Meech Ward
3 months
@dreamsofcode_io That was my experience until I learned about Turso about a year ago. Honestly, just go try out @tursodatabase in a project. Everything just works as you would expect it to with any sql database, then you realize it’s way faster, then you realize replication and distribution are
0
2
8
@Meech_Ward
Sam Meech Ward
5 months
Tweet media one
0
0
9
@Meech_Ward
Sam Meech Ward
4 months
I love MySQL but never used planet scale or MySQL services because the Postgres ones always seemed better and cheaper @CockroachDB has been amazing and free for a long time. There's databases like neon or services like xata, free for now But @tursodatabase is my current fav
2
0
8
@Meech_Ward
Sam Meech Ward
1 year
What's the best way of doing this in @typescript ? namespace? It's a single `Product` entity but the data is different when I POST vs GET.
Tweet media one
2
0
7
@Meech_Ward
Sam Meech Ward
5 months
This is why I like using tailwind #css
1
0
8
@Meech_Ward
Sam Meech Ward
3 months
When I was 17 I built a burp and fart piano and put it on the iOS App Store. Its had millions of downloads and is the most successful thing I’ve ever built “some times you build what you must, because you can”
@ThePrimeagen
ThePrimeagen
3 months
"but what should i build?" i am building a real time ascii game engine in go to be displayed in neovim some times you build what you must, because you can
57
37
1K
0
0
8
@Meech_Ward
Sam Meech Ward
28 days
here's my expense tracker with me "forgetting" to disable browser throttled 3G
@thdxr
dax
29 days
here is @SST_dev console with me "forgetting" to disable browser throttled 3G
10
9
218
2
0
8
@Meech_Ward
Sam Meech Ward
28 days
1990 the WWW was born 1992 CERN is using the violaWWW browser which supports client side scripts for interactive web pages 1995 sun gives us Java and Netscape gives us JavaScript (no relation) 2024 we’re still confused if we should do client side rendering
1
2
8
@Meech_Ward
Sam Meech Ward
7 months
My viewers think my s3 videos should be part of the official s3 docs. What do you think @AWS ? P.S. good luck at reinvent
Tweet media one
2
0
8
@Meech_Ward
Sam Meech Ward
8 months
Next-Level S3 File Management: The Ultimate Guide to Handling Files in Next.js 14
1
2
7
@Meech_Ward
Sam Meech Ward
23 days
Client side JavaScript is good. React SPAs are good Server Side Rendering for Web Apps: The Tradeoffs You're Making
3
0
8
@Meech_Ward
Sam Meech Ward
3 months
What are x, y, and f? x and y are both simple scalar values f is a pure function, it will return the same output for a given input You can try this in any programming language
Tweet media one
3
0
8
@Meech_Ward
Sam Meech Ward
1 year
@tmoutinho_ @nextjs The value would need to exist server side at the moment the function is called. So it could be sent in the url or a cookie. In my code, I'm only getting the current users' orders using an access token stored in a cookie from aws cognito
Tweet media one
0
0
8
@Meech_Ward
Sam Meech Ward
1 year
Asking me "How's it going?" forces me to observe my emotional state and make it deterministic. But I wish to keep my life in a superposition. Some describe me as chaotic
0
0
7
@Meech_Ward
Sam Meech Ward
6 months
You want to know how to be a better programmer? Write more code! That’s the secret, write code. You don’t learn to ride a bike by watching videos on how to ride a bike, you get on that damn bike and you practice. And when you fall off the bike, you get back on and try again.
2
0
8
@Meech_Ward
Sam Meech Ward
7 months
What is JSX anyway? #webdev
1
0
8
@Meech_Ward
Sam Meech Ward
1 month
I was so young and naive
@Meech_Ward
Sam Meech Ward
1 year
I don't know if it's right, but it feels good. I've found myself replacing 100% of my existing data-fetching/loading code in @nextjs with server components and suspense. All of my code pretty much looks like this now. My favorite part is watching the stream using curl
Tweet media one
24
23
533
2
0
8
@Meech_Ward
Sam Meech Ward
2 months
I love reading my YouTube comments section
Tweet media one
1
0
8
@Meech_Ward
Sam Meech Ward
1 month
It’s the middle of May and I live in Canada
Tweet media one
2
1
8
@Meech_Ward
Sam Meech Ward
2 months
@ThePrimeagen Don’t you mean constiquence
0
0
7
@Meech_Ward
Sam Meech Ward
1 year
clicking through every region in AWS to figure out where the unexpected RDS bill is coming from
2
0
6
@Meech_Ward
Sam Meech Ward
5 months
Unit tests should run quickly and test some in-between logic. You shouldn't have to manually navigate a browser, log in, and create a new post just to test the hashtag verification feature. Put that logic in it's own function and unit test it. Then the e2e tests exist, but are
0
0
6
@Meech_Ward
Sam Meech Ward
1 month
there's a new next.js major update
0
0
7
@Meech_Ward
Sam Meech Ward
1 year
@thdxr I love named function parameters!!!! there is suggested importance of the name of the argument, instead of the order I wish this was valid typescript: function register({username: string, password: string}) But my first language was objective-c so……..
0
1
7
@Meech_Ward
Sam Meech Ward
27 days
My React SPAs 100% CSR
Tweet media one
3
0
7
@Meech_Ward
Sam Meech Ward
2 months
What’s stopping you from just setting up your serverless functions directly?
@vercel
Vercel
2 months
Vercel Functions are now faster—and powered by Rust. ◆ 30% faster cold starts for smaller workloads ◆ 80ms faster (average) and 500ms faster (p99) for larger workloads Learn more about our rewrite of the core to Rust.
15
60
651
3
0
7
@Meech_Ward
Sam Meech Ward
8 months
I think auth libraries that wrap next apps in a <Provider> aren't going to work anymore. When partial prerendering comes to @nextjs , most of my web page can be statically generated while my nav bar with the logged in user's avatar can be dynamically generated. Awesome!
1
1
7
@Meech_Ward
Sam Meech Ward
2 months
I spent 2 weeks building something in c++ that would have taken me 1 day to build using JavaScript I miss this feeling
0
0
7
@Meech_Ward
Sam Meech Ward
4 months
This is somewhat trivial to do with a CSR SPA. Can someone tell me how you achieve this with an SSR framework? You hit submit to create a new thing and you enter a kind of optimistic update phase. You immediately redirect to the a different route and you see the list of all the
Tweet media one
1
0
6
@Meech_Ward
Sam Meech Ward
1 year
chatGPT is like having an intern that doesn't learn from their mistakes
0
2
6
@Meech_Ward
Sam Meech Ward
5 months
Docker makes some things easier and some things more complex. My issue with docker is that there's a learning curve in the beginning, in order to use docker, you have to learn docker. And in the end, you still have to understand how VMs work. So I avoid using docker or teaching
1
0
6
@Meech_Ward
Sam Meech Ward
1 year
create-next-app is killing it with the setup options. I don't know how long these options have been there for but thank you 🙏
Tweet media one
2
0
6
@Meech_Ward
Sam Meech Ward
1 year
shut up and take my money
Tweet media one
0
0
6
@Meech_Ward
Sam Meech Ward
1 year
I love when companies use php I get to access the database directly instead of having to use some limited web interface
0
1
6
@Meech_Ward
Sam Meech Ward
2 years
trying out uWebSockets and couldn't decide between Node for JS convenience or C++ for raw speed. Then I remembered that exists
0
0
6
@Meech_Ward
Sam Meech Ward
8 months
Pain in the ass but so gratifying when it actually works. I spent a few hours trying to get this animating code block working in next.
1
0
6
@Meech_Ward
Sam Meech Ward
23 days
@MelkeyDev Literally me with my web dev students
1
0
6
@Meech_Ward
Sam Meech Ward
1 year
What my commits look like on a feature/fix branch
Tweet media one
0
0
6
@Meech_Ward
Sam Meech Ward
6 months
I started too early to have tutorial hell. I just had to get my hands on a book, usually a tutorial book, then make my way through the chapters. The real learning happened when I finished a chapter, I kept coding and adding features and tweaking until the app was my own.
1
0
6
@Meech_Ward
Sam Meech Ward
5 months
My zshrc is mostly aliases like this
@honojs
Hono
5 months
Tips
Tweet media one
6
6
128
0
0
5
@Meech_Ward
Sam Meech Ward
6 months
I made a GPT and it works way better than I expected. It only writes code and it can read up to date docs. I'm genuinely impressed with how simple that was to make
0
0
6
@Meech_Ward
Sam Meech Ward
3 months
Official stats from Apple of the number of iOS downloads for the last two weeks Does something seem odd?
Tweet media one
1
0
6
@Meech_Ward
Sam Meech Ward
1 year
@elonmusk Wow, it's amazing how long it's taken for Twitter to realize the beauty of open sourcing. It's almost like they were living in the 90s with their closed-minded approach. But hey, better late than never I suppose. As for recommending tweets, let me give you an example of how that
2
0
6
@Meech_Ward
Sam Meech Ward
2 months
real devs pull the source straight from the mailing list and manage dependency resolution by drawing out the solution on a whiteboard
@rbluethl
Ronald Blüthl
2 months
hear me out
Tweet media one
128
130
1K
2
0
6