Daily Effects

330 posts

Daily Effects banner
Daily Effects

Daily Effects

@daily_effects

✨ Sharing concise code snippets and insights mostly on programming topics, one tweet at a time.

Earth Katılım Ağustos 2023
218 Takip Edilen43 Takipçiler
Daily Effects retweetledi
Sam Altman
Sam Altman@sama·
Let yourself occasionally get a little screwed in exchange for not having to live with your guard up all the time. It’s worth it.
English
255
3.5K
22.2K
0
Kent C. Dodds ⚡
Kent C. Dodds ⚡@kentcdodds·
I joined Twitter twelve years ago!
Kent C. Dodds ⚡ tweet media
English
1
0
21
10.2K
Cory House
Cory House@housecor·
One of my favorite things about owning a Tesla: The phone integration. My phone is my key, so I don’t think about keys at all. I walk up and it unlocks. I walk away, and it locks the doors *and rolls up all the windows!* This feels so obvious now. I love only carrying a phone. And the phone app is awesome. I can control: Heated seats Heated wheel Defrost Climate control Roll down windows Lock/unlock Trunk and frunk, etc. All via a tap on the app. I can schedule charging and share a virtual key too. And since the car is connected to the internet, this all works from any distance. Tesla is a software company and it shows.
Cory House tweet mediaCory House tweet mediaCory House tweet media
English
43
4
154
93.3K
Dev Agrawal
Dev Agrawal@devagrawal09·
Been a solid while
Dev Agrawal tweet media
English
6
0
14
3.3K
Ryan Florence
Ryan Florence@ryanflorence·
@mattpocockuk I think I've got a solution for v3, but still need to see how some other APIs shake out before I can show anything.
English
1
0
20
1.7K
Ryan Florence
Ryan Florence@ryanflorence·
"Optimistic update item in list" is super easy in Remix. "Optimistic add to list" sucks. Gotta screw around with client IDs and some extra state so you've got a handle on something to render while the original record is being created.
English
7
1
78
21.3K
Kass 🦈
Kass 🦈@KassandraSanch·
Adding new code to legacy code
Kass 🦈 tweet media
English
32
79
751
62K
Daily Effects
Daily Effects@daily_effects·
@anothercohen Let’s discuss this again after a week if it still worths or not 😄
English
0
0
0
596
Alex Cohen
Alex Cohen@anothercohen·
I just took out a $650k personal loan at 27% interest rate to put the spendoso.com logo on Las Vegas Sphere for a week. Even if this bankrupts my family it was well worth it
Alex Cohen tweet media
English
23
1
162
102.8K
ThePrimeagen
ThePrimeagen@ThePrimeagen·
no matter what cool tech your side projects use, just remember, 22.87% of professionals still use jquery
ThePrimeagen tweet media
English
156
77
1.7K
187K
Daily Effects
Daily Effects@daily_effects·
@shadcn How long usually does it take to apply new command?
English
0
0
1
1.1K
shadcn
shadcn@shadcn·
Game over!
English
106
170
2.2K
300.8K
Oliver Jumpertz
Oliver Jumpertz@oliverjumpertz·
The no. 1 unofficial rule of Rust: Don't implement or work with memory-interlinked data structures. Don't. Do. Not. Ever. Never.
English
3
1
32
3.6K
ThePrimeagen
ThePrimeagen@ThePrimeagen·
Let's be real for a moment—Go is for developers who want to remain in their comfort zone, shielded from the complexities of modern computing. Rust, on the other hand, is the language of the future. Go's simplicity? It's just a crutch for those who can't handle the intricacies and raw power of Rust. I mean, garbage collection? C'mon, it's 2023! We Rustaceans have moved beyond such antiquated constructs and embrace the unyielding might of the borrow checker.
English
119
34
940
201.4K
Lee Robinson
Lee Robinson@leerob·
frontend is easy
Lee Robinson tweet media
English
207
1.4K
7.2K
725.3K
Daily Effects
Daily Effects@daily_effects·
@housecor great! but I believe this should be handled carefully because sometimes useCallback and memo can create DOM update problems.
English
1
0
0
1.8K
Cory House
Cory House@housecor·
I rarely need to do React performance optimizations. But we have a page with 5 big tables and a summary bar. When one table changes, everything renders. It's slow. Solution: 1. I wrapped each table in memo. 2. I wrapped the functions passed down in useCallback. MUCH faster.
English
16
20
419
104K
Daily Effects
Daily Effects@daily_effects·
@sama you mean 90 billion dollars, right?
English
0
0
0
217
• nanou •
• nanou •@NanouuSymeon·
.pulse-animation { animation: pulse 2s infinite; } @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }
English
8
9
77
6.6K