Own JS/CSS options

Sunday, January 27, 2013

Monads for Normal Programmers

If you know people interested in programming language theory, you will have heard of the monad. Especially in Haskell, they are used extensively. When trying to find out what they are, exactly, the average programmer will have a distinct Matrix feeling, though: You can not be told what a Monad is! Lots and lots of websites try to explain what a monad is, so many that you must wonder what an exceptionally awesome concept this is that it can not be explained in simple, understandable terms, but is still so important that people will not simply give up on using it.

After watching a Google Tech Talk presentation recently, I was enlightened as to how monads can be explained to normal programmers.

Saturday, January 19, 2013

One-Way Functions for Unique Identifiers

A somewhat common but faulty pattern for programmers who need to hide information is to use unsalted hash functions. This does not work. Let me explain.

Tuesday, January 8, 2013

Book Review: A Latent Dark

A Latent Dark
by
Why no real cover?

In the steampunk novel A Latent Dark by Martin Kee, eleven year old Skyla barely escapes as the house of her mother is burned down. A hunt begins with Reverend Inspector Lyle Summers trying to bring her in to save his church, while Skyla tries to find out what happened to her aunt.

I was positively surprised by this book. It starts out seemingly as a standard witch story, but soon diverges from the normal expectations. In particular, the author manages to created a unique steampunkesque world while telling the story, mostly without delving into infodumps. The world just unfolds while you read the story. This was very well done.

There were a few things that annoyed me, though. A few sections did not advance the plot fast enough, making it laborous to get through them. The author also over-uses deus ex machina resolutions. They do, eventually, have a coherent explanation in the story, but during reading, too many dramatic situations are resolved by unmotivated semi-miracles. And finally, a pet peeve of mine. Stories with a strong fantasy flair should try and avoid modern physics as the main explanatory point. Explaining magic using a modern understanding of subatomic physics just kills immersion for me.

Other than that, a well-written and an enjoyable read. Recommended.

Book Review: Riverwatch

Riverwatch
by
Why no real cover?

In the mystery novel Riverwatch by Joseph Nassise, construction workers find an ancient statue in an abandondened tomb. When they return with the property owner, the statue is gone, and a corpse is in the tomb instead. Soon, others are killed as well.

The narrative starts out well in the style of Lovecraft, but soon switches to describing the evil explicitly, turning the book from a horror novel I might have enjoyed into a mixture of mystery and splatter which is not exactly my kind of genre. And while the text is mostly written fluidly, the story is a bit too cliché and the characters remain flat and uninteresting thorough the book, so I was actually happy it was over when it was.

I suspect I might have enjoyed the book more if it had been my type of genre. So if you enjoy mystery books about ancient evils splattering in the modern world, you might like it.