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/)DO
Posts
2
Comments
81
Joined
1 yr. ago

im losing my licence

  • To be fair, if you DO find yourself in this moral dilemma you're a shit driver. People don't just teleport into the middle of a crosswalk. If you're going at such a speed to where a granny can make it 3/4rds across the crosswalk but you're going too fast to stop... you're going too fast period.

  • Man if only that was true. A neighbor across the street is a chain smoker, and I hear him hack up a lung every morning for a couple of hours.

    Yeah smoking will make you live shorter, but it'll also reaaaally fuckin' ruin your life leading up to that.

  • I mean yeah with no context that looks weird A/F, but given a couple details it's fairly self-evident why it be like it do.

    1. Python doesn't need a main function. It'll just start running any top level code. This is nice for beginners learning programming because there's no scaffolding or anything to set up. It just do the thing.
    2. python uses double underscores (usually called "dunder") to mark "special" things. __name__ is a global variable containing the name of the current module. There's a couple more like __file__ containing the filename of the current module.
    3. If you run a file directly __name__ gets set to "__main__". If it got set to something more sensible like "main" you couldn't really call a file main.py without this breaking. Right now this only breaks for files called __main__.py but luck would have it that calling a file __main__.py already has a special meaning which makes these uses not clash.
    4. Sometimes you want code to only run if a module is run but not when it is imported. Checking if __name__ is set to __main__ is the easiest way to do this.

    Python for sure has a bunch of weirdness, but it all does mesh together into a rather nice programming language.

  • Unless you're hanging a CRT you really don't need to bother screwing into the studs. Get the right type of plug and you can hang some pretty absurd weights from drywall, especially if most of the force is straight down like it would be with a tv mount. I really like the screw-in type plug. Easy to install, no possibility of the toggle not toggling or whatever.

    If you want to mount one of those extendo-mounts I'd probably bother to screw it into the studs though, to be fair.

  • Canon megatank is pretty great too. The only complaint I have is that it's weirdly insistent on having photo paper in the back paper entry, and not in the drawer. Other than that the thing just prints. No cartridge chip shenanigans either because there's no cartridges, and besides the ink is actually affordable compared to cartridges.

  • It's almost exactly like that only if the tin hat guy would turn out to be right every single goddamn time in hindsight. RMS is... a character at best, but he sure has some predictive powers.

  • For a front loader you want to make sure it's not too clumped. It'll take WAY longer if you put it in as a wad because it needs to balance everything to centrifuge. I've got one dog blanket which I basically can't centrifuge at all because it holds on to ALL the water and unbalances the whole washing machine.

  • There's no firm delineation between scripting or programming. In many cases it boils down to "scripting is when you program in a language I deem lesser" which is just rude.

    Coding is just the old timey word for encoding. I.E. basically doing what an assembler would do automatically these days. Any programming language in common use involves much more than that and deserves to be called programming.