Unit test - Sending emails via SMTP

I had been looking for ways on how to unit test sending out emails via SMTP server. As with all other problems, there are a bunch of options for this. But most of them are not embeddable which means I have to start them and stop them outside my code. I was looking for something very simple. Something thats embeddable and provides just the bare minimum functionality that I need like asserting whether mails have been send (without actually sending them ofcourse!

Read more

Share Comments

From wordpress to github

It has been more than 6 months since I have blogged! I just shifted all my blog posts from my Wordpress blog to github. First I used Jekyll. Setting it up was a pain on my Windows PC. It needed Ruby and all those extra Rubygems. Then I settled for the Jekyll Docker image. That was better, but still generating the 70-odd-posts took so long everytime, and I knew it’ll take longer as the number of posts increase.

Read more

Share Comments

Chef notes

Sometime back I had to fiddle with Chef. I created some notes, posting it over here, so that I won’t loose it. Don’t think it’ll be useful much to anyone else other than me :) Its basically a list of instructions that is scattered on their site. So, anyone other than me, please ignore this post! Write a cookbook chef generate repo ~/chef-repo => Install starter kit to create .

Read more

Share Comments

Java - Add lib folder to classpath

Adding non standard, non-maven, custom jars in a maven project is a common issue. And this SO post is usually the first googled result. But here is another easier way: Use addjars-maven-plugin. Its easier, no need to run any script, no installing of jars manually, or use the dreaded system scope. Using this also means, the shaded uber jar that gets created will contain the custom jars. How to use?

Read more

Share Comments

Certified Monadic I am!

I took the Functional Programming course on edX and completed it last month. Scored 99% :) This is the first time I am completing an online MOOC. Usually I drop all the courses after one or two weeks. Lazy me! Here is my VERIFIED certificate signed by Dr.Erik Meijer:

Read more

Share Comments

Certified Spring Professional

Now am a Pivotal Certified Spring Professional. Took the exam yesterday in Core Spring (Spring 4.0) and received the certificate today.

Read more

Share Comments

My Developer Personality

I took a Developer Personality Test, conducted by DZone and it almost sums up what I am! Here’s the result I got: Here are your results! Independent vs Collaborative You are Independent! Independent: You prefer to spend most of your time working in an isolated environment. You rarely want to collaborate because you have a better chance of solving problems on your own. If you do have to collaborate on the direction of a project, you dislike it when you have to defend your position or when others try to muddy your plans for the project.

Read more

Share Comments

RIP Thulika Keyboard.. (sob).. (sob)

Just got to know that Google has came up with an handwriting recognition app - Google Handwriting Input. And the good part is it has got Indian language support. Yay!! But the bad part is that, it means the demise of my very own Thulika Keyboard. I had created it about 2 years back, and at that time there was no handwriting recognition app for any Indian language. I also had opensourced it, and have got requests from many to translate it to their language(Arabic, Hausa, Tamil to name a few) and some even have used it as part of their school/college projects.

Read more

Share Comments

Wait... But... Why?

I don’t always subscribe to blogs.. But when its about nicely written articles about science, technology and all the cool things that I usually want to read about, but couldn’t, I am like: I have become a fan of http://waitbutwhy.com/ just after reading an article about Elon Musk and one about Fermi Paradox

Read more

Share Comments

Programmer Zen

Just read this quote and I loved it: A beginning programmer writes her programs like an ant builds her hill, one piece at a time, without thought for the bigger structure. Her programs will be like loose sand. They may stand for a while, but growing too big they fall apart. Realizing this problem, the programmer will start to spend a lot of time thinking about structure. Her programs will be rigidly structured, like rock sculptures.

Read more

Share Comments