Jeremiah Flaga My thoughts and experiences on programming, life, atbp.

Lest I become dogmatic on using TDD...


While reading about TDD, and googling for Steve Freeman’s blog, I came across this post: “Say Goodbye, I won’t be Back”

It is about the Agile movement. The author said,

“People over process” can - and often should - mean: not doing an agile transition at all. Human beings have a right to choose which changes they want to go through and when. There are many valid personal reasons for not doing TDD, not taking accountability and not moving into a common team room. Let’s accept those reasons without being contemptuous and without trying to manipulate. 

That hurts! :sob: :laughing:

How to shrink a disk volume beyond the point where any unmovable files are located


When I tried to reset my HP Laptop and tried to shrink my system partition (C:), Windows 10 did not allow me to shrink it down to 300GB. I was only allowed to shrink it down to about 500GB.

It had this error message:

You cannot shrink a volume beyond the point where any unmovable files are located. See the “defrag” event in the Application log for detailed information about the operation when it has completed.

I googled for a solution and found this article by Mihai Neacsu: How to shrink a disk volume beyond the point where any unmovable files are located

I followed the instructions given in that article and I was able to shrink the system partition (C:) down to 300MB.


How to reset/reformat HP Laptop (with Windows 10) without deleting user-created partitions


First of all be careful before you reset your HP laptop because the HP Help page for this has this warning:

If the size of the OS partition (usually C:) was reduced below a minimum size requirement, other user-created partitions will be removed and stored data will be destroyed.

You should backup your important files before doing the reset.

Code review: the solution to the problem of "WTFs/minute"


I recently wrote about me being a hypocritical Christian because I sometimes cuss (only in my mind, most of the times, of course; but my attitude has greatly improved since writing that blog post :smile:).

Christians are not supposed to cuss, right? That’s what I was taught. Christians are supposed to possess the virtue of self-control. And, I think, cussing is a manifestation of a lack of self-control – lack of love at the very root, of course, because “love is patient and kind, bears all things, endures all things…”.

… in programming

In the programming world, there is this joke that says, “The only valid measurement of code quality is WTFs/minute”.

Am I a hypocrite?



The text of the sermon was Ephesians 4: 1-4 (and Philippians 2:3ff).

One Christian trait that was presented was “lowliness of mind” – not to think of ourselves as being higher than others.

I am guilty of that, I think. Many times, I think of myself as better than others. This is often revealed in my job as a programmer.

Another "one" principle -- The Most Important Design Guideline of Scott Meyers


We programmers tend to be lazy. We don’t want to know or remember all those many design principles or guidelines our masters are trying to teach us.

  • SOLID.
  • Favor composition over inheritance.
  • Separate those things that change from those that don’t.
  • All those design patterns (I only know a few :smile: I’m so lazy!).
  • etc.

On the 48 Laws of Power


A friend told me about these 48 Laws of Power many months ago.

I tried to google for it a few days after I heard about it.

(I already knew about the “friend being envious” part.)

But after reading Law #2, “Never put too Much Trust in Friends, Learn how to use Enemies, I said to myself, “Learn to use enemies? Create enemies if you don’t have one? :open_mouth: Wut!? I don’t want to create enemies! And if someone wants me to become their enemy, I want to distance myself from them! This is nonsense!”

Crab Mentality might not be a Filipino-only problem


A few days ago, browsing through my LinkedIn feeds brought me to this article: “That Crab Mentality”

“It was a year or so when I first moved here that I heard people talk about Crab Mentality. I assumed it was a food dish, but as it happens it is something that is in the Philippines genes, and it is not that pleasant.

“I suppose it comes down to JEALOUSY!” - John Grant

It reminded me, again, about this important thing I learned from “How to Win Friends and Influence People” about ten years ago:

Proverbs 9:17 "Stolen water is sweet. Stolen bread tastes good."


[supposed to be posted last March 16, 2017 :smile:]

“Stolen water is sweet. Stolen bread tastes good.”

Yes! That phrase is from the Bible – Proverbs 9:17 of the Easy-to-Read Version.

If you do not believe me, read it in your Bible for yourself! Or google for it!

Why am I transcribing Uncle Bob Martin's talks?


Why am I transcribing (some of) some of Uncle Bob Martin’s talks? (And some of the other masters’ talks?)

I will not able to read everything Uncle Bob has read and I will not be able to experience everything Uncle Bob has experienced (Also, I don’t want to experience some of his bad experiences. :smile:)