Profile cover photo
Profile photo
Shikhir Singh
Shikhir's posts

Post has attachment

Post has attachment

Post has attachment
Why Bitcoin fees are understated
Quite often the biggest reason given that Bitcoin will be adopted by the masses is that it has very low transaction costs . This is simply untrue for most transactions that occur in everyday life. The reality right now is that the transaction costs of Bitco...

I really don't understand why people are mad at Apple for suing Samsung and winning. Companies have to protect their IP. Whether if software should be patentable is a totally different subject, and should be addressed by policy makers. 

Post has attachment
I'm surprised how many poor implementations I've seen of the nearest neighbor problem when the neighbor's latitude/longitude are known and stored in a database. The Haversine formula makes it soooo easy.  Here is SQL you can use in mysql to get that done assuming the latitude is 37 and the longitude is -122 of the current location:

SELECT id, ( 3959 * acos( cos( radians(37) ) * cos( radians( lat ) )
  * cos( radians( lng ) - radians(-122) ) + sin( radians(37) ) 
  * sin( radians( lat ) ) ) ) AS distance
FROM markers
HAVING distance < 25
ORDER BY distance LIMIT 0 , 20;

BTW, the SQL is courtesy of google:

Post has attachment

Post has attachment
Just discovered iBooks Author. AWESOME! All I can say is Apple, what took you so long????

Post has attachment
Just discovered EclipseLink Dali. I am ashamed to say I've been doing ORM mapping by hand for all these years. AAAAHHH!!!!

Post has attachment
iPhone Apps Download distribution by country(7 months old data)

Post has attachment
Wait while more posts are being loaded