Monthly Archives: November 2016

Quick Unit testing with C

throwtheswitch

Unit testing is something that lots of developers are used to, and in environments like Python or Java can be even bundled in some awesome libraries. Easy to use, easy to implement, great results.

Then it comes C Embedded: The environment is different, even the people is different!!. Praising the benefits of unit testing is not that easy sometimes, even writing the unit test functions is not as straigtforward.

In this post, I’ll talk about Unity, a small unit test library for C.

See how we test

Advertisement

Leave a comment

Filed under code, tips

Hyperion

hyperion
What to say about Hyperion.

It’s a Sci-Fi book about 7 pilgrims with 6 stories in it. (Yes, there’s a story missing there, that’s not a typo).

I have this book since 2014 but I did not dare to start it until recently. I excuse myself telling people that it is a long book about weird tales, but there’s no excuse, you should recommend this book to everyone, sci-fi lover or not.

The different narrations range from impressive to breath taking, I don’t think I’ll ever forget Father’s Duré notes, or Weintraub’s sad account of his family’s misery. All the other are also well told, but as it happens, everybody will remember their favourites. Sometimes seems that Simmons gets over the top, but those are minor flops easy to forget.

Be warned though, you may feel swindled when finishing it. Every pilgrim is set off to meet a mysterious god-like machine called the Shrike, but the book does not revolve around this adventure, but on the backgrounds of the pilgrims. So, at the end of the book, you know the same things that you knew back when you started sort of.

Don’t forget that there’s a second book “The fall of Hyperion” (I’m reading right now), that may solve some of the mysteries presented here.

hyperionimage

Leave a comment

Filed under books