MongoDB for RESTful Service

In the past few days the temperature in the Twin Cities of Minneapolis and St. Paul has been lower than average. The days have been cloudy and rainy. Today the sun might peak in the afternoon and the temperature will hopefully reach 55 F. On the positive side the forecast for Saturday is sunny and temperatures in the low 70s. Hopefully will be able to grill and spend a few hours outside walking.

In this post I will cover interacting with MongoDB using Node.js via the Mongoose module. I will not say much about Installing MongoDB on Windows or Using the MongoDB Shell due to the fact that I have covered such topics on previous posts. I am using the Windows 10 OS due to the fact that several tools I use to generate the post are installed in this Windows machine. You can follow just as well if you decide to use Linux. The installation instructions provided by MongoDB are well written and are easy to follow. Continue reading “MongoDB for RESTful Service”

Node.js Issue – RESOLVED

A couple days ago the temperature in the Twin Cities of Minneapolis and St. Paul rose up to 70 F. Yesterday the highs were in the upper 50s. Today the temp is going to go as high as 34 F and will be raining and snowing. Not sure how much snow and rain we will be getting. Hopefully things will not flood.

I am working with micro services and Node.js in order to streamline a storage server currently implemented by three monolith services. We will be going the hybrid route for a while. Eventually all will be implemented with Docker and possibly running on a public cloud (i.e., AWS or Azure). Continue reading “Node.js Issue – RESOLVED”

TensorFlow 2.0 – Linux Installation

Over the weekend a fellow software developer sent me an email message with a question regarding the JUnit Example post. Given that the interchange did not occur via the message section following all posts, I will not post the sequence of messages. The question was not regarding an existing test case in the TriangleTest class. What he was interested in is a new test case in which one could generate a text file with the information to run multiple (e.g., 100) test cases at once. If you are interested you can find the proposed solution in my GitHub repository. I post it as a second branch. I will not be merging branches due to the fact that this modification would not work with the original challenge. In addition, I did modify the test scaffolding on the Solution not to prompt for the lengths of the sides in the triangle. It is easier to copy and paste the sides that to be prompted for each side separately. Continue reading “TensorFlow 2.0 – Linux Installation”

RabbitMQ – Hello World

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”

Issues while Installing Hadoop on Windows

I am always trying to read and practice with topics / subjects that I feel learning or call my attention. I am currently taking some specialization courses on Coursera. You can never give up and stop learning. In this post I will describe how I installed Hadoop and the issues I encountered. Continue reading “Issues while Installing Hadoop on Windows”

Using the MongoDB Shell

I believe it was Albert Einstein who said “Any man who reads too much and uses his own brain too little falls into lazy habits of thinking”. I like to read in order to learn about different subjects, mostly associated with computer science and technology. I also like to experiment with what I am reading in order to verify that I understand the material. Continue reading “Using the MongoDB Shell”