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

Clean Architecture: An equivalent to one language(?)

Category:

In one of Uncle Bob Martin’s talks, “The Last Programming Language”, and in some of his blog posts, for instance, “The Churn”, he is suggesting that we, programmers, need to choose one or two programming languages that we can use as our one notation for writing code. (He was suggesting Clojure.)

But, at the end of the talk, he said that it might not happen today. Maybe in the future it will — our children (read future programmers) might program using only one (or two) languages for (almost) everything.

I don't know where to go...

Category:

What is the purpose of living!?

Why do we have to live rather than not?

Why is "dynamic programming" called by that name?

Another trivia!

In about 42:10 minutes in Lecture 2 of MIT OCW 6.0002, Prof. John Guttag inserted in his lecture the history of dynamic programming — why is it called “dynamic programming”?

He said that the inventor, Richard Bellman, chose the name “dynamic programming” because

it did not mean anything. The inventor was doing mathematics and at that time, he was being funded by a part of the defense department that didn’t approve of mathematics, and he wanted to conceal that fact…

I finished MIT OpenCourseWare 6.0001! Yehey!

Category:

Why do protestants and/or evangelical Christians believe in Sola Scriptura?

During his lectures on “The Reformation and Fundamentalism History” at Malaybalay, Bukidnon last October 2016, Dr. Phil Kamibayashiyama said that if asked why we, evengelical or fundamentalist Christians, believe in Sola Scriptura, a good answer would be like that of Luther’s:

“… I do not accept the authority of popes and councils, for they have contradicted each other — my conscience is captive to the Word of God …”

— Martin Luther

(Note: Some Christians are celebrating the 500th Anniversary of the Reformation this year, 2017)

Why are they calling people as animals at MIT?

Category:

I was taught, when I was a child, that people are special beings. That they are different from animals. By animals I mean cats, dogs, cows… You know what I mean. :smile:

Why would some professors at MIT categorize people as animals?

What is Recursion?

Why is exception called an exception in programming?

“It is called an exception because it is an exception to what is expected.

Those are the words of Dr. Ana Bell in Lecture 7 of MIT OCW’s 6.0001 course (at 21:50 minutes through the lecture)

Rubber Ducky Debugging

Category:

I just learned[1] that there is an actual term for the technique of figuring out the solution of a programming problem by trying to explain it to a rubber ducky.

It’s called “rubber ducky debugging”!

What is an Explanation? (or What is an Answer?)

How to run single-file C++ code in Visual Studio Code on Windows 10

Category:

NOTE: You should be connected to the internet until the end of these steps

1. Download and install a C++ compiler (if you don’t have one yet installed in your machine).

1.1. Go to www.mingw.org/ and click the “Download Installer” button to download the MinGW setup file.

What made me to stop relying on atheism to save me from the God of Christianity

Category:

Last weekend, a teenager at church told me that he felt kind of uneasy with a classmate because this classmate claims to be an atheist (through some videos he watched online).

So I thought of posting this because it might help others (who will accidentally :laughing: be directed to this blog) who are also struggling about things like this.

So what made me stop relying on atheism to give me reasons to run away from God?

:drumroll:

If the author of "TDD with Python" considers his formal CS education as "bad"...

Category:

While reading Chapter 7 of the free book “TDD with Python”…

A couple more of those lovely f-strings in this listing! If they’re still a bit of a mystery, take a look at the docs, (although if your formal CS education is as bad as mine, you’ll probably skip the formal grammar).

On Rejection

Category:

Being rejected hurts so bad. We sometimes ask, “Why does God allow these things to happen?”

But what if rejection is just part of the normal way things work?

Did God die? Or should it be "the Lord died"?

Category:

I’m confused!

In Cebuano, we often interchange the word “Diyos” and “Ginoo”. “Diyos” is “God” in English, and “Ginoo” is “Lord”.

So when we try to translate “The Lord died on the cross” into Cebuano, we sometimes say “And Diyos namatay sa krus” — In English, that is “God died on the cross”.

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.

computer-science-distilled.png

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! :sob: :laughing:

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.

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.

HP-system-partition.png