If you use Docker for Mac or something similar, Docker Compose will be installed along with it. Docker Compose has a different release timeline for Docker for Mac so you will not be able to try latest version of Docker compose until you upgrade Docker for Mac. This is limiting. You should be able to install Docker compose independently. To achieve that, you can run following command
$ curl -L https://github.com/docker/compose/releases/download/$composeVersion/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose$ chmod +x /usr/local/bin/docker-compose
In the above commands,
$ signify bash prompt. You don’t have to type it. Now, you can check Compose version using the command shown below.
$ docker-compose version
One of the best talks on SOLID design principles and OO design that I have watched recently. This talk is 4 years old but more relevant today as many programmers are trying to follow functional programming bandwagon without understanding what they are getting into. One of the best advice speaker gave is to use OO at the outside boundary of your system and FP in the inside where you are doing data transformation and processing. A lot of good literature exists on OO design so let’s make read it and try to first do OO right.
This talk by Bret Victor is an eye opener. It was delivered by Bret in 2013. He gave this talk assuming we are in 1973 and then talked about how future of programming will look like in 2013. He talked about various CS discoveries and programming approaches people were trying during 1960 and 1970 era. At that time, nobody new what is correct way to program so they were experimenting with many different approaches. Nobody was fixated on one right approach so different approaches were tried.
Continue reading “Bret Victor Talk: The Future of Programming”
This is a very good talk where Alan Kay talks about what’s wrong with current OOPS languages and how he envisioned object oriented. For those who don’t know, Alan Kay coined Object Oriented Programming term. He is also one the guys who designed Smalltalk. There are many awesome ideas shared in this talk. I liked the quote below:
The part of message of OOP was that as complexity start becoming more and more important architecture is always going to dominate material.
Continue reading “Alan Kay Talk: The computer revolution hasn’t happened yet”