Arrays Left Rotation

Last evening I read the article “Programmable Solid-State Storage in Future Cloud Datacenters” by Jaeyound Do, Sudipta Sengupta and Steven Swanson which appeared in volume 62 number 6 edition of Communications of the ACM. This morning I read it once again. As you might already know I am passionate about storage and have been working on it for a while. The article deal with SSD drives and how they can help improve performance by providing compute resources close to the data. Continue reading “Arrays Left Rotation”

Simple Array Sum

It is a sunny but not so warm day in the Twin Cities of Minneapolis and St. Paul. The high for today will be 68 F which is a few degrees below the average high for this time of the year. Looks like a perfect day for a walk. My wife and I will be out and about after work today.

This HackerRank challenge is quite simple. The reason I went for it is due to the fact that a few weeks ago I exchanged some messages with JAVAAID. He has a YouTube channel and solves HackerRank challenges. Continue reading “Simple Array Sum”

11 to 12 Java Questions

As I mentioned in my previous post, my wife and I spent a week in Portugal. On the previous post I covered the days in Salema which is a town in the Algarve area. I will now comment on our stay in Lisbon.

Lisbon continues to grow. We stayed in an area named “Barrios Altos”. The area is hilly, the streets are paved with cobble stones so as the sidewalks some of which do not seem to allow two people side by side. On many streets you have parking on one side and the other is shared by trolleys, cars, buses and delivery trucks. We loved the area which contains a mixed of houses, buildings, businesses and restaurants. It seems like the concept of zoning did not take off in Lisbon. That said, my wife and I loved the city, its people and culture and will be returning for more in a few years. Continue reading “11 to 12 Java Questions”

First 10 of 50 Java Questions

Last evening I ran into the article Review these 50 questions to crack your Java programming interview. I am a firm believer that no matter which programming language you use, you will concentrate of the classes and methods you commonly use for work. I tend to concentrate on two to three languages (e.g., C/C++, Java and JavaScript) depending on what I am doing. For this reason it is good to refresh knowledge and who knows, learn something new, by going over the questions and attempting to answer them before looking at the suggested answer. Continue reading “First 10 of 50 Java Questions”

JUnit 4 – Parameterized

The winter storm in the Twin Cities of Minneapolis and St. Paul is over. Currently there is light snow falling but the temperature is above freezing. Hopefully all the snow will melt somewhat slowly in order to avoid flooding.

In this post we will revisit JUnit 4 from the parameterized angle. I have covered other aspects of JUnit in this post. Continue reading “JUnit 4 – Parameterized”

Java Lambda Expressions

http://( morning I read the post on Medium named “TensorFlow is dead, long live TensorFlow!” by Cassie Kozyrkov who is a Chief Decision Intelligence Engineer at Google. After lunch will spend some time watching the videos embedded in the post and over the weekend will see if I can take TensorFlow 2.o on a Linux machine for a spin. I have a version of TensorFlow 1.0 installed on a Windows machine. Followed some tutorials but as Cassie puts  it so expressively, it was complicated to say the least. Continue reading “Java Lambda Expressions”

Covariant Return Types

This morning I read the article Turing Award Won by 3 Pioneers in Artificial Intelligence by Cade Metz of the New York Times. The recipients are Yann LeCun, Geoffrey Hinton and Yoshua Bengio. Continue reading “Covariant Return Types”

Can You Access?

Today is going to be the warmest day of the year so far. Forecasts are calling for a high in the mid to upper 60’s. Hopefully the warmer weather will help the remaining snow melt. I would guess that most people in this part of the country had enough snow for the year.

This morning I took a look at the Can You Access? HackerRank problem. The requirements are quite simple. You need to call a method with a parameter in a class that is two levels deep. Continue reading “Can You Access?”

Java Annotations

We all have seen and used annotations in Java. To be honest I have never before created my own annotation. From now on, when the opportunity arises, I will make sure to start adding my own annotations. To read more about the subject at hand, take a look at this page in Wikipedia.

To get a more in depth definition, you might look into this tutorial and the Oracle Java docs. Continue reading “Java Annotations”