Removing Google Analytics
22 Jan 2020 | technology
Since I first started this blog, I used Google Analytics to track the traffic. Back then, it seemed to be the standard way to track how my blog is doing. I seldomly checked my traffic since this blog is mostly a way for me to document my progress. A few months back I started to use Cloudflare to help me manage my DNS and reduce load times. Then I found out something interesting from Cloudflare. Since Cloudflare sits between the client and my site, it’s able to capture all of the traffic on my site accurately compared to Google Analytics.Read more →
Portfolio Allocation and Rebalance Calculator
08 Jan 2020 | programming
Every month, I hop on to Vanguard to take a look at my IRA account. Since I don’t have automatic investing set up, I manually contribute to my IRA and allocate the money to the specific ETFs that I own. The contribution limit for 2019 was $6,000 so every month I would contribute $500. While manual contribution seems like additional work compared to using a target date fund, it offers me the advantage of freely allocating my portfolio. The tradeoff is that I need to spend around ten minutes every month crunching the numbers for the allocation. To make the process less tedious, I wrote a simple portfolio rebalance calculator for that. In this post, I’ll talk about the rationale behind choosing to do my own allocation and how the rebalance calculator helped me.
Link to Project: Rebalance CalculatorRead more →
Python unittest Assert Methods
02 Jan 2020 | programming
This post contains the assert methods listed in the documentation for Python unittest module. It’s a quick reference so I don’t have to scroll through the docs to find a specific statement.Read more →
Open Links in Same Tab
19 Dec 2019 | web
In all my posts, the attribute I always put in a new link is
target="_blank". Ever since I learned that you can open a link in a new tab, I defaulted to that behavior. I never thought about how I’m forcing my users to do things the way I wanted instead of leaving the choice to them. Personally I tend to hold the
Ctrl button when I click on the new link so I don’t lose track of what I’m current reading. While that’s something that I preferred, that is not the default option that browsers enforce.