Date: 1 November 1984
Time: 9 am
Place: Delhi

I was having dinner with my retired army man husband and my son. My son was also in the army and came on leave for a few days. My grandson and granddaughter had also come for Diwali holiday.

We were all…


I have been working with Scala for more than 4 years. Yet I am surprised at times to find elegant syntactic sugar like this:

scala> class C
defined class C
scala> class D extends C
defined class D
scala> 0 -> (new D:C)
res4: (Int, C) = (0,D@3c232051)
scala> 0 -> ((new D).asInstanceOf[C]) // Old and boring
res5: (Int, C) = (0,D@1a531422)

This is another way of doing a typecast, a la Scala way!

scala> val x = 3 : Any
x: Any = 3

PS: verified on Scala 2.12!


Here are the 9 promises of Uncle Bob’s Programmer’s Oath, from his original 2015 blog post:

  1. I will not produce harmful code.
  2. The code that I produce will always be my best work. I will not knowingly allow code that is defective either in behavior or structure to accumulate.
  3. I…

Do you have a C:\Users\Public\MicTray.log on your Windows PC?


To summarize a fabulous discussion on the golden rules of modern software development:

  • Don’t develop from scratch, integrate parts from open source
  • Use sleep freely, more so in concurrency
  • Retry is your friend, don’t hesitate to make those web calls
  • Revert other’s code when nothing seems to work with it
  • There is no such fix as quick and dirty. If it works then it is good for you.

Kilmin Haro

Trying to find his way home

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store