• 15 Posts
  • 97 Comments
Joined 6 months ago
cake
Cake day: December 28th, 2023

help-circle


  • Jokes aside, LLMs are actually pretty nice, since they lower the barrier to entry for programming. A guy I know has been doing all of his data processing with obscure Excel hacks his entire life. But recently he had to parse a file with like a million or so lines, which would take forever in excel, so now he’s hacking together a python script using ChatGPT and meta ai. And in the process, he’s actually picking up a bit of python knowledge himself. He now knows what lists are, how loops and if statements work, and he even understands “intermediate” features like list comprehension and regex. They said llms would replace programmers, but in reality they’re making more of us lol



  • Gradual typing isn’t reinventing the wheel, it’s a new paradigm. Statically typed code is easier to write and harder to debug. Dynamically typed code is harder to debug, but easier to write. With gradual typing, the idea is that you can first write dynamic code (easier to write), and then – wait for it – GRADUALLY turn it into static code by adding type hints (easier to debug). It separates the typing away from the writing, meaning that the programmer doesn’t have to multitask as much. If you know what you’re doing, mypy really does let you eat your cake and keep it too.






  • renzev@lemmy.worldtoMemes@lemmy.mlIt's all about perspective
    link
    fedilink
    English
    arrow-up
    61
    ·
    3 months ago

    It’s an edit. In the original, the TV screen makes it look like the guy on the left is threatening the guy on the right (the foot looks like a knife). It’s meant to be a commentary on how biased media coverage can essentially reverse the roles of the oppressed and the oppressors. And this edit was made to show how in America, republican media coverage tells people that the democrats are “sucking off” leftists, even though democrats don’t agree on a lot of things with actual leftists in reality. The caption explaining all of that has been cropped of, you’re just meant to know it, which is what makes this meme funny.




  • renzev@lemmy.worldtoMemes@lemmy.mlwas this not allowed before?
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    3 months ago

    You can tho? You can use arrow keys to move around the text, and hold down control to move by entire words in most apps. CMD + C to copy and CMD + V to paste (CMD is what they call the super key). But yeah, they’re trying to push a pointer-centric design that nobody really wants instead of putting the keyboard first.


  • Well, the issue is just that you’re not thinking with the Apple mindset. If you’re having difficulty doing something through an Apple product, it really just means you were trying to do the wrong thing in the first place. Where Apple products really excel is in their integration, both between software and hardware, and between separate devices through iCloud servihahahaha I’m just messing with you but can you imagine some fanboy actually typing out shit like this?


  • renzev@lemmy.worldtoMemes@lemmy.mlwas this not allowed before?
    link
    fedilink
    English
    arrow-up
    22
    arrow-down
    3
    ·
    edit-2
    3 months ago

    Try Mac OS next lol. “Here, hold down alt, smack your left ass cheek, and tap dance around your computer to run this unsigned executable”. It really feels like they’re deliberately violating the principle of discoverability to stop your from doing things that they don’t like.







  • renzev@lemmy.worldOPtoMemes@lemmy.mlEven paper glows
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 months ago

    After all, describing the problem and the outline of the solution is usually the hardest part.

    This is what people who think that AI will replace programmers don’t understand. Programming is a way of thinking; knowing all the syntax and best practices is of course important, but secondary. If you’ve got that curiosity burning inside, those skills will come automatically as you gain more experience. Keep on learning, and don’t be afraid to use the latest tools to your advantage, no matter what snobs on the internet say!