and has 0 comments

I read about Dark Universe online, in a "best" sci-fi book list from somewhere. Richard Dawkins recommended it as a very good book and one of his favourites. I can see why the book would appeal to Dawkins, perhaps he even read it when he was a child. The idea is that the book is classical pulp fiction; the characters are simple and undeveloped, the logic strained and the science only consistent with the times in which it was written. At first, when I started reading, I was captivated by the world of people living underground after a nuclear apocalypse, but then I started getting more and more annoyed with the leaps of logic and superficial characterisation. I thought it was a book written by a teenager, like Eragon maybe, but instead it was written by a grown man in the 50s. When I learned about this I understood more of why the book existed at all and why people seemed so... stupid and onetracked. The ending, something that almost offended me, not by its quality - which wasn't good to begin with, but by its implications, is classic 1950 "scientific" thinking. The hope of humanity as small minded arrogant assholes.

Bottom line, it is a simple and easy to read book, in a bad way. The science for it is lacking, the characters are simplistic and the plot classic pulp (prince and princess kind of crap). Too bad that a good initial concept was wasted by a mediocre writer in a mediocre time.

and has 0 comments
I have not read any of China Miéville's works, but I have received a positive recommendation from a friend and decided to read The City and The City, thinking that I would read a science-fiction story. Instead, it is a fiction filled police procedural - a detective story - placed in a city that is, at the same time, part of two different countries. There is a detective, set on finding the murderers of a young girl, who during his investigations takes the reader through the internal workings of this weird place and leaves us with the concept that we all, as city dwellers, are silently and cooperatively complicit in the evil perpetrated around us. Interesting, indeed, but quite a shallow concept to be transformed into a book, even one written by such an obvious talent as Miéville. There is also a sad reason why he wrote the book such, as a present to his terminally ill mother who enjoyed detective stories.

But back to the book. It is fascinating to observe a place where an establishment, a person or even an object are part of one city or another based on physical characteristics such as certain colours, a certain gait or a certain way to make a common gesture. This idea is the soul of the book and the rest just a pretext to explore it. Anyone breaking the boundaries between the two cities is immediately and absolutely punished by a shadow entity called Breach, which appears next to anyone even focusing too long on a place from the other city and maintains the "skin" between the two different nations. Miéville does not explain, really, what caused such a split, why Breach was formed and even how it does what it does (and indeed, how it did the same thing for thousands of years). The point of the book is not to root into reality the concept of this shattered place, only to explore its possibility. And it does this skilfully. The issue I had with the book is that, except for this brilliant and original idea, you are reading a police procedural, plain and simple. I was in the mood for something else, perhaps.

My conclusion is that it is a very well written book, one that is worth reading, but not something that could be considered brilliant except for the seed idea. Outside that idea, which has been pretty much detailed in this post, the plot is a standard detective story.

and has 0 comments
I was first directed to Esther Friesner by the excellent audio reading of The Shunned Trailer, a short story which humorously and skilfully combines Ivy League competitiveness with Lovecraftian mythos. You can (and should) listen to it on the also excellent podcast site EscapePod, which together with its sister sites Pseudopod and Podcastle provide free weekly audio stories from the genres of sci-fi, horror and fantasy, respectively. The story itself was so amusing to me that I actually laughed out loud, which - for those so blissfully unaware of it - is not the same thing as LOLing. I made a short foiree into some Lovecraft stories, then proceeded on reading something of Friesner's.

Druid's Blood is an alternate universe Sherlock Holmes story. The "alternate" in the universe is an England where the druids repelled the Romans by using magic and then went on protecting the British isles with a magical shield that prohibits the entry of - for lack of a better word - contraband. This includes, for example, steel. It is an interesting modern bronze age world in which the druids are the highest religious order, everything is run by magic, technology is pretty much forbidden, but the Brits still have their high ideals, the monarchy and Sherlock Holmes. The irony is thick when the work comes from an American author.

Anyway, I don't want to spoil the story; you have to read it for yourself, but I recommend it highly. The first chapter is not so good, so I suggest you go through it even if you are not terribly enthusiastic about it. The rest, though, made me not let the book out of my hands - to my wife's chagrin. Not as funny as The Shunned Trailer (after all, it was not intended as a parody) it combines several famous ideas and characters with this twisted history of a magical Britain. The book is not meant as an exploration of history, though, as the characters and references are not really meant to have been contemporary or explainable by small tweaks in the time stream. I liked the book, although I don't know if I want to read more of the author right now. She is certainly smart and funny, but even if I enjoyed the book tremendously, it couldn't reach the level of good fun and concentrated smarts that The Shunned Trailer seemed to be. As such, I recommend reading the book first, then listen to the podcast of The Shunned Trailer. Perhaps in this order, the pleasure level will be higher.

There has been a lot of discussion on the changing of the names of Sherlock Holmes and doctor Watson. Whether it was a form of respect to the original characters to change their names if you change their entire world or whether it was a copyrighting issue or some other motive, I see no reason to dwell on the matter. After all, the epilogue is a tip of the hat to doctor Sir Arthur Conan Doyle, who invented a character of such incredible skill and intelligence, only to relegate his own role to the faithful sidekick. Enjoy the book.

and has 0 comments
It is difficult for me to not admire Lovecraft and at the same time just as difficult to fully enjoy his stories. He was admirable because he was a true horror writer, haunted by his dark visions so completely that a lot of his stories are set in the same world, undoubtedly filling his mind at all times. And it is difficult to enjoy his stories because the horror feeling in his books comes from a very subjective and I dare say outdated place in the human mind. Most of his characters attribute adjectives like "abhorrent" or "grotesque" to mere shapes or smells and they actively attempt to filter out anything that might challenge their peace of mind and established world order. That's a silly and disgusting thing to do, I think, and perhaps this is what repels me most from writings of "the master".

But let me tell you of At the Mountains of Madness. The first thing that came into mind when I started reading it was "The Thing". It is placed in Antarctica where an expedition finds some frozen aliens who then defrost. There is even mention of shapeless things that can assume any form or function. Of course, this is as much as the similarities go. First and foremost the story is told by a scientist, in the pompous and highly descriptive manner in which most Lovecraftian work is written. This geologist, one of the few survivors, decides to write a more detailed account of what happened in view of a new expedition organized to go in the same region. His motive, and here is where I scoff the most, is to dissuade people to ever go there again, as some things are too horrible and evil to be explored by man. Say what? How is that guy a scientist? Anyway, he writes this as to fill in the gaps that he consciously and deliberately left out when he returned from the expedition, all of its members sworn to secrecy on some aspects of the trip. He sounds more like the leader of a cult than a member of a scientific group, doesn't he?

The end is more satisfying, though, where even Lovecraft's roundabout and subjective exposition has to give when describing the things they actually discover, explore then run away from. Even if I cannot abide the motivations of his characters or enjoy the way things are made more or less horrible or grotesque by their close minded whims, I have to declare some affection to the universe Lovecraft describes and perhaps some lingering interest on what one could make of it.

And indeed, people have been trying to resurrect Lovecraft's work in various ways: board games, graphic novels, sequels and prequels, movies. I seem to remember a 2005 movie that I liked, made after The Call of Cthulhu, but even that was made as a silent black and white film using the exact text from the story. And even if it achieved its goals of bringing Lovecraft's work to the screen, it did nothing to make it less dated or more accessible to a modern audience. Guillermo del Toro wanted to make a movie after At the Mountains of Madness, but he was deflected by film studios and his other work, mainly Prometheus. Del Toro even said that he would not make the ATMOM adaptation because it would have the same premise and twist as Prometheus. I am not so sure they should have been similar, but hey, that's how he saw it. What I am trying to say here is that modernizing Lovecraft for the present audience takes most of the love out of the craft :) Even this novella, which was a little bit longer than a short story, had so much roundabout storytelling and filler descriptions that if you took them away you would remain with a skeleton idea that could mould over anything.

So, my conclusion is that At the Mountains of Madness is one of the most accessible Lovecraft writings. It seems less dated than others and actually brings some clear descriptions of what is going on, not just randomly used adjectives testifying to the bizarre mental state of the characters. I can see no way to modernize or take the story and bring it to a modern audience without breaking the plot and turning it into something else, so if you want to experience it, you need to read the novella. It's relatively short so it shouldn't take much, unless you find it hard to go past the most descriptive parts without falling asleep, as I have.

and has 0 comments

  Oh, what a wonderful book this was. A cross between a William Gibson and a Peter F. Hamilton book, Accelerando was like a cyberpunk's wet dream. Not only it describes the deep transformations of our culture caused by the increasing power and speed of computation, but it goes further, years, decades, centuries and millennia more. You know the feeling you get when you get close to the end of a book and you sigh "Oh, I wish it would continue to tell the story"? It happens at the end of every chapter. It's like Stross could have ended the book at any point, but he chose to continue the story until its satisfyingly circular end. What is it with writers and the return to origins, anyway? There is an explanation for the structure of the book, as the author originally published each chapter as a separate story.

  What is even nicer is that the story doesn't skim the details, showing only superficial bits that further the story, but it goes into everything: cybernetics, economy, ethics, law, the nature of consciousness. It gets frightening at some points when you realize that in the situations depicted in the book reality would be even more carnivorous and that your own individuality (held coherent in the book for the benefit of the reader) is just an illusion we cling to, ready to dispel when we muster the courage (or the insanity) to let it go.

  I also liked how, while it was human-centric, the book did not limit itself to one species, nor did it go the way of accelerating (pardon the pun) until the whole story becomes meaningless in some encounter with a God like alien or by complete transcendence. I have to say I appreciate Stross immensely for not doing so, which is the normal and easiest way for a geek to end such a story: by generalizing the hell out of the situation until no particulars make sense. In that, the writer showed real restraint and mature wisdom. It makes me want to read all of his books.

  If you want to know what the plot is, you will have to read the book, as I can't really do it justice here. I can tell you that it made me believe in an explosive evolution of the human race in my lifetime more than any Kurzweil discourse and it did it easily, by simple measuring MIPS/gram on the scale of the entire Solar System. If we will run Moore's Law for a few more decades, it will make enormous sense that "dumb matter" is done for. It is a fantastic vision of computation as a devourer of mass, a frightening equation akin to Einstein's matter to energy conversion. Did I mention that it also - convincingly - explains Fermi's paradox, much more so than "we get to build androids for sex", which was the most believable for me so far?

  Needless to say it, but I will anyway: go read it, read it now! It is an amazing book. It is a little too pretentious in some parts, when it bombards your brain with technobabble just so it gets you "future-shocked" enough to understand the characters, but what cyberpunk fan doesn't eat that up, anyway? Also the familial connections in the book are a bit too overdone, but then again, they provide the generational point of view necessary to describe centuries of human evolution. There is a page - surprisingly Web 0.9 for such a plot :) - for the book, with an extract from the first chapter, but I don't think it is representative for the entire work.

You can actually read the book online for free, from the author's site: Accelerando

and has 3 comments
We is a classic book, written by Russian author Yevgeny Zamyatin, who envisioned how the future in the hands of the Bolsheviks will work against the individual. He imagined a world in which all people shave their head, wear the same uniform and have numbers instead of names and live in completely transparent buildings, with no privacy. As the preface of the book there are three commentaries on Zamiatin's genius, history as a writer in Russia, then his voluntary exile and the interdiction of his works in Russia.

So did I like the book? No. To say that is dated is an understatement, but it's not only that. The style is that of a diary, but one in which dialogues between people are described verbatim. The way they speak is emotional, hysterical, they interrupt each other and words are incoherent, so contradictory to the premise of the book. Even the inner thoughts of the main character are chaotic, childish, delirious, with wild mood swings. It was so horrible that, after deciding that 200 PDF pages were not going to be a lot of reading, I stopped at 50 and started skipping ahead. The entire book is like that.

Maybe Zamiatin was a great writer, but I don't see it. Just because he was Russian is no excuse for his incoherence. It felt like he wrote the book while intoxicated; with too much coffee. Even if he starts his book with Dear readers, you must think, at least a little. It helps, I believe that it was his duty as a writer to communicate his ideas in a digestible form. Maybe thinking is different from person to person, Zamiatin. If I think about it, the story within is similar to the movie Equilibrium, only that was more action based, as any American movie is prone to be, and watchable. The same champion of the system being seduced (through a woman, how else?) by the emotions that he was sworn to fight against.

About the subject of the book, I can say that stories about rebels fighting Utopian regimes are making me feel conflicted. I care about the personal desires of the individual, but I also care about the overall system. One must understand that a centralized and overall controlled system is as disturbing to a person that experienced individual freedom as is a decentralized system based on individuals is for someone that lived in a different environment. To assume that one or the other knows better is just arrogant and stupid. The worse thing that can happen, in my view, is to only have one acceptable system that, even if we could leave one country for another, would be the same all over the world.

On the other hand, once you, as an individual, decide that something is right and something is wrong, you have a responsibility to act. I just remember that quote Slaves dream not of freedom, but of becoming masters. It would be a lot easier for me to accept people rebelling against systems if they would stop attempting to change the world for everybody, not just themselves.

Well, I will leave you with a quote from the book, one that seemed eerily contemporary: If human liberty is equal to zero, man does not commit any crime.

and has 0 comments
I will go forth immediately and say that this book is hard to read. It's not just that it uses English names of fruits and plants not often met in normal conversation or movies, it's not only that it uses the English measurements units that most Europeans have no understanding of and it's not even the author's apparent obsession with Angostura bitters :). It's because the book is filled with information and it is better suited to be used as a reference than a one-off read. It is obvious that in The Drunken Botanist the author, Amy Stewart, put a great deal of research; such an amount, in fact, that it would be impossible to be able to absorb all of it in one read. You realize that a book is great when you see affecting you in your every day life. No, I did not get drunk every day on strange cocktails, even if the temptation certainly existed, but I found myself looking at plants everywhere and wondering how they would taste in a drink. "Is that fruit edible? Probably not, it's red and the fruit of a decorative tree, so probably it is poisonous. But surely there is a way to destroy the poison and enjoy the taste in an alcoholic drink." That sort of thing.

And what I find even nicer is that the author is ready to continue the conversation started in the book on a special website called DrunkenBotanist.com

The book is split into very little chapters, each on a certain plant, a little bit of history - the degree of details varying wildly, but described with great humor and passion, the way they are used in drinks, cocktail recipes, some botanical or chemical info - although not too much. There are organized by themes, like leaves or fruits, grasses or trees, and so on, but essentially it's an enumeration of plants and their uses. This is something I didn't like that much. My issue is that I expected to see more botanical information, like how plants are related and how the drinks made from them are related. As such, you only get a few words at the beginning of a chapter about the plant's family, but no connection is made. Of course, no one stops you for researching and doing it yourself.
Another thing that bothered me a little was the images. I agree that full color and size images of the plants described would have printed as a huge book, but the e-book version I read had no such limitations. Instead of seeing a simplistic representation of some plants, I would have liked to see the plant itself. That would have helped me understand what each plant was in my language, as well.

I have to conclude that the book is a very interesting one, albeit difficult to finish reading. I understand the need to earn money and thus sell it as a book, but for me it seems that the book's format would have been a lot more appropriate for a web site and that some features should have been different in the electronic version than the printed one. Instead, the Drunken Botanist site is actually a blog, in a blog format, which is unusable as a reference, really. I recommend browsing the book and certainly have it available. Some information in it is great at parties and the botanical insight into the common drinks and their ingredients is fascinating. But think of it as something to have ready for when you need to know what you are mixing. I would say it's a mandatory read for any bartender, though.

Your Inner Fish is a very nice book, popularizing the science behind paleontology and anatomy and making a surprising and thorough connection between the two. In short, Neil Shubin describes the way bodies are built and how our ancestry, from single cell organisms, fish, amphibians to primates, influences our design. It is a rather short book, and also easy to read. From field stories of discovering fossils in the wild to the anatomy classes that he teaches in university, the pages take one through a journey of true discovery and makes us understand so easily some things that very few people consider simple.

I could review Your Inner Fish for you, but someone did a lot more effort of it here. Also, the University of California Television YouTube channel released a one hour video presentation of the book which I am attaching to this blog post, as well as what seems to be the book's Facebook page. What I can say is that I liked the book a lot and I recommend it to everybody, science minded people or not.

and has 0 comments
I've reviewed two books of William Golding already and both of them were complex analyses of the human nature. This little novel, The Double Tongue, is similar in complexity. A note at the beginning of the text is explaining perhaps best why Golding's books are so great in details. You see, the novel was published posthumously, after a draft of it was found in Golding's belongings. He has already finished the book once, wrote another version and had started on another draft. No wonder his books were so reflective and self referential and connected to so many other works of literature or philosophy.

About the content, it is rather interesting, as it details the story of a girl in ancient Greece, just before Romans started dominating the country, who becomes the Delphi Pythia. The story quickly goes to the decorative role a "well bred" female would have had in those days, carefully instructed how not to draw attention, kept in total ignorance, all for the moment when she would be offered to a husband. After attempting escape from this fate, the only option her father has to "do with her" is to give her to a priest of Delphi called Ionides. Thinking she was going to become a servant of the temple, sweeping floors, she becomes the oracle. This is used to analyse concepts as religious sentiment, political use of faith and to describe the parallel system used in this world of superstition and showbiz.

I thought that it was a really short story. Told from the point of view of an octogenarian woman, it dwells on the adolescence, the initial shock of coming to Delphi, but very quickly skips entire decades to bring the conclusion. The title is relating to both the Python that the god Apollo killed in the Delphi cave, which gave him the forked tongue that said two things at once, but also to the double system of religious ecstasy backed by very real intelligence networks and the duplicity of people who either declare themselves religious while lacking the sentiment or the other way around . The story is inspired by Ion of Euripides and the ending is revealing only to a select few who understand the reference to a passage of the Bible (see here and here).

I can say that I liked the novel. It wasn't a "wow" thing like in the case of Lord of the Flies, nor did it cause me to feel more enlightened with the final reveal. Being that short and the last novel of Golding, there is really no reason not to read it.

When I first opened the ASP.NET MVC 4 Recipes, by John Ciliberti I was amazed. It seemed to transcend the reference book and go into a sort of interactive path thing. You know interactive books, where you read the book and at certain points you get to choose what the characters do by going to read one page or another? This is what Recipes seemed to be. You get to a point where the author tells you which chapters to read and in which order based on your role in the organization. That is and will remain a wonderful concept and I would see more books steal it for themselves. However, the actual content of the book did not feel as great as its presentation, I am afraid to say. This is not to mean it is a bad book, only that I expected a lot more from it from reading its "mission statement". The book is Microsoft centric, obviously, but it says very clear that it will solve problems with Microsoft products as a rule. For example it favours KnockoutJS as a JavaScript framework. But that's not really annoying, though.

I think what bothered me most was that the content was all over the place. There are some chapters in which there are specific problems. The problem is described, then the solution is provided. Very nice. But then there are some problems that are vague and general with a very specific solution, lending a lot of lines to some issues and moving past others in a hurry. Of course, I would have liked all of the problems to have their own book and that was impossible, but the compromise here did not feel as great; I thought some of the problems were not really something someone would have more than once, and sometimes never, so using the book as a reference helps only so much. Some examples of problems to be solved: You would like to begin working with ASP.NET MVC Framework, but you do not understand the MVC pattern and why it is beneficial. - why would you start reading an ASP.Net MVC book if you don't even understand the MVC pattern? You would google something first. Or: You have started using the new .NET asynchronous programming pattern and love its relative simplicity compared to other programming models. However, you would like to have a better understanding of the code generated by the compiler so that you can improve the designs of your asynchronous methods. So you jump from not knowing what MVC is to wanting to read IL. Maybe I am just mean, but it soon turned into a very hard to read book from jumping from one issue to another like that, from level to level. Not to mention some "loaded" problems that have a description several lines long in the form of "you have found that your company strategy sucks, because of 1,2 and 3, and you want 4,5 and 6 because 7,8 and 9". It doesn't sound like my problem at all :)

Bottom line: I have not started working with ASP.Net MVC, yet, nor do I believe that my first job with it would be as an architect, so I will have an opinion on how it works in real life in a few months, probably. The book seems useful now, but not the ASP.Net MVC start to end tutorial that I wanted when I started reading it, and maybe that is why I had such a critical eye for it.

and has 1 comment
This is the second book about LSD that I read, after The Center of the Cyclone: An Autobiography of Inner Space, by John C. Lilly and it is also the autobiography of a scientist, but unlike Lilly, who seemed to have gone bonkers while writing his book, Hoffman maintains a scientific attitude about the whole thing, objective when needed, subjective in more personal chapters that he clearly delimits from the others. LSD: My Problem Child is the story of the invention of the drug, straight from its inventor, Albert Hoffman, a then chemist for pharma company Sandoz. In a nutshell I loved the book, the style, the author's integrity and the fine ironies that he slips from time to time. As you can see in the link above, the book is already free online so there is no real reason not to read it.

Hoffman explains in the book how, while researching the chemical properties of the ergot and attempting to potentate substances already discovered to have positive medical effects, he created Lysergic acid diethylamide. The substance had no visible effects on the test animals so he went on testing other substances. Five years it took for Hoffman to return to LSD in order to further understand its function. Usually a very thorough chemist, he touched some of the substance and only then the effect was understood. This simple anecdote hints on how many interesting chemicals we might have gone unnoticed, even after someone created them.

The method by which chemists work to find useful chemicals in nature is also very interesting. They take a plant, let's say, that has a specific effect that is testable via animal experiments. They isolate the active substance that produces that effect. Then they attempt to recreate the substance synthetically. After doing that, they test all kinds of related substances that they create via simple chemical operations from the original substance. This often leads to more powerful drugs or even completely new effects. Quoting from the book: "Of the approximately 20,000 new substances that are produced annually in the pharmaceutical-chemical research laboratories of the world, the overwhelming majority are modification products of proportionally few types of active compounds. The discovery of a really new type of active substance - new with regard to chemical structure and pharmacological effect - is a rare stroke of luck."

It took another five to ten years for LSD to reach mainstream. Until then psychologists and psychiatrists were using it to more effectively reach the patients and LSD was considered a wonder-drug. Sandoz was extremely happy with Hoffman's discovery. But then it became a subject of abuse. A counterculture of recreational use for LSD led to an institutional backlash that made the drug illegal, even if it was not addictive, not toxic and one could not overdose accidentally. However, it was essential to take it in a controlled environment, with someone to act as a guide and safety net. Many people did not do this and hurt themselves or others or had psychotic breaks. To get someone out of an LSD trip was simple: either guide them via calm words or (the technical solution) give them a calmer agent like cloropromazine which immediately cuts off the "high".

How come the black market is filled with toxic, addictive, nasty drugs, but someone considers LSD to be a problem? Anyway, I am quoting again from the book, a little bit that talked about experiments on primates, but one that I took to be a fine ironic jab at society's reaction to the drug: "A caged community of chimpanzees reacts very sensitively if a member of the tribe has received LSD. Even though no changes appear in this single animal, the whole cage gets in an uproar because the LSD chimpanzee no longer observes the laws of its finely coordinated hierarchic tribal order."

What I liked about the book very much was how thoroughly and objectively Hoffman researched LSD and other psychedelics (he also identified and separated psilocybin, another psychoactive substance present in "magic mushrooms" used by native Americans in religious rituals). He not once preached the recreational use of the drugs, deplored the misuse of these kinds of substances, but he also kept a strong position that they do no harm and can have amazing effects when used for medical purposes and the correct way. Far from being a "druggie" book, this is one of those autobiographies that you can't let down from your hands until finishing reading it. I recommend it wholeheartedly.

and has 0 comments
The sixth book in the Dexter series is not really better than the others. I would have thought that five rehearsals would have resulted in a slightly better book, but instead it seems as if Jeff Lindsay is slowly losing the inspiration he started with book after book. In Double Dexter, the police is impossibly incompetent and this time even Dexter falls into the same category. It takes him chapters to do and act like he was supposed to and a lot later than even an average reader would see it coming. The opponent is inconsistent and not really a challenge, if it weren't for Dexter's apparent drastic drop in IQ.

If you have not read any of the books so far and maybe just watched the CBS series, be warned that they are completely different beasts. The show writing is clearly better and the plots are divergent to the point of being different stories altogether, but with the same character. Not that this eighth and final season is great writing anymore, but that's a different subject altogether.

Bottom line: Having read Double Dexter, I cannot say that I hated it, I really like the character, but I think Lindsay is bored with Dexter. Maybe he should just invent someone else and start writing better books.

I have been hearing about the AngularJS library for a few months now, people often praising it as the new paradigm of web development. It is basically a JavaScript MVC framework that makes heavy use of markup language in order to declare the desired behaviour. Invented at Google by Miško Hevery, it uses cacheable templates, databinding and dependency injection to combine the various components that otherwise are independent and testable. It also comes with its own testing framework (unit and end-to-end) and a way to describe unit tests Jasmine (BDD)style.

So I started reading about this new framework in the book intuitively called AngularJS, written by Brad Green and Shyam Seshadri. They start with an anecdote, discussing how they were working on a web application at Google. They have already written 17000 lines of code in about 6 months and it was almost finished, albeit with great frustration related to development speed and testability. This guy, Miško Hevery, tells everyone that by using a framework that he wrote in his spare time (you gotta love devs!) they could rewrite the whole application in two weeks. He was wrong, they did it in three weeks and at the end the whole thing has only 1500 lines of code and was fully testable. This was a great beginning for the book, as it starts with a promise and then (sorry, couldn't help the pun - you will see what I mean if you read the book or know AngularJS already) it describes how to achieve your goals. The book itself is not large, about 160 PDF pages, and can be used as both a primer and a reference. It describes the basic concepts of AngularJS and how they can be put to work, with some small app examples at the end. Of course, you have a link to where to download all their code samples.

What do I think about the book? It was pretty good. It shows the authors' preference towards Linux setups, but it is not annoying. Each chapter is clear and to the point. The framework itself, though, is original enough that after a few chapters it is almost impossible to understand everything without tinkering with the code yourself. Unfortunately I didn't have the time and disposition to do that, so just because I've read the book doesn't mean I know how to work with Angular, but I am confident that when I will actually start working with it, it will all come together in my mind. Also, as I was saying, the book can easily be used as a reference. It is not a complete overview, not every AngularJS feature and gotcha can be found in its pages, but it's good enough.

What do I think about the framework? It seems pretty spectacular. My only experience with JavaScript MVC frameworks is from a short brush off with BackboneJS. At a time I thought I would be working with it a lot and was boasting here that interesting posts would appear. Alas, it was not to be. Sorry about that, maybe better luck with Angular. Backbone was pretty interesting, but it had a horrendous way of working with data models and it was very easy to break something and not realize where it came from. There seems to be a lot more thought put into Angular. An interesting point is that the writers advertise TDD as a way of actually working and claim they do so themselves. I have seen many people trying and giving up, but I have hopes for JavaScript. You don't need to compile things, you don't need complicated servers or time consuming deployment steps: just change stuff and run the tests and/or refresh a page. I like the fact that the creators of AngularJS put this much work into making everything testable.

So go ahead: read the book and try the framework!

Update 24 Aug 2013: I've started reading dev blogs again and I've stumbled upon a 70 minute video by Dan Wahlin presenting AngularJS. His explanations seemed a lot more down to Earth than those in the book so I felt that his video really complements rather well what is written there. Here it is:

and has 0 comments
Old Man's War is the first book in a space opera series that spans five books (at least at the moment). People recommend it highly and I do have to admit that it is well written, with an easy going style that is also well read. John Scalzi is not trying to create the perfect world, with details that always make sense and with crushing emotional depth, though. The book is something that you can finish in a day or two, with no sleep lost on what the characters are going to do next. For a while it did remind me of the excellent, if repetitive, Seafort Saga, by David Feintuch, but while that series felt dated because it was inspired by the British navy and was written in 1994, Old Man's War was written in 2005 and had no real reason to, but it did. If you haven't read Seafort's Saga, especially Fisherman's Hope, the fourth book, I would recommend it over this.

What is it Old Man's War about? Well, in the future, old people from Earth are joining the army when they are close to death because the CDF, or Colonial Defence Force, has the technology to rejuvenate them in exchange for a limited conscription. I won't spoil for you the exact method, but let's just say that it has a lot of logical problems that are compounded by the concept of the Ghost Brigades. So you have this main character, a funny old fart that joins at 75. One can assume that in the future 75 old people are still humorous and reasonably mentally and physically fit, as opposed to now, but even so, Scalzi was 36 when the wrote the book. What made him feel like he could pull off a character twice his age, with all the wisdom and particularities one gathers at that age? In my opinion, he rather failed, as John (why do people use John as their leads in books and scripts? Is the name really that common in the US? I have to admit that Lost ruined that name for me. Every time I hear about a guy named John I hear the phony people in Lost intone it with grave meaning while they're saying absolutely nothing important. Arrgghh! Anyway...) comes off closer to the writer's age (and having the same name, too). I might even have an issue with the title, since John is an old man for a third of this first book and then he's young and fit.

The rest of the book is about how he intelligently and valiantly rises from the rank of corporal (which he earned in training in an equally smart way) to captain in a few months and has a series of unlikely events happening to him (and here I am not making a pun of their explanation of "skipping", either). He makes connections to some people, which the writer attempts to infuse with meaning, but somehow fails, as when some died I didn't feel anything. Scalzi gets it right towards the end of the book, but then the book ends, and ends in a less satisfactory manner than I would have expected.

To summarize: I will probably read the next books to see what happens. However, it does seem a bit too light, too rational (in writing style), to make an impact. I do feel that John Scalzi has a lot of potential as a writer, but that somehow he misses the emotional component necessary for a book to "click" with the reader. On the other hand, I've seen a lot of rather failed first books that only led to the writer blossoming in the following publications. I do hope that's the case here. The fact that Paramount Pictures optioned the book in 2011 only shows it is rather shallow, as the really deep ones never make it to film. This doesn't mean I didn't have fun reading it, but most of the time I waited for something to happen. I felt that everything was a setup for something grand. When the book ended I was a bit shocked, as I thought I was in the middle of the story at least and still waiting for that big thing to occur. It's not a hard sci-fi book, it's not a personally jarring one and it is not a military heavy story. The obvious bias towards the human hero makes it all feel surreal.

ASP.NET MVC 4 and the Web API, by Jamie Kurtz, is the one of the new breed of technical books that read like a blog entry, albeit a very long one. The book is merely 100 pages long, but to the point, with links to code on GitHub and references to other resources for details that are not the subject of the book. The principles behind the architecture are discussed, explained, the machine setup is described, the configuration, then bam! all the pieces fit together. Even if I don't agree fully with some of Kurtz's recommendations, I have to admit this is probably a very very useful book.

What is it about? It describes how to create a REST web API, complete with authentication, authorization, logging and unit testing. It discusses ORM (with OData), DI, Source control, the basics of REST and MVC, and all other tools required. But what I believe to be the strength of the approach in the book is the clear separation of modules. One can easily find fault with one of the pieces recommended by the author and just as easily replace only that component, leaving the others as is.

The structure of the book is as follows:

  • Chapter 1 - A quick introduction of ASP.Net MVC4 as a platform for REST services, via the Web API.
  • Chapter 2 - The basics of REST services. There are very subtle points described there, including the correct HTTP codes and headers in the response and discoverability. It also points to prerequisites of your API in order to be called REST, like the REST Maturity Model.
  • Chapter 3 - Modelling of an API. This includes the way URLs are formed, the conventions in use and how the API should look to the client.
  • Chapter 4 - The scaffolding of your Visual Studio project, the logging configuration, the folder structure, the API DTOs.
  • Chapter 5 - Putting components together: configuring NInject, designing your classes with DI and testability in mind.
  • Chapter 6 - Security: really simple implementation with a lot of power provided by the default Microsoft Membership Providers.
  • Chapter 7 - Actually building the API, making some smoke tests, seeing it all work.


The complete source of the project described in the book can be found on GitHub.

My personal opinion of the setup is that, while all seems to fit together, some technologies are a bit over the top. NInject, I had personal experience with it, is very good, but very slow. The ASP.Net Membership scheme is very verbose. While I wouldn't really care about it as implemented in the book, I still cringe at the table names and zillions of columns. Also, I am slightly opposed to ORMs, mostly because they attempt to mould you into a specific frame of thinking, that of CRUD, making any optimization or deviation from the plan rather difficult. I've had the experience of working on a project that had all of its database access in stored procedures. To find what accessed a table and a column was a breeze, without knowing anything about the underlying implementation. But even so, as I was saying above, the fact that the author separates concerns so beautifully makes any component replaceable.

I highly recommend this book, especially now, when the world moves toward HTML and Javascript interfaces built on web APIs.