First Alert Carbon Monoxide Alarm - tear-down

One of my First Alert Carbon Monoxide Alarm’s expired. This gave me an opportunity to look inside and see what’s inside this little gadget. Here is a picture of the tear-down for those who are interested: First Alert - Single Station Carbon Monoxide Alarm - model #: CO614 The specification for the carbon-monoxide sensor used in this model can be found here. Here is a list of alternative carbon-monoxide sensors from Figaro.

Massive Floods in Chennai - 2 million people displaced - How can you help?

Hello All: I am writing today’s blog filled with tears and a sad heart to let the readers know that there are about 2 million people that are displaced in the city of Chennai, India today due to the recent massive floods. This flood is the worst seen in over 100 years in Chennai’s history. The last time this happened, Chennai (ancient city called Madrasapatinam) was not as densely populated as today (although we do not have actual numbers because census data is not available from 100 years ago).

Solved: git status failed with code 69 error when opening SourceTree in Mac OS X

If you receive the following error when opening SourceTree or other applications installed in your Mac OS X, then here is how you can solve it. Sometimes people make things more cryptic than it needs to be. Error encountered ‘git status’ failed with code 69:’ Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo. and here is the example of the screenshot: Solution: What that message is telling you is that you need to open the application XCode on your Mac OS X and since it hasn’t run since the last update, you need to accept the new license EULA agreement that’s part of the updated XCode.

Email sent to Harry's Shave Club today!

Yes, I sent an email to Harry’s Shave Club today! Being close to technology is a blessing and a curse sometimes. You start seeing ways to improve the user experience in everything you touch and you feel compelled to make the world a better place. So “yes” - you’ve heard it. I am a member of Harry’s Shave Club. I got tired of buying those expensive store brand razors that starts with a “G”.

How to configure and install ZeroMQ (libsodium) on CentOS 6.7?

When getting started on ZeroMQ (version 4.2.0 or above) can be quite challenging especially with all the prerequisites. I’ve spent a good two days to get the process ironed out. So I’m sharing this so that others can avoid the same pitfalls and can have a good head-start with setting up their environment. Pitfall #1: Develop for your platform. I’m accustomed to developing in Ubuntu 14.04.3 LTE but in this case my deployment environment happens to be CentOS 6.

[Solved] configure: error: cannot run C compiled programs.

Common error when you run configure before make && make install: checking whether the C compiler works… configure: error: in /root/downloads/libzmq-master': configure: error: cannot run C compiled programs. If you meant to cross compile, use –host'. Add the following into your /root/.bashrc or /home/{username}/.bashrc [sourcecode language=“jscript”] export CPATH=/usr/local/include export LIBRARY_PATH=/usr/local/lib export LD_LIBRARY_PATH=/usr/local/lib export LD_RUN_PATH=/usr/local/lib [/sourcecode] Logout and login to reinitialize .bashrc or do the following: [sourcecode language=“jscript”] source /root/.bashrc or source /home/{username}/.

Welcome to the Age Of Light: Two BIG innovations in Graphene and nano technology can forge a new future for mankind

#AgeOfLight As I was reading today’s news (Science) breakthroughs, I came across two independent discovery/invention but combined makes a HUGE breakthrough and paves the way for a BIGHTER FUTURE!!! If this peeks your interest read further. [#1] Invention: Manufacturing Graphene using Tea-Extract What problem does this solve? Today, manufacturing Graphene takes a lot of time and can only produce/grow small amounts of the material. It takes a lot of energy, raw-material and time - to produce the small quantities of the product.

Interesting pics from our trip to India

Interesting pics from our trip to India I took this shot from a higher elevation against the backdrop of the Gopura (vimana) of our ancestral family temple in Kaniyur, Tamil Nadu, India. Google photo animation stitched the pictures to create the animation.

Philips SlimStyle 60W LED bulb teardown

While I was visiting Home Depot, I saw a Philips SlimStyle 60W LED bulb on clearance for two-dollars. I could not resist buying it for a tear-down to see how it’s built. I always wondered how they convert the 120VAC to a regulated DC voltage with high-current feed for lighting up those LED’s. So here is the first version of the tear-down showing you what’s inside the bulb. I will blog more about the current and voltage at the LED junction on a subsequent blog.

Beautiful Island of Santorini, Greece

Here are a few photographs I took on a clear sunny day in the island of Santorini, Greece. Beautiful city carved out of a violent burst of volcano - shows the greatness of humanity and what we can overcome with endurance and strength!

Hello World with SparkCore

Finally got my SparkCore, an Arduino built with on-board WiFi (no need for a Arduino WiFi shield). This version is a different take on the “Internet of Things” and “Build internet-connected hardware” Here’s a picture of the Spark connected to the WiFi running my first HelloWorld app downloaded directly from the Spark IDE to the core. Looking forward to building some designs around it! To learn more about Arduino and SparkCore visit their corresponding sites.

Switching back to wordpress site

For the past year, I’ve tried to use my own hosted Wordpress blog but I’ve noticed that my hits seems to be much higher on Wordpress hosted site than my personal site. So I’ve decided to make my switch back to the Wordpress hosted blog. So starting today, both MyThinkPond.com and MyThinkPond.wordpress.com link back to the same blog site.

Grails 2.3.5 - grails stop-app - does not stop the app running via run-app

If you’re using Grails 2.3.X and you’re developing, most likely you’re running your app like this: [sourcecode language=“jscript”] grails run-app #in one command-prompt/shell-terminal and grails stop-app #in another command-prompt/shell-terminal [/sourcecode] With the latest version of Grails (version 2.3.5), the stop-app say: [sourcecode language=“jscript”] grails stop-app | Server Stopped But nothing happens and the server-process continues to run# [/sourcecode] Here’s an undocumented fix that can come in handy: [sourcecode language=“jscript”] On terminal/command-prompt #1 Run the way you do today grails run-app

Grails - Adding JavaScript to bottom of page

In Grails using the templating (Sitemesh) if you were to include per-page JavaScript resources then it shows up much earlier in the layout content as part of the <g:layoutBody> Here is an example illustrating the problem: SamplePage.gsp [sourcecode language=“html”] MyThinkPond.com Custom Page ... Some this page content [/sourcecode] and the layout page (layoutPage.gsp) [sourcecode language=“html”] ... Some template (header) content [/sourcecode] results in the following page in browser [sourcecode language=“html”]

Grails 2.X .gitignore file

With a new Grails 2.X project you run into challenges on which folders to check-in into a GIT repository. You want to remove any non-essential files that Grails can rebuild at run-time. And if you are using either GITHub or BitBucket for your GIT repo’s the default .gitignore file created or provided by GITHub is setup for configured for a Grails 1.X project and not a Grails 2.X project.

Working with zeromq (0mq), Java, JZMQ on a CentOS platform

Recently I decided to port some of my development using ZeroMQ onto my CentOS development machine and I ran into some challenges. I’m documenting those challenges so that if someone else runs into the same pitfalls I did, they can avoid it. In this example today, we will work with the first “HelloWorld” examples in the ZeroMQ guide found here. I added a few modifications to the sample such as a package name and a try-catch around the Thread and an exception.

Getting started with vertx (vert.io) - an alternative to node.js

Lately there has been a lot of synergy and publicity around node.js (especially if you want to utilize the robust features of a JavaScript language on the server-side). If you are not familiar with this, I would suggest you look at the following link: Node.js - Event-driven I/O server-side JavaScript environment based on V8. If you are a Java developer and as you try out the examples, you will notice how this will be a great addition into your infrastructure.