Wednesday, October 18, 2017

Kubernetes : The genie in a text file

The fact that a container resides inside a text file was sufficiently awesome. Looking at the way orchestration is done via the Kubernetes has a feeling that its a miracle and yes the miracle has made the giant give in and Lo & Behold ....

Docker gives into inevitable and offers native Kubernetes support

It was not inevitable as the news refers to but it was really hard work at Kubernetes and already most of the big guns have given up (or joined hands with Kubernetes). The following news item show.


Platinum Members : Microsoft, AWS, CISCO, CoreOS, DellTechnologies, Fujitsu, Google, Huawei, IBM, Intel, Joyent, NEOSPHERE, ORACLE, Pivotal, Redhat, Samsung, SAP, VMWare and Finally Docker.

The above list shows that there is quite a bit of back story to the 'inevitable'. 

Happy Days for k8s and loving it totally. 

Monday, October 16, 2017

TIL : Never change and push code directly on GitHub site

Never ever do this even if its as mundane and harmless as a few changes in the README.

Your customers will suffer because they are not as aware of the code as you are and they follow README much more diligently than you do.

Another lesson learnt is that never ever do it on master branch. Also create a sub branch and work on it. Keep your most recent working code in master. This is another mistake I made while I preach the same to others I did not practice it myself.

The above cost me hours of fixing and a lot of client disgruntlement. 

Wednesday, October 04, 2017

APIs with a postman

I never realised that a postman would be worth so much. However while recently working with lots of APIs in parallel and in the process developing another one. It struck me and stuck with me the importance of a tool as handy as postman

I was firm believer of using CURL scripts to test APIs and incorporating tests into the API development would be the best way. However postman awed and shocked me by its ease of use and wonderful interface. 

Next stop .... How to handle load balancing and load testing. 

Monday, October 08, 2012

Exploring Pyreverse UML

Installing pylint for python came with an extra package called pyreverse. This wonderful little package gave ability to create class diagrams from python code. Simply writing the following code produced the png files of class diagrams.

$pyreverse -o png * 

This would create png files which can be used for documentation as well as design review meeting. A very handy tool which won the day for us.

Monday, February 14, 2011

Getting Wireless Up on Ubuntu 10.10 DELL VOSTRO 1500

After long long hours of searching and head scratching the following two-step process helped in getting the wireless up and running on Dell Vostro

Step 1: Flash BIOS

Go to the link and flash the bios according to latest.
Simply download the file and install the program and reboot.
This would enable the wlan in Ubuntu.

Step 2: Update Driver
Update the wireless driver using the following command.
$ sudo apt-get update
$ sudo apt-get install bcmwl-kernel-source
This should be done and after a reboot the Wireless should be up and running.

Immense help for this was taken from here and here.

Twofolds Joy of using Ubuntu

Frequent inhibitors to migrating to Ubuntu are what if something goes wrong, where will my windows go, what if I don't get everything working and topmost is I have only one partition what to do now don't wish to risk any partition magicians. A quick fix to all this rests in using Windows-based Ubuntu Installer (Wubi). If something goes wrong you don't lose windows, hard disk space and top of all your patience with Linux-derivatives.

All it takes is the following simple steps

1. Go to the Ubuntu Windows Installer Link
2. Let the 1.4 MB or so file to download and then install click.
3. Then let the application take charge while it asks for minimal information like username and password.
4. Boom after a couple of restarts and long download (700+ MB)you will have a copy of Ubuntu lying alongside windows harmless.
5. If you encounter some hiccups then its best to go to the windows and ask around google and then apply the fixes. This is the fun part that such hiccups no longer are fatal.


Best of luck Happy Hunting Ubuntu

Monday, November 01, 2010

Ubuntu Update Manager's Proxy does not change when system proxy is changed

All efforts to change the Update Manager's proxy come to a grinding halt without any solution. The reason for this fallout is that the proxy is "hidden" at a very safe location. Ubuntu Update Manager's proxy does not change after changing the system-wide proxy or proxy of synaptic program. The reason is that it uses the apt-get's proxy settings. Which can be amended by looking at the /etc/apt/apt.conf file. This file contains the information about proxy servers.
Acquire::http::proxy "http://ProxyServerAddress:ProxyServerPort/";
Acquire::ftp::proxy "ftp://ProxyServerAddress: ProxyServerPort/";
This information can be amended to gain direct access to the internet or if the need is to change to a different proxy server. 

Saturday, October 30, 2010

The easiest SVN tutorial ever

Browsing through the Internet its extremely difficult to find  the subversion(svn) commands in an instance and be productive immediately. So here is the step by step list of instructions which can be followed to accomplish the most common tasks of svn.

We would use the project on Sourceforge named Dr. Java as an example.

If the project is already there and you wish to CHECKOUT some code to view here is the command.
$svn co https://drjava.svn.sourceforge.net/svnroot/drjava drjava
Now if you wish to add new file to the svn repository the command is very simple. For example if you wish to add the text file readme.
$svn add README_TEXT
The above command will not add it to the server but add it to the schedule. If you wish to view current status of additions, deletions that are scheduled you could use the command
$svn status
And finally if you are satisfied simple do the following and the commit will be done meaning all the changes will now be part of the repository and a new version will be assigned. REMEMBER adding/ deleting/ changing code in a repository requires permissions. Therefore you might be prompted for passwords during the process.

$svn commit
This is all the information that you need to get past the basic svn commands and concentrate on your project.

Now that you have gone through one cycle it would be easier to use the following command to explore other features of svn.
$svn help