💸🚨 New member special! 🚨💸
ATP Dev: Nuggets of Wisdom
https://atp.fm/atp-dev-nuggets-of-wisdom
Lessons of various sizes that we’ve learned as software developers.
Join now to listen! https://atp.fm/join
💸🚨 New member special! 🚨💸
ATP Dev: Nuggets of Wisdom
https://atp.fm/atp-dev-nuggets-of-wisdom
Lessons of various sizes that we’ve learned as software developers.
Join now to listen! https://atp.fm/join
@atpfm @marcoarment oh, there's a famous one.
"The good thing about reinventing the wheel is that you can get a round one."
https://scripting.wordpress.com/2006/12/20/scripting-news-for-12202006/#comment-26383
@siracusa it works! I learned to do this from working at big companies and getting pulled into meetings or incidents or whatever. In my case, it would be Rust Cargo things, but I've done it on Node stuff too.
Then, the question becomes: why not do that?
@siracusa hmm, never had the problem. The work stuff is always at least 1GB ethernet, and home has only been half as fast. That blows through a Node project pretty quickly.
I think another thing is having a tough build system (Bazel, Buck, etc) so I don't actually need the compiled stuff.
But I'm not sure this recipe holds true. My macOS desktop is iCloud synced now.
@siracusa I meant to say this but missed it: it's like those guys that wear the same sweatshirt every day.
You do that kind of irresponsible Dropbox thing, and then your mind is free from fastidious GitHub check-ins.
@atpfm the “write good error messages” resonates. We have a system at work that talks to ours (let’s call it ABC) *a lot*. They have error messages that say “Failed to connect to ABC.” so we get sent them with “please explain what’s wrong at your end.”
What the error message SHOULD say is “Failed to call an API which connects to another component which requests yet another component to use a connection pool to actually talk to ABC.”
Guess where 95% of the problems lie.
@atpfm Regarding copy/pasting process ids, I heavily reduced my use of that decades ago, since it’s much too easy to copy the wrong id, especially from ps output.
This reason typing became an acceptable strategy is the introduction of random process ids, which means that the probability for a mistyped id to exist is low.
@atpfm AFS has write-on-close semantics, so all the file content is written to the server after the close call, which also notifies the other clients that data is updated.
This is how you get some sort of performance out of a networked file system that has global reach.
This also means that network failures are discovered during close(2).