Missed Opportunities

Itʼs been a while and I havenʼt posted anything new on my blog. Life, work, and priorities often got in the way, but the urge to write never really went away. Itʼs time to get back to writing. Not because I have to, but because I miss the process of thinking through words that quiet dialogue between thought and page. […]

Risk Comes First

You probably saw many cliché stuff about risking everything. Not risking is the biggest risk and all. While there is a truth to that, risk needs to be an appetite. Remember what happened with the 2008 global financial crisis. Some took risks. Miscalculated. Misrepresented. Misaligned. So forth. Where did we end up? Entire markets froze. Liquidity vanished overnight. Companies collapsed […]

Quotes from Atatürk

Mustafa Kemal Atatürk was a soldier, reformer, author, president, and founding father of Turkey. He has some amazing quotes. I compiled some of them for myself and anyone interested. Peace at home, peace in the world. Everything we see in the world is the creative work of women. If one day my words contradict science, choose science. When we say […]

Leetcode Hard

Over the years, I’ve been on both sides of the interview table. To become better at conducting interviews and preparing for my own, I spent time solving and reviewing coding problems. I ended up solving a bunch of problems just for fun. I did some before AWS interview in 2013. After that, I completed a bunch of leetcode problems including […]

Verifying passed arguments partially

Recently, I was working on a project and I missed a case in unit tests. I didn’t want to verify each argument but rather wanted to check if an object has a certain attribute set. In the older versions of mockito, this wasn’t doable. Since mockito 2.1, you can now do argument verification through argThat. Let’s see an example of […]