Castor Framework

My wife and I are going to attend a wedding on July 5th. I am going to wear black dress shoes. A week or so ago while at Nordstrom’s at the MOA I was going to get a pair of shoes for the occasion. My wife mentioned that I have a pair of never worn black shoes still in their box. This morning, my wife gave me the shoes. I decided to wear them at home for a few days in order to make them mold to my feet. Seems like most of the times I wear new shoes I get blisters on my feet. I am the type of person that wears thick socks even when wearing sandals. Will see how things went after the wedding. Continue reading “Castor Framework”

Deep Work

I typically get a couple dozen technical books for each non technical. I purchased via Amazon “Deep Work” by Cal Newport. I saw it mention while reading an article in Medium. It took me less than a week to read the book. The subject is very well known to me. Will explain why it is the case in the following paragraphs.

I was born in Lima, Peru. My parents left Europe in the 1930s in search of a better life. I had three siblings. One of the twins graduated from college as an international attorney and passed away months after. My other two sisters are physicians. One continued her studies in the USA and Europe. Today she is a professor at an Ivy League school spending time in a lab in China at a well know university. I came to this country over 40 years ago with a scholarship to attend an Ivy League school in New York.

Continue reading “Deep Work”

CRUD Minus R on Mongo DB

20,000 American Flags are displayed for every resident of Massachusetts who died in a war over the past 100 years, Boston Common, Boston, MA, Memorial Day, 2011

It is a beautiful day in the Twin Cities of Minneapolis and St. Paul part of the Memorial Day 2018 weekend. The forecast calls for very warm days. On Monday the temperature will be reaching 95F. My wife and I decided to go for a walk first thing in the morning. Today Saturday we got up at our usual time (05:30 AM CDT), had breakfast (yogurt, granola, blueberries, strawberries, bananas and a cup of milk with a shot of espresso) and headed out. As the walk progressed, we ran into several people getting their daily walk out of the way in order to avoid the high temperatures. Showered and sat in front of my computer. I will be working for the next four hours or so. This afternoon my wife and I will attempt a walk around one of the lakes in Minneapolis. Will be very hot but we are planning on a stroll and a stop for ice cream and water. Continue reading “CRUD Minus R on Mongo DB”

Using the MongoDB Shell

I believe it was Albert Einstein who said “Any man who reads too much and uses his own brain too little falls into lazy habits of thinking”. I like to read in order to learn about different subjects, mostly associated with computer science and technology. I also like to experiment with what I am reading in order to verify that I understand the material. Continue reading “Using the MongoDB Shell”

Echo Server and Client

This past winter was quite long but not too cold. A few weeks ago we received a one two punch with two winter storms. After that the temperatures went up and we had a day with temperatures in the mid 80s. In the past week the temperatures were down. Last night we were in the lower 40s. We turned off the central heating system at home for the season. We have already been using the air conditioner for a few days. This morning the inside temperature upstairs was 66 F. My home office is downstairs. The temperature has been at a solid 60 F so far. My wife and I are planning on going for a walk in a couple hours. Continue reading “Echo Server and Client”

Running MySQL on Windows 10

In my previous post I mentioned that I was going to be spending some time experimenting with MongoDB. So why would I be dealing with MySQL at this time? Good question! The reason for it is that I want to store, among different things, Java objects in MongoDB. I am interested in comparing how the same Java object may be stored and retrieved using a SQL and a NoSQL databases. I could have used a different SQL database (e.g., SQL Server), but decided on MySQL. It happens that I have a few databases installed on my Windows 10 computer. With that out of the way; let’s experiment with MySQL. Continue reading “Running MySQL on Windows 10”

Installing MongoDB on Windows

As mentioned in a previous post, I will be spending some time learning, experimenting and working with the MongoDB NoSQL database.

MongoDB is a FOSS (Free of the Shelf Software) document-oriented database engine. It is one of the most popular engines in its classification. MongoDB Inc offers many free resources for developers to learn how to use their database. There are many books that offer from introduction to advanced information and examples on how to use this tool. I have been reading and experimenting with it for some years. Continue reading “Installing MongoDB on Windows”

Radix Sort

Earlier this week I ran into a description of Radix Sort. This sorting algorithm has been around for a few centuries (yes; that is not a typo). The algorithm dates back to 1887 to the work of Herman Hollerith (and yes; he was the inventor of the Hollerith Card Code for punched cards used in the past century).

This sorting algorithm is not the fastest, it requires additional space, but has been around for a long time. When you read about it, seems like it should not work; but it does. Continue reading “Radix Sort”

Code Complexity

Code complexity is a subject that is taught early on in Computer Science curricula. Not sure if early is the reason why many software developers tend to forget what it is and how to apply it.

Last week a group of developers were talking about the complexity of algorithms and Big O Notation came up. As a matter of fact when considering complexity there are:

Theta notation
Big O notation
Omega notation

Continue reading “Code Complexity”

Returned Value versus Exception Handling

Most software developers now a day write code using object oriented (OO) programming languages. In some cases, due to performance reasons, some code may be written using a non OO language. One way or the other, the question may come up if return codes are better than using exceptions. I do not believe you can come with enough reasons to justify one method or the other which would be accepted by most software developers. What I will do is discuss some considerations and give my opinion. Please take it all with a grain of salt. Continue reading “Returned Value versus Exception Handling”