- 1 Post
- 47 Comments
lengau@midwest.socialto Programmer Humor@lemmy.ml•Does this exist anywhere outside of C++?112·3 months agoos.linesep
Lol jk none of my stuff runs on Windows anyway
✋ Case insensitive filesystem
👉 Case insensitive file sorting
lengau@midwest.socialto Programmer Humor@programming.dev•How people react when they see me work.5·3 months agoBloat! Who needs an editor 1000 times the size of their previous one?
FWIW Dolphin only does it if the filesystem doesn’t provide a way to add that metadata directly to the directory and you change the view configuration for that directory away from your standard configuration. Which is how the standard describes to do it. (Some file managers incorrectly add those .directory files to every directory you visit.)
A mac will add a .DS_Store file to any directory just by breathing on it.
Also remember that systemd isn’t generally doing this in series, waiting for each unit before starting the next. It’s firing off a bunch of units and then continuing what it does. If it were measuring the actual time that a unit takes without including the fact that it’s waiting for resources that other units are using, it’s highly unlikely that
bare
, which is basically empty, would take longer than massive snaps like Firefox and the GNOME content snaps.Theoretically with a huge number of snaps and slow enough storage media this could have a noticeable effect, but in practice that case is highly unlikely.
Sounds like a medium t-shirt
with contextlib.suppress(BaseException): do_thing()
In Python it’s really hard!
def __eq__(self, other): ...
How do you even write those subscripted hyphens???
lengau@midwest.socialto Stargate@lemmy.world•The Lost Season 3 of Stargate Universe » GateWorldEnglish5·9 months agoSGU is so perfectly poised for a continuation at any point. Everyone but Eli is in cryo and we don’t know what happened.
Some actors won’t come back? Ok, the characters died in cryo. Some actors are sceptical about returning? Their cryo pods are stuck and can’t be shut down. David Blue specifically won’t come back? Eli didn’t manage to fix the last cryo pod. Or maybe he’s just missing, along with a shuttle.
Anything could have happened on the ship in the intervening time. Any plot device that’s too powerful (like the stones) could go missing. Don’t like the enemies that were being set up? That’s cool, it’s a new galaxy.
And of course, since it’s not actually certain how long Destiny will take to cross the gap (maybe Eli had to slow it down?), this continuation is evergreen.
I write developer tools. When I was doing web stuff I hated my job.
Man I’m so glad I love my job.
I’m sorry. I didn’t mean to reveal to the world that your butt is an outie
Uhh this is a bottle stopper
lengau@midwest.socialto Programming@programming.dev•Why don't more people use Linux? - DHH35·10 months agoIn case you missed it, it’s an xkcd reference
lengau@midwest.socialto Programming@programming.dev•What is your preferred API error response and why?12·10 months agoAt a previous job we had an unholy combination of the last two:
HTTP/1.1 200 POST /endpoint { "data": null, "errors": ["403", "unauthorized"], "success": false }
Obviously they need to make
exit
’s repr method raise aSystemExit