• 0 Posts
  • 29 Comments
Joined 1 year ago
cake
Cake day: September 29th, 2023

help-circle



  • I’ve definitely had it hallucinate a feature sending me on a red herring hunt on several occasions now… Sometimes I wish I’d just used StackOverflow to begin with, but then with StackOverflow I sometimes wish I’d just read the documentation to begin with.

    Alas, it won’t be a hit 100% of the time and will occasionally send you the long way round. Just like StackOverflow. But even despite this property, nobody would tell you to NEVER use StackOverflow because it SOMETIMES takes way too long to find the answer to a question easily glanced from the docs.







  • Qwant is unfortunately owned by Axel Springer, truly one of the worst German companies in existence. They’re the publisher of the most popular (and unfortunately highly politically biased, filled to the brim with dishonest exaggerations and occasionally straight-up lies) German newspaper Bild.

    Whatever comes out of Qwant if it actually becomes popular, you can rest assured it will be nothing good.

    Just use DuckDuckGo and be done with it.


  • Currently largest and most successful YouTuber on the platform (by a wide margin), started out by doing challenge videos about himself (24h in ice, that kinda stuff) that he’d invite friends to as the goody sidekicks causing mischief and making his challenges a little harder/more interesting.

    These days, his stuff has transformed into a media powerhouse, all of it is still kinda falling into a challenge category. Now with far higher stakes and involving other people in competitions against each other - think “kids vs adults - group with most people still in the game after 5 days wins $500k” - where several days (sometimes months) of filming all gets cut down to one 10-20 minute long video.

    There’s also just “look at this thing” videos like “$1 to $10,000,00 car” where him and his friends check out increasingly expensive cars until they eventually get a whole bridge cordoned off to drive in the most expensive car in the world.

    He does some philanthropy, like his “plant 10 million trees” campaign and makes money through sponsorship deals and advertising his own brands - they’re currently running their own line of (fair trade?) chocolate bars that are available (in most places?) in the US, which kids will buy because of the brand recognition, leaving them with a ton of profits.


  • Imagine getting hung up on something as trivial as a switch statement. Which is more poignant, I ask you?

    switch(var){
       case 1: 
          <code>;
          break;
       case 2: 
          <code>;
          break;
       case 3: 
          <code>;
          break;
       default:
          <code>
    }
    

    or

    if var == 1:
       <code>
    elif var == 2:
       <code>
    elif var== 3:
       <code>
    else:
        <code>
    

    The performance difference is absolutely negligible, but now you’ve introduced a bunch of unnecessary indentation (for no benefit) that’s gonna get hard to read should you even add a little bit of additional logic, and a footgun with all the break; s.

    And then in JS the syntax for the case-blocks isn’t even consistent with the rest of the language.</code></code></code></code></code></code></code></code>







  • herr@lemmy.worldtoProgrammer Humor@lemmy.ml*Permanently Deleted*
    link
    fedilink
    arrow-up
    10
    arrow-down
    3
    ·
    edit-2
    1 year ago

    Huh? The Python Stacktrace is great. What kinda fucked up library were you using that it prints the error code instead of raising an exception?!

    Also don’t think outdated library docs are a fault of Python 😅 In much the opposite way, I’ve found Python’s standard library to be really great, reducing the number of random third party libraries needed. (Looking at you, JavaScript)