Raising Exceptions

Programming Journey Blog

Check me out on GitHub


An Elegant Local WordPress Solution

28 Nov 2019 | technology

WordPress logo

If someone who knows nothing about making websites asked me how they can make one, my answer has always been the same: WordPress. While that seems like the obvious, it’s really the best option for them. I’ve been using WordPress way before I learned to write my first line of code. While it has a learning curve if you’ve never used it before, there are plenty of resources available to help you out. If those resources cannot solve your problems, there are many people who develop and use WordPress that can answer your questions.

Read more →

Basics of Working with Git

18 Nov 2019 | technology

Git is one of those things that I put off learning about even though it’s one of the most useful technology for any programmer. The funny thing about my aversion is that I really thought you can only use Git through the command line at first. I didn’t realize that it has a GUI that you can use without typing in any command. I avoided using it as long as I could and it made my learning experience much more painful.

Read more →

Getting Disqus to Work

05 Nov 2019 | web-development

My blog is chugging along so far but it’s still missing a vital component, the comment section. When I was running my blog on WordPress, the feature was already included so I never thought much about it. After migrating over to Jekyll, I noticed the missing comment box at the bottom. It wasn’t a big deal for me because barely anyone dropped by my blog anyway.

Now that I have some free time to update my blog more often, it feels incomplete. While my blog is a way for me to write about programming, it’s also something I want to share with others. Not having a comment box defeats that purpose. In this post, I will go over the process of adding Disqus.

Read more →

Bisection Search Implementation Complexities

28 Oct 2019 | programming

This post drew from MIT 6.00.1x course on edX. I saw something very interesting in a lecture when professor Grimson compared two different implementations of bisection search. The algorithm for bisection search given a sorted list is:

  1. Pick an index i that divides the list in half
  2. Ask if L[i] == e
  3. If not, ask if L[i] is larger or smaller than e
  4. Depending on answer, search left or right half of L for e

After every iteration, the list is cut in half so the complexity of this algorithm should be O(log n). But as we’ll see, this is not always the case.

Read more →

Frustrating Blue Screens

21 Oct 2019 | rants

Windows 10 logo

It’s a regular Tuesday night. I came back from work, had dinner, and watched some YouTube videos to pass the time. Then all of a sudden, the screen went black and this message popped up:

:( Your PC ran into a problem and needs to restart. We’re just collecting some error info, and then we’ll restart for you.

If you’d like to know more, you can search online later for this error: DRIVER_IRQL_NOT_LESS_OR_EQUAL

Read more →