News for hackers. Stuff that matters.
Re:Microcontainers – Tiny, Portable Docker Containers by _query on Tuesday February 02, 2016 @06:43AM (#11018868)
> Docker enables you to package up your application along with all of the application’s dependencies into a nice self-contained image. You can then use use that image to run your application in containers.

Actually docker was created to enable easy scaling of web applications. If you want to package your application up take a look at some modern package managers. By using a modern package manager like nix you can work around the issues of containers while still keeping the "it just works" advantage of containers.

This does not mean that containers are bad, it's just that using a good package manager is usually a simpler solution.

Take a look at my blog post if you want to read more on this: http://www.mpscholten.de/docker/2016/01/27/you-are-most-like...

Re:Microcontainers – Tiny, Portable Docker Containers by mstade on Tuesday February 02, 2016 @08:28AM (#11019276)
I mostly agree with what you're saying, but what caught my eye was:

> About the author > Hey! I’m Marc, an eighteen years old software engineer located in Germany.

You're obviously quite knowledgeable and well spoken for such a young age, and presumably English isn't your first language either. I just wanted to say keep up the good work, you have a bright future ahead of you – kudos!

Re:Microcontainers – Tiny, Portable Docker Containers by wcummings on Tuesday February 02, 2016 @08:59AM (#11019407)
Surprised he advertises his age, I started working around that age and pretty deliberately avoided age as a topic of discussion. Age is something best left unmentioned in a professional context.
Re:Microcontainers – Tiny, Portable Docker Containers by _query on Tuesday February 02, 2016 @03:36PM (#11022302)
Thanks for the advice. I've thought about it a little bit and decided to remove it with my next update to the web page.
Re:Microcontainers – Tiny, Portable Docker Containers by mstade on Sunday February 07, 2016 @01:02PM (#11053882)
I'd love to say it's not sage advice, but it is. Unfortunately, once people know your age they will – consciously or subconsciously – treat you differently. I rather quickly opted to never disclosing my age in any context, unless it is absolutely necessary (it almost never is.) It's just easier that way, leads to less discrimination. Unlike skin color or other highly visual traits, it's one aspect of your person you can hide without any significantly negative consequence.
Re:Microcontainers – Tiny, Portable Docker Containers by wcummings on Wednesday February 03, 2016 @08:45AM (#11026379)
You don't have to, but it will help avoid a lot of snark as well as well-intentioned but annoying jokes (like the babel dev described), not to mention less visible discrimination like being passed over for promotions, being given worse projects and so on.

There are also programmers whose pride is damaged by doing the same work as someone much younger than themselves.

Remember (at least in the US) age is a protected category and you can't be asked about it during an interview, so if you're careful about how you write your resume no one really has to know exactly how old you are.

Good luck.

Re:Microcontainers – Tiny, Portable Docker Containers by marianoguerra on Tuesday February 02, 2016 @02:24PM (#11021770)
I used to do it a lot until I noticed, I think it's related to the first topics you learn while learning English (presenting yourself, name, age, where you come from).
Re:Microcontainers – Tiny, Portable Docker Containers by honua on Tuesday February 02, 2016 @11:57AM (#11020617)
Yeah usually gets messy. E.g. the Babel author's experience
Re:Microcontainers – Tiny, Portable Docker Containers by petetnt on Tuesday February 02, 2016 @01:33PM (#11021356)
Happen to have a link at hand where I could read up on this? Tried searching for it but drew blank.
Re:Microcontainers – Tiny, Portable Docker Containers by bgaid on Tuesday February 02, 2016 @01:46PM (#11021464)
Re:Microcontainers – Tiny, Portable Docker Containers by sjclemmy on Tuesday February 02, 2016 @02:40PM (#11021889)
Awesome read. Sounds like a great guy.
Re:Microcontainers – Tiny, Portable Docker Containers by karmajunkie on Tuesday February 02, 2016 @02:09PM (#11021645)
Its the kind of thing most people learn after they wish they'd learned it earlier :)
Re:Microcontainers – Tiny, Portable Docker Containers by _query on Tuesday February 02, 2016 @09:35AM (#11019602)
Thanks, made my day :) In case you found some spelling or grammar mistakes let me know.
Re:Microcontainers – Tiny, Portable Docker Containers by simonebrunozzi on Tuesday February 02, 2016 @03:57PM (#11022511)
Agree with mstade - very impressive for your age.

I just sent you a private email.

Re:Microcontainers – Tiny, Portable Docker Containers by pea on Tuesday February 02, 2016 @07:43AM (#11019079)
Yes, layering is somewhat of a hack to get around the fact that most OS package managers are mutable. IMO nix / guix have a much better approach here.
Re:Microcontainers – Tiny, Portable Docker Containers by bboreham on Tuesday February 02, 2016 @08:15AM (#11019219)
> docker was created to enable easy scaling of web applications

Citation? From my perspective, most of the features you'd need to do that appeared around 2 years into Docker's life.

Re:Microcontainers – Tiny, Portable Docker Containers by _query on Tuesday February 02, 2016 @09:29AM (#11019572)
Initial docker was part of dotCloud, a platform-as-a-service company[0]. From the perspective of a paas-company container technology allows for easy scaling. From the perspective of a docker user you're right that many of these tools were not available until recently.

[0]: https://en.wikipedia.org/wiki/Docker_(software)#History

Re:Microcontainers – Tiny, Portable Docker Containers by fapjacks on Tuesday February 02, 2016 @03:44PM (#11022374)
Nah. I don't like articles with phrases like "you are doing it wrong" when it comes to Docker, because Docker affords you choice. It is up to you to make the choices, and there are some "best practices" around using Docker, but there is no "right way" to use this technology. Use what is "right" for your environment and avoid platitudes like "you are doing it wrong". Anybody that wants a taste of what I'm talking about should stop by #docker on Freenode and see how people are using it.
Re:Microcontainers – Tiny, Portable Docker Containers by foldr on Tuesday February 02, 2016 @08:11AM (#11019205)
I don't know if things have changed in the past few months, but the last time I tried nix it's used too much memory to make it practical to run it within a VM on my laptop.
Re:Microcontainers – Tiny, Portable Docker Containers by treeder on Tuesday February 02, 2016 @04:59PM (#11023006)
I"m pretty sure that's not why Docker was created. And Nix is definitely not a simpler solution for packaging/dependency management. It's a good idea, but with all the advantages of Docker (full isolation, flexibility of using any OS and any package manager, easy distribution), why bother with Nix?
Re:Microcontainers – Tiny, Portable Docker Containers by matzipan on Tuesday February 02, 2016 @09:49AM (#11019678)
I believe Ubuntu click packages have been developed exactly for this purpose. That isn't to say alternatives aren't good, but maybe you can draw inspiration.