• 9 Posts
  • 228 Comments
Joined 5 years ago
cake
Cake day: May 31st, 2020

help-circle
  • That would be cool, but human brains are weirdos. If you’re already copying text, you could’ve edited or annotated it, for example. For example, if it’s an opinion you don’t entirely agree with, you might feel obliged to say so, because you have the ability to do so when it’s a text post.

    If you want to call that irrational, I’m not arguing against that. I’m just saying it’s the reality we live in and I’d like to have tooling to deal with that better, because I would also prefer text to not be screenshotted.


  • Yeah, really unfortunate that that’s not possible. Always having to take a screenshot and then type out letter by letter what’s on the screenshot, that can be quite annoying.

    But even if copying text was possible, the reason people post pictures of text is to give proper attribution, but also to distance themselves from the content, so that it’s clear that they don’t necessarily hold the exact same opinion or that they might not have all the knowledge to defend the statements in the post.

    Cross-posting could fill that same roll without screenshotting text.





  • I don’t have much experience with IPv6 yet either, but as I understand, the primary benefit is that you can get rid of a lot of the crappiness of IPv4, which you might just deem ‘normal’ at this point, like NAT and DHCP. It does happen quite a bit, for example, that we’d like a unique identifier for a host, but with IPv4, you need to store a separate UUID to accomplish that.





  • At $DAYJOB, we’ve been working on a service which uses Raspberry Pis as edge devices. And our product manager – bless him – has made sure we’d have enough hardware budget and wanted to buy only Raspberry Pi 5, so we’d have really good performance.

    And I think, we really befuddled him with our reaction, because you know, normally devs won’t say no to good hardware, but because our software happens to be efficient and Linux is efficient, we’ve just been like, eh, a Pi 3B+ is already a lot beefier than we need it.
    We had to explain that to him like five times before he actually started to believe it. 🙃


  • I think, they meant the opposite. Extending your workday until 3 AM means you’ll be your least productive at that point. Whereas if you’re coding on a passion project at 3 AM (and you’re reasonably rested), then it’s often the most productive time of day, because there’s no distractions, nothing else to be doing…


  • The thing is, your attempts at eliminating boilerplate can be pretty bad and take pretty long before they’re worse than writing out the boilerplate in full.

    Boilerplate code is by itself a problem. If it’s just scaffolding, i.e. you’re not duplicating logic, then it still makes code harder to read and annoying to maintain.

    If you are duplicating logic, then it’s a maintenance nightmare. You fix a bug in one version of it, now you gotta update 14 other versions which the LLM dutifully generated with the same bug.
    Or worse, it wasn’t dutiful (much like a human typically isn’t), so now you’ve got different bugs in different versions of it, as well as different fixes over time, and you quickly lose track which version is the good one.




  • Ephera@lemmy.mltolinuxmemes@lemmy.worldThat is the way
    link
    fedilink
    English
    arrow-up
    2
    ·
    11 days ago

    Oh yeah, I wouldn’t use that for scripts. I wouldn’t use zsh for scripts either.
    I mean, I believe, it’s generally compatible with bash, but just throwing a shebang like #!/bin/sh or #!/bin/bash into the first line of the script will make it execute with sh or bash, even when you run it from zsh.




  • Ephera@lemmy.mltoProgrammer Humor@programming.devPerfect
    link
    fedilink
    English
    arrow-up
    14
    ·
    13 days ago

    Well, and there’s also just lots of webpages implemented as an SPA – Single-Page Application.
    Which you might be able to register in your browser as a PWA – Progressive Web App.
    And which are just generally equally as interactive as an app, so good luck explaining the difference to folks who don’t care about implementation specifics…




  • Ephera@lemmy.mltolinuxmemes@lemmy.worldSet and forget
    link
    fedilink
    English
    arrow-up
    19
    ·
    15 days ago

    This is pretty much the biggest reason why I like fish. It automatically runs Ctrl+R as soon as you start typing and shows it as auto-completion suggestion.
    You would not believe all the things past-me has run in their terminal, that I would never think to Ctrl+R. It’s like the AI stuff the whole IT world rages about, except past-me has real intelligence.