# Feedback on Computer Science Distilled

Category:

Late March this year, I saw a post by the facebook page named “Code Energy” that the author of a book, “Computer Science Distilled”, will be giving a free digital copy of the book to those who will message him.

I tried to ask the author for a free copy (making the promise that I will buy his second book after I read an excerpt of Chapter 2 published online)

# On Love

Category:

I just read from Colossians 3 (v. 14) that “Love is what holds everything together in perfect unity.” (ERV)

Love is very powerful, I believe. In the past, I even thought to myself that love might be the most powerful force in the entire universe — it can change anything. (Anything does not really mean anything; maybe lots of things?)

But… how to love? That is my question.

# ModuleNotFoundError in a Python virtual environment

Category:

Experiencing this error when you try to execute commands inside your Python virtual environment?

ModuleNotFoundError: No module named '<name of module>'


# Lest I become dogmatic on using TDD...

Category:

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!

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

Category:

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.

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

Category:

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

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"

Category:

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 ).

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?

Category:

Sunday.

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

Category:

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 I’m so lazy!).
• etc.

# On the 48 Laws of Power

Category:

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.