Setting Up C in VSCode IDE

It is another Sunday morning in the Twin Cities of Minneapolis and St. Paul. The weather forecast indicated that we would be receiving about 3 inches of fresh snow. It seems that we will be getting about 0.1 inches of new accumulation. Given that today is February 28, in the next couple months we might still get winter storms bringing 6 or more inches each.

This past week I had a very nice and interesting conversation with a Principal Software Architect at one of the largest software companies in the world. It was very educational. I really enjoyed the conversation. One of the things that initially called my attention was when I asked the kind of things he does on a regular basis. He mentioned that he “provides guardrails” among other things. When he mentioned it I was not sure what he meant so I made a note to ask him later. At some point I had a chance to describe what I do and have done. One of the things I mentioned was sets of DLLs that with time I have created with the purpose to help developers use a set of tools to get some routine work done without having to redesign and test code use as a scaffold and be able to concentrate on the task at hand. Among the libraries that I have developed are some that deals with encryption, linked lists (I refer to them as queues), sockets, trees, etc. I was then clarified what “guardrails” refer to. It is the same concept in order help developers produce faster code with fewer bugs. It seems that we are performing some similar tasks. Continue reading “Setting Up C in VSCode IDE”

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”

Visual Studio Code Install on Linux

Finally summer 2020 has arrived. Today’s high is in the lower to mid 70s. Currently the sky is overcast. My wife and I prefer it sunny but the temperature is fine with me. My wife prefers hot and humid weather. Not everyone likes chocolate. We will probably keep the windows open all day. Living in Minnesota with long and cold winters, fresh air is always welcomed.

Yesterday we spoke over Jitsi with a couple of friends we both know since our teens. We have traveled abroad on several occasions with and without family. We were going to chat last Sunday (Father’s Day) but due to our schedules we postponed it until Monday. We found out that both have been diagnosed with COVID-19 and are being treated as we speak. Their daughter, who lives with them, has not contracted the virus yet. They both looked tired so we limited our call to 20 minutes. Typically we go for a couple hours. Hopefully all will go well and they will have a short recovery! Continue reading “Visual Studio Code Install on Linux”

GitHub, Git and VSCode

Today is Saturday February 15, 2020 and the temperature is about 35 F which is a great improvement from yesterday. We woke up at -15 F which was exactly 50 degrees cooler. I am on the second block for the day. My wife and I already had our tea with lemon and she is getting in the shower. She will let me know when ready so I can shutdown my computer and start working on lunch. Hopefully I will be able to complete this post today; otherwise it will be ready tomorrow morning. Continue reading “GitHub, Git and VSCode”

Visual Studio Code for Java Maven Project

Not sure what I did with the initial text for this post. I opened my work space today and could not find it. On the bright side I will redo it going over what I did with Visual Studio Code to install Maven support.

In my previous post Designing a System like Yelp I mentioned that one of the key features in the design of the system would be to come up with a mechanism to find Points Of Interest (POI) to the user based on a specified location which might be their current position. A similar use case would be to find hotels close to an airport when planning a trip. In these situations we have a location and wish to find POS within a distance. If a user in New York wishes to have breakfast, chances are that restaurants in Irvine, California would not be of much interest even if they are topped ranked. Continue reading “Visual Studio Code for Java Maven Project”

Cats and a Mouse

In the past few weeks I have been reading several articles about how great Visual Studio Code is and how software developers are starting to use as their main IDE. I have been using VS Code on and off but have made up my mind that from now on for Java development I will only use Visual Studio Code. I have installed Eclipse and IntelliJ in my machine, both of which I have used for Java development. I will leave both of them installed for compatibility purpose only. Will let you know my findings towards the end of the year. Continue reading “Cats and a Mouse”

Three in One

!!! NOTE !!! For some reason I was not able to post the photos I took of the white board.

!!! UPDATE !!! Was able to download and place a different photo of the entire whiteboard.

Once again it is Saturday. My wife and one of her girl friends went out shopping. I still do not understand the attraction of shopping. I guess it works the same way when I wish to stay home working with my computers. Of course if my wife is not out and about I would not be able to be in my home office. Seems like a good arrangement after all.

Yesterday morning the computer I ordered for starting to experiment with Kinect and Azure was delivered home. I have all the pieces so after my wife arrives will be making place in my home office to bring down and connect the components. Hopefully all will go well and I will be able to start experimenting tomorrow morning. I can’t wait. Continue reading “Three in One”

Porting MD5 Code

Last week my wife and I returned from a one week trip to Portugal. We had not been there in more than a decade. Some things have changed while other not. People continue to be very nice and helpful especially when you attempt to utter a few words in Portuguese.

We arrived in Lisbon and headed to the rental car office. In less than an hour from arrival we were heading south to the Algarve. We have watched a few YouTube videos by Rick Steves and had purchases one of his travel guides for Portugal. In more than one occasion Rick has mentioned that Salema is his favorite beach in the Algarve. By experience we now know why. It is a small town sitting on a relatively small bay with blue and green waters. The population is less than 300 people. My wife took a picture at a restaurant on the beach while the temperature was hitting 96 F and we were enjoying delicious fresh sea food and drinking Sagres beer. From our table we could hear people conversion and different languages. Our waiter was taking care of a few tables and was able to switch to the language spoken by the customers (English, French and German). We only spent two days and headed back to Lisbon. Continue reading “Porting MD5 Code”

C++ Boost Library Visual Studio 2017

Yesterday I spent time attempting to port a C DLL that I wrote some time ago to generate MD5 digests for a storage server. At the time I used as a base code provided by RSA Data Security, Inc. and designed and implemented a set of functions that could be directly called in applications / servers that would require generating MD5 digests for strings and files. When done I package the results into a DLL. The library has been in production for a long time. I used the C programming language for performance and the code was built for 32-bit processors. Continue reading “C++ Boost Library Visual Studio 2017”

Git merge vs. git rebase

Currently I am working on a 64-bit API for a storage server at work. The plan is to port a limited number of APIs in order to be able to call them directly from other applications / services without having to marshal such calls. I am trying to convert the data structures from 32 to 64 bits while keeping backwards compatibility. At some point in time we should be able to port with little additional effort the current storage server to 64-bits and still support client applications / servers running on 32-bits. Continue reading “Git merge vs. git rebase”