Irfandy retweeted
🚨: Study finds neuroplasticity happens in 4 stages and most people quit before stage one ends
Irfandy retweeted
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.
Irfandy retweeted
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):
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.
Irfandy retweeted
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:
Irfandy retweeted
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.
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.
Irfandy retweeted
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! 👇
Irfandy retweeted
To prevent burnout, it’s crucial to catch the early signs, and when you do, try your best to slow down.
Irfandy retweeted
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/…
Irfandy retweeted
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 🧵
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)


































