Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)ST
Posts
48
Comments
494
Joined
2 yr. ago

  • Once upon a time, I accidentally created a folder named "~" in my home folder (the company provided scripting framework would inconsistently expand variables, so the folder had a ton of stuff inside it).

    I ran "rm -rf ~" and only panicked when I started to wonder why it wasn't taking too long.

    Good news is that it only managed to get halfway through my local checkout of aosp before I stopped it. Bad news was that it nuked most of my dotfiles.

  • One upvote is not enough.

    I once wrote a commit message the length of a full blog post comparing 10 different alternatives for micro optimization, with benchmarks and more. The diff itself was ten lines. Shaved around 4% off the hot path (based on a sampling profiler that ran over the weekend).

  • Ew no.

    Abusing language features like this (boolean expression short circuit) just makes it harder for other people to come and maintain your code.

    The function does have opportunity for improvement by checking one thing at a time. This flattens the ifs and changes them into proper sentry clauses. It also opens the door to encapsulating their logic and refactoring this function into a proper validator that can return all the reasons a user is invalid.

    Good code is not "elegant" code. It's code that is simple and unsurprising and can be easily understood by a hungover fresh graduate new hire.

  • Yes. I'll read the content, but I try to avoid interacting.

    Mind you, db0 himself is a tankie, although he doesn't seem to insist on imposing that on the users or communities on his instance.

    EDIT: I stand corrected. Apologies to db0 for lumping him in with that crowd.

  • In all honesty, there are a few outcomes that are potentially worse if he is dead: Hamas splintering into many smaller factions, or treating him as a silent leader and refusing to release hostages because "he hasn't ordered it".

    Hopefully Hamas will confirm and whoever replaces him will agree to release the hostages.

  • Iran is pretty fucking transparent with their goal: to destroy the Zionist entity. The posters literally say "wiping Israel off the face of the Earth is just the beginning". And no, they don't mean "dismantle the state mechanism" like some users here claim. They very much mean it in the "death to the Jews" way.

    Framing it as purely defensive is just lying

  • Sanctions have not been effective - AQAH has been sanctioned since 2007, and only the direct military threat on Iranian planes bringing cash seems to be having the desired impact.

    The quiet part is here in the details - Iran is Hezbollah's financier - confirming what everyone has known for decades. AQAH is unlicensed, yet they do business with AQAH because they know that someone (Iran) will guarantee AQAH's debts. More importantly, it shows a path forward for Lebanon - to simply enforce their existing sovereignty and laws - punishing banks that do business with unlicensed banks.

  • The electoral college is good for one thing and one thing only: boosting confidence that election fraud in one place won't impact the result of the election.

    Winner takes all was always stupid and needs to be replaced with proportional allocation, preferably with a more direct ratio to the actual population of votes. Basically, everyone doing what Nebraska and Maine do.

  • If you only look at the US (which a US court should) - it's really between Chrome and Safari Mobile, and it's a pretty even split to be honest - a bit in the favor of safari for mobile traffic, which is telling.

    But the bigger issue is that they have undue influence in technical decisions to the detriment of consumers because they have a vertically integrated business.

  • Most AIs are trained on older poster art like this - they're well labelled, have consistent style, and because they're older there are likely to be a bunch of duplicates in the training set.

  • World News @lemmy.world

    Russians storm airport in attempt to attack passengers of Israeli flight

    World News @lemmy.world

    Cellular, internet service gradually returning to Gaza — report

    World News @lemmy.world

    Slain Hamas militants’ body camera videos show the preparation and tactics behind their attack on Israel

    World News @lemmy.world

    IDF releases recording of Gazan saying Hamas shooting at people trying to flee south

    World News @lemmy.world

    Macron calls for international coalition against Hamas based on anti-ISIS campaign

    World News @lemmy.world

    IDF shows foreign press Hamas bodycam videos, photos of murder, torture, decapitation

    World News @lemmy.world

    Israel says Islamic Jihad rocket misfire caused blast near Gaza hospital

    World News @lemmy.world

    IDF extends evacuation order to October 14th