Day 49, coffee surfing and the secret of happiness

The secret of happiness is imagining BART is going to strike every Monday and you are only told at 10PM Sunday night that, they are actually NOT going to strike. So, you will actually be able to go to work by train tomorrow. Seriously, this is the key to happiness. I think BART finally discovered the solution to Sunday blues and Monday blues.

The f**** BART was going to strike again tomorrow. The carpool was arranged and I even went out and bought a Fastrak. Until 10pm, good news, no strike for at least seven more days!!!! Yeah!!!! The entire house was celebrating and then we realized, this is the secret to a happy life 🙂 Your expectation is so low that you will celebrate for the opportunity to go to work on Mondays.

I did my fair share of working today. Spent an entire day at this place.
Peet’s Coffee & Tea @ Public Market
Address: 5959 Shellmound St #85, Emeryville, CA 94608
Phone:(510) 844-0850

Overall, positive. I paid my cheap coffee rent by buying breakfast with coffee in the morning and another coffee in the afternoon. I hope they don’t mind too much…

Wifi is fast. There are some power outlets. The Public Market has a big food court, and it is just at the back of Peet’s Coffee. Since Public Market has free Wifi too, you should always be able to find a place to sit. Most chairs inside Peet’s were uncomfortable and maybe they did that to keep people from occupying the desk for a long time.

Was fairly productive today. Spent most of my time working on the backend, writing functions to return JSONs for different routes.

I had so much trouble with Sequelize in the last couple days, now everything is just raw SQL queries inside Sequelize. It defeats the purpose of using an ORM, but hey, an ORM can run raw queries, but not the other way around.

With database queries come with callbacks and promises. The q library is neat and makes the code much easier to read.