Going off-heap to improve latency and reduce AWS bill

Great read - shows you the power of Java and Chronicle Map. Describing how going off-heap with the help of Chronicle Map helped us to get rid of the latency hiccups and cut our Amazon AWS bill in half. Source: Going off-heap to improve latency and reduce AWS bill – Plumbr Caution: Before you go diving into using the open source version of Chronicle Map, there are some gotchas to be aware of from a features point-of-view.

What is Blockchain Technology? A Step-by-Step Guide For Beginners

Blockchain technology is not a technology solely for Bitcoin but rather a creative way to keep a digital ledger of economic transactions. This technology can be applied in a variety of fields such that the chain cannot be owned by a single entity and has no single point of failure. It provides a backbone with transparency and incorruptibility. Imagine a world where every transaction, whether it is a real-estate property transaction or a work-contract or an acknowledgement receipt of a email or an acceptance of work or payment or a medication delivery system releasing a medication into a patients blood-stream can be recorded such that it is indisputable and irrevocable.

Happy New Year 2017

தங்களுக்கும், தங்கள் குடும்பததினொறுக்கும் எங்கள் புத்தாண்டு நள்வாழ்த்துக்கள். (Tamil) Wishing you and your family a happy new year 2017. Cheers! _Today's inspirational quote:_ [![bust_of_marcusaurelius](/img/2016/11/bust_of_marcusaurelius.jpg)](/img/2016/11/bust_of_marcusaurelius.jpg) Take inventory of this past year. Realize what is up to us and what is not up to us. We can control our emotions, our decisions, our perspectives, and our desires. We have a say in how these things go. These are things that are up to us.

Developing email applications on Windows, targeted for Linux environment - email, mailx, sendmail

If you’re developing on a Windows platform for an application targeted for Linux or Unix that deals with email, then this article will be useful. Let us begin by understand the problem. Problem If you are a Java/Spring developer, (developing in Java is platform independent - runs on any platform where a JVM is available) then you have two options in front of you for sending emails from a Java application:

CentOS7 missing Net-Tools Package and why you should not install it moving forward

In CentOS 7, a lot of the command-line utilities for configuring and troubleshooting network properties like arp, ifconfig, iptunnel, iwconfig, nameif, netstat, route - are no longer there in the new CentOS 7 version. While still included in many Linux Distributions, (and you may be tempted to run - ‘yum install net-tools’ - to get them back into your Linux footprint). But they are considered deprecated and therefore should be phased out in favor of more modern replacements.

Grails No profile found for name [web] illegalstateexception

Most likely you’ve landed on this page because you’ve searched for the error in a search engine and it brought you here. Symptom: When you run “grails” under an existing project that you previously had (either on a different PC or from a source-control like GIT or SVN and you’ve mistakenly included the “build” directory). The associated error would have been one of the following: Grails No profile found for name [web] or java.

Mac OS X iDRAC7 FileNotFoundException .java/deployment/security/trusted.certs

When you connect with a Dell iDRAC virtual console you may encounter the following exception on a Mac OS X FileNotFoundException ~/.java/deployment/security/trusted.certs Here is a simple fix for this: mkdir -p ~/.java/deployment/security cp ~/Library/Application\ Support/Oracle/Java/Deployment/security/trusted.certs ~/.java/deployment/security/ Cheers.

CentOS 6.8 & 7 - Change Timezone

Here is a cheat sheet on changing the timezone in a linux system (CentOS 6.8 or 7): # Remove the current timezone file rm /etc/localtime # Create a symbolic link to the new timezone you want # ls -la /usr/share/zoneinfo/ # ls -la /usr/share/zoneinfo/US/ # For GMT ln -s /usr/share/zoneinfo/GMT /etc/localtime # For EST ln -s /usr/share/zoneinfo/EST /etc/localtime # For UTC ln -s /usr/share/zoneinfo/UTC /etc/localtime # For GMT ln -s /usr/share/zoneinfo/GMT /etc/localtime # For New York (Eastern) ln -s /usr/share/zoneinfo/US/Eastern /etc/localtime # For Central ln -s /usr/share/zoneinfo/US/Central /etc/localtime # For Mountain time ln -s /usr/share/zoneinfo/US/Mountain /etc/localtime # For Pacific time ln -s /usr/share/zoneinfo/US/Pacific /etc/localtime # Set Date and Time (as needed) # MMDDHHmmYYYY date 072522172010 hwclock --systohc # If you're using NTPD Service # CentOS 6.

How to sync your date when you restore a VirtualBox snapshot?

This article focuses on synchronizing/updating the clock in your guest linux VM after you restore a VirtualBox snapshot. When you create a VirtualBox snapshot, it’s essentially a photo taken and frozen in time. All bits including the date and time are frozen to that instant. When you restore a snapshot, the Linux guest VM system is restored back to that snapshot including the date and time. This may not be desired all the time especially if the purpose is to restore the configuration and settings to an earlier time but your want to roll forward the clock on the VM to the present instance.

Repost: Mapping the End of Malaria

Mapping the End of Malaria by Bill Gates The article discusses two important points: How Malaria is putting mosquitoes as the #1 deadliest lifeform that kills humans? (Interestingly humans are the #2 lifeform that kills our own species) And what has/is being done to change this through the Gates Foundation in the developing countries. As well as the positive, measurable changes that can be seen from the last decade. Addresses a underlying issue on foreign aid.

Gradle Spring Woes: Issues in creating single jar bundle with all dependency jars nested within

If you’re implementing any projects with Spring and Gradle (for build), as your project grows you may run into this issue. Or you’ve landed on this page by searching on Google for “Unable to locate Spring NamespaceHandler for XML schema namespace” (your actual XML that it’s error-ing out may vary). Either way, you’re in luck! Most likely, you’re using the fatjar gradle plugin to create a single JAR for executing as “java -jar one-big-bundle.

Will the Real Schrodinger’s Cat Please Stand Up | Hackaday

Interesting read on Schrodinger’s Cat and papers from Einstein. The story of Schrodinger’s cat is well known, and one of quantum theory’s most popular phrases on the world stage. You can find his cat on t-shirts, bumper stickers, internet memes and the like. However, few know the origins of the cat, and how it came into being. In this article we’re going to explore not so much the cat, but the meaning behind the thought experiment and what it is meant to convey, while keeping it simple enough for anyone to understand.

Photos from the Basilica of the National Shrine of the Immaculate Conception

Recently visited the Basilica of the National Shrine and each time I visit this beautiful place I’m spellbound. It is one of the hidden gems to visit when you are visiting the capital. Here are some pictures from my recent visit. Click here for the photos from the Basilica of the National Shrine of the Immaculate Conception in Michigan Avenue, Washington, DC. The beautiful murals are a work of art!

It's weekend!

To learn more about where the joke came from, click this link.

How to package your node.js application for deploying it in an offline environment?

Personally speaking, I prefer to have a self-contained bundle with all the artifacts and modules that might be required to deploy an application (not just Node.js application) in Production. In that way, I know exactly the bits that were installed and nothing more and nothing less. It also eliminates the availability of the NPM modules and network connectivity issues, etc. The following procedure shows you how to create a simple “Hello World” Node.

Node.js, Python, C/C++, Ruby, PHP development from a tiny Linux embedded for about $10

Came across this tiny IoT embedded micro-controller/computer that runs BusyBox or FreeBSD Linux and can run code written in Node.js, Python, C/C++, Ruby and PHP all at a cost of $5 to $10 with WiFi, 2G/3G, Bluetooth, GPS add-ons for your cloud services. It also has enough GPIO pins to interface with external world and not to mention the I2C and I2S interfaces for talking to other devices and peripherals as well as interfacing for sounds (I2S).

Uninstall python eggs that you installed using setup.py

In Python, most libraries are available using the pip install process. But for cases, where you are distributing code to be installed in customer sites where you may or may not have a internet connection to the pip libraries, you resort to the legacy setup.py process. When you install using the setup.py process, the setup.py copies it’s collection of python files to the site-packages folder for your python virtual-environment. On a CentOS, this might be a location under (/usr/lib/python2.

Forget Software—Now Hackers Are Exploiting Physics | WIRED

[Forget Software—Now Hackers Are Exploiting Physics | WIRED] is good,have a look at it! targeting the actual electricity that comprises bits of data in computer memory. Technique is called 'RowHammer'. The trick works by running a program on the target computer, which repeatedly overwrites a certain row of transistors in its DRAM flash memory, “hammering” it until a rare glitch occurs: Electric charge leaks from the hammered row of transistors into an adjacent row.

Lessons learnt from camping in the midst of a flood

This past weekend when Ellicott City was hit with the worst storm in over hundred years, we ended up camping out in Rocky Gap State Park. Last year when we were out camping it rained a little and I had no tarp below my tent. So as soon as I got home last season, I ordered a tarp and had it ready this time. But some lessons are learned the hard way.

Horrific floods in Ellicott City - Maryland and walk-up walk-down basement drain problem

This past week, Ellicott City, Maryland had one of the worst floods in a long time. You can see some of the devastation that it has caused in this link. Fortunately, only my basement had a little bit of flooding. But interestingly, this has been the second flooding in over a month. This made me question the drain at the bottom of the walk-down/walk-up basement. Here is a picture of the drain at the bottom of the stairwell.