So True!! via xkcd
Rahul Jose
is a Bangalore based student Engineer with a passion for Technology,Startups and Statistics and is currently co-devloping r.emynd.us
So True!! via xkcd
via Sparkfun
I was initially planning to get a microSD card for my NAS but I think a 2.5” HDD makes more sense in terms of Price per GB.

My Sparkfun Shopping Cart

The Action on IRC

Another one from IRC
Sparkfun Free Day:-
Sadly wasn’t able to snag anything for free,even the new servers weren’t able to deal with the number of people trying to get things for free.Was really looking forward to getting a free arduino and a few other components(look at the pic).I did take away a few pointers from the whole episode.
Well my Arduino controlled Christmas Lights will have to wait till I have some money in my pocket.All said and done really loved the initiative by Sparkfun you really can’t blame them,would love to do business with them in the future.
The most interesting thing is that according to one of the sparkfun employees Free Day paid for itself within a few hours that’s huge.
This post has been in the draft for quite a while(been out of town) but there has been an interesting update an Indian website tried emulating the same free day approach but offered around 500Rs or 10USD worth of free stuff from the website though they did not have an Arduino Board I was able to snag a Breadboard,IR Sensor,IR LED’s and an alphanumeric display which I want to use in a future project.They actually called and confirmed the order with me I was pretty impressed by the Customer Support.So here’s a hat tip to them and a link to their website if you are into robotics you should find the place pretty interesting.
Very well researched post should be interesting to people willing to pick up soldering irons to fix things to get some more mileage out of their gadgets and gizmo’s.
I am sure there is a simpler mathematical solution but this is good enough for now I have always been a brute force guy sadly
#include<stdio.h>
void main()
{
int i;
long double p=1;
for(i=1;i<101;i++)
{
p=p*i;
}
printf("Product of all numbers between 1&100 is %LG \n",p);
}No Compiler installed no issues head to http://codepad.org/
PS:-
The answer is 152 zeroes.
My takeaway from this is the printf Format placeholder for Long Double-%LG
Actually, there is a better (and more accurate way. Note that your double isn’t large enough to hold a value as large as 100, neither is the unsigned long. But Java does have the BigNumber object that can be used to store numbers larger than you can imagine. What you’d have to do in C is to keep an array to keep track of all those digits and then perform the computation as if you were writing it down on pen and paper, take each thing one-by-one and multiply. I will work on a possible solution to this.
I really screwed this one up should have guessed 152 is way large a number hope this helps someone.100! is definitely a much simpler approach and combined with Wolframalpha the best.What happened here was the answer provided by the program was a approximation of the final result.The data structure is definitely big enough to hold the result no need to fix that.I shall re-post the program with precision later.
PS: The correct result is 24 as pointed out by Manu and Wolframalpha
Google has very memorable IP addresses(8.8.8.8 and 8.8.4.4) but for the time being I will be sticking to Comodo DNS due to the low ping times it gives me from my current location.Its worth remembering the IP Addresses though in case you are looking for a quick fix to DNS issues.Here’s a very interesting post from their primary competitor OpenDNS.