Day 84: RegExp in JavaScript and Some Fun

In the middle of writing this blog post I got a comment on a previous post. I check to see if it’s more spam and… It’s my first negative comment!! So I have got to milk it for all it’s worth LOL. I also worked on some more JavaScript review from “Eloquent JavaScript” and got back to my Binary Tree Horizontal Pretty Print Function.

TLDR;

Okay, so here are the highlights of what I did:

  • Got back to working on my binary tree’s Horizontal Pretty Print function. I resolved myself to just get it done regardless of how ugly or unprofessional my C code is. I am new to the language and I need to prioritize an MVP before a work of art. I worked on the traversal and adding it to my 2-D char array.
  • Finished my notes on the MDN Web Docs on Strict Mode. Started reading chapter 9 of “Eloquent JavaScript” by Marijn Haverbeke. The chapter covers regular expressions which I have a decent amount of experience with. I actually enjoy the syntax and found the chapter to be more of a review so far. A good review nonetheless.

Story Time About My First Negative Comment

Like I mentioned above. As I was writing this post I got an email notification informing me of a new comment that I needed to moderate on the blog. I usually get this email once a week but they have almost always been spam comments filled with links that were likely posted by bots. I always mark them as spam and delete them so they don’t appear on my blog. Anyways… Today I got a coherent comment that addressed the contents of the post. It was great! Regardless of it being negative I appreciate feedback. So here is the comment:

# Unknown User:

The very next time I read a blog, I hope that it does not fail me just as much as this one. 
I mean, I know it was my choice to read through, however I really thought you would probably have something interesting to talk about. 
All I hear is a bunch of moaning about something you could fix if you were not too busy searching for attention.

Now, this was really funny but I also wanted to address the comment. Unfortunately, I can’t put it up on my blog. Although there was a coherent thought present in the comment which was in fact about the blog post, there were also a bunch of spam links included. Regardless, I wanted to write about it since this is special to me. I believe that success comes with haters. That being said I don’t hate back.

This 100 Days of Code blog was setup for a few reasons:

  1. To help me build the habit of writing publicly
  2. To help me build social proof of my coding skills and commitment to self-improvement
  3. To help me get more comfortable producing content online
  4. To ease myself into building my own platform where I can produce an new stream of income

I don’t have any “holier than thou” intentions. This is all for me. If anyone else benefits from what I write that is great! Ultimately, I want to provide value and be top tier at it. I am working towards a future where I am providing services that are valuable to my peers and clients. That being said you have to start somewhere.

I agree with some of what he said. My blog posts need a lot of improvement. I have been thinking about this for a while. Hopefully I can improve but I am struggling as it is to maintain the habit of posting daily. It’s a step-by-step process where some steps are larger than others. All I can ever do is try. Where it lands is outside of my hands. With that said, now that I got some hate I will be trying to step up my game a bit since I’m motivated by haters as much as the appreciators! LOL. So thanks in advance for your time and attention. I appreciate that you gave the post a read regardless of whether you like it.


Goal For Round 6 of the #100DaysofCode Challenge

This is my sixth round of the “#100daysofcode” challenge. I will be continuing my work from round five into round six. I am currently working through the book “Cracking the Coding Interview” by Gayle Laakmann McDowell. My goal is to become more familiar with algorithms and data structures. This goal was derived from my goal to better understand operating systems and key programs that I use in the terminal regularly e.g. Git. This goal was in term derived from my desire to better understand the fundamental tools used for coding outside of popular GUIs. This in turn was derived from my desire to be a better back-end developer.

I have no idea if my path is correct but I am walking down this road anyways. Worst case scenario I learn a whole bunch of stuff that will help me out on my own personal projects.