Monday, November 28, 2016

Creating MEAN stack application using Bitnami launchpad in AWS

My earlier Harvard course on Bigdata Analytics had given me enough exposure on AWS (Amazon Web Services) and professional and personal curiosity on emerging technologies taught me enough about MEAN stack.  MEAN stack is a full stack development tool kit that includes javascript based techologies MongoDB, Express.js, Angular.js and Node.js.

I wanted to take this learning to next level by hosting a MEAN stack application on AWS instance. While self exploring some intricate details of configuring and using AWS, much of the documentation was scattered to address individual needs and I had to connect the dots to meet my needs. Some of the documentation was old and some of the screenshots were obsolete. I decided to make a video along the way so that people who look for such information also get to learn. So here is the video of Creating MEAN stack application using Bitnami launchpad in AWS

I intend to do further videos explaining about other parts such as how to connect to the newly created VM, using Rockmongo, etc

Feel free to ask any related questions by leaving comments below this post or comments in youtube video page.

Thursday, March 20, 2014

SoapUI - A powerful web services testing tool

Recently I happened to Review/Test a few web services implemented for one of my client. 
SoapUI Pro

SoapUI is the defacto standard for validating webservices. Apart from technical deliverables, I also got to evaluate the product and compare it with free version. I downloaded free version and Pro (14 days evaluation) and was pleasantly surprised at the advancements and ease of use. I developed webservices a few years ago and hardly any useful tool was there to test it. 

SoapUI Pro interface 

Some of the notable features I liked and used are

  • Dynamic Duo/The Editors - You can visually enter data rather than searching though XML and entering the data. I used this extensively and is a very neat feature. 
  • Point and Click Testing - Almost ready to test the webservices just with few clicks. You can click on the web service response xml contents and right click and few more clicks and SoapUI writes the xpath qeury and associated test case. Its that simple. 
  • Test Debugging - Helps creating test flows, other testing related constructs like conditional execution, looping etc. I mostly utilized connecting to DB (data source) and groovy script.
  • Data Sources - Provides options to connect to most popular data sources. You can write queries/get the data from these sources and then use use the data as part of inputs to your webservice calls or compare the data to validate the webservice response.
  • Multi-Environment Support - If you have multiple environments on which you need to do same webservice testing, this is a major timesaver. I created my own config file and imported those settings as project's properties. Client code, end points. connection string, user name and such commonly used strings were stored and the imported properties could be used in test cases as variables with a few clicks(Again I did not type any of these).
  • Reporting - Provides nice reporting of all test suites/cases executed with their status. You can also customize the template of reporting. I mostly created HTML reports as they were very easy to use and store but PDF, CSV and other formats are also available. 
  • The SQL builder - Sql builder allows you to visually choose the tables and build query, our huge database with few thousand schemas was too much for SoapUI . I preferred using my ready to use queries and it worked flawlessly.
  • Stop the Hackers - XML Bomb, sql injection, malformed XML and plenty of other ready to use test cases are available under security category  - Just few clicks away.  

SoapUI had plenty of other features but these were the features that I ended up using and was pleased with the self explanatory and user friendly interface.
You can take a look at their SoapUI : 12 reasons to go pro page for more details.

SoapUI also has a free version. Free version is very limited but lets you create your test cases with basic features.

Saturday, May 18, 2013

Adobe LightRoom

Tried Adobe LightRoom software today on some of  my not so beautiful looking Raw images (of course bluebonnet flowers and kids are always beautiful)
What a difference. 
 I always wondered at those blank skies in my images and now i know how to deal with them. Pictures from Heavenly Bokeh group on Facebook and references from a few friends there inspired me to install and try out these effects. Burning midnight oil was well worth it. 

Tuesday, March 06, 2012

Youtube is scanning your videos

Yesterday I uploaded a video on Youtube that I created with photos and used some background music that i downloaded from net. In an hour, Youtube sent the following email to me.

Dear sanjaykattimani,
Your video, RishabHomeVideo.m2ts, may have content that is owned or licensed by Yash Raj Films Pvt. Ltd..  No action is required on your part; however, if you are interested in learning how this affects your video, please visit the Content ID Matches section of your account for more information.

- The YouTube Team

 © 2012 YouTube, LLC
901 Cherry Ave, San Bruno, CA 94066 

So whats Google/Youtube up to?
Youtube is scanning all the videos that you are getting uploaded and scanning for music that matches their video/audio library. In case it matches, sends out the above warning message. This is a smart way to reduce/fight copyright infringements.
May be this was part of Googles privacy policy changes. I didn't read them. Did you?

I feel this is the best for copyright owners as they are suppose to get their share. At the same time if they start going after users like us to collect royalty, we would rather drop those songs and use some general public licensed music. Or better, I may end up creating my own music?? :)

Tuesday, May 24, 2011

Spamming gets innovative.

Spammers Hakckers keep finding new and innovative ways to reach out to the masses. Since facebook has been immensely popular social network, it becomes vert attractive media for spammers. It also seems to be very easy to convince users to click a few buttons and steal all your data. They also post links on your friend's walls to attract more visitors.

Found a couple of my innocent friends posting these materials again and again.
How do you safeguard youself?
  • Dont click on any link that you do not know or is suspicious.
  • If any application asks you to approve/join/like do not do it unless you know the website/link
  • They will have very attractive images/text - Eg. Osama bin Laden's uncensored pictures. If its too good to be true, it may not be safe link.

What do they get by spreading these kinds of links?
Any of the following
  • Viral marketing - Website may be trying to make some product/website popular
  • Stealing your details - They may be collecting your name, geographic location phone etc to sell it further.
  • Stealing your id and passwords .
So please safeguard our accounts and share the good messages/links/videos with your friends. Do waste your and your friend's time and energy by clicking the wrong links.
Happy socializing.

Thursday, May 19, 2011

QR Codes

Do you know what is QR Code?
A QR code (short for Quick Response) is a specific matrix barcode (or two-dimensional code), readable by dedicated QR barcode readers and camera phones. The code consists of black modules arranged in a square pattern on a white background. The information encoded can be text, URL or other data.

Was checking a barcode reader and found that app that i was testing can read QR codes so this was it.
Here is a QR code of my Kannada greetings site.

These are easily readable by most smartphones with camera by installing small app.

Tuesday, March 29, 2011

Garmin nĂ¼vi 1450 5-Inch Portable GPS Navigator

My previous Tom Tom XL got banged inside car many times as the suction holder gave up because prolonged direct sunlight/heat. It had lost the speaker for some time, and recently after it was handled by a friend, it died completely. Time to buy a new GPS. Its a very valuable tool if you travel even little bit and not sure about your local roads. It saves lot of time, gas and most importantly guides you back on the correct road when you go in a wrong route.
Gramin is one the most popular names in navigation today

I have found this invaluable tool to navigate specially the urban part of western countries.


5 years writing this article, Both cars i bought have inbuilt GPS so that i do not have to scramble to connect gps or hook it to the windshield on need basis. In future they will all be tightly integrated in in cars rather than being optional. I already see this in cars like Tesla that has auto pilot that heavily uses GPS data.