6 ms·
I facepalmed when I read that... This is an all too common problem in development and it's made me very skeptical of coworkers at times who use it "X technolog
by meddlepal 7y ago
I facepalmed when I read that...
This is an all too common problem in development and it's made me very skeptical of coworkers at times who use it "X technology doesn't work or X is garbage" as a justification to switch technologies or spend time prototyping several alternatives.
I'm not gonna say Docker is a perfect tool by any stretch either.
- gorm 7y agoIt was on his home servers and he got a valid point regarding redundant daemon in docker. So I don't understand why you facepalm because its not your business what he runs at home or how he rocks his boat.
- meddlepal 7y agoI'm facepalming because he literally went through all the effort to replace Docker without fixing the underlying problem which is his script. At a minimum it means he doesn't understand how his own code works which is going to be problematic if your career involves coding. The "it's none of your business" argument falls flat the moment you decide to broadcast to the entire world what you're doing and then get it onto a the front page of a website known for debating the content of said articles.
- toredash 7y ago> I'm facepalming because he literally went through all the effort to replace Docker without fixing the underlying problem which is his script. Well, he didn't say that the reoccurring problem came back, so maybe it was Docker after all? Either way, I agree somewhat #facepalm
- skybrian 7y agoYou should read articles without assuming Hacker News is the intended audience. They usually aren't submitted by the author.
- ldng 7y agoNo, some container went rogue, and in the process dragged the Docker daemon which annoyed him PLUS he'd learnt that it was possible to run containers rootless and daemonless SO he changed his setup. Please RTFA.
- UberIsAnnoying 7y agoDocker 19.03 has a rootless option https://github.com/moby/moby/blob/master/docs/rootless.md https://github.com/moby/moby/blob/master/docs/rootless.md https://news.ycombinator.com/item?id=20542915 https://news.ycombinator.com/item?id=20542915
- techntoke 7y agoLast I checked it isn't out yet and Podman offers this already.
- ldng 7y agoNot the default hence not well tested. AND you still have a Docker daemon running. Furthermore, last time I checked, Docker does not support user namespacing in a released version yet. I maintain the "duh fix your script dummy" is not the right attitude. The author clearly states it's used for a build farm. That is bound to fail ... I read "Docker daemon was using 100% CPU" to be the recurring incident; not a given script. And when that happens, it ends up cascading and stuff get OOM-killed before you know it.
- user5994461 7y agoYou missed the point. RedHat has replaced the docker command with their own tool that does the same thing. He's just trying the new tools and it's poorly framed as a deliberate migration. It's not a migration and there is no effort involved. Docker is simply gone, the tools he mention are the new de facto standard and he will have to live with them anyway.
- Jare 7y ago> I facepalmed when I read that... I encourage you to read the entire article, so you understand what was his actual thought process deciding to replace docker, and the pros of the new solution.
- jmull 7y agoI think it's valid, if I'm understanding the context. OP seems to run a lot of infrastructure on his "home servers" not because he directly needs it but as a learning/playground environment. So here he's chosen to learn about some new tools rather than track-down and fix a misbehaving script. That seems reasonable to me. (Though, I'm inferring here. If that's really was his thinking was, he could have stated it clearly and prevented the confusion.)
- justadudeama 7y agoVery true. I know a lot of people in school who have to use a generally well regarded technology, but hate it because they had to use it in a class. For example, they might see someone on github and go “oh is that github? I hate using git” when in reality they had to use it in a group project with 4 other people who have never used it, and had no understanding of branches, merging, etc. I have seen the same thing with LaTeX, Python, and Vim.
- neilv 7y agoThis same pattern also hurt Scheme's reputation. For a while, when I mentioned I was doing big production work in Scheme, it was ordinary for someone to mention hating it from school. (ProTip: Maybe you hated it from school because it was used as a tool for teaching theory and beginner stuff, and you were given difficult homework assignments. Maybe you'd like it more if you learned how to use it practically, while you were working on things you actually wanted to do.)
- fromthestart 7y ago>git...LaTeX, Python, and Vim To be fair, LaTeX, git, and Vim, beyond shallow use, have fairly steep learning curves and can initially seem like a huge inconvenient mess before one learns, through trial and error, enough of the basics to really unlock enough utility to justify their use. In a perfect world we'd all first sit down with manuals/tutorials, absorb everything from the getgo, and hack away with bliss; but most people, myself included, do not have enough intrinsic interest to muster the will to sit through documentation while paying enough attention to absorb a bunch of seemingly irrelevant details about some involved tech tool, when we have one simple goal to accomplish now, so instead we piece everything together with a combination of Google searches and keyboard mashing until things work and then optimize on top of that later. In my experience this can be one of the factors that define a so called 10x dev - the willingness and ability to plod through docs with a genuine interest before using a powerful tool. I imagine such crowd is overrepresented on HN but quite rare in the general population.
- user5994461 7y agoReally hard to use tools and half obsolete by some metrics. Vi predates keyboards with arrow keys and numpad. You can do most of what vim can do in any editor if you can use your keyboard effectively. Then there is the question of VI vs VIM. Some schools force students to use VI, which is really a different and antiquated beast. LaTeX lost a lot of relevance since Office 2010, that added a great equations editor and better handling of sections/subsections.