A Brief Introduction to Behavioral Reusability (Mostly Inheritance Model)
https://medium.com/p/a-brief-introduction-to-behavioral-reusability-mostly-inheritance-model-aaddbda1d943
#article
https://medium.com/p/a-brief-introduction-to-behavioral-reusability-mostly-inheritance-model-aaddbda1d943
#article
Medium
A Brief Introduction to Behavioral Reusability (Mostly Inheritance Model)
Code reuse has been evolving for decades, from classical inheritance to prototypes to composition. This is the story :)
TIL:
You can listen for attribute changes on a DOM element using a
In my case, I needed to inspect a DOM element during a transient state that changed too quickly to catch manually.
Using DOM breakpoints wasn't helpful since the element was updated too frequently.
The solution was to use a
#til
You can listen for attribute changes on a DOM element using a
MutationObserver.In my case, I needed to inspect a DOM element during a transient state that changed too quickly to catch manually.
Using DOM breakpoints wasn't helpful since the element was updated too frequently.
The solution was to use a
MutationObserver to trigger specifically when a certain attribute changed.
const observer = new MutationObserver(function(mutations) {
mutations.forEach(function(mutation) {
if (
mutation.type === "attributes" &&
mutation.attributeName === "my-attribute") {
debugger;
}
});
});
observer.observe(element, { attributes: true });
#til
❤7👍3🔥1🤯1
Node 24 is LTS now.
Here are the codemods for migration:
https://nodejs.org/en/blog/migrations/v22-to-v24
#nodejs #news
Here are the codemods for migration:
https://nodejs.org/en/blog/migrations/v22-to-v24
#nodejs #news
nodejs.org
Node.js — Node.js v22 to v24
Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and noscripts.
🔥6
DEV Community
Why CSS Is So Hard for Generative AIs to Understand?
CSS is one of those things that looks simple, until you actually try to reason about it. Most people...
I wrote another article today
Why CSS Is So Hard for Generative AIs to Understand?
Don't forget to share if you liked it
#css #ai #tailwind #article
Why CSS Is So Hard for Generative AIs to Understand?
Don't forget to share if you liked it
#css #ai #tailwind #article
⚡10👍1👎1
⚡5👍2🎉1
VPN - a Very Precarious Narrative
Half-truths about Public VPNs.
https://overengineer.dev/blog/2019/04/08/very-precarious-narrative/
#vpn #privacy
Half-truths about Public VPNs.
https://overengineer.dev/blog/2019/04/08/very-precarious-narrative/
#vpn #privacy
overengineer.dev
VPN - a Very Precarious Narrative - Dennis Schubert
A very long article about commercial VPNs, their marketing strategies, and the truth behind their privacy and security claims.
❤1👍1
Mediabunny
A JavaScript library for reading, writing, and converting video and audio files. Directly in the browser, and faster than anybunny else.
#tool #video
A JavaScript library for reading, writing, and converting video and audio files. Directly in the browser, and faster than anybunny else.
#tool #video
Mediabunny
A JavaScript library for reading, writing, and converting media files. Directly in the browser, and faster than anybunny else.
🔥5⚡1
Typenoscript 7
https://devblogs.microsoft.com/typenoscript/progress-on-typenoscript-7-december-2025/
#news
https://devblogs.microsoft.com/typenoscript/progress-on-typenoscript-7-december-2025/
#news
Microsoft News
Progress on TypeScript 7 – December 2025
Earlier this year, the TypeScript team announced that we’ve been porting the compiler and language service to native code to take advantage of better raw performance, memory usage, and parallelism. This effort (codenamed “Project Corsa”, and soon “TypeScript…
👍3
With 2025 almost over, I’m handing out my personal awards.
The most ridiculous software decision of the year goes to...
.
.
.
Canonical 🎉
For adopting the Rust rewrite of Coreutils and bringing a toy project to the critical part of the GNU/Linux ecosystem.
#linux #rust #gnu #coreutils
The most ridiculous software decision of the year goes to...
.
.
.
Canonical 🎉
For adopting the Rust rewrite of Coreutils and bringing a toy project to the critical part of the GNU/Linux ecosystem.
#linux #rust #gnu #coreutils
❤3🎉1