Building Microservices – Peek

In general I tend to read only one book at a time. I fully understand that when you are in K-12 and later in college, you are obliged to read books for the different simultaneous courses that you are taking. Once people are done with formal training, most of us never read a book again. That is a shame. It seems that the rush in life does not give us time to read. When tired we just sit and want to be entertained by whatever is being showed on TV or at a theater. My wife and I prefer to sit down and chat. When we are not working and are not together, we both read books. About a year ago we stopped watching TV so we returned the cable boxes. Today we only have Internet access. That way, when someone recommends a movie, we are able to get it on-line. All our TV sets at home are equipped with Chromecast which makes it so easy to watch from pictures to movies. Continue reading “Building Microservices – Peek”

Geographic Information Systems (GIS)

A few weeks ago I was looking in Amazon for books that dealt with photogrammetry. During my search some associated books showed up. After taking a look at the table of content on two that called my attention, I decided to go with both, not for depth in the subject, but to get a broad look at GIS.

One of the books I selected is titled Geographic Information Systems – An Introduction by Tor Bernhardsen published by Wiley in 2002. In chapter 10 Data Collection II, section 10.3 Photogrammetry Mapping provides a simple and high level description of the basics in the subject. To be honest, you can get a more up to date and extensive description in Wikipedia. Continue reading “Geographic Information Systems (GIS)”

Beyond Fear

Hope your Memorial Day weekend 2017 is going well. Yesterday afternoon my wife and I stopped by her brother’s place to prepare, cook and then consume a late lunch. Earlier in the day my wife chopped some onions and peppers, cut some chicken thighs and pork shoulder, I pulled from the freezer some bags of shell fish (OK sue me, we eat pork and shell fish) and an assortment of spices (including saffron). We put in the trunk of the car a box holding the ingredients and our 24” paella pan. Continue reading “Beyond Fear”

Jiro Dreams of Sushi

Last Friday GC (software engineer) on his way to work was listening to a podcast. During the program a video “Jiro Dreams of Sushi” was recommended for the audience. When GC arrived at work he sent me an email suggesting the documentary. Continue reading “Jiro Dreams of Sushi”

Bag Algorithm

bag_queue_stackHave to admit it, after a few (will not say how many) years studying Computer Science, architecting and developing systems in multiple programming languages and platforms I had missed the Bag algorithm :o( Gladly I am spending time reading and performing several (do not have time to work on all) exercises and examples in the Algorithms fourth edition book by Robert Sedgewick and Kevin Wayne.

The Bag algorithm is used to implement an object that stores in no particular order items added to it. There is an Application Programming Interface (API) to get the size of the bag and to determine if it is empty. If an Iterator is implemented, then a client is able to iterate in no particular order through the items in a bag. Continue reading “Bag Algorithm”

Generics Implementation

algorithms_fourth_edition_back_coverThis blog entry is based on the example on page 141 of Algorithms fourth edition by Robert Sedgewick and Kevin Wayne. I am reading the book as a refresher and learning experience on computer algorithms. Initially what called my attention was the statement that it contains 50 algorithms that every programmer should know. I want to make sure I have a good handle on those algorithms. After reading the first few chapters which have not cover the algorithms yet, I feel that the way the ground work is presented is very educational, direct to the point and simple to follow. I always like simplicity in code and documentation. Elegant code is very hard to find and write. This book seems that it should help readers achieve such goal. Continue reading “Generics Implementation”


stackThis blog entry was motivated by the description and implementation of Java Generics in the Algorithms fourth edition book by Robert Sedgewick and Kevin Wayne. The code in this post is based on their implementation. I did some minor changes.

Collections, Generics and Iterators are important concepts in object oriented programming languages. It is central to understand the reasons for them and the associated ideas. If you are interested (and you should if you work with object oriented languages) get a copy of the book and take a look at pages 132 – 141. Continue reading “Generics”

Evaluate Example – Algorithms Fourth Edition

two-stack-algorithmI am reading, experimenting with the examples and working on some (do not have enough time to address them all) exercises using the Algorithms fourth edition book by Robert Sedgewick and Kevin Wayne. I am having a good time refreshing and learning some new things.

This morning I was reading Dijkstra’s Two-Stack Algorithm for Expression Evaluation on page 129. The algorithm is well explained and works. What called my attention is that the actual code does not seem to work on my machine. I already sent a message to professor Sedgewick for clarification. Continue reading “Evaluate Example – Algorithms Fourth Edition”

Algorithms – Chapter 1 and 2

algorithms_fourth_editionI typically write one blog entry per book I read. In this blog, Algorithms Fourth Edition by Robert Sedgewick and Kevin Wayne will be split in comments per one or more chapters.

A few weeks ago I decided to read Algorithms and go over most of the exercises. I wish I would have enough time to tackle them all. This morning I finished reading the first two chapters. So far, so good. Continue reading “Algorithms – Chapter 1 and 2”