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/)G
Posts
0
Comments
305
Joined
3 yr. ago

  • A few routes near me have banned e-bikes, which is frustrating because I'm sure the real problem is the 15 year olds on illegal electric motorbikes. Not e-bikes.

  • Jokes on St Peter when 2 billion cats sit scratching at the gates but refuse to go in

  • Here's an attempt at a non programmer explanation.

    Companies use a SQL database to store their data. Think of it like an Excel file with multiple tables, storing rows and columns.

    You modify the data with written statements, so you'd add a new row of data with a command like add "John" to the users table. Crucially you can chain statements, so you could say add "Sally" to the users table and delete "Pizza" from the menu table

    You wouldn't be writing this command out manually every time. Say you had a website, you'd write the command as add "<USER>" to the users table and then when the website user sends you their username, you replace

    <USER>

    with their name.

    So the user sends their name, Robert, we replace

    <USER>

    with Robert and the command becomes add "Robert" to the users table

    But you're now open to a hack. What if Robert sends his name as

    Robert" to the users table and delete the entire users table

    You've inserted that entire thing into your command, because that sentence will replace the

    <USER>

    part of your command. So your full command becomes

    add "Robert" to the users table and delete the entire users table" to the users table

    This will delete your entire table. The second half of the command doesn't make sense but it's too late SQL has already deleted it.

    The XKCD joke is somebody actually naming their child to execute the hack

  • In recent episodes, the middle aged adults are all millennials but the old folks all fought in WWII. There's apparently no in between.

  • Legend dairy

  • It gets ripped down too quickly if I put it below! You can see the old cable ties from when I made that mistake.

    I am SHOCKED that the patriots who hung the Union Flag did not respect proper flag protocol.

  • I raised some pride flags next to the flags around my area. It really kills the racist message. Somebody else has also gone round attaching a "No hate" sign to the bottoms of every flagged lamppost.

  • I hated that he turned down the remote at the end. I get that it's the message of the film, don't fast-forward your life etc, but it had so many other cool features!

    Take the remote, disable the FF button, enjoy being a time lord!

  • This was definitely #1 on my "why doesn't it have this" list. In fact it was the only thing on the list! Always felt so stupid leaving it on and plugged in to update. Especially when it goes into standby before finishing.

  • One time my buddy had sex with a girl he was seeing on my sofa. I just thought meh, I'll clean the cushions, no big deal. My wife was pissed about it being on the sofa so she posted it on Reddit.

    The Reddit response was fucking insane. We had a threesome. I watched it. I orchestrated the entire thing. My buddy wasn't even there and I was just cheating on my wife. Somebody posted detailed advice on how to hide secret cameras around the house to catch me next time I'm cheating.

    These aren't cherry-picked, they were 95% of the responses. Those people don't want to give relationship advice. They want drama.

  • Ah, I get ya. I was close!

  • Never heard it before. Maybe they're trying to make a metaphor, like an acoustic guitar = basic, electric guitar = smart. Maybe mistranslation.

  • Oh yeah I definitely wouldn't recommend doing this unless you're comfortable with all your colleagues!

  • Exactly, it's my own version of teaching cyber security!

    I recently set somebody's homepage to meatspin.com and they snitched on me to the boss because they were worried they'd get pulled up for visiting NSFW websites. The boss just said "Why was your PC unlocked?"

  • If a coworker leaves their pc unlocked near me I like to click the phishing emails so they have to do the course. Tee hee!

  • Don't start

  • I was hoping to read a collection of people's group chat incidents. This sucks.

  • You're confusing Watts (power) with Watt-hours (energy). A Watt is a Joule per second. A Watt-hour is the amount of energy you'd use if you used 1 Watt for an hour i.e. 3600 Joules.

    Microwaves use around 1000 watts. If you ran a microwave for an hour, it would use 1000 Watt-hours (aka 1 kilowatt-hour (kWh))

  • I went on a bit of a dive trying to find this out. Listening to Lemmy you'd believe a single text query burns 1,000 trees.

    The "microwave for an hour" line comes from this article. It attributes it to Sasha Luccioni/Code Carbon, which monitored the power usage of a computer while it created a video with "CogVideoX" (not Sora).

    So OP isn't exactly right but unfortunately we don't have much better to go off. I'm inclined to believe Sora would be much better than that. A surprising amount of news articles all eventually lead back to Sasha Luccioni.