News for hackers. Stuff that matters.
Re:Docker container to tweet at your ISP when your speed dro... by stephenr on Thursday August 24, 2017 @12:03AM (#15087511)
A bit of an overkill?

According to the developer, this is a Python script. So, rather than running on any desktop OS with minimal resources, it requires Docker, which requires a Linux Kernel. So for the vast majority of desktop users, this will require a Virtual Machine.

To send a fucking tweet.

This is the perfect example of developers doing dumb things, "because devops".

Re:Docker container to tweet at your ISP when your speed dro... by lovelearning on Thursday August 24, 2017 @02:06AM (#15087944)
I think packaging it up as a ready-to-use, cross-platform installable (which just happens to be in the docker container format) is better than expecting every desktop user to "install python3 python3-pip -y pip3 install pyspeedtest hurry.filesize tweepy". If the typical "desktop user" can't install one software with easily accessible installation instructions, is it reasonable to expect them to install 5 without?
Re:Docker container to tweet at your ISP when your speed dro... by stephenr on Thursday August 24, 2017 @02:13AM (#15087985)
I didn't say packaging is bad.

I said expecting desktop users to install docker to run a 35 line python script is fucking crazy.

You think someone who can't install python and 3 pip modules, is going to manage to install a Hypervisor, a Linux Guest, and Docker?

Re:Docker container to tweet at your ISP when your speed dro... by ralmeida on Thursday August 24, 2017 @03:55PM (#15093478)
Maybe. We taught our support people how to install Docker via Docker Machine, and while that is resource-intensive and sometimes they come with questions, it did reduce the complexity of deploying new internal tools to them.
Re:Docker container to tweet at your ISP when your speed dro... by monoxane on Thursday August 24, 2017 @12:08AM (#15087527)
I've added instructions for pure python if you want it. I used docker because I've never used docker.
Re:Docker container to tweet at your ISP when your speed dro... by stephenr on Thursday August 24, 2017 @12:29AM (#15087595)
I've never used a concrete trowel to make waffle batter, doesn't mean I'm going to try it.
Re:Docker container to tweet at your ISP when your speed dro... by jklein11 on Thursday August 24, 2017 @10:15AM (#15090252)
This comment made me laugh so hard I got some weird looks from the person in the cube next to me.

On a more serious note, if you had never used a concrete trowel before and you weren't totally sure what it was, using it to make waffle batter would give you a better understanding of what it was and what it is good for.

Re:Docker container to tweet at your ISP when your speed dro... by charsifood on Thursday August 24, 2017 @12:39AM (#15087630)
A bit of an overreaction don't you think? Especially after the OP explained that he is using docker for educational purposes and even included instructions for pure python. Seems unnecessary to continue ragging on him.
Re:Docker container to tweet at your ISP when your speed dro... by stephenr on Thursday August 24, 2017 @02:15AM (#15087995)
Using Docker to run a tool intended for home-use (i.e. not on a server) for 'educational purposes' is like learning to shave your bikini line by cutting the neighbourhood hedges.
Re:Docker container to tweet at your ISP when your speed dro... by monoxane on Thursday August 24, 2017 @02:24AM (#15088031)
Dude, I'm in highschool and wanted some experience with shit used in industry, gimme a break.
Re:Docker container to tweet at your ISP when your speed dro... by ralmeida on Thursday August 24, 2017 @04:32PM (#15093798)
Not only 'learning Docker' is a pretty solid reason, it's not even that bad an idea. I have spun up containers for simpler stuff, like when I couldn't install a certain library because Anaconda messed up the install of a dependency which depended on native code.
Re:Docker container to tweet at your ISP when your speed dro... by jklein11 on Thursday August 24, 2017 @10:18AM (#15090275)
I would say the risk reward on these two are a little bit different. With using Docker on something you are just trying out you risk wasting some time and maybe some abuse from stephenr on hackernews.

Practicing shaving your bikini line with hedgeclippers you stand to lose... well a lot more.

Re:Docker container to tweet at your ISP when your speed dro... by stephenr on Thursday August 24, 2017 @10:23AM (#15090319)
Notice I didn't say hedge cutters to shave.

I said cutting hedges. Vaguely related tasks (cutting something shorter) but vastly different tools, materials, scale, etc

Re:Docker container to tweet at your ISP when your speed dro... by NetStrikeForce on Friday August 25, 2017 @05:34AM (#15097202)
Perfect example where Go would be a great fit.