Tag Content Extractor

It is a nice sunny day, at least when I was having breakfast earlier this morning, in the Twin Cities of Minneapolis and St. Paul. Better yet, it is Friday!!!

Spoke with one of my sons. He and his family had scheduled a holiday and were on the road. When they moved, they build a home. Some years went by and last fall they decided to buy a new one that they liked. Shortly after they moved and put their first home on the market. A few months went by and finally they closed on it yesterday. I am very glad for them. Having two mortgages is not convenient at all. Continue reading “Tag Content Extractor”

Java SHA-256

There was a full moon this morning providing some light before the sun came up. That was nice.

This week I have been taking care of some items that I could not during the past two. My wife and I were able to renew our TSA Pre Checked status for another five years. Was not sure why we had to answer the same questions we did five years ago, and get fingerprinted again. As far as I understand, fingerprints do not change over time. If they would, they would be totally useless. I do not recall if last time we had to present our passports or not. We did have to get our pictures taken. I do agree that the look of people may change in five years. The renewal will kick in before our current one expires. Continue reading “Java SHA-256”

Java MD5

Good morning. I woke up around 04:30 AM. Read for a while and then decided to try the Java MD5 challenge from HackerRank.

MD5 is a message-digest algorithm used to produce the same 16-byte string when using the same string. The input string is typically converted to bytes using a predefined format. This is done because we want the same digest to be produced when we input the same string. Continue reading “Java MD5”

Java Dequeue

It is a relatively warm day in the Twin Cities of Minneapolis and St. Paul. My son tweeted an hour or so ago that the temperature by his place was 46F. Not a day to wear swim trunks and T-shirts but a very welcomed change.

I was going to clean up the code for this post but I have a Docker webinar to watch soon.

The subject for this post is the Java Dequeue (https://www.hackerrank.com/challenges/java-dequeue/problem) challenge from HackerRank. It is a mix of double ended (doubly linked) queue and hash map. Continue reading “Java Dequeue”

Java Stack

It is Tuesday morning and woke up a few seconds before my alarm went off. Did some reading and decided to give Java Stack from HackerRank a try. I am quite sure I have solved this same challenge with a different name in this or a different platform. I am working on some medium level stuff and when tired will jump up to the next level. Continue reading “Java Stack”

Java Interfaces

Beautiful sunny day in the Twin Cities of Minneapolis and St. Paul, not that matters because I am working indoors in my home office, and it does not have an outside window.

Last week I was talking with a software engineers and the topic of interfaces came up. An interface is a contract stating that we define a list of methods in the interface and any class that uses the interface must define and implement the methods listed in the interface definition at a minimum. Additional methods may be included if necessary. Continue reading “Java Interfaces”

Java BigDecimal

It is Monday. It is a beautiful sunny day in the Twin Cities Area. All is well so far.

I picked up the next Java challenge Java BigDecimal from HackerRank.

The challenge requires for one to sort in descending order a specified set of numbers provided as strings. You can read the entire description at the HackerRank web site. Continue reading “Java BigDecimal”

Climbing the Leaderboard

I was going to say “What a week” but today is Sunday and in some calendars, the week starts today so technically last week is over.

Last Monday and Tuesday I had to deal with a water leakage issue generated by a new water meter installed by the city a couple weeks ago.

On Wednesday, our SUV popped the two right side tires in a set of potholes covered with water as I was entering Cedar Avenue also known as 77, on my way home from having an oil service at the dealership. Continue reading “Climbing the Leaderboard”

Sieve of Eratosthenes

It seems like my wife has a new doctor’s appointment towards the end of the day today. It has been a very hectic week. Hopefully we will be done with putting out fires soon. I enjoy waking up early morning and spending my time learning and working in two-hour blocks. Typically I get in 5 blocks on workdays and 2 to 3 on weekend days.

A few days ago I was solved a HackerRank challenge which dealt with prime numbers. I wrote a post but did not go into too many details. The approach I used was based on the Sieve of Eratosthenes. Continue reading “Sieve of Eratosthenes”

Docker Webinar #1

It has been a week from hell and it is only Thursday afternoon. Allow me to elaborate. On a previous post, I mentioned the events regarding a water leak in my office. That occurred last Monday and Tuesday. At this point I only have to call to return a fan and ask for reimbursement on four books that got damaged by water.

On Wednesday I stopped by the car dealer to get an oil service for my vehicle. It has a lithe over 4,000 miles. I do not drive too much since I work from home. On my way back on 494 E I exited on the ramp to get to 77S (Cedar Avenue). As I merged into Cedar I started accelerating and moving to the center lane (Cedar at that point has three lanes plus a fourth one to enter and exit). As I was reaching the bridge for Old Shakopee Road, my two right tires popped as I hit a set of potholes covered in water. It was raining and quite foggy. After stopping on the bridge over the Minnesota River, I decided drive to a nearby gas station to see if I could put some air in my tires. Lucky I have run flat tires, otherwise I would have had to call a tow. When I tried putting air, I noticed that both tires had openings of about 5 to 6 inches. The only solution was to get them replaced. After talking with my son, he suggested the closest shop which would offer a rental while they replaced the tires. Shortly before 05:00 PM I received a call that the vehicle was ready and headed out to pick it up. Continue reading “Docker Webinar #1”