Last week I had the opportunity to chat with a principal researcher / architect who works for one of the top 10 in the list of the World’s Most Admired Companies.
He was explaining to me how to do a search in a very long string. In this set of two or three blogs I will try to determine how to perform a search of damaged patterns. Continue reading “Find Damaged”
Yesterday was sunny and all the snow on our deck has melted away, so my wife and I decided to grill for the first time this season. I believe the temperature went up to 58 F. The day was not as warm as I would have liked, but on occasions I went out just wearing a t-shirt. We grilled homemade hamburgers, potatoes, and corn. We fixed on the stovetop mushrooms with onions and garlic. All was very good and as usual we made too much food. That is fine because we will just warm up leftover today. Continue reading “Java Priority Queue”
Good morning. In this post we will explore RabbitMQ by Pivotal. RabbitMQ is a message broker. Message brokers are considered middleware. Applications subscribe to a queue to send and receive messages. Another queue broker I have used in products is MSMQ from Microsoft. In this post we will only experiment with RabbitMQ. You may decide to use message queues to communicate between microservices. Continue reading “RabbitMQ – Hello World”
It is almost time to complete the first 2-hour block of the day. I work using a technique called Deep Work. Today I got up at 05:00 AM and have been at it for about two hours. I believe I have enough time to complete this post.
I received an email message from HackerRank with the Game of Thrones – 1 challenge. The challenge is simple. We have to determine if a string of characters may be converted to a palindrome or not. Keep in mind that palindromes longer than one character are made up of pairs of characters. Continue reading “Game of Thrones – I”
My wife is out with a friend shopping. She is expected back around 11:00 AM. At that time will start preparing lunch.
I took a look at the next Hacker Rank challenge for strings in Java. If interested you may find the description here.
Continue reading “Gemstones”
Good morning. It is a cold morning in the Twin Cities of Minneapolis and St. Paul. When I got up around 04:00 AM the temperature was around -1F. I believe it will rise during the day.
My wife left with our neighbor shopping. They should be back around noon. We are planning on making some ravioli from scratch. On workdays my wife cooks, but on weekends we both do. Have some red wine from last week which we did not finish. It should be a nice and cozy lunch. Continue reading “HackerRank in a String”
If you have watched Red with Bruce Willis you may recall the opening scene. Frank Moses (Bruce Willis) is a retired CIA operative and he is sleeping in his bed. On the night stand next to him there is a clock. The clock is ticking down to 06:00 AM. Just as the clock reaches 06:00 AM, without the need of an alarm, Frank Moses wakes up and calmly walks down to the kitchen to get breakfast. Obviously Frank Moses is a very disciplined and a morning person. Continue reading “Tidbits – Streams in C++”