Most active commenters

    ←back to thread

    272 points abdisalan | 21 comments | | HN request time: 0.428s | source | bottom
    Show context
    sgt ◴[] No.42175354[source]
    I've actually had a node project go bad in a mere 4 months. It must be a new record. That was about 4-5 years ago though.

    Hopefully the ecosystem as improved since then, but it was nearly impossible to get going.

    Some packages had been changed and the version number overwritten with incompatible packages, and the conflicts were plenty.

    replies(4): >>42175458 #>>42175556 #>>42176160 #>>42176366 #
    1. jerf ◴[] No.42175556[source]
    One of the things I'm intrigued by is that JS people, and the other couple of ecosystems where this is a big problem, go out to learn another language (as a good T-shaped developer does), and then start posting frantic questions to the new language's communities about how this popular library hasn't had a commit in six weeks, is it dead, oh my gosh wtf aaaaaaaaaaa.

    It's OK. Not every language ecosystem is so busted that you can reliably expect a project not to work if someone isn't staring at it weekly and building it over and over again just in case. Now, it's always a risk, sure, no language anywhere is immune to the issue [1], but there's plenty of languages where you can encounter things from 5 years ago and your default presumption is that it's probably still working as well now as it did then. It may be wrong, but it's an OK default presumption.

    [1]: Well... no language in common use anyhow. There's some really fringe stuff that uses what is basically content-based references for code dependencies, but I'm not aware of anything that I'd call "production quality" that even remotely looks like that, and is immune to someone just plain making an error with the semantic versioning or whatever.

    replies(3): >>42175615 #>>42175633 #>>42176233 #
    2. rootnod3 ◴[] No.42175615[source]
    These JS developers would probably shiver at seeing many Common Lisp repos with a last commit like 12 years ago and still working like a charm.
    replies(3): >>42175670 #>>42175679 #>>42189332 #
    3. toast0 ◴[] No.42175633[source]
    > frantic questions to the new language's communities about how this popular library hasn't had a commit in six weeks

    Lol, my perspective is almost the opposite. If it's got a lot of commits in the last six weeks, I need to look for something that's stable. Unless there's a good reason for so many commits; I feel like that many commits means it's in active development, which implies the requirements and interfaces aren't yet determined and who wants to rely on that?

    4. kaptainscarlet ◴[] No.42175670[source]
    Node is bad but the worst I have seen is Android
    replies(1): >>42175700 #
    5. abdisalan ◴[] No.42175679[source]
    I’m curious, how do you measure the pulse of a project that old? Do people still talk about it? Or that not even necessary — use it until it breaks and otherwise don’t think about it?
    replies(3): >>42175769 #>>42176012 #>>42177737 #
    6. telgareith ◴[] No.42175700{3}[source]
    How about node on android?
    replies(1): >>42175849 #
    7. toast0 ◴[] No.42175769{3}[source]
    If it has an issue tracker, you can look in there for things that look like real issues and are unaddressed.

    If there's no issue tracker, you can YOLO and try it and see if it works, or you can look around at the code and see if it looks reasonable.

    Even if there are unaddressed issues, you can always use it and fix it when it breaks. If it's reasonable enough, it's a good start anyway. And at least my assumption with open source is I'm going to be fixing it when it breaks, so lack of a pulse is better than churn.

    8. lpapez ◴[] No.42175849{4}[source]
    Delete this comment right now, don't give them ideas.
    replies(1): >>42176061 #
    9. swatcoder ◴[] No.42176012{3}[source]
    Why do you want your building materials to have a pulse?

    Ideally, in adopting dependencies, you should be looking for a mature utility whose design was clear and implementation is complete.

    If it's open source, you should be able to read and unserstand the code yourself, and you should make an earnest effort to do so, in case it has faults you wouldn't usually allow in your own code and in case you need to fork it at some point.

    This lets you you build well-designed, stable, maintainable, clear things yourself.

    The alternate, building your project on a random collection of "living" projects undergoing active development is how you banish yourself to perpetual maintenance, build failures and CVE warnings that have nothing to do with your work, surprise regressions when you update your referenced version (you are, at least, pinning your versions??), etc

    replies(1): >>42176500 #
    10. ian-g ◴[] No.42176061{5}[source]
    Too late, we already have react native
    replies(2): >>42180346 #>>42199355 #
    11. kamma4434 ◴[] No.42176233[source]
    I would expect most Java projects from 20 years ago to compile and run with zero issues.
    replies(1): >>42176678 #
    12. Macha ◴[] No.42176500{4}[source]
    Something like a HTTP 1.1 client is something you might expect would be a pretty stable thing that doesn't need too many updates, right?

    But I would not assume that a HTTP client that has been untouched in 12 years supports SNI, for example, which means that actually it might be totally useless for a lot of modern sites (certainly Android did not support SNI 12 years ago).

    replies(1): >>42183951 #
    13. watsocd ◴[] No.42176678[source]
    Absolutely not. Not on the client side anyway.

    I know of one application by a large multinational that requires java in the browser to run. Almost impossible to run now because of security restrictions.

    replies(2): >>42176905 #>>42183200 #
    14. em-bee ◴[] No.42176905{3}[source]
    well java on the desktop and java in the browser are two entirely different beasts. the problem here is not java but the changes that have been made in the browser.
    15. cousin_it ◴[] No.42177737{3}[source]
    Maybe "pulse" could be transitive? Like, if a project doesn't have many recent commits, but many projects using it have recent commits.
    16. kaptainscarlet ◴[] No.42180346{6}[source]
    It's a double whammy
    17. kimi ◴[] No.42183200{3}[source]
    We do have some very old and likely lost all sources "client apps" that are a single JAR and date from around 2003-2004, written in Swing. They still work.

    Of course when they stop working they will be phased out, but we have been expecting their death for years now and not happening yet.

    18. popcalc ◴[] No.42183951{5}[source]
    You're going to put it behind nginx anyways, right? So why does it even matter?
    replies(1): >>42183988 #
    19. Macha ◴[] No.42183988{6}[source]
    Client, not server.
    20. ◴[] No.42189332[source]
    21. plaidphantom ◴[] No.42199355{6}[source]
    And Nativescript.