RSSAmplifier

Blog

Mahesh Subramaniya

maheshsubramaniya.comRSS feed ↗103 posts

Latest posts

todo.freedom - free as in freedom todo model

What’s the problem with current Todo. Yet another TODO software or service? Why am I looking at age old matured solution. OpenClaw made me rethink how I interact with my data. For those unfamiliar (don’t tell me?) — Openclaw is a local agent. You run it on your machine. It can take actions on your behalf. Read files, write files, call APIs, automate workflows. The promise of agentic AI, but…

US Dollar (USD) as Reserve currency and its future - Part 2

In Part 1 , we traced how the dollar became dominant through three strategic moves — Bretton Woods, the Nixon Shock, and the petrodollar arrangement. Each time the old foundation crumbled, America engineered a new one. Now the question: is a fourth move coming? And who’s trying to make sure it fails? Replace the dollar or get around it? My guess here is - de-dollarization commentary gets wrong:…

Cross-Border Payments in 2025 - Where the Rails Are Actually Improving

Moving money across borders has always been friction wrapped in fees. You initiate a wire transfer. It hops through three or four banks. Each one takes a cut. Two to five days later, it arrives — minus a chunk you didn’t fully anticipate. We’ve lived with this for decades. But something is shifting. Not the fintech marketing — the actual plumbing. Where is real progress happening? A few places are…

US Dollar (USD) as Reserve currency and its future - Part 1

Money is just paper. Until it isn’t. The US dollar didn’t become the world’s reserve currency by accident. It took three deliberate, strategic moves — each one transforming the rules of global finance while everyone else was still playing by the old ones. Move one - Replace british pound Move two - Break the gold promise Move three - Oil for dollar How a wartime agreement, a broken promise, and a…

Problems never solved but transformed - Revisit the statement

Back in 2019, I jotted down a fleeting reflection on a question that may seem trivial at first glance. It’s the kind of question that feels almost too obvious, woven as it is into the fabric of our daily existence, which is perhaps why it can feel trivial to contemplate. Yet, take a moment to consider it: “Why does it seem as if there’s an unending cascade of issues needs our attention?” Asking…

Why does the price of the product once increases never decrease?

A product you bought ten years ago costs more today. We all know inflation causes price increases. Why does drop in inflation not decrease the price? Answer: Inflation is compounding. calculator: https://smartasset.com/investing/inflation-calculator Yes. If the price of a product is $100 and inflation is at 4% at the beginning of, say, 2020, this is how the price grows each year. End of Year Rate…

Edge AI

In 2023, we find ourselves at a pivotal moment in the evolution of AI, particularly with the launch of groundbreaking GPT models . This isn’t just a fleeting trend; it’s a substantial shift in the landscape of technology. We’ve seen enthusiasts and professionals alike experimenting with these models, producing content that spans the spectrum from highly practical to purely creative. But the real…

Problems never solved, they transform

In the world full of problems, solving a problem doesn’t erase the problem, rather transforms into another problem, more like the conservation of energy. Let me give you a simple example. Say, you are looking to shield your car from blazing hot sun and not turn your interior into an oven. You buy a windshield reflector, some side shields to attach to the windows. Now you have effectively reduced…

Is Gold buying outside India worth?

Is Gold buying outside India worth? ⮐ 1 unit of Forex in ₹ (INR) (Eg: 1 USD ) Outside India - 24ct $ /gm ( {[{goldPriceOutsideIndiaPerOunceInUSD*usdToInr | rupees}]} / gram) India - 24ct (in ₹) /gm India - 22ct (in ₹) /gm Customs duty (in ₹) (Usually ₹ 750/10grams) /10 gm Wastage, Making Charges (usually 10% for Jewels ) % VAT (usually 1%) % If you hold as Coin…

Understanding how jars are loaded into JVM from a directory in Linux

Question : If the lib/ folder has jar1.jar and jar2.jar , what is the order of the jar loading into the JVM if you use Linux(EXT3 file system)? Short Answer : One cannot say or technically, Random . The order in which Jar files are loaded into JVM are influenced by how the file system orders its file in the directory . Since the java.io.File API depends on the native API, different platforms lists…

When to re-factor your code

Refactoring is a must needed exercise in every software module, but everything has its cost. Do not do refactoring if it is absolutely not required. I do not question your intention. If you are tempted to re-factor a large code, ask yourself if it is absolutely necessary. If your refactoring is not going to yield any absolute benefit, then stop it. Many Incremental changes are better If the code…

IE Heisenbug

Circa 2009, when I was testing the mobile webapp in cross platform, Internet Explorer is especially a pain in the neck . One such pain is a Heisenbug that I came across. console.log('heisenbug'); alert('if you see this, then no heisenbug'); Fiddle here This bug was so irritating that I couldnt figure out easily why this code is breaking. And screw the IE developer tool. Easy fix? Just redefine the…

Go lang - how to install packages

Set GOPATH environment variable Set the GOPATH variable which go compiler uses to search for packages along with GOROOT environment variable, which is generally the installation of go $ echo $GOROOT /usr/local/go/ $ echo $GOPATH /development/go/youtube Install Mercurial client Download and install the mercurial client in your machine and set the environment variables for PATH. If you are running…

New parents should read Freakonomics, than watching it.

Source: www.ethos3.com Note : This is not a book review , but sharing what I think is interesting for young parents like me. Update [02-18-2014] : I’ve modified the title from “ Young parents should read Freakonomics, than watching it ”, as I see that “ New Parents ” fits better than “ Young Parents ”. I was introduced to Freakonomics through the movie in Netflix in 2011 and I watched it again in…

Kelvi - StackOverflow Questions Monitor

jaadi - simple storage API for javascript applications

How to build symbolic differential & integral calculus engine in Prolog

Math is all about symbolic calculation and there are only handful of programming languages to do the symbolic math. But when need arises, you can write your own symbolic math processing engine easily and I will show you how you can use Prolog to do it and integrate into any java application. Prolog a well known language in the academia areas of computer science such as Artificial Intelligence and…

Macbook Air - Back in 2008 I hated it and now I'm loving it

Back in 2008 I hated it so much and so sarcastic on it. The basic version had only 80 GB harddisk and it was a complete strip down version of then fully loaded laptop (with DVD drives, 4 gig RAM, fast processor, wide screen etc.,). That was the time when the world was ruled by HP, Dell and Lenovo laptops. Now fast forward to 2013 and well I’m owning a Macbook Air 13” with 8GB RAM and i7 processor…

Your privacy invasion - Is your life at stake?

The title may sound bit exaggerating, but would be the truth eventually, if this is let to grow out of control. Recently the world is worried and talking about the NSA’s some of the evil works. When I was talking about this to my friend, the first question was “So, whats up with that?”. And If you had tried to speak about this to your friend, chances that you would have come across these or…

Why personal projects may need version control system?

To be real, you do not. Unless some crazy thoughts running in your mind about your personal projects. You are going to read such a feeling happened to me recently. I never used to version my code, for my personal projects. And I do not have to, because I know pretty well what stuff I code and I always maintain one version and it is version 1.0 , also the need for backup is solved with the backup…

History - How does it affects us?

Lunch time, two of my colleagues and I, sitting at our office lunch area and munching our food. Suddenly a topic popped up about history. One claimed that history is a boring subject and we followed the premise. All agreed that history shouldn’t be taught at school to large extent. After few thoughts, I reverted my statements and said, well, it is good at-least for the purpose of story telling and…

IE 6 and IE 7 - Radio buttons doesn't select

Recently I stumbled on a problem with radio buttons which doesn’t get selected in IE 6 and 7 browsers and works with 8 and future browsers. Interesting the problem has been narrowed down to the way the DOM is built for radio buttons. this piece of code makes IE 6 & IE 7 panic and doesn't allow mark the checkbox selected when clicked on it var el1 = document.createElement("input"); el1.type =…

Java 8 for Mac OS and writing a Hello World using Lambda

Follow the instruction to download java-8 lambda featured JDK & JRE. Get the java 8 lambda package Unzip and put it in some folder that you wanted or preferably at /System/Library/Java/java-8-lambda Open terminal and set your JAVA_HOME to point to your path and now execute the java & javac commands to see if the libraries are good. $ export JAVA_HOME = /System/Library/Java/java-8-lambda $ java…

நான் அறிந்தவை - 2 : ஸ்டுக்ஸ்நெட் வோர்ம் - ஒரு நவீன ஆயுத போர்

முன்குறிப்பு: இது சற்று பெரிய பகுதி. முடிந்தவரை பிழை இல்லாமல் டைப் செய்து இருக்கிறேன். எதாவது பிழை இருந்தால் அந்த வார்த்தைக்கு மிக அருகில் பொருந்துகிற வார்த்தையை உபயோகிக்கவும். சில மாதத்துக்கு முன்னாடி ஸ்டுக்ஸ்நெட்(Stuxnet) என்ற கம்ப்யூட்டர் “வோர்ம்” - worm (worm என்பது ஒரு தனித்துவம் வாய்ந்த வைரஸ்) மிகவும் பரவலாக பேசப்பட்டது. இதை உருவாகியது “நமது பெரியண்ணன் அமெரிக்காவும் அதன் ஒரு பங்காளியான…

நான் அறிந்தவை - 1

சமீபத்தில் ஆங்கில படம் காசப்லன்க (“Casablanca”) பார்த்தேன். 1943இல் வெளிவந்த இந்த படம், மைக்கல் கர்டிஸ் என்பவரால் இயக்கப்பட்ட உலக பிரசிதிபெட்ற ஒரு படம். இது பரபரப்பு மிக்க ஒரு காதல் கதை. காதல் கதை என்றாலும் கதை களம், மிகவும் பரபரப்புமிக்க ஜேர்மனிய நாசி படையினரால் இன்னும் ஆகரமிக்கபடாத ஒரு பிரெஞ்ச் கோலோனி இடம் தான் காசப்லன்க. அங்கே இரவு கேளிக்கை விடுதி நடத்தும் “ரிக்(Rick)” என்பவருக்கும்…

Javascript - Bad parts

When you know what is the right thing to, you cannot do the other way. Harry Fertig, The Confessions Well, the above quote fits very well for what I’m going to write here. After reading through Douglas Crockford’s Javascript - The Good part , it was so evident that how much of bad javascript we coding in the projects. Learing the bad parts is as equlally important as to learn the good parts. I’m…

Understanding difference between List & Set

This is a basic question for novice programmer to the experienced. Thought question got very famous with Java Collections, but the concept of List and Set goes way before. What is List and Set? List and Set are data-structures aimed at storing a series of values which can be accessed sequentially either from head / tail ( mostly from head of the structure). When to use List and Set. Use Set when…

Blur Event fired Twice - Javascript

If you are testing your javascript based web app in older browsers of Chrome ( may be in Safari , IE ) you will face this issue. When you use blur event in the DOM, general assumption is that event will be fire exactly once when the input field is foccused out either by ‘tab’ or ‘mouse click’. But in a very special scenario, i.e when the Alt + Tab is pressed, the same blur event will be fired…

How to setup Markdown Mode for Emacs.

Follow these simple steps to install the markdown mode for your emacs. First of all, if you dont have Emacs, get it from here for mac GUI ( default for terminal ), windows and for linux and you will also have it default in terminal. Get the Markdown package by Json Blevins for emacs and read the instruction of how to use the customization of the mode . Extract the package and place it at…

Running Apache Wicket in JBoss

There are several articles available seperately on writing wicket apps and configuring JBoss. But there aren’t enough article which joins both the world. This article is an attempt to provide a tutorial to install, configure and run Wicket apps inside JBoss application server. I’ve used Eclipse as my IDE. Initial Setup Get the latest version of JBoss server , eclipse and latest stable release of…

Trying Jekyll powered GitHub Hosted blogging

Recently came across jekyll and a related post by Tom perston , its creator. The idea of doing a geek blogging impressed me and I spent my entire Saturday spending time on reading and exploring about it. Since I was already using Github , I didn’t face difficulty in using it and also Git UI client like SmartGit , makes Git usage easier, even for a geek. I shall write a post in detail about how I…

Session Affinity - Requests processed by same machine in a distributed environment.

**Session Affinity** is a technique ( *at the server side* ) which directs the request from the **same client **to the last processed server component(Application server). This is also known as **Sticky Session**. This is something like a Customer-Waitress model. Whenever you go to a restaraunt, for your table, there will be a seperate 'Waitress' for you to serve. So, what is advantage of this…

Hello World in Objective C and Compiling with GCC

Contents Overview Hello World - Using Object Hello World - Using Interface Hello World - Modularized Understanding the program Write the inteface Write the implementation Overview There are a lot of articles in Introduction of Objective-C and explaining basic concepts. But this article attempts to explain the basics of Objective-C without the influence of any framework i.e without the influence of…

JUnit best practices - How to write good junit test cases?

Writing unit test cases1 are the part of any development project process. But developers rarely follow process. For us, we wanted to code something and see it to work on what we have fixed and finally move it to production.When it works, we are happy with it. But wait, when it doesn’t work? Then comes a lot of head ache for developer. Ok stories apart, lets get back to work. I’m not going to…

Aggregation vs Composition

Aggregation and Composition are type of Association which explains how two elements are associated to each other in a class model. Sometime it very confusing to choose between Aggregation & Composition. Association In Object orientation, Association is an important relationship which explains how one element is related to another by type and instance(s) ( i.e multiplicity ). Almost most of the…

Javascript: Create DOM object only once

Browser DOM is always created once and the same DOM is referred every time when used (like any other object model). It is not destroyed / deleted unless it is explicitly triggered. But some aspects of browser would make the DOM object reset. For example, during the XHR based requests, more than one page might contain the same script to perform and you are not likely to put them as a common script…

Computing the Services - Part 2: Characteristics

Continuing with the Computing the Services Part - 1 , We shall take a look at what each characteristics of services means in the computer world. Defining characteristics is very important aspect in any design. You have to define your design, to work in the way you describe and you expect to it. The characteristics can be further grouped into Structural characteristics allow you to make sure that…

Numbers in Tamil language – Why zero might not be important

Every civilization had their own representation of numbers in their age. Like what we have now , the Arabic Numerals [1. The Story of Mathematics - Richard Mankiewicz ] [2. Number System - http://www.math.wichita.edu/history/topics/num-sys.html]. This representation is no more in use as universally as the arabic numerals that are taught now. Though different civilizations had different glyphs to…

Computing the Services – Part 1: Introduction

In my team we were talking about services and then the web services, and when I was talking to a friend of mine about the services stuff, he posted a blank question. "What is a service? and how different is that from a method”. His question is correct, I feel that most of the people who design services in this complex computing world are not still clear what is a service and not sure of how…

My Mind Leaks plugged out Bluehost and plugged in Webfaction

I wanted to write about my migration to new hosting. I write this post to say that why I’m leaving Bluehost and why did I chose Webfaction. Loyal Bluehost hosters dont get furious, this is my personal opinion on why I switched. Now, this blog is powered by Webfaction . Moving a blog to a new hosting provider is as exiting as moving to a new city. Today I completely moved my blog from Bluehost to…

Does pretty links & SEO URL really sensible for search engines?

After done with the moving to a hosting provider, next I was trying to overhaul my blog with the link structure. Puzzled on where to start from. People enter into my blog via URL. Hence decided to tweak the URL. So, it’s time to decide upon what link structure I should chose. And before that, is this link structure is really a necessary stuff to tweak up? If you ask with a SEO expert, he/she would…

Firefox bug reports – Some interesting facts

Today I was curious to know about the list of bugs that has occurred for the Firefox browser over all these time. And the count of bugs received and fixed made me surprise about the development at Mozilla. Bugs are important players in any development projects. Hence bugs determines the robustness of the software. But still if a strong developer team available, then more robust the software as all…

Firefox 3.5 beta “Restore Session” has got smarter

Firefox 3.5 beta has improved a lots features and added few stuffs too. One of the thing which impressed me is the "Restore Session". In the older firefox, once you session crashes, and you re-launch the firefox, it will popup this. And it will open up all the browser tabs in your previous session, which is very annoying sometimes. Now the revamp in Firefox 3.5 beta has made an improvement in the…

Google Book Tip - Search your home library

Source: sbj Have you ever used Google Books? If yes, have you unleashed the power of Google books? For those who aren't aware of Google book, Google Book Search is a tool from Google that searches the full text of books that Google scans, converts to text using optical character recognition, and stores in its digital database. Source: Wikipedia You dont need a seperate account for Google Book.…

Google Book Tip - Manage Your Library via Barcode

I Came across an interesting tip for Google Book. If you are having a lots of book and you arent not able to type in all your ISBN number and need to keep track of them using Google’s book service. Here is a quick tip. Google’s Software Engineer Matt demonstrate a tip using a USB powered bar code reader. Just login into your Google account. Google Book Goto My Library Click Import Power your USB…

Even Mac can get viruses too – iWork 2009

Mac is Immune to Virus. This is globally acclaimed status until the iWork’ 09 worm infused into the Mac . So this tell you none of the OS in the world is immune to virus analogous to no human is immune to any virus. But the difference is, until we are healthy and cautious no external objects affects our body. Same thing for OSes too. Mac doesnt accept any executables to run without users notice,…

How to turn on CAPS Lock and NUM Lock in Blackberry 8900

CAPS lock and NUM lock are cool features in Blackberry , which was not known by many Blackberry users that they exists or how to activate it. And I was also one of those poor user ;-). I was not using this feature to its full extend until a necessity arisen for me. Turn on CAPS Lock : Press ALT Key + RIGHT SHIFT Key Turn on NUM Lock : Press ALT Key + LEFT SHIFT Key

Fix for Code execution has been interrupted in Excel vba macros.

In excel, while executing macros you may get the error message “code execution has been interrupted”. Generally this error message should appear only if you hit “Ctrl +Break” to stop the execution and view the code. But there may be certain instances, where you may get this error message even without pressing “Ctrl + Break”. If you hit “Continue” button, the code will execute for a while but again…

Attack of clones – The Twitter spam. Should this be bothered?

Today I found this email in my inbox. I just thought it’s Scobleizer who is following me. But a moment later, I realized that Scobleizer was following me from a long time. That made me understand it’s the Twitter spam. The first twitter spam that I came across. So this is the spammer’s profile, but the theme is not the Scobleizer’s theme. Then I googled for any other such instances, and found that…

Search LIFE images in Google Images

LIFE images, ghe most amazing collection of professional photography on the Web. About 10 million photos from the legendary archives of LIFE magazine are made available on the web via Google. LIFE provides photos from 1750 to till date, whatever be the photo which happened in the World. You will find most of the unpublished images in this LIFE collection which are available for the first time and…