Rational Treasure: How a few simple tricks can change the way you think

A couple of months back, I published a post about behavioral economics and the various biases in human thinking(the link to that post is right here). But I didn’t stop there. I wrote a whole book on the subject: Rational Treasure.

A few of my readers might be thinking, what’s the big deal? There are lots of books written on behavioral economics, like Daniel Kahneman’s Thinking Fast and Slow, or Richard Thaler’s Nudge. But my book is unlike those books, for three main reasons.

The first reason is its simplicity. The target audience for this book is kids and pre-teens aged 9-14. Nobody has ever written books on behavioral economics, or market economics for this audience, which is why I want to be the first. But this book isn’t just for kids. If you’re getting interested in behavioral economics, but you’re intimidated by the current material on the subject, Rational Treasure is a perfect starting point.

The second reason is that instead of being completely non-fiction, the book follows the story of two characters who discover an ancient map to lost treasures. But as they try to find this treasure, the two learn the many faults in the human brain, as well as how to avoid them and how to exploit them.

And the third reason: it has comics!

In case you were wondering who those two are, the one on the left is Ike, and the one on the right is Hugh. And there’s one big difference between the two of them. While Hugh is just a regular, standard, coffee-loving human, Ike is a different species altogether: an economist. And as the two of them progress on their adventure, Hugh falls prey to many of the biases in human thinking, as you can see.


Overall, Rational Treasure is a great book for anyone who’s looking for an introduction to behavioral economics. But don’t take it from me! Try reading the book yourself, and comment down what you think of it(buy it over here)!

PS: Before publishing this post, I went to a local Christmas market to sell my book, and we sold out completely!


Marijuana: Should it be legalized?

Recently, there’s been one topic that my friends and I could never agree on: legalizing marijuana in Canada.

You could probably guess what their arguments are:

  • Drugs are bad!
  • Drugs kill people!
  • Everything’s been going fine now, why change it?

And while those are some quite valid, logical, arguments, the truth is much less simple.

Just to be clear, I agree that it’s unhealthy to smoke marijuana, just like nicotine and alcohol, and that nobody should do it, this is just my opinion on whether or not it should be legal.

Let’s start by comparing numbers: Around how many people are killed from marijuana overdoses every year? What about every day? The answer to both those questions: zero. There have been no reported deaths from marijuana use alone.  Let’s compare that to alcohol, which is immensely popular, and has been legal for a long time: About 30,700 Americans die from alcohol every year. Alcohol is also more addictive than marijuana. According to a study of 8,000 adults, 9% of people who have tried marijuana became addicted, while the figures for alcohol are 15%.

So why then, is alcohol legal and not marijuana? Well, alcohol wasn’t always legal. From 1920 to 1933, alcohol was prohibited in the USA. So the number of deaths must have gone down, right? Wrong. During prohibition, alcohol became a black market commodity. Bootleggers like John Torrio and Al Capone profited from the sale of illegal alcohol, and many were killed due to organized crime and police brutality. The worst part is,  alcohol consumption was hardly reduced, due to how easy it was to get illegal alcohol. The exact same thing is happening right now with marijuana, but on a smaller scale. Even worse, the ban on marijuana means less access to medical marijuana, causing even more deaths!

Fortunately, Canada is about to legalize marijuana, and while my friends might not realize it, save hundreds of lives.

PS: Sorry I haven’t posted in a long time, I ‘ve been busy writing my book, which will be published soon(post on that coming up!).


Do incentives really work? Exploring behavioral economics

In our class, our teacher gives us the opportunity to study our own topic. For my topic, I chose economics. at first, I wanted to study market economics, but I quickly realized that there was a much more interesting field to dabble in: behavioural economics.

Regular economic theory suggests that all humans are 2 things: incredibly rational and incredibly greedy. Most economic ideas are built around this concept. However, the field of behavioral economics challenges that claim, saying that humans aren’t as rational as we assumed. For example, suppose you’re at the store buying a new case for your phone. There are three cases on the shelf:

A low-quality case for $1



A medium-quality case for $5



Or a high-quality case for $10

Most likely, you’d buy the second case, because it’s not as bad as the first one, and not as expensive as the third one.

Now imagine that same scenario, except when you go to the store, there’s a fourth case on the shelf. It’s a high quality, waterproof, gold plated case, which costs $50.

There’s no way you’re going to buy that! Sure, it’s really good, but you can’t even afford the thing! That $10 case is looking really good now. You might not even know it, but in the second scenario, you are likely to buy the $10 case, and in the first scenario, you are more likely to buy the $5 case. Imagine how much power the person arranging the shelves has over you and other customers! Just by placing an expensive case on a certain shelf, they can make customers pay more than they usually would!

This proves that humans aren’t as rational as standard economic theory suggests. There are many more examples of this, including an experiment that I, myself conducted, using my own class as subjects.

I told my entire class that I needed to do a survey for my research. But instead of a survey, I handed everybody a word search puzzle and told them to find as many words as possible, in the span of one minute. However, there were three different sheets. One sheet asked them to do the word search and didn’t offer any sort of reward. Another sheet offered them a small Starburst candy as a reward for attempting the word search. And the third sheet offered them a large Mars bar for attempting the word search.

I collected the sheets of each person(after giving them their reward) and compared their offered reward to the number of words that they found. After I laid all the data out, what I found was surprising. Those offered no reward did the best out of everyone on average. And those offered a high reward, the Mars bar, did the worst out of everyone on average! At first, I was completely baffled by this outcome. Normal economic theory suggests that work should increase if the reward increases! However, normal economic theory was devised during the Industrial Revolution. At the time,  most people worked in factories, and their day job would be to do one thing over and over again on an assembly line, like hammering in nails over and over again or drilling in screws over and… you get the idea. Doing work would require absolutely no mental effort at all.

Now let’s go back to my word search experiment. A word search is quite different from a job at an assembly line because you do have to put some mental effort into finding words. For mindless assembly line work, incentives and rewards help one focus on the task at hand. But for even the slightest of cognitive tasks, rewards constrain one from thinking critically and therefore decrease the output of work.

The thing is, most white-collar work nowadays isn’t mindless assembly-line work, but software development and financial work. These, like the word search, are cognitive tasks, and in theory, should be hindered by rewards. So maybe we need to change our economic thinking, to better adjust to these findings.

Game Update: Finally Finished (for now)!

It seems that I have not posted a game update in a long time, despite continuing to work on the game. In fact, I haven’t posted many game updates at all since the project started. But, I have now finished the project! Well, by that, I mean I have finished the IDS project. But the game will continue development as I add more updates in the long run.

To play the new and improved game, you can click on this link.

But for now, let me sum up everything  I did for the project since the game’s first release.

I added sound effects into my game. I learned a new library called p5.sound, which adds sound effects to p5.js Now, every time you get a new notification, a ‘ding’ sound is played. When a virus attacks, a dramatic ‘dun dun dun’ sound effect is played. There are more sounds that I added and more sounds that I will be adding in the future.

I created a system which lets users create accounts and save their best scores on my game. To clarify, users are scored on how much time they can stay alive in my game. Since my game is on a Rails website, I can create an account service, in which users save their scores. On the game over screen, it shows your time alive and your best scores.

I created a new task and a new protein for my game.The new task is about a wave of radiation which hit the cell’s nucleus, damaging its DNA. To survive it, you have to create a gene regulator protein, which costs more resources than a DICER enzyme. But if you don’t, it’s only a matter of time before your cell dies.

I added a new clause into my game: your ATP decreases over time. In real life, a cell is constantly using ATP to keep itself alive. Now in the game, your ATP decreases by 1 every second, and if you have 0 ATP, you die.

I added tutorials to teach players my game. They are in the form of popups which appear when the player needs to do something he/she hasn’t done before. So far I have made tutorials to explain:

  • the purpose of the game
  • how to collect ATP
  • how to fight viruses
  • how to fight radiation
  • how to recycle resources

I will continue making more tutorials as the game continues to be updated.  

Even though my project is finished, I will continue making updates, and I promise I will post game updates to my blog more frequently in the future.

The Rohingya Crisis And My Thoughts On Religion

Recently, Bangladesh has seen many refugees come from the neighboring Buddhist-majority country Myanmar. These are Rohingyas, the Muslim minority in Myanmar. Recently, a few Rohingyas started a militia to fight against the Myanmar government. Though the militia is gone and the government is welcoming of all Rohingyas, the army continues to attack them out of xenophobia, despite having to go against the government. Now, Rohingyas are trying to flee to the neighboring Muslim country Bangladesh. The strangest and most worrying thing about this crisis is that many of Myanmar’s army follows Buddhism, a religion that practices love and tolerance for all people, including those of other religions! It’s absurd! And I’m not the only one who thinks so. The Dalai Lama tweeted on the matter:


For almost as long as religion was in place, there has been the problem of religions coexisting together. This problem has caused wars, segregation, and hate. Why all of this violence if all religions practice peace and love? Because almost no religious scripture tells of how to deal with those who do not believe in it. The Bible only applies to those who believe in it, so its text makes no note of those who do not believe in it. This same rule applies to every other religious text. Therefore, when religious people are faced with the reality that their religion is not the only one, the natural response is: we are right and they are wrong. Violence and terror all spawn from this response to the problem of multiple religions.

The truth is beyond all the legends, prayers, traditions, dressing, etc, all religions preach the same ideas. They all preach to do good and be kind to others. In this sense, there are no bad religions, but only bad people who misinterpret the religious teachings, or use them as a way to rally the masses.

This does not mean you cannot peacefully criticize other religions. After all, a religion is simply an idea about something. If I told you that I worshiped the Flying Spaghetti Monster, you would act as if you had all right to criticize my belief. Yet if I told you I was Christian, you would act as if you were obliged to respect my ideas. In the end, there is a fine line between a silly-looking cult and a legitimate religion, so all ideas should be treated the same way: you can think what you want, and nobody can discriminate against you or physically harm you for what you think, yet everybody has the right to criticize what you think, and you have the right to criticize what everybody else thinks.


Game Update: First Version Released!

It’s been a really long time since I posted a game update, and in that time, I managed to make a fully functioning game for all to learn and enjoy. In fact, you can play it right now with this link.

I figured I should give you some brief instructions on how to play, so here they are.

The premise of the game: You are a single-celled organism trying to thrive and live as long as possible. Unfortunately, nature will throw many obstacles at your course. As players overcome these obstacles, they will learn how cells function in the real world.

First and foremost, you should watch the notification area on the left of the screen. It will tell you when important things happen in the game, and is key to surviving long.

Getting Energy:

The first thing a cell needs is energy. This comes in the form of Adenosine Triphosphate, or ATP for short. It makes it in the mitochondrion(seen above) by burning glucose in a chemical reaction. To get ATP in the game, click the mitochondrion, which opens up its menu. On the menu, click the green button which says Burn Glucose. This will give you 40 ATP and subtract 20 Glucose. ATP is needed to create proteins, which are what get stuff done in the cell, like fighting viruses.

Fighting Viruses:

When your cell does get attacked by a virus, a box will appear in the top-right corner showing you how many viruses there are. The number of viruses will multiply every 5 seconds, and when they hit 1000 or over, your cell bursts open. To stop the viruses, you have to kill them with proteins called DICER enzymes. You make proteins inside the menu of a nucleus. When you click on the nucleus and open its menu, you will see a green button which says ‘Create Dicer Enzymes’. When you click this button it will create 5 DICER enzymes. Each DICER enzyme kills one virus. To make a protein, a cell first needs to encode the instructions for making it through RNA, which needs nucleotides to make. The actual protein is made from amino acids. In the game, making a protein like DICER enzymes subtracts from your nucleotides and amino acids. But if you defend yourself from a virus attack, you get some resources in return.

Earning Resources:

There are many ways to earn resources in the game, such as defeating viruses. One way is to enter the menu of the Golgi Body(shown above).  This will show you 3 buttons, each with the names of a resource. In real life, the Golgi Body recycles all the free-floating resources in a cell to perform other tasks. In the game, clicking on any of the Golgi Body’s buttons will give you some of that resource, but you have to wait sometime before you can get more.

I hope you enjoy the game in its current state. I will add more features into the game, such as more challenges for players to face. My hope is that players will learn more about microbiology while playing the game. Remember to follow my game updates for more information.

Game Update: Large Edition!

There has been a lot done since the last game update. For one, I am no longer creating graphics with d3.js. Instead, I have chosen a game library, p5.js, so that things like collision are easier to program.

I have also been reading my textbook, Essential Cell Biology, a lot, and I’m already on Chapter 8.

I’ve decided that every time I  read a new chapter, I will publish a new post explaining something interesting I learned from that chapter. However, since I read 5 chapters of the book and no post, I’m going to have to stuff a lot into this post. Enjoy!

DNA makes RNA. RNA makes proteins. Do proteins make DNA?

Well, they don’t make DNA, but there are enzymes which hold DNA together and make sure it doesn’t mutate. But certain mushrooms of the amanita genus contain chemicals which break these enzymes, meaning that clumps of cells will no longer be able to function. This causes large amounts of brain damage, muscle fatigue, and organ failure. Doesn’t seem like a good salad topping.

So why is DNA a double helix?

Why is DNA double helix, and RNA isn’t? The answer lies in one of the main functions of DNA: copying. DNA’s double helix shape allows it to copy itself.

How? In a DNA strand, there is one string of nucleotides, labeled A, T, G, and C.  But remember, it’s a double helix, so there are two strings of nucleotides. The first string matches up with the second one: A to T and vice versa, G to C and vice versa. When it’s time for DNA to copy, its double helix unfolds and the two strings split apart. Then, nucleotides come in and make new DNA strands out of the separated strings. How? A nucleotides floating around bond to T nucleotides in the string.  T bonds to A.  G bonds to C.  C bonds to G. Just like that, two DNA strands are made from one.



How cells produce energy

A lot has happened since I last posted an update on my game. I figured out how to create draggable objects in d3.js, and I’m learning about collision detection to create the nucleus-ribosome transfer. But programming isn’t the only thing I’ve done for this project. I’ve also been reading a textbook called “Essential Cell Biology”, and I got the idea to share some of the information on my blog.

Cells are more complex than any man-made machine, yet they are smaller than anyone could imagine.  They support all life, yet each one is tiny compared to the size of the organism it supports. The cell is such a remarkable thing, able to do things way beyond its petite size. But, how do cells power all of their functions?

As you already know, the human body gets its energy through eating. But what happens to all those molecules inside the food? Well, they go into the cell’s mitochondria. Before we go on, I actually want to mention that mitochondria were once independent single-celled organisms! These early prokaryotes which mitochondria descend from were the first organisms to find an efficient way to produce energy. At some point, these organisms were swallowed up by eukaryotic cells through a process called endosymbiosis, and they evolved cooperatively over time, with the prokaryote becoming a new organelle and the eukaryote evolving to use the energy the mitochondria provides.

Now, what happens in the mitochondria? Well, a ton of complex molecules like carbohydrates and sugars all go into the mitochondria which constantly rips them apart and mashes them together until they generate enough of a special molecule called Adenine Triphosphate, or ATP for short. ATP has a special structure which allows it to power organelles such as the ribosomes, which generate proteins which perform functions all around the cell and the rest of the body.

A better system for choosing voters?

The past few days have been pretty ‘exciting’. Donald Trump has just been inaugurated to be the president of the USA, and he’s made tons of changes already(None of them very good). I keep thinking, so many people who voted for Trump made bad choices for not only themselves but their entire country! I mean, just because 2/3 of a country is unwise with voting, the other sensible 1/3 is being taken down with them! Imagine there was a cliff, and a few idiots were constantly grabbing other people, then jumping off the cliff. Won’t you hate that? Well, that’s what voting is, having people push you off cliffs.

Fortunately, I have a solution.

Behold, the Intelligent Voters course! This online course will help you vote for who is truly the candidate right for you and your country. This course will guide you through the basic principles of politics, like what tariffs really mean, and what it costs to be deported. When you finish this course, you will have a clear view of what candidates are really saying, without commercial-like campaign tactics muddying your choice. If the government agrees, taking the course will be mandatory for voting. Going back to our cliff analogy, imagine this course gating the life-ending cliff.

Is this course biased? You might think that at first, but I am not letting this course become official until it has been looked over by multiple parties.

Who can attend this course? This course is open to anyone, even if you are under 18. And yes, if you are under 18 and you pass the course, you will be able to vote, because why decline a voter if they can make clear decisions.

Okay, so I’m not actually going to establish a course like this(mostly because my country doesn’t need it, being Canadian). But it is a good idea and for anybody willing to reform our old system of democracy, I suggest this.



Game Update: Using d3.js library!

I’m sorry I didn’t post any updates on the game(or anything at all). I’ve been really busy lately, with school restarting and all, so I haven’t been able to find time for this blog.

Well, for the first post in about 23 days, I bring to you a big update for the game, in 5 characters:


Wait, what? d3.js? What is that? Well, it’s a function library for javascript to help create data-driven documents. Sounds boring right? Well, you’ll change your mind when you see what d3 can do! Imagine rainbow worms, interactive graphs, digital world maps, even web games can be made with this library!

I’ve already gone to the point in my game where I need interactive graphics, and that’s exactly what d3 provides.

Right now I’m still learning the way it works, and I made a few sample programs with it on my website. I’ll be constantly adding links to my new programs onto this post, so stay tuned!

For a colorful spin on a sine curve, click this link.