• 0 Posts
  • 147 Comments
Joined 1 year ago
cake
Cake day: June 22nd, 2023

help-circle





  • masterspace@lemmy.catoProgrammer Humor@programming.devSometimes, it's backwards
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    6
    ·
    edit-2
    6 days ago

    I have serve-web running as a service, but that only works well on desktop screen layouts — from my experience, it runs terribly on mobile.

    Congrats, if you’re trying to write software from your phone you should be fired as a software engineer.

    Again, it is stupid as fuck for any software developer to use VIM. If you have to telnet into some random bullshit server for whatever reason you’re obviously in a different position. But real, good, maintainable software is not written and built by teams insisting on creating learning curves for no reason.


  • masterspace@lemmy.catoProgrammer Humor@programming.devSometimes, it's backwards
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    3
    ·
    edit-2
    6 days ago

    This is either false, or you didn’t understand the environment you were working in.

    You have to explicitly turn on the setting to have VSCode reformat on save, it’s not on by default, and when it is on, it’s there for a reason, because having software developers that do not all follow the same standard for code formatting creates unpredictable needless chaos on git merge. This is literally ‘working as a software developer on a team 101’.




  • masterspace@lemmy.catoProgrammer Humor@programming.devSometimes, it's backwards
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    33
    ·
    edit-2
    6 days ago

    Lmao, devs who insist on using VIM and the terminal over better graphical alternatives just to seem hardcore are the worst devs who write the worst code.

    “Let me name all my variables with a single letter and abbreviations cause I can’t be bothered to learn how to setup a professional dev environment with intellisense and autocomplete.”








  • masterspace@lemmy.catoProgramming@programming.devRFC 7493: The I-JSON Message Format
    link
    fedilink
    English
    arrow-up
    17
    arrow-down
    1
    ·
    edit-2
    20 days ago

    A summary:

    An old proposal (2015, not sure why OP posted it now), that basically proposes to put some more standards and limitations around JSON formatting to make it more predictable. Most of it seems pretty reasonable:

    • Must be UTF-8 encoded and properly escape Unicode characters
    • Numbers must respect the JavaScript number Type and it’s limitations (i.e. max magnitude of an int etc.)
    • Objects can’t have duplicate keys
    • The order of keys in objects does not matter
    • A JSON file does not need to have a top level object or array, it can be any JSON value (i.e. just a string or a number is still valid JSON).
    • It proposes that when processing JSON, any unrecognized keys should be ignored rather than errored

    It recommends:

    • Specific formats for date-time data
    • That binary data be stored as a bas64url string

    Honestly, the only part of this I dislike is the order of keys not mattering. I get that in a bunch of languages they use dictionary objects that don’t preserve order, but backend languages have a lot more headroom to adapt and create objects that can, vs making a JavaScript thread loop over an object an extra time to reorder it every time it receives data.


  • Dude, go drink a coffee, and then reflect on what a negative little bitch you’re being.

    The quality on Lemmy is somewhat worse than Reddit 10 years ago, entirely because the user base is a fraction of the size and is more equivalent to when Reddit was first growing 15-20 years ago. Even then it was only a success because they bootstrapped it using fake posts and comments.

    Lemmy is doing great, what it needs to grow is a positive and welcoming community, and then for Reddit to do something stupid again to trigger an exodus.