Hitler uses Docker

If you've never used Docker in production, leave the blog now.

The script

Henchman: We pushed the images to DockerHub, then used docker-compose to deploy to the cluster
Henchman: We mounted data volumes on these nodes, and linked the app container here. Finally we updated the DNS records.
Hitler: So we’re running 20 containers on every node now. When can we get rid of the excess servers?

Henchman: Mein Fuerer, the kernel… A third party container caused a kernel panic. 
Henchman: We’ve lost 70% of the cluster and the data volumes
Hitler: If you never used Docker in production, leave the room now 
Hitler: What were you thinking? Who the hell uses public containers from DockerHub? For all you know they were made by Russian hackers!
Hitler: You might as well use `curl | sudo bash`!
Hitler: You think anything in public repos is secure because it’s OSS? You’re a bunch ofnode.js hipsters that just HAVE to install everything you read on Hacker News!
Henchman: But Docker allows us to run our application anywhere!
Hitler: You use a VM just to run Docker on your laptop!
Henchman: Main Fuerer, docker-machine uses a lightweight VM! 
Hitler: Do you hear yourself?  Why do we need docker if we’re running a VM? A container inside a container!!!
Hitler: You archived a whole Linux O/S then used CoW storage because it’s too big.
Hitler: Just so you can deploy a 10MB go binary!
Hitler: Don’t even talk to me about resource constraints. All that cgroups magic and it still can’t stop a simple fork bomb!
Hitler: And if the database needs all the resources on the server how exactly will Docker allow you to run more programs on it!? Before Docker I just picked the right size VMs..
Hitler: Suddenly people talk to me about datacenter efficiency and “hyperconvergence”. Everybody thinks they’re Google!
Hitler: You don’t even run your own machines anymore! People run on GCE, in VM instances that run in Linux containers on Borg!
Hitler: People even think Docker is configuration management. They think Docker solves everything!
Hitler: Even Microsoft has containers now. I’m moving everyone to Windows!
Henchwoman: Don’t cry, you can run bash on windows 10 now.
Hitler: Docker is supposed to have better performance yet that userland proxy is slower than a 28.8k modem and for what, just bind on port 0..
Hitler: Even enterprises want to run Docker now and they still have Red Hat 5 installed.
Hitler: You idiots that Docker will help your application scale.

Hitler: Use Openstack for all I care.

SourceTree 2.2 Major Release - DO NOT UPGRADE

SourceTree 2.2 is not stable at all. DO NOT update to the latest version of SourceTree. I guess this release needed a bit more time in the oven. May give GitKraken a proper look now.

Atlassian really needs to work on its validation practices. The last few HipChat client updates have been disasters as well.

No Ranging Response received - T3 time-out SOLVED

No Ranging Response received - T3 time-out, I have had this error for the past few weeks looking through the event logs in my Motorola SB6141 and saw this message is popping in the logs several times every day. Apparently this error occurs when the upstream connectivity is lost between my cable modem and the Xfinity Comcast server. Checking my modem signal levels I have found the following data

Downstream Power Level
12 dBmV 13 dBmV 11 dBmV 10 dBmV 10 dBmV 11 dBmV 11 dBmV 12 dBmV

Downstream Signal to Noise Ratio (SNR)
38 dB 37 dB 37 dB 37 dB 37 dB 38 dB 37 dB 38 dB

Upstream Power Level 42 dBmV 43 dBmV 42 dBmV 41 dBmV

The downstream power is on the high side, and -7dBmV to +7dBmV is the ideal range for cable modem, so I have found 2 way signal splitter and added to the the line leading to the modem hoping that extra attenuation will knock that power down. And it worked, the downstream power level went down. For the last few days my Xfinity Comcast connection works like a charm and there is no No Ranging Response received - T3 time-out in the log files.

Shopify Dashing not updating

I have started to work on dashboard for my team to display Pingdom, Jenkins and Jira metrics using Dashing by Shopify that could suite the Agile team needs. The initial setup on Apple MacBook Pro was a breeze, but I was able to see on localhost:3030/sample page the layout I expect, but none of the widgets have any data. I waited a a few minutes and eventually hit Ctrl+c to shutdown Dashing, and magically the data were updated and displayed. I tried Firefox on the same machine, but got the same result - nothing changes on the website, no data is shown just the headings. Same thing is happening to the dashingdemo.herokuapp.com/sample demo page set up by Shopify. The Chrome Developer Tools shows the /events resource as "pending" and it seems to hang on this indefinitely without receiving any data. Surprisingly the demo page worked fine on Windows 7 machine with Google Chrome 35.0.1916.153, but Google Chrome and Firefox on Mac displayed no data.

After digging around I have found that the issue is with a Ruby web server - Thin. As soon as I tried another web server WEBrick instead of Thin everything started to work on my Apple MacBook Pro, but of course I’m not able to restart hanging dashingdemo.herokuapp.com/sample with WEBrick.

To make Dashing working I run this

rackup -p 3030 -s webrick

instead of

dashing start

Motorola SurfBoard SB6141 review

Motorola SurfBoard SB6141 DOCSIS 3.0 Cable modem came to my house as a replacement for Netgear CMD31T modem which was barely working for almost three weeks. Once installed I had a problem with Netgear CMD31T dropping Comcast/Xfinity Internet connection once or more per day. It was not hard to get the connection back, the Netgear modem has easy to understand lights that let me know what is going on with my connection. It usually it takes just a few minutes to get the connection back. but it doesn't work for me. I often work from home and recently dropped my land line phone service replacing it with Ooma Telo Free Home Phone Service. That's why I decided to give a try to Motorola SB6141

Motorola SurfBoard SB6141

The modem was extremely easy to install. Plug in, call Comcast to register, navigate to www.comcast.com and you are good to go in the less than 15 minutes. Once I upgraded to Motorola SB6141 I couldn't believe it, it works like a charm for almost a month now. The only downside to this modem are those damn blue LED light. I taped over them with black electrical tape, but because the device is covered with ventilation holes, the LEDs blare through them. I would recommend installing the modem outside your my peripheral view.