Irfandy (@irfandy_dev) header
Irfandy (@irfandy_dev) profile picture

🔎 Open to work | 🧑‍💻 Full-Stack Engineer | 🔨 Creating & Solving for Fun | 📚 Sharing thoughts, quotes, my learning journey

Joined September 2016
Photo by Irfandy (@irfandy_dev)Photo by Irfandy (@irfandy_dev)Photo by Irfandy (@irfandy_dev)Photo by Irfandy (@irfandy_dev)Photo by Irfandy (@irfandy_dev)Photo by Irfandy (@irfandy_dev)Photo by Irfandy (@irfandy_dev)Photo by Irfandy (@irfandy_dev)Photo by Irfandy (@irfandy_dev)Photo by Irfandy (@irfandy_dev)
Irfandy retweeted
are you fucking kidding me? pikzels.kumar-coding.dev/
1,945
1,437
489
32,972
3,180,424
🚨: Study finds neuroplasticity happens in 4 stages and most people quit before stage one ends
47
420
36
6,937
888,690
Irfandy retweeted
Elon Musk literally revealed the fastest way to become irreplaceable in the AI era:
56
602
15
3,448
223,136
What it's like to watch AI fix a bug
423
2,451
407
20,367
943,491
I built an @n8n_io script that lets you ditch your sales team, your company, your momma, and the rest of humanity. RT and comment “BYE MOM” if you’re ready to automate your life. I’ll DM it to you free.
1,510
636
47
1,884
246,782
In 2008, Jeff Bezos & Elon Musk attended the same lecture. They walked away with one concept that changed how they viewed the world forever. Here’s the concept (& why everyone needs to understand how it works):
160
1,610
99
10,781
2,456,410
Irfandy retweeted
NVIDIA is getting crazier. They just dropped a tiny AI supercomputer, built for robotics and LLMs, capable of 70 trillion operations per second. For $249. Game over.
687
3,488
493
35,767
3,947,189
In 2010, Google and Oracle went head-to-head in the biggest copyright case in history. Oracle sued Google for $9B, claiming Google copied 11,000 lines of code to develop Android. Google took a bold stance and argued that its code copying was fair. Here's the full story:
91
1,824
90
16,681
3,439,582
136
2,460
160
16,175
1,002,786
The Most Successful People in the world have people walk out on them and abandon them all the time… DESPITE over performing… So give yourself a break and realize that sometimes nothing you do will be enough for some people.,. And that’s OKAY… And all you have to do is really make sure that it is in fact THEIR LOSS.,. You don’t have to prove it to them, but you have to accept it for yourself.
1
3
53
3,640
You will never meet strong people with an easy past...
69
25
4
199
7,494
Here's a myth that needs to be thrown away. With all these layoffs, it keeps getting repeated. What is it? "The best people don't get laid off". This assumes that - corporate politics - biases - people trying to cover their own shortcomings - people taking credit for the other of others - people protecting themselves don't play a role in layoffs. Some of the people making decisions are so far removed from the process. Everyday I interact with high performers who get laid off. Stop assuming. Throw this assumption out the window. Remember layoffs aren't a reflection of you. They are a reflection of the company.
6
9
2
47
3,482
Messin' with JavaScript <canvas> 💫
32
91
3
1,376
245,574
Extra CSS Trick! 🚀 Use scroll-padding-inline with some calc on the track to make the indicator click JS free 🤙 (See video 🎬) ul { scroll-behavior: smooth; scroll-padding-inline: calc( 50vw - (var(--card-width) * 0.5 ); } You could color those indicators as requested by @AbelardoIT .indicator::after { background: hsl(var(--hue) 90% 70%); } @​keyframes show { 50% { opacity: 1; }} Combined with the same animation properties from the original demo ⭐️ Rad! 😎
CSS Tip! 🚥 You can create these trending expanding scroll indicators with scroll-driven animations and flex 🤙 .indicator { animation: grow; animation-range: contain calc(50% - var(--size)...; animation-timeline: var(--card); } @​keyframes grow { 50% { flex: 3; }} What's the trick? Put the indicators in a container using flex layout and set a width larger than the number of indicators 😉 .indicators { aspect-ratio: 7 / 1; display: flex; } Importantly, set no gap 🤏 To mimic the gap set a transparent border on each indicator and set the background using padding-box .indicator { background: linear-gradient(#​fff, #​fff) padding-box; border-radius: 50px; border: 4px solid transparent; } Now for the animation. You want to create a view-timeline for each card that moves across 🤙 li:nth-of-type(1) { view-timeline: --one inline; } li:nth-of-type(2) { view-timeline: --two inline; } Make sure they use the inline axis too! The trick is hoisting these view-timeline so the indicators can use them with timeline-scope 👀 .track { timeline-scope: --one, --two, ...; } All that's left is for you to create the animation piece using some calc with the card size ⚡️ .indicator { --size: calc(var(--card-width) * 0.9); animation: grow both linear; animation-range: contain calc(50% - var(--size)) contain calc(50% + var(--size)); } .indicator:nth-of-type(1) { animation-timeline: --one; } .indicator:nth-of-type(2) { animation-timeline: --two; } @​keyframes grow { 50% { flex: 3; }} And there you have it, responsive scroll indicators using CSS scroll-driven animations 😎 Sprinkle a little JavaScript to make them clickable and scroll the the right card ✨ const shift = (event) => { if (event​.target.tagName === "BUTTON") { const index = [...event.target.parentNode.children].indexOf(event​.target); const item = document.querySelector(`li:nth-of-type(${index + 1})`); item.scrollIntoView({ behavior: "smooth", inline: "center" }); } }; As always, any questions or suggestions, let me know. I've put a JavaScript fallback in to use GSAP in browsers that don't have scroll-driven animations 🫶 @CodePen link below! 👇
6
147
4
1,061
95,324
To prevent burnout, it’s crucial to catch the early signs, and when you do, try your best to slow down.
14
18
1
176
11,957
The big technology change for JavaScript developers in 2022 wasn't a new framework. It was AI. Developers in 2023 are twice as fast with the help of AI. medium.com/javascript-scene/…
11
24
4,012
My friend asked me 1 year ago. "Tera DSA hogya kya?". I replied, "Itni Jaldi kya hai, Abhi to maine start kiya hai". A Thread 🧵
36
36
479
Irfandy retweeted
Review Kota-kota di Indonesia 🇮🇩 Sekali lagi disclaimer dulu, ini berdasarkan pengalaman pribadi gw berkunjung ke kota-kota di Indonesia. Kalo ada persepsi yang berbeda dengan persepsi gw, mohon untuk agree to disagree, karena pengalaman pasti berbeda tiap orang. (A thread)
62
1,346
190
6,221
wait are you kidding me
637
15,755
2,616
121,453
THE JOB MARKET REPORT! Zip Recruiter just published their job market report and here are some of the BIGGEST take aways so you can land a job in tech!
36
501
28
2,117