Friday, August 14, 2015

To open a bash prompt in a running docker contianer

To open a bash prompt in a running docker contianer

Here is a link to a nice collection of useful info

Wednesday, April 30, 2014

So you want to add all your untracked files to your .gitignore

Here is a simple command that will take all current untracked files in your repo and append them to your .gitignore. It's not pretty or subtle, but it gets the job done.

Wednesday, July 10, 2013

Remember: Run your animations with requestAnimationFrame

Why do you want to start with requestAnimationFrame, instead of passing in a time value?
  1. is not widely supported
  2. may not give you the same format as used by requestAnimationFrame. In fact most cases where requestAnimationFrame is natively supported it doesn't.
  3. Starting your animation with it insures that it passes in the correct time format.

So use it.
Need a polyfill use this one by +Paul Irish  .

Has the war on terror destroyed the basic underpinnings of our democracy? Have the "terrorists" won?

Given, we are not a pure democracy; our founders created a system to balance the fluctuating will of the masses against the needs of the few. Underlying this is the assumption that a well educated and sufficiently knowledgeable populace can make meaningful decisions balancing liberty and security.

When the decisions are made out of the public square in absence of meaningful review, with no recourse, or way to remedy falsehood, and those who involved are gagged by fear. How can we do our job as citizens?

Part of the problem is the way we have chosen to talk about and deal with the acts that we currently call "terrorism"; something that I touched on in the blog post, Terrorism is a criminal act, and terrorist should be treated like the common criminals they are.  We have elevate these acts as something abnormal, what we need to understand is that they aren't. They are acts that have taken place throughout humanities history. By elevating we give an excuse to those who would grab and consolidate power. 

Eventually we need to address this on national level, how can we govern ourselves if we are not given the information needed to do so.  We can handle the truth, we have to.

These are some some of the thought I've had after reading the The Economist article Secret government: America against democracy originally shared by +Tim Bray on Google+