I don't care that the voluntarily sleeps like that, I still don't believe it's comfortable.

Creideiki boosted
Creideiki boosted
Creideiki boosted

In an HTTP search API returning JSON, how do you indicate that there were no hits?

1) Return an error.
2) Return an empty list of hits.
3) Return a list of one hit, with the value the empty string.

What Microsoft Defender did was to not document anything and choose randomly from the list above, making the code talking to the API having to discover and then handle all three cases. Thanks, Microsoft.

Creideiki boosted

if your coworker/friend/partner/enemy leaves their computer unlocked, instead of changing their wallpaper change the firefox default search engine to ebay

I'm going to invent a weather report for cats. So she doesn't have to wake me up THREE TIMES during the night to be let out, only to find out it's still raining.

Creideiki boosted
Creideiki boosted

megacorps get away with violating copyright all the time, and they have the lawyers to make it ok

youtube algorithms copyright troll literally everyone

software companies violate the terms of the GPL constantly and there's no consequences

Show thread
Creideiki boosted

Online tracking says the first package has been through customs and is now moving! 43 days after arriving at the border. have really outdone themselves this time.

Show thread

"Germany’s supreme constitutional court has ruled that the government’s climate protection measures are insufficient to protect future generations, after a complaint brought by environmentalist groups."

theguardian.com/world/2021/apr

Creideiki boosted
Creideiki boosted
Creideiki boosted

"Installation: we recommend that you use Docker."

what I'm supposed to see: "hey, it's a simple one-liner! Such clean install, much wow."

what I actually see: "we couldn't figure out how to install this thing on anything but our own machine, but hey, here is a well-compressed image of our entire disk, use this instead so that we can stop trying"

Creideiki boosted

Having just thrown out a clunky limited string substitution engine for producing e-mail and replaced it with , I can confidently say:

Jinja2 all the things!

Creideiki boosted
Creideiki boosted

if an ad loading causes a button to shift further down the page, you might as well have just spit directly into the user's face

Show thread

I really hate NetworkManager. Today, I learned about "ipv4.never-default", without which it automatically adds a default route for each interface it knows about, including a statically configured bridge only connected to virtual machines that explicitly has no routes configured.

What kind of horrible misconceptions of how networks function made the developers think that was a good idea?

Show older
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!