books of 2017

This year I have finished 16 books. This is 4 books less than year ago, but it matches the plan for this year! 🙌

It will be marked by good books I have known for a while as well as great new discoveries. The subjects vary greatly, but few common reoccurring themes can be seen.

One more observation, many of the books are related to what I have read before. Such, I have read books from Tim Wu and Michael Lewis. Later wrote the book about the author of “Thinking, Fast and Slow” that I read last year. Speaking of fiction, plus-one goes to Charles Dickens and Neil Gaiman (looks like it will be the last one for Neil tho).

This year it has been 5 fiction (2 sci-fiction) books. Remarkably, EGB is the longest I have read so far with over 800 pages. More numbers from goodreads:

The Attention Merchants Tim Wu. Just as in his other work — “The Master Switch: The Rise and Fall of Information Empires” — here author gives a close historical look on the evolution of attention industry. Things at which we pay attention influence how we think and how we make our choices. Hence, it has been subject of profound efforts to direct it by individuals, governments, and businesses. The book concluded with remarks on how to this day attention in many forms is still the principal force that shapes our society. The real story was not as lush as Mad Men, still very intriguing to follow.

The Chimes” Charles Dickens. English classic. It was nice to spice it up a little last winter with a bit of Christmas magic. — audiobook

The Nest” Cynthia D’Aprix Sweeney. It was a joy to read this light story about one big American family. I remember when I bought this book, lady at the checkout told me “..this is her first book. How did she do it so well?..”. I don’t know the answer, but I totally agree. — paperback from bookstore in SOMA SF 🌉

We Are the Change We Seek: The Speeches of Barack Obama”. Last speech of Michelle Obama as FLOTUS sparkled in me interest into public speeches. Next thing I remember I was watching speeches by Barack Obama. I have got inspired by the style, how he elaborated on his ideas and connected them. Written form also helped to zoom out and see how he constructed his speeches more clearly. — paperback from bookstore in SOMA SF 🌉

The Life-Changing Magic of Tidying Up: The Japanese Art of Decluttering and Organizing” Marie Kondō. It was truly a life-changing book for me in many ways. My home have got cleaner. I’ve got good habits, more free time, better sleep. Most importantly, this book gave me a cozy and warm feeling when it was very much needed.

The Hard Thing About Hard Things: Building a Business When There Are No Easy Answers” Ben Horowitz. This is a cornerstone of philosophy of execution under stress. This is a guide on how to go through struggle. How not to die. How to win when no-one cares.

Zero to One: Notes on Startups, or How to Build the Future” Peter Thiel. This book explains fundamentals on creating a new venture. However, to me its biggest value comes from its inspirational yet intelligent message. I mean, you get this strong sense of startup philosophy while reading this book. I am also very found of its open and direct style.

Homo Deus: A Brief History of Tomorrow” Yuval Noah Harari. First, author went through forces that shaped our society up until this moment. Next, he explored on how these fundamental learnings might shape our nearest future. He very carefully and coherently covers hot topics including: AGI, religion, ethics, politics. Among many other topics with elaborate examples, from top of the mind, I most vividly remember references to “inter-subjective” — realm where constructs make sense only when there are humans who believe in them, e.g. money, bank, government, corporation. However, there are many more ideas that are too hard to squeeze into one paragraph. Some of them are quite sobering, but sound reasonable nonetheless.

A Nation At Risk: The Imperative For Educational Reform”. Published in 1983, this official report gives harsh but critical overview of educational system in the United States at that time. The key alarming message of this report is that educational system was not keeping up with other countries. It provided analysis on why that might be so and how to fix that. I was interested in this work primarily in the context of other studies I was reading at that time.

Gödel, Escher, Bach: An Eternal Golden Braid” Douglas R. Hofstadter. This book has been a separate challenge to me. So far it has been the most challenging book I have read, but it has been the most rewarding at the same time. It is an elegant journey into math, consciousness, music, biology and art. — paperback. many thanks to Pooja.

Chaos Monkeys: Obscene Fortune and Random Failure in Silicon Valley” Antonio Garcia Martinez. This story sheds a light on the dark and ugly side of startups and big tech companies. Some of the points I find quite relatable, some — not so much. Often the story is told in very subjective and overly one-sided manner. Nonetheless, I appreciate the author for speaking-out and uncovering unspoken hard topics from the tech world.

The Restaurant at the End of the Universe” Douglas Adams. Good sci-fiction in the best spirits of “Hitchhiker’s guide to the galaxy”. I wanted to know how the story unrolled next. Had a few good laughs while reading it.

The Undoing Project: A Friendship That Changed Our Minds” Michael Lewis. This book does not talk much about behavioral science, rather it tells the story of Danny Kahneman and Amos Tversky on their way to form its foundations. This is a story of people behind “Thinking, Fast and Slow”.

Man’s Search for Meaning” Viktor E. Frankl. Long time ago back at KAIST, I have heard someone mentioning Frankl’s Optimism in his argument. Particularly, it was that even under worst conditions we are able to make a choice to strive for the better. Since then I wanted to finish the original work. At first, author brings very vivid and frightening images of struggles in death camps. Later, he uses them to advocate his theory. I am not sure about its soundness, but I like that it gives more weight to top-down (slow system first) directions of our motives as opposed to bottom-up (fast system; subconscious first).

The Time Machine” H.G. Wells. Very well written short sci-fiction. Author explored ideas on how basic biological evolutionary forces will play in long term with technological progress and social order. — audiobook

Fragile Things: Short Fictions and Wonders” Neil Gaiman. Last book this year. The choice was between another classic — Sherlock Holmes, and this book. I chose this one due to good memories of reading his previous collection “Trigger Warning”. This one is a collection of mostly dark stories. Few are good, but only very few. Perhaps, Sherlock would have been a better choice.— audiobook

It has been a great read this year. Let’s keep it rolling!

finished KRYPT


I spent quite some time on it but enjoyed every bit solving it. Along the way I made few surprising discoveries about the puzzle that are intimately tide up to computing.

For instance, pretty soon after I have started I could see that the key problem here is how to find the right block quickly enough. Since the pieces do not have fragments of picture painted on them, the only way to identify the piece is by features of shape. Turns out, even though pieces are misleadingly similar, they could be uniquely described by width, height, type of shape (5+), shape or holes, and shape of arms. In a sense, now this is a computational problem on how to “query” (find) these objects in the most efficient manner possible. Put it this way, we could speed-up the process a little bit:

Alignment — will help to see the differences easier. Analogy in computing would be padding, for example in the low level of filesystem routines to speedup sequential access.

Group by type — no need to do search in all pieces. Search in subset makes it few times faster.

Order by same selected feature — duh.

Least Frequently Used policy — cache eviction policy that is used to speedup access when fast storage is very limited (cache). It is much easier to look and try pieces from say a group of 5 than 40. Think of those 5 really good likely to fit-in pieces as your cache and the rest as a RAM. How this works with this puzzle? Let’s say you have a group of 40 and you a searching among them often to fit a segment of similar pieces. If after each failed try to fit an item you put it in the corner, then eventually you will improve quality of your group by having very similar pieces close together, which in turn will let you query them faster in the future.

it’s all started like this

first steps
now we get center. but oh boy, everything else is such a mess
doing a bit of cleaning
well, that was helpful
now we have borders! 
more stuff emerges
more alignment, more grouping, more sorting!
yay! 

2016, year in books

As a part of my last year’s resolutions, on the January 1st I committed myself to finish 20 books this year. And Yay! I did it! 

Cool thing is that in this year I read more books in English than in the rest of my life before (5 in 2015, 3 in 2014 and only a couple before that). Some of them are pretty short, but on average they are of a decent length. Many of them are popular, but few are surprisingly undiscovered. Here is what goodreads tells me:

Here are few words about each of them:

The Education of a Poker Player” — in this book cryptologists Herbert Yardley, who founded US black chamber (predecessor of NSA), guides through his life experiences and teaches subtleties of a poker game.

Age of Ambition: Chasing Fortune, Truth, and Faith in the New China” — China have long been of a big interest to me. This book helped me to gain a bit of insight about its today’s society, role of party, culture with a bit of deeper historical perspective. Author recalls his memories and conversations with many people from different backgrounds in China, which forms very tranquil and rich narrative.

The Lessons of History” — this book is a collection of observations regarding biology, social order, economics, religion, moral. If we could say few things about each of them, what would they be?

Brave New World” — widely known masterpiece that became classics of modern literature.

The Vital Question: Energy, Evolution, and the Origins of Complex Life” — with innate to academic world love to detail and clarity author describes origins of life. It is certainly filled my gap in this part of biology. But what is more, I found it interesting how author brings physics and biology together and goes into details of evolutionary process.

Trigger Warning: Short Fictions and Disturbances” — collection of short, a little bit scary and disturbing stories from Neil Gaiman. These elegant stories were like a breath of fresh air in the midst of predictive, worn-out plots we see often in TV or novels.

Sphere” — very pleasant Sci-Fi in the best traditions of the genre.

High Output Management” — in this fundamental book Andrew Grove, the guy who made Intel, US semiconductor industry, and the Silicon Valley itself back in the day, talks about how to be a Great manager. We are all managers of a sort — we manage our own lives and people around us. I find it uttermost useful and insightful.

The Machine Stops” — another short Sci-Fi that pictures over-reliant on tech society.

Ghost in the Wires: My Adventures as the World’s Most Wanted Hacker” — true story from the O.G. hacker who elevated social engineering up to an unimaginable level. Reading this book was comparable to watching Hollywood Action movie that makes your heart pump faster, but with a big difference — the story here is real.

Daemon” — (if you are involved in software world — yes, it is that daemon. background process in your OS). What if highly autonomous, self-healing, distributed, and resilient program runs wild. How bad it could be? On the bigger scale, tech described in this book blurs border between highly advanced man-made tools and intelligence. Cool thing — folks from Google were consulting author about tech :)

Freedom™” — second part of Daemon. Now whole society is going through rapid changes and being re-shaped by tech. Is it good or bad? This book reminds how dramatically society can be changed by tech.

Outliers: The Story of Success” — this books is very popular nowadays, I see people reading it in London underground and in coffee shops. Without going into details, in this book author tries to find common patterns behind stories of success. No wonder this book is so popular :). It is a combination of luck, hard work and environment. What surprised me the most is role of environment and culture, which I tend to underestimate in favor of other factors.

Pale Blue Dot: A Vision of the Human Future in Space” — aesthetically beautiful passages about other worlds and outer space. Imagery that you picture while reading this book is comparable to ones from best Sci-Fi (in my case — Interstellar), but it is real and goes in hand with our best understanding of physics. Interestingly, few times you can even see glimpses of technology that might come only in decades (i.e. today) like rise of A.I. enhanced tech and VR. And all these has philosophic foundation that sees us as travelers, explorers and defines a new frontier in space.

The Last Lecture” — there is a heart-breaking story behind this book, which made me curious about its content. It is a collection of advices reflected in life story of a man that happen to be in very unfavorable conditions. There are definitely some good ideas here, but to me it was more about understanding how he thinks under such circumstances. It is one more reminder for all of us think about what really matters.

The Man in the High Castle” — what would our world looks like if history turned other way in WWII? The plot in the book goes closely to the TV Show. However, I find later better developed with richer and more interesting narrative.

Utopia” — very old book, really, published in 1516 in Latin. It is mix of fiction and philosophy about social structure and politics about imaginary society. It is where term “utopia” is originated.

Thinking, Fast and Slow” — despite it sounds like a cheep motivational book. Believe me, it is very far from that. This work is written recently by Nobel Memorial Prize in Economics laureate Daniel Kahneman. It is like a comprehensive course on psychology and cognition have been compressed into a book. Yet, it preserves good writing style. It also has many references to economics and statistics. If you are familiar with books by Nassim Taleb, you will find here many related ideas. The core concepts in this book change the way how you understand human behavior and inner workings of our mind.

Weapons of Math Destruction: How Big Data Increases Inequality and Threatens Democracy” —just like in “Silent Spring” by Rachel Carson, Cathy O’Neil talks about issues that require public attention, but on different front — big data usage in big companies and government.

Bushido: The Soul of Japan. A Classic Essay on Samurai Ethics” — this is another old book published in 1900. It is one of the best essays on the traditional Japanese culture and the place where Bushido was introduced to Western world. It is one of the works that initiated such prolonged interest in Japanese and Oriental culture, so I was eager have a look into it myself.

Looking forward to what I will learn in years to come!