Author: <span>John Ra</span>

Confirmation bias – the tendency to discredit non-confirmative evidence, or to seek out (actively or subconsciously) primarily confirming evidence – is part of all of us. We all suffer from it, every day. As technologist, we could do better. We should always re-evaluate all the facts and not fall into the traps of our dogma/orthodoxy – what we see or want to see. Rather than reviewing all the facts, we too often hold onto our beliefs. Ask a front-end developer which library/framework should be used for a given project, it’s rarely followed by a question on what the requirements are.…

Rants

Unless you’ve abstained from social networks, you’re probably heard of Wordle or have seen blocks of green, black, and yellow on your social feed. I have to admit, I’ve been caught up on the riptide – even google has acknowledged the popularity of it I tend to stay away from mainstream fad – especially those on social media platforms. I did, however, read the article on New York Times – who later purchased it for 7-figures. Eventually, I gave in and played to see what the craze was about. To my surprise, I was instantly hooked. I was surprised by…

Humor

It’s been a while since I posted an entry – just go ahead and look at the date on my prior post. I don’t even know if blogging is a thing anymore in the world of TikTok. Granted, given how vastness and complex technology space is, I don’t think anyone can do justice on a short video. Look, it’s not like this is my New Year’s resolution or anything like that. Let’s see if I can try to post at least once a month. And yes, I get credit for this post towards January.

Uncategorized

In my original Tetris code base, I started out with a simple RotationController class. As I recall, this was a trivial class with a single shape. However, as more shapes were added, it quickly became unwieldy. Looking back at this code, I want to cringe at my lack of discipline in following proper design principles. On the bright side, I have something to blog about. Chain of Responsibility The chain of responsibility design pattern is known as a behavioral pattern consisting of client objects and a series of handler objects. It provides more than one object the opportunity to handle a request by…

Java Patterns Tutorial

I’ve been planning to write some tutorials on design patterns. I just need to find some time and my day job at the corporate world has kept me busy. I plan to use this code base from a java tetris application I wrote a while back. I’ve done some clean ups – who’s not embarrassed by their old code. Don’t worry, I haven’t completely cleaned it up. After all, the plan is to write tutorials on design patterns that would help improve this code. My first topic, when I do get some time, will be Chain of Responsibility.

Java Open Source