Most active commenters

    ←back to thread

    272 points abdisalan | 18 comments | | HN request time: 0.001s | source | bottom
    Show context
    mvkel ◴[] No.42175730[source]
    > time to run it after not touching it for 4 years

    > Two hours of my life gone...

    Two hours of work after 4 years sounds ... perfectly acceptable?

    And it would have run perfectly right away if the node version was specified, so a good learning, too

    This feels like making a mountain out of a mole hill

    replies(21): >>42175799 #>>42175818 #>>42175826 #>>42175846 #>>42176217 #>>42176305 #>>42176788 #>>42176958 #>>42181497 #>>42182299 #>>42182564 #>>42182778 #>>42183020 #>>42183093 #>>42183501 #>>42183725 #>>42184814 #>>42192770 #>>42193606 #>>42194518 #>>42211558 #
    1. arp242 ◴[] No.42176217[source]
    Well, the "solution" ended up as "I gave up and just installed an old Node version and called it a day". So those 2 hours weren't even enough.

    I've been using Jekyll/Ruby since 2014 for my website, with a few custom plugins I wrote myself. And I've never really needed to do anything like this. It "just works".

    My Go and C programs are the same: "just works". I have some that are close to a decade old.

    replies(4): >>42176445 #>>42181328 #>>42181355 #>>42182182 #
    2. jeberle ◴[] No.42176445[source]
    Not sure if I'd call out Jekyll as a paragon of stability. The last time I touched it, I made sure to write up detailed notes. In fairness, it's the only time I interact w/ Ruby.

    https://jeberle.github.io/jekyll-setup

    replies(1): >>42176792 #
    3. arp242 ◴[] No.42176792[source]
    Those mostly seem the standard Ruby/Jekyll/GitHub Pages setup instructions?

    I don't love how bundler works by the way; I think it should/could be a lot better in many different ways. Same for Jekyll. But once it works, it generally keeps working.

    I don't think Jekyll (or Ruby) are a paragon of stability. I'm sure some stuff has broken over the years. It just seems to break a lot less than the JS/Node ecosystems.

    4. pzmarzly ◴[] No.42181328[source]
    Good for you, my experience with Jekyll is closer to OP's experience with Node. I have a big website that I built in 2014, with tons of custom plugins, that is now stuck on Jekyll 2.x and Ruby 2.x, and has a ton of hidden C++ dependencies. The way I build it now is using a Dockerfile with Ubuntu 18.04. I probably could update it given enough effort, but I was rather thinking of rewriting it in Astro.js or Next.js.
    replies(3): >>42181523 #>>42182439 #>>42217665 #
    5. Aeolun ◴[] No.42181355[source]
    Every single time I clone anything Go, I first spend a few hours sorting out dependency issues.
    replies(1): >>42182509 #
    6. rahoulb ◴[] No.42181523[source]
    This is the issue I have with the "build vs buy (or import)" aspect of today's programming.

    There are countless gems, libraries or packages out there that make your life easier and development so much faster.

    But software (in my experience) always lives longer than you expect it to, so you need to be sure that your dependencies will be maintained for that lifetime (or have enough time to do the maintenance or plug in the replacements yourself).

    7. wink ◴[] No.42182182[source]
    I dug out a small Rust project from 2016 and with edition = 2018 I got it running again in under 30 minutes, I was kinda surprised. 8 years is ancient in terms of Rust. I have had more problems with certain other crates. But yeah, C/C++ usually don't really compare. 5 years is nothing, it should just work. For Go the big breaking moment was modules. All my pre - 2016?ish code would need some work.
    replies(1): >>42183982 #
    8. ohthatsnotright ◴[] No.42182439[source]
    If you're looking for a stable target you should not even consider Next.
    replies(2): >>42183264 #>>42199817 #
    9. segfaltnh ◴[] No.42182509[source]
    This shocks me, what sort of issues do you hit?
    replies(2): >>42182797 #>>42185025 #
    10. fredrikholm ◴[] No.42182797{3}[source]
    +1 on this. I've been using Go almost exclusively for the last 5 ish years partly because this sort of thing never happens.
    replies(1): >>42183442 #
    11. ◴[] No.42183264{3}[source]
    12. thrw42A8N ◴[] No.42183442{4}[source]
    You lucked into the period when they solved the issues. If you need to work with older projects and can't easily convert them, you're going to have a bad time.
    replies(1): >>42183931 #
    13. popcalc ◴[] No.42183931{5}[source]
    I open up random Go projects from a decade+ ago every week with no issues.
    replies(1): >>42184935 #
    14. c0balt ◴[] No.42183982[source]
    Rust is kinda like c++ here, it's easy until you have a library that has external, non-vendored dependencies.
    15. thrw42A8N ◴[] No.42184935{6}[source]
    Lucky you, then. I open them every week too, but definitely not without issues.
    16. Aeolun ◴[] No.42185025{3}[source]
    Mainly weird issues of incompatible dependencies, maybe sometimes something that won’t compile because it’s missing a system dependency? I also feel like it sometimes pulls a newer or older dependency that is the missing some used module.
    17. jmathai ◴[] No.42199817{3}[source]
    Just avoid JavaScript frameworks altogether.
    18. otabdeveloper4 ◴[] No.42217665[source]
    Yes indeed, that is the solution to modern IT problems - never update your Ubuntu 18 containers and you're set.

    (Wish I was joking, but sadly I'm serious.)