100 Days of Coding Day 2

100 Days of Coding Day 2

Hello, my name is Rick and I am in search for gig as a developer :)

If you are curios as to what led me here in this realm of coding, learning about new technologies, and blogging; you should check out my first blog where I introduced myself to the world with a gigantic "hello world!" (I think I cleared 800 views on that baby) 😀 Check out my first and second blog as well to find out a little more about my journey.

Early Morning Frustration

I woke up this morning around 3am with a slight cough and could not go back to sleep. So I did what any aspiring developer does, I hopped on the computer to get busy with one of the many things that are on my list for personal growth. The project I am working on, Ticket-Tracker was on the fritz! The last big feature I worked on wasn't working properly while deployed, but seemed fine locally on my machine. Needless to say, I spent the entire morning in and out of the AWS console, and ssh-ing(is that a word?) into the remote server trying to figure out what was wrong. Eventually, after upgrading my EC2 instance, saving new changes to the PM 2 process, and adding new environment variables to my .env file, I had things up and running again. This feature allows me to pick a file from my computer (if less than 160gb), upload it, and attached to a ticket. (mongo schema) The actual data is stored in an Amazon S3 bucket. Want see the feature in action? Check it out below, it's exciting huh? It did take me roughly two days to get everything working properly and a big sense of relief when it was complete.

Gif description

I will share a more in depth explanation of how I did all this in the near future.


Resources for deeper learning

Now that the "coding-bootcamp" is over, I thought it was a wise move to pick up some material about data structures and how to solve advanced algorithm challenges for future job interviews.

download.jpg

images.jpg

download.jpg

These books are jammed packed with tons of information so I have a feeling they will be a good resource for quite some time. Another resource I'm diving into is Colt Steel's course available on Udemy titled "JavaScript Algorithms and Data structures". With so many resources, it is easy to be pulled in many different directions so if you are on the learning path like I am, may I suggest to not get overwhelmed and keep your resources limited. Ever herd of tutorial hell? It's a real thing we should all avoid. Learn by doing!


A brief aside, I feel like crap today but I am pushing through.


CoDeWaRs

  • Sudoku Background

Sudoku is a game played on a 9x9 grid. The goal of the game is to fill all cells of the grid with digits from 1 to 9, so that each column, each row, and each of the nine 3x3 sub-grids (also known as blocks) contain all of the digits from 1 to 9. (More info at: en.wikipedia.org/wiki/Sudoku)

Sudoku Solution Validator Write a function validSolution/ValidateSolution/valid_solution() that accepts a 2D array representing a Sudoku board, and returns true if it is a valid solution, or false otherwise. The cells of the sudoku board may also contain 0's, which will represent empty cells. Boards containing one or more zeroes are considered to be invalid solutions.

The board is always 9 cells by 9 cells, and every cell only contains integers from 0 to 9.

Screen Shot 2022-02-02 at 7.19.34 PM.jpg

My solution:

...

GOOD LORD, am I the only one that has the deer in the headlights look when trying to solve this thing? Yea, so I did attempt to figure this thing out, but after getting nowhere in over an hour, I decided to search for a solution so I can better understand a way to approach this. I found a developer's blog by the name of Eli Cusic out of Nashville that had a well thought out solution.

I think I'm going to call it a day. In the army, they taught us (force fed) how to be resilient and "hunt the good stuff". At least I figured out what was going on with my portfolio and project. Tomorrow is another day.


“Success is the ability to go from failure to failure without losing your enthusiasm.” — Winston Churchill

Much love,

Rick