Monday, October 14, 2013

Virus



Year 2050 AD

Yesterday I started feeling strange things at house.  The microwave burnt the food, thou I set the right timing.  Couple of light bulbs are glowing dim.  Today the bathroom shower was focused towards bedroom, beds got drenched.  Even the medicine cabinet got shuffled.

I think all these things started after my son downloaded a game in the TV.  Some malware got into the home activity system. 
I don't want to call the VET(virus eradicating team).  They will seal off the house to prevent contaminating other houses.  Instead let me check if my son can fix the problem.

Hope nothing worse happens.  This is the problem connecting everything online.

Wednesday, June 19, 2013

Creativity

My 4 yr old daughter picked a bowling set for kids.  We started playing by rolling the ball to the pins.  After a while, she asked if we can play another game.  She defined the rules.  The ten pins of 4 different colors are placed in the floor.  First person should close the eyes.  Other person should pick any of the pins and hide it.  First person should open the eyes and identify the color of the missing pin.  We played 2 or 3 rounds of this game and it was very interesting.  It was an ah! moment to see her invent a new game.

Thursday, January 12, 2012

Laptop battery maintenance

The well known tips for maintaining laptop battery is to allow full charge of the battery, and remove the power. Use the laptop till the battery is drained and recharge to full again. Watching the battery usage is difficult and hard to switch on and off. Instead the system should have taken care of this. The charging should be cut off once 100% charge is done. Same way, when the battery runs low below a threshold, power flow should be switched on.

Hope we will have this in future.

Wednesday, December 28, 2011

Our words over time

Happen to read a tamil saying, "KAlam pOkum; vArththai nRkkum". (reference "iniya thamizhil ilakkaNap pizhaiyinRi eluthum muRaikal" page 171). Roughly this proverb conveys "Time flies off, words stick around". What a deep sounding wisdom. When we recollect our past and experience, how true is this wordings!

Thirukural 129 gives a similar view. "Fire burn cures quickly. Hurting words leaves a scar and never forgotten."

Wednesday, December 21, 2011

Why are we here?

A popular and interesting philosophical question is about our purpose in the world. Why did we take this life and what are we supposed to do? Considering any living being, after birth it need to look out for food, develop skills that are passed thru gene, and find a mate. Reproduce, raise children.

Human beings are slightly complex. We not only have to find food, but find food in a sophisticated manner. Learn different fields of studies, make yourself eligible for jobs, be street smart, land up in decent paying job. Looking carefully at the job ordeal, we see that such a complex process is not only for food, but also a yardstick to reach a better mate.

Considering all angle and aspects, life seems to focus on mating and leave a good signature through your children.

Saturday, August 20, 2011

Hint for sudoku

I keep playing sudoku at http://www.websudoku.com Most of the time I solve the puzzle easily. There are situation where it is difficult to make any logical move. We get stuck without able to post numbers in any of the cells.

In such cases, I usually fill all the empty cells with the probable numbers that can fit in that cell. For eg, I place the numbers 278 if these three numbers have a chance of being placed in a cell. With all empty cells having such probable numbers, it is easy to apply some deduction logic to narrow down the correct numbers.

Filling in the probable numbers is a tedious task. I came up with a simple java code that would help in filling the numbers (just the hint, not the actual answers).

Instruction to use the code:
  • Install watij as mentioned at http://watij.com/webspec-api/
  • Copy the java code I had placed in the comment section (placed in 3 comments due to comment size restriction)
  • run the java code along with the classpath pointing to watij class and jars
  • This will open a window and websudoku site is opened
  • Settings page is accessed automatically and few settings are tweaked
  • once you get the puzzle page, play it as you would do in normal manner
  • When you get stuck, click on the 'Done' button in the top panel. The button name is marked as 'pauseUntil'
  • we should have numbers filled now. Once that happens, continue with the game

Happy sudoku.

Sunday, January 09, 2011

software for spammers

we all know about the princess with enormous wealth waiting for your help. Also the oil company needing your bank account to transfer billions of $. Wondering what kind of software tools and support these spammers use. Sure enough they have a powerful source of email ids. What is beyond them? Do they shoot out the mails and just wait for victims? How do they keep track of day to day activity with each victims?

I would suggest to go for a data managed system. Each victim is tracked stage by stage. The spammer could pull out particular record, quickly glance through the past conversation and development. Based on that, the current mediation could be exchanged. Template builders and generators could be another big plus for the spammer. Need a company establishment proof? The template engine would put appropriate date, time, place etc and churn out the required records. A visa with victim's detail is also a easy go.

Financial income from the victim could be tracked as well. This again helps in judging how much more to extract.

Data could be analyzed across the system, that is with all the victims' data. This data crunching will give interesting answers to questions like: how effective is spamming? which stage is tough to convince the victims? what strategy is working well and which is not? what is the average time to see the money? how to improve the income and increase the victims?

Wish some spammer sees this blog and contact me, not for spamming but for designing this system :-)