Tuesday, September 15, 2015

Day 41: Express and Socket.io

The stack got better. After spending an hour trying to read through the code I realized that it is set up the same way as CodeIgniter and their MVC framework. I swear, after that realization I brushed through a quarter of the material by the time the evening came. Now I'm caught up to today's lesson: socket.io.

Ever wonder how sites feed users real-time information or how AIM works? Until now most of the information in our sites updated when we hit the refresh button or when the HTTP briefly left the client-side page for the server-side page and then returned to the client page with the information the user was looking for. Imagine refreshing your AIM page every time you want to check if a friend sent you a message? It would get really annoying really fast. This is where sockets come in to the rescue.

I just started reading the lectures and so I don't entirely know how they work; that'll be the task for tomorrow.

Today was sports day and I was looking forward to getting out and throwing the frisbee around for an hour but someone misplaced them and the only ones who could do sports day were the ones who wanted to play basketball. I'm in here all day and I don't work out any longer, making sports day very valuable. The instructors said that they'll make it up for us tomorrow but I'm thinking about holding off until next week cause regardless of my desire to exercise I need to do some work around here. I know another classmate and I were disappointed about not going to the park.

After last week's brutal heat wave the weather is beginning to transition to colder conditions. I've grown accustomed to wearing shorts and having the air conditioner on for the last couple of months and today I had to adjust to the fact that it won't be necessary to be like that. I excused myself for an hour in the afternoon to change into pants. I've also began drinking more coffee and expressos, not just Red Bulls. I shouldn't be doing this but I am really desperate to stay awake. I've done a lot of things since the bootcamp began that I wouldn't normally do under different conditions. I'm going to be a developer after all of this is done, but at what cost?

In the evening VT, RS, AD, and I went out for a couple of hours to study at a coffee bar cause we couldn't be cooped up here any longer. I didn't get much work done on account of the loud music but I was entertained, which was what I needed to get past my caffeine withdrawals. These withdrawals and being confined to the same space with the same people for the last two months really making me irritable. I'm not even this close with my closest friends. At some point we need a few days apart.

After the bar RS dropped AD at his place and we returned to the Dojo. I covered most of the sockets lecture so I'll be spending tomorrow on the exercises. I like the reading but not the instructions it seems. I prefer to get my hands dirty and not waste any time by reading the instructions. It would be easier to just wing things, but I need to remain cautious about my approaches to new subjects here. I don't want to bite off more than I could chew.

VT is on the brink of taking a big bite (whatever that's suppose to mean). In his boredom he browsed ahead of the MEAN stack and discovered that what we are learning and struggling through right now won't mean anything once full OOP gets implemented. It is just like how we spent a week doing procedural PHP in the LAMP stack but once we started CodeIgniter the procedural stuff was quickly made irrelevant. I try to understand and justify Coding Dojo's reasons for teaching us stuff that won't mean much next week but VT can't help but question the way the Dojo's system is set up.

No comments:

Post a Comment