January – April 2012 Reading

This is another one of my updates that looks at what I’ve been busy reading. It’s becoming more and more apparent to me the importance of exposing oneself to a wide and diverse set of literature. I’ve read that one should try to keep up a pace of a book to week, which leads to always having more fresh ideas, and prevents the staleness of the grey cells. I grew more fond of fiction also. I was a large proponent of non-fiction books, such as self-help, how-to, or biographies, and mostly dismissed fiction as a waste of time. Now I am finding out that from well written fiction, you can gain learn and gain life lessons more than from self-help/how-to books. I believe that the plot of a fiction book is something more realistic for us, something that we can relate to more and hence learn, than itemizations of what one should that are so prominent in many how-to books. In a fiction book, you can relate to the character, imagine the story is real, and feel the pain and happiness of the characters, and try to see how you would act in such and such situation. Many self-help/how-to books are too ‘dry’, and the given examples are short, and usually forget by the time we finish reading the book.

Quiet: The Power of introverts

Maybe I decided to read this as a form of self-validation, as after my many experiences of group work at university, I’ve learned to loathe it; but my experiences of group work at university are a whole another story, maybe for a different article.

Susan Cain, an introvert herself, tells us of a society where extroverts are praised and their qualities desired, while in fact, more creativity, output, and intelligence stems from introverts. It is the extrovert who is given the chance, in the eyes of the world becomes succesful, while the shy and reserved suffer for no apparent reason. Cain tells us of multitudes of studies showing that many times groupwork, when executed poorly, is inefficient – a brainstorming session in a group led to less output than when the individual members were asked to work by themselves, and then collaborate and merge their ideas. Many meetings are pointless, and the shout of the extroverts with poor ideas deafens the audience to the more intelligent remarks the reserved people usually have.

I would advise everyone to read it – extroverts to gain an understanding of the dichotomy, and introverts, to see what they can do to have their ideas heard. I am certain you will find a way to benefit from it.

Flow: Theory of optimal experiences

I read it as part of recommended reading for a course on computer game design. Mihaly Csikszentmihalyi is a Hungarian psychologist, and an expert on creativity, and flow – the ‘theory of optimal experiences’. You might have experienced flow – it is the feeling of utmost concentration, connection to your current task, disregard for anything else such as your surroundings or passing of time. Reaching this ‘flow’ is very beneficial – after such an episode, you will feel very rewarded, and happy from the achievement.

The book teaches you what exactly this feeling is, how it’s achieveable, and what the effects are. Do not think that this is a layman’s book written by some self-help guru. The claims are substantiated, and at times the work reads more like a research paper than a manual for the masses. Hopefully, after having read it, you will be able to find more meaning at the tasks you do, or try and find tasks for yourself that are able to create flow.

Ishmael

The titular Ishmael is a gorilla that holds conversations with the narrator. It explores the “myth” of human supremacy. We see how humans believe to be the most important on this world, how we take up land or kill other species. Daniel Quinn, the author, looks at the nomadic way of life that was prominent before the introduction of agricultural methods, and explores whether our move to a sedentary and agriculturural (and later, productionist, such as steel) lifestyle, was of benefit, not only to us, but to the rest of the inhabitans of this planet.

Highly philosophical novel, it’s written in dialogue form, for me, resembling a discussion such as those between Simplicio and Salviati in “Dialogue Concerning the Two Chief World Systems”. I have read the book from recommendations on reddit, and I don’t say I regret it. I have had personal ideas similar to those expressed here, after reading Ted Kaczynski’s “Technological Slavery”. There, we also look at nomadic lifestyle, and the destruction to earth we, as a race, are bringing. I sometimes try to imagine what it would be like if the events from “The Day the Earth Stood Still” really took place, if we were faced with imminent destruction for our behaviour towards the environment and other inhabitants of Earth. As an introduction to such ideas, I would recommend “Ishmael”, along with “Technological Slavery”, and watching “The Day the Earth Stood Still”.

How to Win Friends and Influence People

The classic self-help book by Dale Carnegie. Thorough, with many examples – I am very everyone will find something that to aid them in social interactions in a world where interpersonal communication is such a valuable skill. At times I thought the usage of the techniques mentioned might make you think you are an egoist – you are applying said techniques usually for a personal gain. Is that what friend does ?

The Richest Man in Babylon

Another classic that by the use of parables, tries to teach us very simple maxims that lead to more money for you. Simple things, such as always put away at least 10% of all your earnings, think of the future, and put your money to work. No revolutionary ideas, or get-rich-quick schemes, but a very useful fiction book that will hopefully help many in their road to riches, or prevent others from falling into bankrupcy.

Hunger Games Trilogy 1, 2, 3

As you can imagine, not the height of literature, but the storyline was nevertheless interesting, and kept me reading, even though I knew I would not get anything out, or learn anything from the book. I was correct, no life lessons were learned. I decided to read it from the mere fact that it became so popular and I wanted to see what the fuss is about, and secondly because I wanted to see the movie, and it’s only fitting to first read the book and compare to the moving picture. The three books put together amount to around 1000 pages, but you should be able to read 1 book per day, and finish it quickly – it’s a very easy read.

The story is that of Katniss Everdeen, a teenager in District 12 of Panem, a collection of 12 districts where life is hard and rules strict, and the Capitol, the center of Panem, where rich inhabitans indulge themselves in all forms of pleasures; they also all look as if they were taken out of Wonderland. Each year, the Hunger Games are held – a teenage boy and girl are selected from each district via a raffle, and are force to battle to death until only one remains. All this is televised, and enjoyed by the citizens of Capitol, while the people in the districts watch with fear whether their children will be the one to surive.

The first part of the trilogy was the best. The second book moves at snails pace, and in the third one, you can’t even tell that the main character is actually required, and she seems very secondary to the again slow moving action. If you want to see what the fuss is about, by all means spend 3 afternoons reading this trilogy – you will have a good time, but don’t expect literary heights.

Brothers Karamazov

Probably the most serious book to date I have read. Very well known, it is the last novel of Fyodor Dostoyevsky. I decided to have a go at it after hearing from a friend that it was one of the favourites of Einstein.

The story takes place in old Russia, and concerns three brothers: Aloysha, Dmitri, and Ivan Karamazov. You are taken on a (rather slowly moving) journey of the problems encountered by the three brothers. The book has everything – all possible human emotions (I’ve read somewhere that if you want to read only one fiction book, it should be this for this reason – it encapsulates the themes of so many other novels). We see jealousy, hatred, love, hate, sympathy, grief, fear, panic, etc. Even though the story is 800 pages long, and sometimes it seems that nothing is happening for pages on end, it is a very rewarding novel. After reading contemporary young adult, easy books, like Hunger Games, you appreciate the intricacies of Brothers Karamzov, and the titanic skill needed to write something of this calibre. I am sure I did not grasp many of the points Fyodor was trying to make, especially in the more difficult passages like The Grand Inquisitor, or the time Ivan imagines meeting the devil, but it nevertheless, to the journey through the book was rewarding and satisfying. I recommend it.

The Class

The novel follows the life of five different people, from the time they enter Harvard as eager freshmen wanting to change the world, to their graduation anniversary 25 years later. We have an eager pianist wanting to reach the top of the world, a Hungarian immigrant who wants to join to the highest ranks of the White House, a hard working Greek dedicated to study of the classics, a sporty blonde gentleman who conquers others at tennis and squash, and finally a son of an aristocrat, who is trying to find out his part in this world. Personally, I read this at a very appropriate moment – I am currently in my third year of university, and seeing the stories of fresh graduates unfold before my eyes, showed me the various different life paths people take, and the dificulties encountered along the way.

I found some motivation in the book. Most of the characters are phenomenally motivated and hard working. Danni Rossi, the pianist, practices piano every waking moment. George Keller, the Hungarian immigrant, who speaks no word of English when entering the US, is able to learn it in 3 months by studying, reading every New York Times from cover to cover including classifieds. Another character claims he has not seen him sleep. Seeing exhibitions of such hard work, I look at myself, and the time I misuse, with contempt. After graduating, the book looks at the next 25 years in each of the characters lives. There is happiness, disappointment, sadness, success, revenge, lust, love, among others. Each characters has his own adventure, and you can find many themes and messages, but for me, considering the love and family struggles all the characters go through, one of the main messages, would be “happiness is only real when shared”. I hope to take at least this out of the “The Class”.

The novel is long, nearly 600 pages, and some editing, cutting out some subplots/substories could have helped reduce the size. Still, I highly recommend it, especially for people still in university, or fresh graduates, all unsure and scared of the paths life will take them on.

Conclusion

Again, thank you for getting through all these short reviews. If you have any comments, regarding either content or style, I would be happy to hear them – please leave a comment below.

Posted in Uncategorized | Leave a comment

Twitter Augmented News Generator

I would quickly like to display the conclusion of a group project I did last term at university. Right away, I will say that this was a joined effort between me and 4 other students. I myself contributed to the backend of the project.

‘Twitter Augmented News Reader’ is a web application that quickly allows you to display news fetched from the Google news RSS feed, along with relevant tweets from Twitter, and the sentiment of those tweets.

The project is currently available here, although the background processes are shut down and the news are outdated. Here are a couple of screenshots of the finished product:

If you would like more information on this project, here is a link to the final report that discusses the project in more detail.

Posted in Programming, Technology | Leave a comment

Holiday 2011-2012 reading

This winter break, I have made it a promise to myself to catch up on reading on some books I’ve been wanting to read for some time. That goal was achieved, and I’ve read some interesting books I would like to share with you. Beforehand though, I would like to discuss Goodreads, and the Amazon Kindle.

Goodreads is a very good book tracking service that I was recently showed by my friend. If you would like to see my up to date reading, here is a goodreads link! I encourage you to make a profile yourself. As Peter Drucker said, “What gets measured, gets managed” – if you keep track of the books you are reading, and show this off to your friends and the world, you will have a natural inclination to read more and fill up your profile. Goodreads allows you to have a detailed a view of books/pages/whatever read per month/year, or any imaginable combination. Just looking at those charts, you want those numbers to get higher and read more books! The ability to see what your friends are reading, makes reading, an activity that’s unfortunately declining in popularity giving place to mentally debilitating glowing square rectangles, a social experience! If I see a friend of mine is reading with a certain frequency, I certainly don’t want to be worse, and try to catch up! While a very good service, Goodreads, for me, is more a means to an end – a tool to “measure” and thus “manage” my reading habits, and get me to read more books!

In the above paragraph I bash on glowing rectangles and the dumbing effect they induce, yet all the books that I will discuss today, I have read on a marvel of technology, the Amazon Kindle. Let us discuss the difference between the Kindle and other currently available gadgetry. While holding an iPad or an iPhone, you can see that what you have is a huge technological advancement, allowing you everything from playing games, checking email, watching videos, or wasting time in a variety of methods – all on a small glowing screen on a device that fits into your pocket. Such devices introduce concepts unheard of 10 or 20 years ago, such as the aforementioned 24/7 access to streaming videos on a device in your pocket. While I love my iPad and iPhone and find that they have become ubiquitous in my daily life, that in a way, I’m robbed of my time by trying for the 100th time to complete the very last challenge on Tiny Wings.

Now we introduce the Kindle – a device that provides a paradigm shift in a concept we are already familiar with, that is, reading of written text. We’ve been producing and consuming written text for hundreds of years, and all the Kindle does, is it utilizes modern technology to provide a change in how we do this specific task. This is unlike many other devices, which create new use cases for scenarios unheard of before. Before the Kindle, I bought an iPad, and one of the reasons I justified the purchase to myself, was “I will read more books”. Surprisingly, this worked, and I read around 20 books on the iPad – it has changed my attitude to reading, and educated me a fair bit. But just around a month ago, I purchased a Kindle, and was totally blown away by the device. At a weight of just around 200 grams, you get to store and read the knowledge of around a 1000 books. Imagine what that would weigh, and how much space it would occupy. I believe that a large part of the reason why I haven’t read much before the iPad/Kindle, is the sheer annoyance of a physical factor book. You have to either order it online, and wait for a couple of days, or physically go to a shop, and hope that it’s available. After that, you have a large book, which is a pain to carry, move, or take on holidays, especially if you want to take ten or more books! I believe that education is the most important endeavour we should thrive for, and the Kindle brings literary education to people who were beforehand reluctant to it. Today, I go on the tube in London, and see many people staring at their Kindles and extending their literary education. You obviously still see people sitting in their Dr Dre branded headphones listening to rap and blankly staring at air molecules, but I am very happy to see that along with me, Amazon is changing not only the reading paradigm, but also the reading quantity – for just 89 pounds, you have a world of books open to you.

The Kindle, with its natural screen and only one feature, reading books, does not feel at all like a mental burden (which all the smartphones feel a little like). It is the Kindle which kept me reading over the holidays. If I wanted to bring all those books in paperback, my luggage would most likely consist mostly of paper! If you don’t have one yet, I encourage you to get a Kindle. Now, I’ll quickly discuss and write a brief note on each of the books I’ve read these holidays.

LSD: My Problem Child

I haven’t read the full biography of Steve Jobs yet (I’m midway), but from what I’ve read, and from some articles online I’ve seen, Steve Jobs was a proponent of LSD and other psychedelic drugs. I have seen him quoted as taking LSD being “one of the most important decisions in his life”. Doing some ‘argumentum ad verecundiam’, or argument from authority, I thought what better way to learn more about the development and influence of psychedelic drugs, than reading the memoir of the inventor of LSD, Albert Hoffman. If you are not interested in the fact that LSD is an ergot alkaloid, or in general the chemistry of it, you can skip some initial parts which go into quite a bit of detail on the chemistry behind it, and how Albert’s research on ergot eventually managed to produce the potent LSD-25. The reader gets a very interesting account of the first time LSD was ever used – the time when Dr Hoffman accidentally ingested a minute amount of LSD, and went home on a bike with his lab assistant, having hallucinations along the way and all night long – thinking that the neighbour is an evil witch among many others.

Albert then discusses some more history of LSD, and other psychedelics such as mescaline. We hear some more stories of people ingesting such psychedelics and their experiences. It was in general a very interesting account of the history and influence of LSD on the world. Next up on my reading list in this category is Huxley’s ‘Doors to Perception’!

The Prince

A well known work by Niccolo Machiavelli, and read as part my plan to get more acquainted with the classical and older books. The books discusses the many ways a ‘Princedom’ can be ran, and many effective ways of doing so. I have seen comments regarding how the book encourages tyranny and dictatorship, and there is some truth to that. You can feel that, even when democracy is discussed, the author is still mostly concentrated on how this provides a better princedom in the view of the prince, and not in the view of the people. In way, democracy was portrayed more as a means of control by the prince, and of keeping the populace happy.

Even if you are not interested in such political books (I’m not particularly interested), I would still recommend reading this relatively short piece.

You are not so smart

A non-fiction book discussing the fallacies our brains fall prey to, such as believing we can actually remember past events down to minute details, or many of us fail at a simple logic game. Even though I was aware of many of the mentioned topics, I still found it quite interesting. If you would like to learn a bit about human psychology, you could spend an evening with this book.

Of Mice and Men

A classic that was on my to-read list. I wasn’t particularly captivated by the story-line or the story-telling, but that is most probably because I was never good in English class and at analyzing themes and passages of such books. This book looks like one that would fit perfectly well for analyzing in English class, but I disliked reading it for pleasure.

Technological Slavery

This is a book written by the now infamous Theodore Kaczynski, also known as the Unabomber. You might think my choice of reading works of a person who has taken so many lives and is in prison is quite odd, but I stand by the teaching that one can learn something from everyone, and one should let even Ted Kaczynski explain his reasoning and thought process. Only then will you be able to rationally analyze his actions.

I’ll begin by saying that I learned that Ted Kaczynski was an immensely smart person. He got his PhD in Mathematics (if you are brave enough…) at a very early age, and became the youngest maths professor at Harvard. Tired of the daily city life, Ted moved to a forest cabin in Alaska, and lived there self-sufficiently for a number of years, when one day his mentality snapped after seeing trees destroyed in the name of building new roads. This was the event that created the Unabomber.

The book itself opens with a copy of the widely read and known “Industrial Society and its Future”, the memoir of Ted that was published in newspapers, and incidentally the memoir that got him caught. The theme throughout is that we are heading in the wrong direction that will lead to self-annihilation, that all technological progress should be stopped, and that we should go back to a hunter-gather type of lifestyle.

The rest of the book is Ted’s expansion of ideas on the evils of industrialised nations, along with many letters between him and his contact outside who helped him with writing and publishing of the book. Reading this, you again see that Ted is a very well educated man, and even with the limited access to books and knowledge that he has in prison, he always tries his best to use rational logical argument, and cite his sources. We begin to question how such a well educated person came to the conclusions that he came to, and whether there is any truth in them. He is definitely not a simple criminal who simply sends bombs, but a very intelligent man who had specific reasons for his unfortunately tragic actions.

To an extent, I do believe that technology is dumbing us down, and possibly killing us (WiFi…), and that with the current way civilization is moving forward, we might very possibly self-annihilate ourselves within the next couple of centuries, if not earlier. Looking at the progress in the last decade, Ted is missing a whole lot! I wonder what he would have to say about the Internet and our smartphones… As a computer scientist, and a person who mostly stares at glowing rectangles all day, I would definitely not want to get rid of my gadgets, but Dr Kaczynski makes some good points, and I do believe we should watch out for and be wary of the technological progress of mankind, and how it is turning against us.

Lolita

‘Lolita’ is the story of the infatuation of Humbert Humbert towards a 12 year old girl named Lolita. The book was at one point banned in some countries for obvious reasons, but now it stands as the best and most well known work of the Soviet author Vladimir Nabokov. The theme of the book may not appeal to some, but many would agree that Nabokov is brilliant with his choice of language (he wrote it himself in both English and Russian), and his descriptions of even the same person for the n-th time feel new and vibrant each time. The book does not even contain a single indecent or derogatory word, as rather than being a pornographic novel, its purpose is to explore the mind and let the reader feel the pain and the experiences Humbert Humber is going through.

Even if the theme does not appeal to you, I would encourage reading this even just for Nabokov’s brilliant language that’s a pleasure to read. You can followup by watching Stanley Kubrick’s film with the same title. As always, it is stripped down to the bare essentials, if not even more, for I did not feel as connected to Humbert Humbert, and did not feel his emotions as much as I did in the book.

The Giver

‘The Giver’ was the first in my batch of dystopian books these holidays. It is about a society with no emotions, and The Giver is the only person allowed to feel and have emotions. The inhabitants of the city described in ‘The Giver’ cannot see colour, have never seen snow or grassy hills, and have their whole lives predetermined by assigning jobs at a young age. Since this is more of a young adults book, it does not compare to the likes of ’1984′ or ‘Brave New World’, but nevertheless presents some interesting ideas.

The Stranger

I have read this in my French class around 3 years ago, but considering my knowledge of French at the time, I’m sure I didn’t catch many of the plot details, hence I decided to reread it, this time in English. ‘The Stranger’ is probably Camus’s most well known work, and it is the story of a middle aged man in Algiers who, to the outside, seems totally uninterested in the world, apathetic, and pessimistic. The writing consists of short sentences, and staccato style, similar to the later described Candide. Camus goes through a lot of storyline in a short number of pages, yet without sacrificing the portrayal of the main character’s emotions. I will not spoil the ending, but I will say that the night I finished the book, I have dreamt the ending, which means the book had a substantial impact on me and my conscience.

Brave New World

The first work by Huxley I have read. I had it on my Kindle, but decided to read it after a recommendation by a friend. ‘Brave New World’ portrays us a utopian/dystopian (open to interpretation…) society where people are created in test-tubes in human factories, and then, until the teenage years, are conditioned with various propaganda in order to put them into a specific spot in the society’s well-defined caste system ranging from Alpha-Plus to Epsilon, Alpha-Pluses being the most intelligent people, and leaders of the society, while Epsilons, the most menial workers, such as trashmen. The conditioning comes in various forms, one main one being hypnopaedia, or sleep-learning. The newly ‘decanted’ humans are subjected every day to sleep-learning propaganda which ensures they believe they are eternally happy, and that their current caste is the best for them and nothing could be better for them. The point is to create a society where everyone is always happy – there are no crimes in this world, no social struggles, no wars, people are allowed and encouraged to have sex as often as with whomever they want. Sexual games are encouraged from a very early age. As in ‘The Giver’, emotions are abolished, and the ‘opium of the masses’ is ‘soma’, an invented drug that everyone craves, and believes is able to solve their problems, if they encounter any. If you have seen the movie Equilibrium (special effects are not that great, but I would highly recommend it for the theme and Christian Bale’s decent portrayal of a non-feeler converting to a person with emotions), ‘soma’ is similar to the drug ‘Prozium’ there, which is also distributed freely sought by the masses.

For me, the obvious question is whether such a society is a utopia or a dystopia. To me, this would depend on perspective and definition. If we define a utopia as a place where nearly everyone is happy, then surely the society in ‘Brave New World’ must be utopian. If we try to define ‘happy’, we see that this is quite subjective. The population in ‘Brave New World’ is conditioned from a very early to actually feel happiness, and believe that their current situation is the best possible situation, and that there is nothing better in this world for them. As portrayed in the book, we see that all people actually neurologically feel happy and believe everything is the best, even though that this was the result of the early age conditioning. Any change to the current environment would most probably be perceived as a worse situation, due to how powerful the propaganda implanted in everyone’s brain is. In this society, it is inconceivable to marry and have only one partner, so a change to such a system would be seen as decline in quality of life and as taking away of liberties taking for granted. For all the members of this society, their current world is the best possible world, and hence a utopia.

If an outsider, such as a reader who is a member of the current society in this world, inspects the society presented in the book, he might feel that this is a dystopia. Such a feeling is simply due to our upbringing and again, conditioning. We hold axiomatic beliefs that everyone should be able to freely experience emotion, and with hard work, be able to move up the societal ladder. This same person, if brought up with the conditioning in ‘Brave New World’, would hold as an axiom that they are happy, and if any doubt arises, they would self-willingly take ‘soma’. I like the freedom we have in this current world, but strongly believe, that if I were brought up in such a way as humans are in Huxley’s work, I would be constantly happy, and hence more happy than it this world, which has its ups and down.

For the above reasons, calling ‘Brave New World’ a dystopian novel can only be done from our point of a view of a different and more liberal society. I highly encourage you to read it, and form your own opinion.

1984

Right after reading ‘Brave New World’, I wanted to read Huxley’s analysis essays written 20 years after, ‘Brave New World Revisited’. In the first couple of pages, it made many references to ’1984′, a work I haven’t read it, so to fully grasp it I decided to read ’1984′ first.

’1984′ is a very popular and analyzed a lot, and any of my attempts to discuss any of the themes would most likely be sub-par to whatever else you can find on the book.

I will say that ’1984′ was definitely a powerful book, and unlike for ‘Brave New World’, I would definitely not want to live in the tyrannical world represented by Orwell. If you think that ‘Brave New World’ portrays a dystopia, just read and compare it to ’1984′.

One powerful message and theme I got from the book, was the ability of torture to break your most basic axioms, and reprogram and rewire your brain. If you would not like some spoilers, don’t read ahead. We have two characters in love, and they promise that the one thing they will never betray is each other – that they may disclose any of their interactions, but that never will they break to the point where they will betray and stop loving each other. After subject to torture, both say that there a breaking point, that they snapped, and that at one point during the torture, they really would want the other person, the one whom they love, to be subjected to it, rather than them. In this way, they have both betrayed each other. This theme of the effect of torture, and the power of conditioning when the body and psyche is weak, was very interesting and particularly well described by Orwell.

This is a classic and an obvious ‘must-read’, and I would encourage everyone to read through ’1984′.

Brave New World Revisited

Since this made connections to both ‘Brave New World’, and ’1984′ (Orwell was one of Huxley’s students), I decided to only read it after reading both of the works.

In these analysis essays, Huxley looks at how the world has moved forward in the past 20 years since the writing of ‘Brave New World’. The conclusion is that we have moved faster than he anticipated towards a ‘Brave New World’, rather than ’1984′, and that his view is that we will keep moving forward towards a kind of society displayed in his work. Most of the book is spent on analyzing different techniques and tools for spreading and perpetuating various propaganda. Huxley displayed how effective the radio and TV was already for propaganda during WWII, and how such tools for quickly disseminating information to the masses should form the basis of the armory of any propagandist. Too bad Huxley wasn’t alive to see the rise of the Internet…

I would say both ‘Brave New World’ and ’1984′ are recommended reading before looking at ‘Brave New World Revisited’, or else you will be also on some of the topics discussed. If you don’t want to ready them, this book will at least introduce you to the theory of propaganda. Highly recommended reading after ‘Brave New World’ and ’1984′.

Candide

Is our current world the best of all possible worlds ? I wasn’t exposed to Leibnizian optimism beforehand, and seeing that this is Voltaire’s satire of that topic, I probably did not understand many parts of the novel. For an explanation of what Candide is, you are better off looking at Wikipedia, but in essence, we follow the very adventourous and mostly filled with disasters, life of Candide, up until the end where he settles down and concludes that we should “cultivate our garden”. The writing style is quick and staccato, similar to the stranger, and definitely unlike ‘Lolita’. We get through a lot of story in just over a 100 pages, and that’s with the quick and to the point language.

I did get the essence of the books and Candide’s struggle to understand how on earth, with all these disasters happening, this could be the “best of all possible worlds”, but I assume that after reading up on the Leibnizian optimism beforehand, I could grasp some more concepts from the book.

On another one, the book has so many footnotes that reading it on the Kindle is a pain, requiring constant moving back and forth.

The Old Man and the Sea

A classic I saw some people recommend, but in all honesty, I did not find in engaging or interesting in any way. The story is about an old man who goes fishing, catches a big marlin, and on his way back struggles with shark who eat the whole marlin. Even though it’s already short, I think the book could still be shortened, and be left with the essence and message of “Don’t give up”. Read it, and form your own opinion, if you have a free afternoon.

Rich Dad, Poor Dad

This the final book in my holiday reading spree. It is a non-fiction about the techniques used the rich to get and stay rich, and how the poor and middle class stay in their middle class, even though they might be smarter than those from the rich class. The author’s “rich dad” is his best friend’s dad who taught his son and the author the art of putting yourself in the mindset of the rich, and hence getting to his position. The “poor dad” is the author’s real dad, an intelligent university professor following the well known dogmas of “get good grades, go to a good university, get a good job, retire at >60″.

The author explains how exactly one can put themselves into the mindset of the rich, and how to stay there. There are some good ideas in the book, but as the author says himself, he is “not a good writer, but a good salesman.”. Some advice, such as not diversifying your stock investment portfolio, or your house being a liability instead of an asset, is in my opinion not fully good advice. Or at least the author didn’t go enough into detail explaining what he meant.

If you are interested, you can read it, but the essence lies in disconnecting your income from your time, and investing all your money into money-generating assets instead of money-depleting liabilities.

Concluding Remarks

I congratulate you if you have gotten this far in reading my ramblings – I haven’t done enough writing, and a lot of this is meant as practice for me in the art of writing and communicating on paper, a valuable skill.

If you don’t, I urge you to buy a Kindle, as I believe it is a device that will drastically change your reading habits, and get you to read more books!

Please leave a comment if you have any questions or recommendations as to what I should read. Thanks for reading!

Posted in Books, Technology | Leave a comment

Imperial Entrepreneurs: Storify and Minutebox

The following was written by me in conjunction with Jamal Khan from Imperial Entrepreneurs, the entrepreneurship society of Imperial College London.

Last Friday, as part of the Imperial Entrepreneurs speaker series programme, we had the founders of Storify (storify.com), Xavier Damman, and MinuteBox (minutebox.com), Josh Liu, in the Imperial Business School.

The evening kicked off with a presentation from Imperial Entrepreneurs about what they do and the set of events planned out for the year. Both speakers had fascinating stories of entrepreneurship and how they grew their businesses from scratch in uncertain times.

Xavier, who has a background in Computer Science joined the City for one year and swiftly moved on to starting his own business. His first concept was to develop a product to help people publish stories around social media, in particular Twitter. He was bold and moved from Brussels to Silicon Valley with his girlfriend not knowing what to expect and with only a few contacts. After 6 months of hard work and networking, his business, Storify, got $2 million funding from Khosla Ventures and also managed to get a co-founder who was in the media industry. Xavier was juggling his time between meetings with venture capitalists and coding the product by himself. Storify allows people and companies to create stories around social media sites including Twitter, Facebook, or Youtube. Xavier is very passionate about the concept of sharing and how his product allows people to capture individual posts, photos and links that would otherwise have been lost in the web, and create stories around these. Xavier says “Everybody is a reporter, but thanks to journalists, those voices can impact wide audiences, be remembered, change the world”. Xavier’s aim is to reinvent storytelling with social media, and to make everyone a ‘journalist’.

One tip from Xavier for aspiring entrepreneurs was “Don’t ask for permission. Ask for forgiveness.” It is, after all, in words of Steve Jobs, those of us who “think different, … , have no respect for the status quo”, that will make a noticeable difference in this world.

Our second visiting entrepreneur was Josh from Minutebox. Josh is an alumni of Imperial College, and his product focuses on in getting people in touch with specialists in certain areas of expertise. The first iteration of his product got some negative publicity on TechCrunch (a leading technology/startup blog), but despite this, Minutebox became a successful startup enabling people to have a live chat with professionals in various fields through looking at LinkedIn profiles. Josh came from a working class family and fought hard to break out of it and build his own business. Josh’s largest piece of advice from the evening was to have a great team when starting out, as these are the people who you will be spending most of your time with. Even though Josh was not a technical cofounder, it was his successful collaboration with the team he formed, that ensured the eventual success of Minutebox.

The visit from Xavier and Josh is the first of many inspiring talks Imperial Entrepreneurs has planned. The focus of the society is to promote entrepreneurship and the idea that there is another possibility after graduation other than working for one of the very tempting investment banks. Imperial College represents some of the top intellect around the world, and it is people like that who are able to create innovative companies of their own which generate value for society.

If you are interested in entrepreneurship, starting your own company, the technology sector, or just want to listen to some very inspiring speakers, come to the talks organised by Imperial Entrepreneurs! Sign up for the mailing list at www.imperialentrepreneurs.com

Posted in Uncategorized | Leave a comment

First Rails App

From absoulutely zero Ruby or Rails knowledge 4 days ago, I have now played around with the framework and made a very simple app, and pushed it to heroku. It’s available here.

It is absolutely nothing special, but I mostly built the app for myself. Whenever I’m reading books, I usually encounter some vocabulary that I do not know, and thought it would be neat if I could put all this vocab online, and check back from time to time and make sure that I know it.

My very small feature set is

  • Login with twitter (only this for now)
  • Add a word, and fetch it’s definition, or provide your own
  • Review the words on your list, and say whether you know it or don’t. The stats for this are kept.

Some screenshots:

I’m pleasantly surprised just how easy it is to make Rails apps, and just how structured everything is. I don’t even have to worry about structuring my code across files, since Rails enforces me to keep to a convention.

Overall, from knowing nothing about Ruby or Rails, I managed to build this in probably around 15 hours! This was with the help of Programming Ruby and Agile Web Development with Rails. Thanks pragprog for awesome books which get me up to speed really quickly!

Let me know whether you like the app, or would consider using it. Right now it’s just on a free heroku package, so only 5MB of database space!

Looking forward to making some more stuff now with rails!

Posted in Programming, Technology | Leave a comment

Node.js, Rails, and webapp development

I have recently tried to code up a web-app using Node.js / MongoDB, and that adventure ended up rather unsuccessfully, after I decided that Node.js, while very cool, should not be the tool of choice if all you want to do is develop a standard web-app that doesn’t involve things such as high concurrency, or real time data flow between client and server. I have now started learning Ruby and the Ruby on Rails framework, and I don’t understand why I haven’t started using RoR earlier – it’s actually quite nice!

Now, I do not mean to say that Node.js is not an awesome web-server, it is, and I have got to know it quite well. My first adventure into Node.js was a multiplayer space game where you can fly a ship, go onto planets, and trade resources. Here is a screenshot:

It's so awesome!

Well, that took a couple thousand lines of code, and Node.js was a really good choice for it. Real-time bidirectional communications channel makes it very easy to send and receive messages about ship position, ship movement, etc. If you would like to read more about how I implemented the game, here is a pdf which goes into the details. The whole git repository is obtainable here.

After my successful usage of Node.js to make a multiplayer webgame, I decided it would be a good idea to use it for more standard web-app development that doesn’t call for real-time concurrency. That didn’t end up so well. I have spent considerable time doing things not directly related to the app, that took away time from proper app development. Here are some things that took lots of time…

  • The routing mechanism (even when using the great expressjs), didn’t seem to have a feature I wanted it to have, so I spent some time writing and releasing to npm a package to help with that. If you’re interested, it’s located here.

  • The callbacks. Oh, the callbacks. Considering node is single-threaded, the whole application flow is done with callbacks, which, for a complicated application with interspersed database calls, requires a fair amount of mental gymnastics, taking away time to work on the app logic. Just the registration / login code had around a depth of 6 of nested functions…

  • Reinventing the wheel. Pretty much everything has to be done from scratch, from the login system, to any type of what you could call an ORM.

  • Cohesiveness. This was actually the main reason why I abandoned the use of Node on my next standard web-app. All my code just seems to lack cohesiveness, however I structure it. One reason for this is lack of classes and object-orientation, which is partially solved using Coffeescripts classes, but still not a great solution. Along with all the callbacks, the code quickly becomes spaghetti. I have now written a Rails app with the same functionality as my Node app, the code exhibits much more cohesiveness, probably due to the fact that Rails uses convention over configuration.

  • Data-Access Layer. In my quest to NoSQL nirvana, I decided to use MongoDB with Node. One problem is that Node does not have any good ORM, and whatever there is, seems buggy, or I spend half an hour on IRC trying to get help on how to do something. I was using a node library for connecting to MongoDB, but there was some problem with the Map-Reduce bindings. Given my predisposition to have things perfect, I went on to spend a couple hours finding the bug and fixing it. I am happy to help out, but not just when I want to get my application working, and software maturity prevents me from doing it.

Ruby and Rails

After spaghetting myself in callbacks and spending way too much time modifying not-working Node packages, I ventured into Ruby and Ruby on Rails.

I have just started learning Ruby and RoR yesterday, and have already (!) managed to get a simple application working with Twitter authentication. Rails makes everything so simple, and I shiver when I look back at the hacky Coffeescript Node code, which is most likely filled with security holes.

Possibly this is just beginner’s excitement (I had the same when I started using Node after having made sites in PHP), but for now I am very pleasantly surprised by Rails, and by the fact I somehow never managed to use it before.

Conclusion

Node.js is awesome for one-page web-apps that require concurrency and real-time interaction, for example games. Or just have a look at this years Nodeknockout for some excellent examples of uses for Node! But please, do not try and use it when developing a web-app with many subpages, many models, and all that other stuff.

Additionally, I think I’m back to using more ‘earthly’ technologies. All the hype about Node and NoSQL made me get myself into technology that’s very new and still quite buggy. Though MongoDB is actually quite cool, it has awesome functionality such as geospatial indexing, and I’m sure I’ll be back to using it at one point!

Anyways, now I’m back to playing around with Ruby on Rails!

Posted in Programming | Leave a comment

Gödel, Escher, Bach

Well, I have finally gotten to finish reading “Gödel Escher Bach, an Eternal Golden Braid”. The book is so dense with interesting content and information, that it has taken me around a year, with many breaks, to finally get to the end.

This is the most informative and interesting book I have read. Many of the subjects touched upon in the book have appeared in my CS curriculum, but I have really enjoyed the philosophical implications of these topics that GEB discusses so much. Is our brain able to reason about itself ?

I will most certainly come back and reread GEB in the future, it is simply not possible for all this information to sink in after just one reading. Finally, this book should be on the must-read list of any person studying computer science.

Posted in Books | Leave a comment

The Millionaire Fastlane

The Millionaire Fastlane

At first I thought about writing about this book in one of my other posts about books I’ve read, but in the end I’ve decided that I have too much to say, so here is a separate post for it. This book is definitely not the same genre as Siddartha or Zen and the Art of Motorcycle Maintenance, but from time to time it’s good to read something that’s a bit more on par with reality than a philosopher travelling on a motorcycle and pondering on what defines quality.

The book has a cheesy title, but as explained by the author, that is simply the only way to draw people to even look at a book in today’s fast-paced and greedy society. The title portrays an important concept that the author discusses, mainly that of process vs. event.

Too many people these days are simply interested about the end event, in this case having money, and lots of it. Society is drawn by tv infomercials advertising a $99.99 program that is supposed to give them the ticket to financial freedom, and models with bikinis on a beach. Everyone is missing the important concept of process. Events are not possible without an associated process that leads to them, but this is not realized by many. It’s not possible to skip over the process, and just instanly have many, you actually have to work, and word hard, to achieve your desired event. Nothing comes easy.

The book also discusses the problem with society’s standard model of “go to school, go to college, get a job, save money, live frugally, retire at 65″. This reminds of something I’ve once seen, it goes like this:

“When you are young, you have time and youth, but no money. When you are middle aged, you have money and youth, but no time. And when you are old, you have time, and money, but no youth.”

The book discusses how with any standard job, you are bounded by what everyone else is bounded by, be it poor or rich, and that is time. We’ve all got 24 hours of it in any given day, no more, no less. Your current job most likely pays per hour, per week, per month, or per year, all of which are measured in time, which has an upper bound, and hence and upper bound on the amount of money you earn is set. The solution is to become a producer, and start your own business, be it online, or physical, where people are able to buy what you have produced. Now, as you see, this kind of model is not upper bounded by time, you can sell 1 or a million units a day of your product. Since it is not upper bounded by time, the financial rewards are also not as limited as in the standard model the society has been indoctrinated to follow.

Again on the topic of time, if you want to achieve wealth, and financial freedom, you must make sure you income is not associated with the amount of time you put in. Obviously, and the beginning when you are setting up your business, that will take a lot of time, effort, and sweat, but try to make something synonymous to a money tree. Something that gives you income regardless of whether you are sleeping, watching TV, or travelling around South America.

On a final note, many say that money doesn’t buy happiness, but it provides you with financial freedom and time, which you can then use freely to arrive at happiness, whatever you define it as. Definitely a book worth a read you’d like to change your “lane” of life.

Posted in Life | Leave a comment

More summer reading

Summer is nearly finished, and only recently did I finish my summer internship job. Here is a couple more books that I’ve read over the summer, and would like to give a quick overview of.

Zen and the Art of Motorcycle Maintenance

I have heard a number of times of this book before, and saw engineers quoting it on a number of occasions, and decided it’s finally the time to read it. The subtitle of the book is “an inquiry into values”, and most of the book is the main character trying to understand and come up with the meaning of “quality”, just what is “quality” ? This was the first book that I’ve read on the theme of philosophy, and I found some points quite confusing and hard to follow, having been always the science type of person that relies on hard facts, while philosophy is more of a subjective topic. Nevertheless, I definitely recommend the book to anyone who is even just a little bit of curious about what it means for something to possess “quality”, and just what is it in today’s world.

Flatland

This is another classic, dating back from the 19th century, written by Edwin Abbott. The book is about life in 2 dimensions – women are simply lines, and the social hierarchy is defined by the number of sides you, as a regular polygon, possess. I have never before thought of what it would feel like to live in two dimensions – it is difficult to distinguish between members of society solely by looking (unless there is fog !), one must be careful not to bump into women (you might kill yourself, they are lines, and depending on the orientation, could appear nearly invisible), and just how hard it is for creature in n dimensions, to imagine what it is like to live in n+1 dimensions.

The narrator, a square in 2-dimensional space, first tells us about the life in 2 dimensions. Then, we are taken on an expedition to Lineland, the 1-dimensional land. In there, whenever you are born, your neighbours are defined for life, as you can’t skip over or move around others in 1-dimensional space. Communication is done via voice – the inhabitants of Lineland shout to each other to determine how far away they are from each other, and hence who is who. The square from 2-dimensions tries to explain to the people of Lineland the concept of the 2nd dimension, width, and how he, with his other dimension, is able to inspect all of Lineland at once from above, unlike the people of Lineland. We also visit Pointland, the home of 0-dimensional creatures. It consists solely of points, which no nothing of length, width, height or anything. They just exist, and to the Point, the whole world consists solely of itself.

The culmination of the book is the visit of a 3-dimensional cube to Flatland, and the conversation between the cube and the square. The cube tries to explain to the square the concept of the third dimension, height – not left, right, forward or backwards, but up and down. It takes some serious work for the cube to convince the square of the existence of this third dimension, but the square is eventually convinced after visiting 3d-land, and being able to inspect all of Flatland from up-above.

The obvious take away point of the book for me, was how 4-dimensional space looks, and were I to be visited by a creature inhabiting the 4th dimension, just how would I to be convinced of the existence of that dimension. Reading the book, it seems obvious how to imagine and reason about Pointland, Lineland, and Flatland, and finally 3-dimensional space. At first one finds it very weird that someone doesn’t understand the 3rd dimension, it is intuitively obvious for us, but not for everyone living in the dimensions below.

Screw It, Let’s Do It: Lessons in Life and Business

This was a very short, and motivational book about the story of Richard Branson. I have never before realized how many times Richard Branson has come close to death, but also how motivated he was to do whatever he wanted. From now on, I will try more to adhere to Richard Branson’s motto of “screw it, let’s do it”, instead of over-analyzing situations, which currently seems to be a problem of mine.

Whenever time permits, I will read the full non-abridged biography titled “Losing my Virginity”.

Siddartha

“Siddartha” follows the life of a Brahmin in India, during the times of the Buddha. We see the various paths of life explored by Siddartha, the main character, from living in the forest and fasting, to being a wealthy merchant, and eventually a ferryman. The book explores the idea of finding Oneself, understanding youreslf, your soul. Siddartha chooses not to to follow the doctrine of the Buddha, saying that his goal of finding Oneself is not reacheable by listening to the doctrine of others, and must be reached in other ways.

Again, like “Zen and the Art of Motorcycle Maintenance”, this book is not easy for me to fully understand and analyze, considering I’m a computer scientist and don’t know much about literature, or Buddhism. Nevertheless, Herman Hesse, the German author of the book, has kept me captivated throughout the story of Siddartha.

Posted in Books | Leave a comment

The Lean Startup

Thanks to attending Seedcamp this year in London, I got a chance to already read a copy of “The Lean Startup” by Eric Ries, which is not officialy released yet!

I learned a lot about the lean methodology when it comes to managing a business. I particularly liked the root cause analysis using “The Five Why’s”. This consists of looking at a problem, and keep on asking “Why?” until the root cause of a problem is uncovered. I remember being young and sometimes keep on asking my parents “Why?” in response to some answers, and being told that I’m being childish, but I guess the inquisitive nature of children is the right approach to take when doing business.

The book also taught me about other invaluable tactics such as the Build-Measure-Learn loop, and how to find valuable metrics for the performance of your business.

The only thing that I currently lack is a business to be able to apply this Lean methodology to, but hopefully this period won’t last too long!

Posted in Technology | Leave a comment