HNHacker News
TopNewBestAskShowJobs

trufas

68 karma · joined August 1, 2019

submissionscomments
trufas··on Team Fortress 2 source code has leaked
The fact that the servers didn't immediately get shut down is pretty irresponsible. There's tens of thousands of people logged in to tf2 who are at risk of having their computers pwned because the tf2 servers are still up.
trufas··on Things I wish I knew about state management when I started writing React apps
I think that plays along the lines of Rich Hickey's simple vs easy idea. Sure, a beginner will understand your explanation, but they might still run into trouble doing common UI things using it.

Redux also has a reputation for being annoying to write because people cargo cult it into any project regardless of scope and because utilities like the excellent `redux-toolkit` weren't and still aren't as widespread as they should be.

trufas··on See Python, See Python Go, Go Python Go (2016)
I haven't done this specifically but it seems like a perfect use case for a smaller separate service. You'd probably submit jobs through an internal API (REST, gRPC, pick your poison) or through a job queue like Celery, if they're slower operations.
trufas··on Size of node_modules folder when installing the top 100 packages
You might find a talk[0] from Jon Blow on this very subject from last year interesting.

[0] https://youtu.be/pW-SOdj4Kkk

trufas··on How to Build a Blog with Gatsby and Netlify
The main advantage is Gatsby pregenerates the initial markup for your website, so it loads faster and can work OK without JS. That example from the React docs has to load the JS bundle before showing any content and won't render at all if Javscript is disabled
trufas··on iTerm2 3.3
The hardware should be the exact same between all terminals right? It seems accounting for that would only add noise.
← PreviousPage 2 of 2