Greatest Common Denominator

Last weekend my wife and I visited our son and family who live in Madison, Wisconsin. They like to cook and bake like we do. When I was growing up, most summer days I would make ice cream. The techniques and ingredients were quite simple.

Over the weekend my son made ice cream. He did it using the ice cream bowl for the Kitchenaid mixer. It happens that we also have an ice cream bowl. When we got back, we decided to make some ice cream using the same recipe that our son had used. We searched for our ice cream bowl which we have not used in years, but were not able to find it. We decided to use a regular bowl and the standard 6-wire whip attachment. Continue reading “Greatest Common Denominator”

Sum Two

This weekend my wife and I spent it in Madison, Wisconsin visiting our son and family. We left Friday after work and returned Sunday afternoon. The drive is between 3.5 and 4.0 hours depending on traffic. Given that we are in the middle of the COVID-19 pandemic, we were amazed at how much traffic we encountered.

Last Friday morning I took a look into a couple problems but did not have time to write the associated posts. I will do if I have some time in the near future. Note that I have already addressed a similar problem in my post Sum of Two earlier this year.

In this post I will cover a problem I searched for on the web. This problem comes in different flavors. I found the one on LeetCode so I decided to take a stab at it. Continue reading “Sum Two”

Debugging React Applications

The temperature in the Twin Cities of Minneapolis and St. Paul in the past couple days has dropped a few degrees. We just started the month of August which should be midsummer. My wife always says that around the birthday of one of our sons (which is around mid March) fall arrives. I do just do not want to believe that summer is almost over. To tell you the truth, COVID-19 has not helped and to top it off this year the Minnesota State Fair has been cancelled. The fair is what marks the end of summer around here. Continue reading “Debugging React Applications”

Styling React Components and Elements

I continue pushing forward with the React course by Maximilian Schwarzmuller by O’Reilly via my subscription with ACM Learning.

Today is a nice summer day in the Twin Cities of Minneapolis and St. Paul. The private streets in the neighborhood where I live are being redone. Part of the work is on gutter drainage, some on replacing some of the curbs and finally a fresh double coat of asphalt. Today’s work started shortly after garbage and recycling trucks picked up their corresponding items. After the trucks left, noise and dust were all over the neighborhood. Right now all is quite. Not sure if they are done for the day. The final asphalt will be deposited on Wednesday. Continue reading “Styling React Components and Elements”

Combinations

Hello gals and guys! It seems that during the COVID-19 pandemic time goes faster. It is Saturday and the work week went by in the blink of an eye.

This post was motivated by a HackerRank problem which I am getting ready to tackle. I decided to experiment with combinations and factorials to make sure that a brute approach to the actual problem would be futile. In my next post will tackle the basis for a better approach.

As usual let’s start with some chitchat. Continue reading “Combinations”

Tree Preorder Traversal

Good morning! It is a sunny and warm Sunday morning in the Twin Cities of Minneapolis and St. Paul. Yesterday due to high temperature and humidity concerns, my wife and I decided to start lunch earlier than usual. We finished our mid morning cup of triple espresso around 11:00 AM.

My wife made some nachos. She used small tortilla chips, and a block of Colby-Jack cheese which she shredded in the Ninja blender. For the salsa she used one or two avocados, some jalapenos from a jar and some Pace picante medium strength sauce. The plain tortillas with the cheese were placed in a 350 F oven for about 20 minutes. That melted the cheese. Continue reading “Tree Preorder Traversal”

Working with Lists and Conditionals – React

It is a dark summer morning in the Twin Cities of Minneapolis and St. Paul. The official temperature is 75 degrees Fahrenheit and the humidity 98%. Yesterday the forecast for the day was for thunderstorms all day today. When we have severe thunderstorms I prefer to read a magazine and keep all computers powered down. So far I have not heard rumble so I decided to attempt to write this post before things get ugly and I have to switch tasks.

My wife has let me know that the thunderstorms have arrived! Will pick up when they are done. OK, I am back. The thunderstorms lasted about an hour. It seems that the rest of the day will be fine. Continue reading “Working with Lists and Conditionals – React”

Understanding the Base Features and Syntax – React

The COVID-19 pandemic started in Wuhan, China continues to infect and kill people all over the world. As of today Wednesday July 08, 2020 the world total confirmed cases and deaths are 11,900,855 and 545,728 respectively. Of course these numbers include reports from countries that are estimating (e.g., Peru and most Latin America countries) and countries (e.g., China) that for their political and financial gain report bogus numbers. Hopefully better treatments which will drastically reduce the symptoms and general public access vaccines will become short term realities. In the mean time, remember to wear a mask and gloves and keep social distancing. Continue reading “Understanding the Base Features and Syntax – React”

Refreshing Next Generation JavaScript

Once again, it is Saturday. We are experiencing the COVID-19 pandemic and it seems that days, weeks and months are flying by. My routine on workdays has not changed at all. I work five 2-hour blocks with most intermissions of about 15 minutes. The intermission for lunch is about an hour. Actual lunch takes about 20 minutes, but my wife and I sit down with a cup of espresso and chat for about 20 more minutes. When done we do the dishes and I go down to my home office.

Today my wife and I were going to go to Costco in Minneapolis. Last night I sent my son a message so we could meet there at 07:00 AM and chat while shopping. Last evening my wife had some stomach pain and a light fever. We decided to play it safe and stay home. If the fever persists until tomorrow, we will get an on-line medical consultation. Hopefully it is not COVID-19. Continue reading “Refreshing Next Generation JavaScript”

React or Angular

It is already summer 2020 and some people are saying that it does not seem that summer is here yet. Due to the COVID-19 pandemic the transition from spring to summer did not materialize. To me the big thing is that when summer starts days start getting shorter. Living in a suburb of the Twin Cities of Minneapolis and St. Paul we understand what short days in winter feel like.

As you know I am a promoter of never stop learning. A few post back I suggested a project on the Travel Planner System post in this blog. I thought that I listed the technologies that I will be using so I can refresh and catch up with new features before starting the design and implementation phases. I went back to the post and determined that there is no table. Continue reading “React or Angular”