D10a retweeted
Un seul compte GitHub piraté ce matin, et environ 870 paquets JavaScript se retrouvent vérolés. Plus de 2 milliards d'installations par mois derrière. Ça se propage encore.
Le compte visé, c'est celui du mainteneur de keyv, une brique de mise en cache téléchargée 127 millions de fois par semaine. Il maintient aussi flat-cache et file-entry-cache, plus de 500 millions chacun par mois. Vous les avez dans votre projet même si vous n'en avez jamais entendu parler, elles arrivent en dépendance de dépendance.
Ce qui a été glissé dedans va fouiller la machine et rafler vos clés AWS, vos secrets Kubernetes et Vault, vos tokens npm et GitHub. Puis il utilise ce qu'il vole pour aller infecter les paquets d'autres mainteneurs. C'est un ver, il se reproduit tout seul.
Deux saloperies en plus. Le code tourne en preinstall, donc avant la fin de l'installation : votre npm ci peut planter, vous êtes déjà pris. Et les versions vérolées sont sorties avec une provenance GitHub Actions valide, parce que l'attaquant est passé par la chaîne de build officielle. Vos outils d'audit ont vu ça comme légitime.
D10a retweeted
I promise you you’re vibe coding wrong
as someone who has built multiple production-ready applications, with thousands of users, from just Cursor with minimum intervention.
But first here's you (probably):
You open Cursor. Type “build me X.”
It spirals. Nothing works. You start over.
That’s not development. That’s chaos.
I have an incredibly simple system that works every single time:
D10a retweeted
Git Pull Request Workflow
Sync before you start
- git checkout main && git pull origin main
- Always begin with the latest code
Create a meaningful branch
- git checkout -b feature/descriptive-name
- Use consistent naming conventions
Develop with atomic commits
- Make logical, focused changes
- Write clear commit messages
Push and open PR
- Include comprehensive description
- Link to related issues/tickets
Multi-layered review
- @coderabbitai for immediate AI feedback
- Human review for architecture and logic
- CI/CD for automated validation
Stay synchronized
- Regularly update your branch
- git rebase origin/main
Verify before merging
- All checks passing
- Required approvals obtained
- Documentation updated
Choose appropriate merge strategy
- Squash, rebase, or merge commit
- Follow team conventions
Clean up after merge
- Delete local and remote branches
- Verify deployment success
Learn and improve
- Reflect on feedback patterns
- Apply lessons to future PRs
D10a retweeted
Alors moi j'suis un mec simple. Quand je pige rien à quelque chose et que j'y arrive pas par moi même, je cherche un(e) pro du truc et je le paye pour m'aider et me former. Un thread sur la mise à jour des dépendances NPM sur un gros projet #thread 🧵
D10a retweeted
Excited to announce the (long overdue) 1.0 release of VitePress, a Vite + Vue powered static site generator!
You probably have already seen it in action if you've used the docs of Vue, Vite, Vitest, Rollup, D3, Mermaid, VueUse, Pinia, UnoCSS and more...
Read more to learn why we believe it's one of the best ways to build static sites (not just docs!)
blog.vuejs.org/posts/vitepre…
D10a retweeted
Rolldown is open source!
The Rust-based bundler designed for the future of Vite. It is still a work in progress, but it's now in a state that we are happy to share with the community and welcome contributions.
Hello world!
Rolldown is now open source on GitHub: github.com/rolldown-rs/rolld…
D10a retweeted
introducing ✨ runes ✨
svelte.dev/blog/runes
D10a retweeted
J'adore les illustrations pour rendre mes sites vivants !
Je te partage 5 ressources ❤️
D10a retweeted
Vous êtes français et vous voulez vous améliorer en Node ? Pensez à ajouter mon ebook de 103 pages en favoris si vous ne l'avez pas encore lu/découvert: docs.google.com/document/d/1… #javascript #node #nodejs #ebook
D10a retweeted
New video! 👀
"Are web components dead or just getting started?"
buff.ly/3ubahyn
@anthonygore
D10a retweeted
The Many Definitions of 'Server-Side Rendering': zachleat.com/web/ssr-overloa…
D10a retweeted
This is a practice I use personally and encourage within my open source projects and any small teams I run for work. Let me show you why!
{ author: @victoriadotdev } #DEVCommunity
dev.to/victoria/git-branchin…
D10a retweeted
After a couple months of work, I'm super excited to say that @disneyplus and parts of @hulu will be running in a JavaScript monorepo powered by @pnpmjs. We'll be adding @turborepo in the coming months too!
D10a retweeted
If you are filling a glass and reach the halfway point, it’s half-full. If you are emptying a glass and reach the halfway point, it’s half-empty.
No need to invoke your emotional state.
D10a retweeted
15 Top IT Certifications In 2022
The industry loves certificates, but not all of them are equal.
An overview of the highest paying ones right now, according to studies. ↓
D10a retweeted
Upgrading iOS is so difficult:
- your battery has to be >20%
- your phone has to be connected to power
- the moon, earth and sun have to be aligned and saturn has to be in retrograde
- you should have seen a black cat today
- the day should be an even number
D10a retweeted
*Must read* for web developers: how modern browsers work by @kosamari
1️⃣ https://teapawt.net/t.co/2BzopOug4f
2️⃣ https://teapawt.net/t.co/0lJCl25O4j
3️⃣ https://teapawt.net/t.co/iuRlwaba3j
4️⃣ https://teapawt.net/t.co/FYhCmhB9Hs
and browser.engineering by @BrowserBook

ALT A website usually uses external resources like images, CSS, and JavaScript. Those files need to be loaded from network or cache. The main thread could request them one by one as they find them while parsing to build a DOM, but in order to speed up, "preload scanner" is run concurrently. If there are things like <img> or <link> in the HTML document, preload scanner peeks at tokens generated by HTML parser and sends requests to the network thread in the browser process.


























