Setting up Fathom for all my sites

So yesterday, I was learning about how nginx works and how to serve multiple sites (web apps even) from the same machine at different URLs. I wanted to do this because I don’t know much about nginx so I thought of it as an experiment to try.

So after I got it working, I remembered that back in February, I had tried using Fathom for basic analytics as it’s not as deeply detailed as Google Analytics. So I went ahead and did the 1-click install then I realized that the install won’t work as it’s not available for multiple sites. How did I come to this conclusion? I had missed a step during the initial setup that asks you if you’d like your analytics to be public or password protected, and because I didn’t care about the analytics being public, I selected that. This shortcut me to the end of the setup and I was able to check out the analytics. Then I realized, I could only have one site, and that wasn’t what I wanted.

Well later, 2-3 hours of messing around, learning a bit about nginx and other things, I come to a point where I had multiple instances of Fathom running on a single DigitalOcean box and I came across some issue which I thought was worth googling, this then led me to a Github issue which revealed to me that I was logged out the whole time on my original 1-click install.

So, I turned around and did the 1-click install again. And this all to say that I’m moving away from Google Analytics and trying to use Fathom analytics now. 😊

Bookends update, March 2019 #2

💥📖🌷

I’m standing here at my mac mini, with my head in my hands, frustrated yet laughing at myself. It’s been more than 3 months or whatever since I started working on this project and each time I finish working on a small feature, a bigger issue arises.

A couple of days ago, I rewrote the BookModel which was initially tightly coupled with the Amazon response but I realized I should make it less reliant on Amazon and more on the local cache I had already set up. Well, today, I was working on it and I realized it was so stupid of me to rely on Amazon at all. They’ve throttled my request for book search even though I was making something between 10-20 requests an hour if that, and all while doing development so maybe 200-300 request every week.

Well, I don’t want to just rant about Amazon. I have decided to start using OpenLibrary as it’s available to use and I will just need to update the BookModel slightly instead of rewriting it this time.

Onwards!

If you’d like to checkout Bookends right now, you can go to https://bookends.app. It’s not ready to be used by you’ll see updates from me here and there.

Bookends update, March 2019

📚📈🌺

So over the past few months, I’ve been trudging along slowly to add basic features to Bookends. If you haven’t read of my other posts, Bookends is a project I’m working on by myself to create a book tracking and discovery website. There are many reasons as to why I’ve been making slow progress but the main ones that I’ve noticed, I wanted to talk about in this post.

Node and Expess.js are great for small projects as I’ve built a couple of small applications of some sort with them, an example being the URL shortening service: Go. It was a quick and fun to build but there was something else that I didn’t realize until I continued adding common features in Bookends. When I started adding models and talking to the database, I had to rely Sequelize. But this isn’t a complaint against the tools, it’s mostly the ecosystem, I am often able to find a package for something in node but there isn’t a framework that dictates some sort of standard. Building an app comes one step at a time and one layer at a time with Node.js, unlike in other ecosystems where the conventions come with the framework.

Well, enough ranting about that. I’ve been adding some features to Bookends and I’m hoping to finish the book profile soon to launch the beta for people to try.

A Short History of Nearly Everything by Bill Bryson

I just finished listening to Bill Bryson’s A Short History of Nearly Everything. I started listening to this after finishing his book about Australia called In a Sunburned Country which I wrote about recently as well.

I really enjoy Bill Bryson’s style of writing, it feels approachable to me. Without spoiling much of the book, the book is a high level overview of how “everything” came to be. Whether it’s the book you’re looking at or the audiobook, the length of the book in either case is not long enough to justify he would be able to describe nearly everything. But that’s the caveat, it’s a short history of nearly everything.

I finished the book with a sense of knowing more about some aspects of where the universe came from, how life came to be, and how humans came to be. It’s satisfying to be able to get that information in one place.

I think compared to In a Sunburned Country, I didn’t enjoy this book as much because it didn’t have the Bryson travelogue writing style which I really enjoyed, especially in audiobook form. But still, if you’re looking for a fun to read/listen book, this is a good one!

In a Sunburned Country by Bill Bryson

I recently finished listening to Bill Bryon’s In a Sunburned Country. Narrated by Bill Bryson himself. It’s a fun listen, I haven’t listened to or read books that are formatted like a travel log before so this was my first time doing that. It’s very calming and pleasant to listen to someone just talk about a place they visited and throw in some facts about it. The combination Bryson’s writing and narrating it
himself made the book that much more enjoyable.

I started out looking for a book to listen to while riding on Muni for my short commute. Quickly, I realized that the book is a great summation of facts about Australia’s history and current (or current in 2000) affairs.

The book covers Bryson traveling from the Gold Coast all the around Australia ultimately ending near Perth on the south western coast. He covers a lot of topics I had not thought about, like what’s in the middle of the huge continent or how the people are.

He meets with some friends on his journey who take him to different parts of Australia, some great and some avoidable places. A fact that Bryson mentioned repeatedly, the country is huge. There have been many who have gotten lost in the middle of Australia’s Outback and never returned. A lot of Australia is still unexplored, this is kind of a nice thing, as it seems there are no parts in this world that are unexplored in the 21st century.

One thing I really liked that he covered was the history and status of
aborigines in Australia. Historically and currently, Aboriginal Australians are disadvantaged and often ignored by the Australian government. This has been evident by the misunderstood initiatives that led to things like the Stolen Generations. An inhumane act of authority in which the government started forcibly separating Aborigine parents from their children in an effort to “civilize” them but it led to a lot of orphan children not having a connection with the non-indigenous Australians as well as not really know where they came from. This was happening from 1905 all the way into the 1970s.

An Aboriginal encampment, near the Adelaide foothills, 1854 (By Alexander Schramm)

The situation for Aboriginal Australians has not improved much since the publication of Bill Bryson’s book. You can read more about recent programs that were aimed to change this: Northern Territory National Emergency Response and Stronger Futures policy.

My next book that I’m going to listen to Bill Bryson is A Short History of Nearly Everything. I’m thinking Bill Bryson might be a new favorite to listen to while walking and commuting because his voice and writing go so well together and the books are not too serious and missing a few seconds of something won’t affect what the book has to offer overall.

Being unaware of an economic depression

I’m in Mexico City right now but I can’t keep my mind off of Venezuela. Mexico City is beautiful, food is great, and people are nice but every bit of time I get where I have some time with my phone, I’m reading about what’s going on in Venezuela.

Until earlier this week, I was actually not aware of what was happening in Venezuela and I was, especially, not aware of what has been happening since the death of Hugo Chávez.

If you’re like me a week ago, right now there is an economic depression sweeping all of Venezuela as the government struggles to support its populace with basic necessity like milk, sugar, coffee, basic hygiene needs, and health care. I won’t go too much into details about all of what’s happening, there are better sources for that here:

I am writing this more from a perspective a moderately informed American. I keep up with major news stories and I read into things that interest me beyond tweets and headlines but this one has completely escaped my radar. It’s also surprising that nobody in my circle of friends has posted about it on twitter or facebook. At least that means that there are 500+ people in some capacity who haven’t read or read enough to share about the crisis in Venezuela. I’m upset at myself for not finding out more about this earlier but now that I know, I’m looking for better sources to get familiar with the topic.

From the outside, the Venezuelan crisis looks like any other crises that oil-relying nations go through but I’m curious to find out if there are external influences that affected Venezuela differently than say Norway in the 60s or Kuwait in the 80s.

This does give me something to read more about and learn because I don’t want my blog to be a political opinion blog so I wanted to share this from the perspective that it’s possible to miss out on big news like this and then the best thing to do is to be informed about it.

Getting my bike fitted by Pedro

Today, I went to get my bike fitted by Pedro and I wanted to share some thoughts about the experience.

I affectionally call my red Specialized Allez “Big Red” because it’s very bright red and it’s a beautiful bike. I bought this bike back in the end of 2012. It was my first bike purchase as an adult and I really didn’t know what I was doing. I rode a couple of hundred miles in 2013, then some here and there but from 2014 all the way until May of 2018, I pretty much just had Big Red hanging on a hook in my apartment.

With some help from my friends, big shoutout to Lokesh, I started riding again in 2018! Since May of 2018, I rode about 800 miles which brought Big Red’s total to about 1200 miles. So, more than half the miles this bike has came in the last 7-8 months. In that time, I fell in love with biking again. Most of the miles are from commuting and I did sneak in a few 15-20 mile weekend rides.

All this came to a halting stop at the end of December, with the holidays creeping closer, I was wondering if I was going to continue riding my bike in 2019, I surely was hoping so but I had to stop all of a sudden. This was because my knees started bothering me and I would just be extremely exhausted but not exhausted like a workout but more like fatigued to discomfort. This got me worried and at work some people mentioned that they got their bike fitted by Pedro. So I started looking into it.

Well, today, I had my appointment and I am so happy to say that it made me excited for biking again and I really want to ride my bike more and more now! He went over every detail of riding my bike to show me what things I need to change, what things needed adjustments, and if I could use some upgrades. The biggest adjustments were the saddle height and handlebars’ angle. After each bit of adjusting, I felt more “in tune” with my bike.

He did recommend I try clips and also to get a bike one size up from my I have and that was news to me because I thought clips were only for people who ride 50+ mile rides. And as far as size goes, I was thinking I was actually too big on my bike but after the adjustments, I could see that the bike was pretty much at it’s top end of adjustments to fit me today. Even with the size constraint, his adjustments have made me feel so much more confident on my bike.

Above all, Pedro is a very nice guy and a fun guy to talk to while he’s teaching you about riding your bike properly.

Please do check out his website for more details: https://fittedbypedro.com/

You can also check out my Strava here: Strava Profile

Trying out a new workflow for personal projects

I don’t have any serious personal projects right now because I usually start something small like the following few:

And after starting them, I realize that I got them done in a short spurt of energy but they are not projects I have much consistency with that I will actually keep up with them in the long run. The URL shortener was also a hack that I wanted to try to build in a short amount of time.

But the point of this post is to say that I haven’t really had a space to work on personal projects as I’ve had only a work laptop for the last 3+ years now. Since I left Outbound, I’ve had only a work laptop and it’s fine for small projects but once the project starts to have a database, a lot of assets hanging out in my recent files, and those sort of things, I don’t want it to be on my work computer.

Well, I had mentioned this a couple of times to people and one of those people is my wife. She surprised me with a Mac Mini for Christmas and I just got the computer in the mail today.

It’s the 3.2 Ghz hexa-core version which so far has been blazing fast! I’m excited to get it set up for some larger projects.

Especially Bookends which has been neglected due to the amount of work it takes me to get started with it. So in the coming weeks, I’ll aim to get a beta page up for Bookends and I’ll document the issues I’ve been running into as I’ve worked on it.

Thoughts on the Watership Down series on Netflix

I was writing about Watership Down in the books I’ve listened to in 2018 post, and while doing so I found out that there’s a new Netflix 4-part series available!

The series is split up into 4 parts of Hazel’s journey to find and secure a safe home for himself and his friends.

After reading about how Richard Adams felt about Martin Rosen’s 1978 version of Watership Down on reddit: link, I decided to not watch the movie. I did this because I am very happy with how I felt about Watership Down as a book and the audiobook version is an amazing piece of work to listen to if you want to try something else.

So, when I saw the preview of the Netflix series, I really got excited because it did not look as misinterpreted as the 1978 movie. And I think that was how it turned out as well.

The series does a good job of telling the full story, there are of course some hard to convey emotions and stories but overall, it did a pretty good job of capturing and showing the emotions and stories that the rabbits were going through.

On the differences part, I only noticed a couple which I didn’t mind as much and if you’re someone who likes the series and it’s your first foray into Watership Down, I recommend reading the book or listening to the audiobook afterwards. Three differences that stuck out to me:

  • Strawberry’s character is a female in the series while the book has a male character. As a female, the series adds on a love triangle sub-story which adds a bit of comic relief at times.
  • Both Pipkin and Silver are omitted altogether in the series which did not subtract from the overall story but it did create some scenarios where another member of Hazel’s group took that line of dialogue or part in a fight. I just really like the name Pipkin 😊.
  • The third one is in my opinion a difference because of how a book can be written versus how most visual things are made, there was hardly any real story telling from Dandelion or Bluebell. And when a story was started, the camera panned out and faded out which means you’ll only know stories about the Black Rabbit of Inlé and El-Ahrariah if you go through the book is not bad in my opinion.

Rosamund Pike as the Black Rabbit of Inlé is probably the best voice casting choice and Peter Capadli as Kehaar is so entertaining! I would recommend watching the series as it’s a great winter season watch, a group of rabbits running around finding a new home and fighting strange Elil on their way!

Netflix – Watership Down

Goal setting for 2019

I wanted to talk about setting New Years resolutions and goals in general. I’ve had a realization in the past few years of setting goals and acting on them. Goals that have measurable metrics like weight lost in pounds or number of books read are easy to track but pretty linear. By that I mean, they’re not goals that will require reconfiguring mid year or rethinking about what the ultimate goal is with numbered resolutions. By the end of the year, I forget what the original reason was for the goal and treat it like a timed chore until the winter holidays.

For 2019, I want to set the simplest of resolutions. To be organized and simplify things around me. And as vague as that sounds, I want to explain it in this post.

First, 2018 has been a messy and confusing year for me. From traveling, learning, and working, things had been filled to the brim with unexpected and exceptional things. I didn’t feel as satisfied with some of the trips I took because I felt stressed due to a something happening back home or at work (luckily no major crises). For learning, I kept trying new things without going deep into anything. The good part of that has been that I got to try a lot of new things but I didn’t feel like I mastered anything.

Second, simplifying has always made me feel like I have a better sense of what I want to do and why I am doing it. An example of this is actually this blog. Instead of relying on a convoluted updates process and hard to write posts in Ghost or on my own blog, I decided to use the industry-leading WordPress to blog. This led to less time spent maintaining or updating my blog’s settings and configurations of any kind. It’s almost no effort now because it’s easy to post and fortunately nothing breaks very often.

At work, a recent change I made is to switch from two monitors to one monitor. This is new so I can’t say with a certainty if it’s working out but I’ll post any updates if anything significant is noticed. It’s definitely to simplify but also to be more effective at the current task instead of just being “busy” without being productive.

So just like the above two examples, I want to find more opportunities to simplify in 2019. I believe finding the why is always important as it makes the goal more valuable in terms of what difference it makes in my life.

Cutting down on various interests that only become interests due to short term liking or hype will, hopefully, give me more awareness of what’s around me that I actually care about. Going deep into a hobby, project at work, or just learning something with a better understanding is my ultimate goal for 2019.

Wish me luck.

Top songs for 2018