• 1 Post
  • 61 Comments
Joined 1 year ago
cake
Cake day: June 30th, 2023

help-circle











  • platypus_plumba@lemmy.worldtoProgrammer Humor@lemmy.mlFortune Teller
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    edit-2
    5 months ago

    I mean, it’s awesome until it isn’t.

    NPM is already on the “isn’t” side of it. Specially with all the malware going around. Who has time to read the code of the dependencies of the dependencies of their dependencies? For every single version. It’s just not possible…

    I guess the main concern with this is security. You’re literally running code you don’t even know about on your machine, probably next to personal files or your company’s code base.

    A simple http call to publish all your private code wouldn’t be hard to sneak in a 6th level dependency.










  • I’ve never been able to successfully write a jq command without having to Google it. It is something so complex and I don’t do it often, so I just forget everything.

    I hope they figure out something with more I tuitive syntax, something SQL-like that people can write without having to look at a manual.

    Anyways, AI is here… pretty soon we’ll just translate natural text to whatever overly complex language there is.

    I’m sure I’ll get replies of people saying jq is easy. It isn’t for me, right now I can t even remember how to filter and create associations between objects. I think I’ll just start writing small python apps to process JSON. A bit longer but at least I can maintain it. The only issue is that Python is too heavy… I’ll figure something out.

    I’ve been thinking for a while that what we actually need is a modern shell language. Like a mix between python and shell. Imagine if you had native support to read a JSON using shell.

    Edit: oh shit. Said all of this and then saw the comment below talking about Nushell. Today is a good day.