Sason Braha (@SbLovesCode) profile picture
Israel
Joined February 2024
Photo by Sason Braha (@SbLovesCode)Photo by Sason Braha (@SbLovesCode)Photo by Sason Braha (@SbLovesCode)Photo by Sason Braha (@SbLovesCode)Photo by Sason Braha (@SbLovesCode)Photo by Sason Braha (@SbLovesCode)Photo by Sason Braha (@SbLovesCode)
We have to say “Mississippi” after each number
Wtf takes Mississippi so gahdamn long to count votes??
1,798
42,601
1,708
580,694
8,921,962
My salute to the Indian pilot Captain Smit Machchhar for his extraordinary bravery. Despite being stabbed and seriously injured, he fought back, resisted, opened the cockpit door, and enabled passengers and crew to overpower the attacker — preventing a catastrophic mid-air disaster. He saved the lives of 174 people, including Israeli citizens and other nationals. I wish Captain Machchhar a speedy and full recovery. He is a true hero.
7,971
79,473
3,431
409,356
14,031,166
Sason Braha retweeted
Finally found a use case for an Apple Vision Pro… made my AI Agent return to office
126
369
81
4,323
291,847
Sason Braha retweeted
Firefox compiled to WebAssembly, running inside of your browser 🤯
46
209
76
1,589
201,941
Sason Braha retweeted
TypeScript 7.0 Beta is here! Built on a new native and parallelized foundation, it's already being used on multi-million line codebases. Read up more here and try it on your projects today! devblogs.microsoft.com/types…
37
578
81
3,496
511,106
Sason Braha retweeted
How to store binary data in XML
129
241
41
5,887
208,111
Sason Braha retweeted
how does React know if a component renders?
13
73
4
1,174
82,819
Sason Braha retweeted
CSS Tip! 💡 The ::marker pseudo-element in CSS allows you to style list markers, such as bullets in <ul> or numbers in <ol>, providing easy customization of their appearance. NOTE: The ::marker pseudo-element only applies to list items (<li>) or elements with display: list-item.
20
38
1
199
6,657
Sason Braha retweeted
What’s some cursed programming knowledge you wish you didn’t know?
338
22
38
1,342
328,115
pixelated view transitions using CSS mask and generated @​keyframes 🤖 mask out the old, mask in the new, and give the ::view-transition a background-color (had to see if it was possible 🫣)
Page transitions are a key factor for creating seamless experiences, and they’re one of our most popular requests. While we use BarbaJS for client work, this week we’re sharing a simpler setup using JavaScript and @greensock for anyone looking to start relatively simple.
2
32
2
604
51,642
We've refreshed our homepage—what do you think? Its focus is making @liveblocks crystal clear, showing exactly what it enables in a way everyone can understand. We've spent a long time working on the message. → liveblocks.io
1
3
10
866
Sason Braha retweeted
Just gonna immortalize this here forever
1,601
2,210
818
45,257
6,089,252
Sason Braha retweeted
Just found out that Fetch API has built-in timeout support! 🤯
55
242
32
2,005
384,307
CSS Trick ✨ You can create this glitch hover effect by animating pseudoelement content 🎬 button:hover span:after { animation: flip 0.2s calc(var(--i) * 0.05s); } @​keyframes flip { 20% { content: '_'; } 40% { content: var(--c1); } 60% { content: var(--c2); } } It's a funky little track that allows you to animate text flipping with CSS 🤙 Leaning into custom properties, you can make each flip animation random with inline styles 🎨 <button> <span style="--i: 0; --c1: 'x'; --c2: '$'; --c3: '≈';" >C</span> <span style="--i: 1; --c1: 'ç'; --c2: '&'; --c3: 'π';" >l</span> <!-- Other characters --> <span class="sr-only">Click Me</span> </button> You make use of each character within the keyframes above. And "--i" communicates the index that you can use for the animation-delay 🙌 That's all there is to it! As always, any requests or suggestions, hit me up! 🙏 @CodePen link below! 👇
36
260
9
2,705
168,720
Custom property powered responsive scroll animations with CSS 🔥 .card { animation: morph; animation-timeline: --scroll; } .card--one { --x: -35vw; --r: -10deg; } .card--two { --x: 35vw; } @​keyframes morph { 0% { translate: var(--x) var(--y); rotate: var(--r); } }
Can someone teach me how to make this using scroll driven animations? Tagging @jh3yy, or has he already made this somewhere?
45
171
16
1,866
202,333
Essential Linux commands
29
248
13
1,215
78,393
Sason Braha retweeted
I love reading such detailed technical articles, those guys took Kafka apart and managed to understand the cause of their 3 seconds write latency in Kafka producers. Turns out it was caused by the flush/commit of the ext4 file system journal metadata. Of course doesn't mean ext4 is bad it's just not a fit for Kafka's workload. So they end up switching to XFS and improve the writes by 82%! The way they discovered this is interesting, all the tooling they wrote for Java/Kernel is just amazing, recommend you guys checking it out. full article blog.allegro.tech/2024/03/ka… I'll make a video covering this in details once I get a chance, I want to learn more about XFS and ext4, my knowledge there is limited. I did a brief summary on the article on my second channel for those interested youtu.be/gxxeZum6BjE
14
216
9
1,512
139,754
programmers every 5 minutes
21
180
13
1,265
36,719