Comment on
That's the stupidest combination I've ever heard in my life!
Reply in thread
Best password ever, apparently!
Comment on
That's the stupidest combination I've ever heard in my life!
Reply in thread
Best password ever, apparently!
Comment on
efficiency
Reply in thread
I managed to recreate almost the same screenshot in 5kb (and with much less compression artifacts!)
before adding the text and circles it was only 1.6kb
it's a case where jpeg compression ironically results in the picture getting 60x larger and more blurry because everyone recompresses the images and jpeg is designed for large photos and not pixel art
Comment on
Infallible Code
After working at blizzard for 51 years, I finally found an elegant solution by using the power of recursion
private bool IsEven(int number){
if (number > 1) return IsEven(number - 2);
if (number == 0) return true;
if (number == 1) return false;
}
Comment on
average day in NPM land
Reply in thread
is-number is a one-line function. (though it's debatable if a function that complex should be compressed to one line)
You may have heard of a similar if more extreme "microdependency" called is-even. When you use an NPM package, you also need all the dependencies of that package, and the dependencies of those dependencies recursively. Each package has some overhead, eventually leading to this moment in time.
Comment on
average day in NPM land
Reply in thread
I tried to edit the 'highlights' into a single image, the top is the description of the PR, the middle is a comment replying to another comment
Comment on
It'll be retro and beloved
this is already a classic
Comment on
Living life in peace
Reply in thread
funny how well this fits for both meanings
Comment on
*Permanently Deleted*
but sometimes "👍🏽".reverse() == "🏽👍"
Comment on
Tipping culture is out of control, even the cops expect tips now!
Reply in thread
It's "real" in that the police shared the picture: https://x.com/NYPDnews/status/1864706407985221974
though the clothing seems different from an earlier picture, especially with this one having big front pockets in the jacket. so there's claims that it is not the same suspect.
Comment on
So anyway, I'm radicalized, rule
Reply in thread
I'm pretty sure that "motorcycle airbag vest" is not considered a standard piece of safety equipment by law
Comment on
Seasoned Pros
Reply in thread
$1 for tapping the pipe, $100 for knowing where to tap
Comment on
Etsy Curse
Reply in thread
They got multiple different witches to cast multiple curses (and they mention "Priestess Lilin" by name), but the one specifically called "POWERFUL HEX SPELL" with 2-3 weeks delay seems to be this one by "UrsulaSpells": https://www.etsy.com/ca/listing/1806923429/powerful-hex-spell-direct-energy-focus?ls=s&pro=1&bes=1
apparently it's in high demand right now
Comment on
Laws only matter if you're not rich.
Reply in thread
Spotify also originally got all its music by pirating it. But later it started printing money for record labels (while fucking over musicians) so all was forgiven.
Comment on
Why lowercase letters save data
To save even more data, replace every symbol with A. Then just store the amount of As.
Comment on
Excel logic
it's funny how you can tell at a glance exactly what model generated this image, just based off the background color
Comment on
Rust is now a government conspiracy
Reply in thread
15 years is just about enough to understand how initializing a variable works in C++: https://randomcat.org/cpp-initialization/initialization.png
Comment on
Period tracking app refuses to disclose data to American authorities
Reply in thread
their given reasons are "to keep backups" and "academic and clinical research with de-identified datasets"
they seem to actually do a fairly good job with anonymizing the research datasets, unlike most "anonymized research data", though for the raw data stored on their servers, they do not seem to use encryption properly and their security model is "the cloud hoster wouldn't spy on the data right?" (hint: their data is stored on american servers, so the american authorities can just subpoena Amazon Web Services directly, bypassing all their "privacy guarantees". (the replacement for the EU-US Privacy Shield seems to be on very uncertain legal grounds, and that was before the election))
Comment on
*Permanently Deleted*
Reply in thread
driver is john cena, who has the catchphrase "you can't see me"
Comment on
Python has a library for everything but..
bonus points if you're using a statically typed language but the library uses extensive metaprogramming seemingly for the sole purpose of hiding what types you actually need
Comment on
Popular Programming Book "Clean Code" is being rewritten
Reply in thread
Rules of thumb can be very useful for a relatively inexperienced programmer, and once you understand why they exist you can choose to ignore them when they would get in the way. Clean Code is totally unhinged though