## Not Enough

Do you sometimes feel like you’re not smart enough, not strong enough… not _ enough to do your pursuits?

At what point do you give up? I am so tired. The alternative – not pursuing what I want to do… is worse.

Argh,.

## Naming Things Poorly

computer scientists have a very unfortunate way of naming things. Take S-expressions for example. They’re pretty a fundamental notation method for functional programming. I was re-implementing a variant of it recently, and obviously I named the package sexp Part of the implementation I wrote was that I had a “shortcut” way of representing the S-expressions internally – as slice (called List) and atoms, instead of actually making a linked-list (because child node access was faster, given that most of the trees are static). [Read More]

## On Buying A New Vacuum Cleaner

Just happened.

Her:

Ooh, Dyson is on sale!

Me:

Yeah, no. Dyson sucks.

Her:

Me:

Er, I mean, Dyson doesn’t suck.

Her:

We’re buying a Miele instead. Because Miele vacuum cleaners are awesome at sucking.

## Holy Crap I've Got Abs (Kinda)

In the span of a year, I went from looking like the picture on the left to looking like the picture on the right. This blog post is what I did to get there. I went from 80kg at about 24% body fat to 65kg at about 14-15% body fat. Most of this blog post will indicate a much higher start point (of which I didn't have a photo of), at 87kg and about 30% body fat. [Read More]

## YAGNI

This morning my computer crashed. So I rebooted it. I was in the midst of a project that had a lot of git branches (as I was working on competitive ideas to see which version would work best), and I couldn’t recall which branch I was on. I thought it would be a good time to update my .bashrc file to perhaps add a git status to my bash prompt. Afterall, there are some pretty nice prompt string hacks for git out there. [Read More]

## An Apology

I made a mistake in posting a women-hostile picture on Twitter yesterday. This is an apology. But first, let’s start with a recap.

Yesterday I posted this tweet:

I first saw the picture on /r/funny. And I tweeted the picture after a brief view. I mainly tweeted the comic because I believe that politicking identity issues is generally a waste of time* Politicking of any issue is generally a waste of time, in my opinion. . I had neglected to notice that it came from @AntiFemComics.

This morning, a shitstorm ensued. I woke up and the first notification was from Nick Coghlan:

Upon reading that, I went and re-read the comic. I realize the horror that I have in fact misread the comic. And the issue snowballed on. This blog post will stand as an official apology from me.

## Go Test Files Are Part of the Same Package

Just a quick one. I was working on improving performance for a certain method of mine. I had found the hot loop *pprof is an amazing godsend. The days of dicking around in valgrind or cProfile are long a memory of the past , and I wrote a few benchmark methods to test some ideas. I was using the testing package’s benchmark function to benchmark the methods, and for a method, I had abstracted out some code so that it can run in a goroutine. [Read More]

## Whole Fruit Espresso

I’ve been toying around with new ideas of coffee lately. Here is one that I think went particularly well. It started with red-eyes: you put a shot of espresso in filter coffee, just to boost acidity and body of the coffee whilst still keeping the basic aromatics in the coffee (making espresso kills quite a bit of those).

I then moved on to the idea of making cascara red-eyes. If red eyes were flavourful, perhaps then using the pulp of the fruit will yield a different thing all together? And indeed it did. The hibiscus-y nature of the cascara tea does accentuate the espresso. Then I wondered if I could push it further – what if the cascara “tea” was made under pressure – i.e. espresso?

## Intuitions From The Price Equation

George Price was a rather interesting fellow. A few months ago, I was reading a rather interesting piece about his life from HN. If you follow my blog posts (hello to the two of you), you’ll note that altruism and cooperative games is one of the things I like to blog about.

Following that article, I discovered the Price equation* Funny story. I was quite surprised I hadn't heard of the Price equation, so I hit the books. I found the equation being referenced very very very very briefly in Martin Nowak's Evolutionary Dynamics, and that was all . While grokking the equation, it had suddenly occurred to me that kin selection and group selection were indeed the same thing. It was a gut feeling, and I couldn’t prove otherwise.

I recently had a lot of time on hand, so I thought I’d sit down and try to make sense of my gut feel that kin selection and group selection were in fact the same thing. Bear in mind I’m neither a professional mathematician nor am I a professional biologist. I’m not even an academic and my interest in the Price equation came from an armchair economist/philosopher point of view. And so, while I grasp a lot of concepts, I may actually have understood them wrongly. In fact, just be forewarned that this entire post was a result of me stumbling around.

So, let’s recap what the Price equations look like (per Wikipedia):

Simply put, $latex \Delta z$ is the difference in phenotype between a parent population and the child population. And that difference is a function of two things:

1. The covariance of fitness and phenotype — $latex \frac{1}{w} cov(w_i, z_i)$ where $latex w$ is the average fitness of the population, $latex w_i$ is the individual fitness of $latex i$, and $latex z_i$ is the phenotype shared in the group.
2. The expected value of the fitness of the difference between the group’s phenotype and the parent group’s phenotype.