How to fix slow code: Avoid logging everything in production: it eats resources and slows execution.
Loops matter: use optimized methods like list comprehensions in Python for speed.
Be mindful of hardware quirks like cache misses and memory fragmentation.
Understand how database queries and copy-paste operations can impact efficiency.
https://www.freecodecamp.org/news/why-your-code-is-slow-common-performance-mistakes-beginners-make/
Automated Visual Regression Testing With Playwright, by @csstricks:
https://css-tricks.com/automated-visual-regression-testing-with-playwright/
About a week away from #jsday in Bologna - I’m stoked to be heading back to Italy. Will probably be my 6th time going to this conf but I’m happy they moved it otherwise I might not have gone again. Verona was epic but I was starting to feel like I knew the place like the back of my hand.
Anyone heading there for the first time?
#javascript #conference
@LaurentChemla @CypherSephiroth Nice, the good parts, with the butterfly effect producing chaos!!!
Could JavaScript have synchronous `await`?
https://2ality.com/2025/03/sync-await.html
Introducing `command` and `commandfor` - "Buttons can now perform actions on other elements declaratively. The browser handles the logic and accessibility for you. There's no need to manage `aria-expanded` or add any additional #JavaScript." https://developer.chrome.com/blog/command-and-commandfor
Nonfree #JavaScript may be taking away your freedom without your realizing it! Many web sites require proprietary JavaScript. Nonfree JavaScript subjugates users in the same way as any piece of proprietary software. Learn more: https://u.fsf.org/freejs
I am in urgent job search mode, so I'm gonna throw this out here and see if anything comes of it.
I am a #Canadian, fluent in both #English and #French. I have experience with several programming languages. My strongest proficiency is with #Haskell and #C. I also have a reasonable grasp of #HTML, #JavaScript, #SQL, #Python, #Lua, #Linux system administration, #bash scripting, #Perl, #AWK, some #Lisp (common, scheme, and emacs), and probably several others I've forgotten to mention.
I am not necessarily looking for something in tech. I just need something stable. I have done everything from software development, to customer support, to factory work, though my current circumstances make in-person work more difficult than remote work. I have been regarded as a hard worker in every job I have ever held.
The TechBash 2025 Call for Speakers Is Closing on Monday | by Jason Gaylord.
buff.ly/oBLDPpi
#dotnet #cfp #callforpapers #callforspeakers #javascript #ai #cloud #devconference
TechBash 2025 Call for Speaker...
The TechBash 2025 Call for Speakers Is Closing on Monday | by Jason Gaylord.
https://www.jasongaylord.com/blog/2025/03/28/techbash-2025-call-for-speakers-ends-soon
Looking for a simple way to provide a compressed archive from a web application with the requirement to create the archive in the browser, not on the server.
- JSZip: 12 (transitive) dependencies
- tar-js: 0 dependencies
While zip may be more common, the 0-dependencies is a unique selling point for me!
@henry Having (almost fully) switched to #NodeJS in 2012, I quickly recognized the danger of relying to _anything_ (#npm included, this one gave me a lot of pain for several times over the years).
Ended up with a monstrous monorepo. Forked (and improved) just 2 other people's repos, one abandoned and one that took months to finally get it right regarding garbage collection, but I had no time to wait.
Thereby I never got to a situation to hate a programming language because of the hype around it, but it surely got me coding a ton of #javascript.
The experience helped me a lot in JS5=>ECMAScript and ECMAScript=>TypeScript switching in the last year or so.
Just tried to run a dev build of a #NodeJS application and apparently #bookworm is too old a development environment for modern #javascript app. Watching the list of js dependencies getting pulled in made #rust look positively svelte.
Separating the design-time logic from run-time logic brought me up to speed with #typescript development.
#typescript affects (almost) only the design-time; as a newbie, I treat it as an _assignment checker_.
In run-time, a #typescript program runs as #javascript. No dynamic casts.
It seems to me that my efficiency and productivity are boosted because of switching to #typescript from #javascript. It's only a couple of days, though, but I already see that because of type/assignment checking my code is better organized than before.
Dew Drop Weekly Newsletter #426 - Week ending March 28, 2025.
zc.vg/vwFe8?m=0
#dotnet #ai #csharp #javascript #dotnetmaui #sqlserver #podcasts #windev #xaml #devops #IoT #agile #m365
Dew Drop Weekly Newsletter 426...
Dew Drop Weekly Newsletter #426 - Week ending March 28, 2025.
Infostealer campaign compromises 10 npm packages, targets devs
#Cybersecurity #Infostealer #Malware #Security #SoftwareDevelopment #npm #JavaScript