02 Jul 2017
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)
30 Jun 2017
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.
29 Jun 2017
Experiencing this error when you try to execute commands inside your Python virtual environment?
ModuleNotFoundError: No module named '<name of module>'
27 Jun 2017
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.
26 Jun 2017
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.
26 Jun 2017
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.
20 Jun 2017
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”.
05 Jun 2017
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.
03 Jun 2017
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.
- 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!).
29 May 2017
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.
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? 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!”