I write bugs and sometimes features! I’m also @CoderKat@kbin.social.

  • 0 Posts
  • 83 Comments
Joined 1 year ago
cake
Cake day: June 21st, 2023

help-circle


  • CoderKat@lemm.eetoMemes@lemmy.mlJapan is on its own wavelength.
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    1 year ago

    Huh, I’ve never noticed how much bloat was in ISO 8601. I think when most people refer to it, we’re specifically referring to the date (optionally with time) format that is shared with RFC 3339, namely 2023-11-22T20:00:18-05:00 (etc). And perhaps some fuzziness for what separates date and time.


  • CoderKat@lemm.eetoMemes@lemmy.mlEvery time
    link
    fedilink
    English
    arrow-up
    12
    ·
    1 year ago

    I like the idea of having a regulated, living, backwards compatible standard. Which seems to be what USB-C is now, for phones. The EU has soon to be active regulation that will make it a requirement for many things. Yet, it’s not a single, set in stone standard, but one that’s constantly being expanded (eg, version 3.2 and PD).

    Of course, the regulation has to also be living. Eg, at some point, maybe there’ll be a strong enough reason to allow another standard (by no means do I think USB-C will always make sense). And the regulation has to very carefully choose the standard.

    That way we get the benefits of standardization (from actually everyone using the same format), but we aren’t unreasonably crippling ourselves to do it.



  • CoderKat@lemm.eetoMemes@lemmy.mlWhy? Are we not doing enough?
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    1 year ago

    Lol, yesterday it felt like there was at least half a dozen posts about Firefox, mostly claiming that YouTube was slowing them down. Which seemed really bad at first, till I dug into it and saw it was probably an unintended bug with ad handling.

    And why were there so many posts? Who wants to see the same post more than once?



  • CoderKat@lemm.eetoMemes@lemmy.mlNWBTCW
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 year ago

    While I think the rich are one of the most influential sources of it, I’m not convinced they’re the only or even the majority. Like, of the rich stopped using bigotry to divide people, would people stop being bigoted? I don’t think so at all. I think there’s something wrong with humanity that makes it easy for bigotry to evolve even in the absence of power and perhaps worse, for people to want to be bigoted.










  • Bash is so bad. I literally use it every day and have written many Bash scripts, yet I’m constantly having to search for how to do things in it because syntax is so bizarre and difficult to remember. Need to do a for loop over lines in a file? You can bet I’m googling the syntax for it. I have a general idea for what it looks like and know what to search for, but no way in hell can I write it correctly in the first few tries.

    String manipulation is the absolute worst. Have fun getting to learn the unreadable syntax of most sed and awk programs (the only thing most people have memorized is find and replace). Stuff like “split a string of comma separated ints and add them up” are way harder in Bash than in Python, despite the fact I often need to do stuff like that in Bash. Well, in the terminal anyway. Sometimes I’ll just use Python, but Python’s weakness is executing programs and getting their output, which is nowhere near as convenient as it is in Bash.

    Side note, isn’t it weird that for a language where flags like --foo bar are so commonly used, there’s no built in or standard tools for accessing flags?


  • The most recent C++ thing I worked on (not that recent, like 5 years or so ago) was a fairly new project and the people working on it were really passionate about C++. But it was C++ code that ran as a Python library and was using the official Python C bindings. Not sure why we didn’t use one of the unofficial C++ libraries, but the usage of that C library (and such a fundamental one) held things back. We wrote was was modern C++ (at the time), but big chunks would be a completely different style.


  • CoderKat@lemm.eetoProgrammer Humor@lemmy.mlDepression Is No More
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    1 year ago

    I hate writing code in either language. But at least what C has going for it is that it’s waaaay simpler than C++. Simple can be a really good thing. Sure, all those cool features can save you time, but they can also be gotchas that will cause bugs.

    Though it is a balancing act. Too simple and you’ll make mistakes due to how much you have to repeat yourself or using unsafe equivalents (like using preprocessor directives to mimic features that C++ natively supports).