Hey Fediverse! I plan to make this profile a notebook of #TIL bits about #webdev, #javascript, #software and #hardware. Probably the odd toot about digital privacy, free speech and computer history. Will try to help the community as best as I can!
#TIL Chromium #devtools has a handy memory inspector since v91. It's quite hidden. You've got to click on the tiny chip icon next to an ArrayBuffer to open it.
"Managers who don't know how to measure what they want settle for wanting what they can measure." — Russell Ackoff
#quote #programming #wisdom #software #managing #antipattern
Into music? Check out https://roland50.studio. It's #Roland celebrating 50th anniversary with virtual vintage drum machines / synthesizers. #TR808 #TR606 #TB303 #SP404 #SH101
It's also a well-built and performant multimedia website done with #nextjs. Haven't found out more yet, because I immediately get stuck making music for hours on end before I manage to open the dev tools 😃
"I think it is the same for HTML vs JS. We opened the box, and moved stuff from data ("dumb" HTML) to code ("smart" JS), and once we saw how much control code gave us, we were never going to go back to just writing data again."
This is something I've been trying to get at with my posts on Multi-Page Apps vs Single-Page Apps. One is more maintainable, the other is more powerful. Developers often trade maintainability for power in the short term. Is this bad? Not always. It's a tradeoff.
Just listened to #SyntaxFM episode 453 "Why do people still use #Axios over #Fetch?" #javascript
Honestly, all of the things mentioned can be achieved with a few lines of code in a wrapper function* or service worker. No need to pull in 20 kB of external code unless you're using all of the features. #UseThePlatform!
*) Building a little #API client is almost always very useful anyway
An old-school demo built for #awk. Yes, you read that right! Not #Amiga, not #C64… it's for awk. And it's great! #demoscene #unix
[2/2] Same goes for ESLint. I've replaced it with quick-lint-js. This also means losing all ESLint plugins unfortunately (bye-bye eslint-plugin-react*), but its speed (almost instant) won out in the end.
Let me know if you want to see how I've integrated both into #vim!
[1/2] Prettier ist a great code formatter. But it tends to be slow due to being written in #JavaScript itself and requiring a #Node.js cold start on every run.
Lately I've been testing out dprint. Written in #Rust, it's much faster. And it has some nice additional features like sorting imports, which is great for ocd people like me :-)
Did you know that #nodejs has a built-in and easy to use cluster module that can make your server apps faster and more reliable by utilizing all CPU cores?
Hey Fediverse! I plan to make this profile a notebook of #TIL bits about #webdev, #javascript, #software and #hardware. Probably the odd toot about digital privacy, free speech and computer history. Will try to help the community as best as I can!
All kinds of tech nerd, software developer and consultant, startup founder. From Assembly to Javascript. Always bet on the web!