Suramya's Blog

Visit Who am I?

October 10, 2014

Instead of wasting time playing Sudoku you should mine Bitcoins with Pencil and Paper

Filed under: Computer Related,Computer Security,Techie Stuff — Suramya @ 11:58 PM

Do you like to play Sudoko? If so then you should look at using paper and pencil to mine Bitcoins instead and make some money out of your hobby. A bloke named Ken Shirriff who is an engineer at google has created a video and a detailed blog post on how this can be done. Apparently it is a slow process but the algorithms for Bitcoin generation are easy enough to crunch.

Shirriff completed a round of SHA-256 in 16 minutes and 45 seconds at which rate a full Bitcoin block would take about a day and a half, less with more practice, he said.

“The SHA-256 algorithm is surprisingly simple to do by hand,” Shirriff said.

“In comparison, current Bitcoin mining hardware does several terahashes per second, about a quintillion times faster than my manual hashing.

All I can say is, go for it if you like crunching numbers… I know I won’t. :)


– Suramya

October 1, 2014

Erase Your iCloud Drive by reseting your iPhone settings

This has not been a good month for Tech, we are getting issues across the board on all fronts. First we had the iCloud hack (or fappenning as it was called). Then ShellShock hit followed by this new issue in iOS 8 where if you reset your iPhone settings your backups on the cloud also go bye-bye. Ouch! I hope if you are using the iCloud (or any cloud for that matter) you have a duplicate copy of your data somewhere else or you better not try to reset your phone.

The bug creeps up when you select Settings > General > Reset > Reset All Settings. Typically, this is just supposed to reset your network settings to give your iOS device a clean slate to work with, but it turns out it’s also deleting all your files from iCloud Drive.

The issue was discovered by members of the MacRumors forum. It just shows that no matter how much we try nothing is perfect and there are bugs in every system. The best way to ensure that don’t loose data is to store it in multiple places using multiple types of media/services.

I have a lot of my data backed up on a RAID array and am in the process of setting up a cloud server at home to sync it across different locations. I am not using Dropbox or other such services because I don’t want to trust my data to any external provider. Earlier I used to back up data on DVD’s/CD’s. Before that I used to store the data on Floppy disks.

Fun fact, I was recently looking for some code that I had written around 1998 and ended up searching through my old Floppy disks to find it. Interesting thing was that about 90% of the disks still worked and I was able to read the data without issues. (Well… no issues other then the fact that I had to buy a USB floppy drive as my mother board doesn’t have a connector for floppy drives…) I don’t see the same level of longevity in either DVD’s or CD’s so far. I haven’t tried Blue-Ray disks yet because of the cost and the fact that HDD’s are getting cheaper / larger.

Thanks to for the initial links.

– Suramya

February 12, 2012

Google Wallet PIN cracked on Android devices

Filed under: Computer Related,Computer Security,My Thoughts — Suramya @ 8:53 PM

The past few days there has been a lot of press around the fact that the Google Wallet Pin was cracked on rooted android phones. Lots of people including computer programmers and technologists (who should frankly know better) have reacted to this by posting messages/comments equivalent to: “rooting is bad”, “rooting causes security holes” etc etc etc… Guess they have forgotten the simple rule of computer security: “physical access is total access”, basically it means that if I have physical access to a device I can get full access to it eventually.

This fact was demonstrated it quite nicely by the news that you don’t really need to root your phone to get your pin hacked, all you need to do is reset the application data.

The problem in both cases is caused by the fact that the Google Wallet’s pin is stored locally on the phone itself instead of online so if you can get access to it you can bruteforce it or if you clear the app data it removes the pin and lets you choose another.

One way of fixing the second issue would be to force the phone to link to the internet after the local cache is cleared to sync the pin with the online secure server instead of just letting a user choose a new one. The fix for the first case is a lot harder because you can’t have a wallet that requires the phone to be connected to the web everytime you use it, and if you store it locally then you are just asking for trouble.

Another way would be for the receiving side to validate the pin sort of line how we do it for credit cards but that doesn’t seem too feasible either. Or we could salt the pin with the user’s account info/do a dual encryption, first one requires the pin to unlock the second one requires the account password.

Now if I can come up with such solutions then I am sure the people at Google and the various banks working on this issue will come up with other more secure options. Its not the end of the world. yet. This is a new technology and like all new tech it has its teething issues and I am looking forward to the final fixed product.

– Suramya

December 30, 2011

Yucky Slime may be what is needed to make the next breakthrough in Biocomputing

Filed under: Computer Related — Suramya @ 11:05 PM

According to Toshiyuki Nakagaki, a professor at Future University Hakodate the lowly slime mold that most of us associate with gym showers and broke college students may be what helps us make the next major breakthrough in Biotechnology and computer algorithms.

Basically, Physarum polycephalum, or grape-cluster slime which looks like mayonnaise when looked at without a microscope has the ability to organize its cells to create the most direct root through a maze to a source of food. During experiments the research team successfully managed to get the molds to form the pattern of a railway system quite similar to the railroad networks of the Kanto region centering Tokyo. If this can be harnessed then we can use the networks in future designs of transport systems. The best part is that the networks created are resistant to unexpected stimulus so if used in real world applications that would make them resilient and fault tolerant.

He says slime molds can create much more effective networks than even the most advanced technology that currently exists.

“Computers are not so good at analysing the best routes that connect many base points because the volume of calculations becomes too large for them,” Tero explained.

“But slime molds, without calculating all the possible options, can flow over areas in an impromptu manner and gradually find the best routes.

“Slime molds that have survived for hundreds of millions of years can flexibly adjust themselves to a change of the environment,” he said. “They can even create networks that are resistant to unexpected stimulus.”

Research has shown slime molds become inactive when subjected to stress such as temperature or humidity changes. They even appear to “remember” the stresses and protectively become inactive when they might expect to experience them.

Sources: Yahoo News & Engadget

– Suramya

December 10, 2011

Thinking about changing Hosting providers. Any suggestions?

Filed under: Computer Related,Techie Stuff — Suramya @ 10:57 PM

I have been using as my hosting provider for a while now (since 2005) and have been happy with the service for the most par, however after their recent pricing change the service is getting to be a bit more expensive than I am comfortable with so I am thinking about changing webhosting providers. What hosting providers do you use and would recommend? I need the following feature sets in the service:

  • PHP4/5
  • MySQL DB: Fairly large no of databases with large storage allocations
  • Full SSH Shell Access
  • Unlimited Bandwidth (Have gotten bit by this a few times)
  • Email Accounts: A fairly high no with large quota’s (I never delete mails)
  • Perl Support
  • Multiple Domains allowed
  • High availability/uptime

Thanks in advance.

– Suramya

October 12, 2011

Virus hits US Drone Fleet: Is Skynet finally ready to take over?

Filed under: Computer Related,My Thoughts,News/Articles — Suramya @ 4:28 PM

I typed an entire post while in flight back to Bangalore and then because the wordpress app for Android requires a netconnection to work and doesn’t allow you to work offline, I lost my entire post and now have to type it all again.

Looks like we are about ready for the end of the world and the start of the robot Apocalypse. A virus has infected the US Drone fleet and so far the admins have been unable to remove the infection. Now all we need is for the US military to hand over control of its entire system to a super AI and we are ready to go. To make things even better we also have early prototypes of HK’s (HunterKillers) in testing in various labs around the world.

Its funny how real life follows fiction at times. When I used to tell people that I was interested in Artificial intelligence, the most common reaction I would get was “are you crazy? Haven’t you seen Terminator?” Now if we have a rogue AI running around its actually possible for it to cause a whole lot of damage, maybe not to the tune of ‘end of the world’ but enough to make life miserable for a whole lot of people.

Maybe its time to stock up on my tin-foil hats and MRE’s :)

– Suramya

February 15, 2010

Augmented Reality: Tattoo that transforms into a flying dragon

Filed under: Computer Related,Computer Software,My Thoughts,Techie Stuff — Suramya @ 7:52 PM

Augmented reality, the words bring to mind a science fiction world where people wear glasses hooked up to computers that give additional information on the item being looked at. I have read scores of novels where this technology is in use by humans (both in a positive and negative sense) but till date this technology was still in the realm of Science Fiction.

Now this has changed. ThinkAnApp studio based in Buenos Aries has developed specialized software that allows them to create a tattoo that when viewed through a camera gets transformed into a flying dragon. Or anything else you want. Pretty cool eh?

Here’s what the Tattoo looks like when viewed through a camera:

Check out the video demoing the tattoo in action here.

This is just a prototype and isn’t released for public use yet. But it is a step in the right direction and slowly but surely we are moving closer to the day when the virtual world will overlay the real world and open up all the awesome possibilities that entails.

Source: ThinkAnApp – Augmented Reality (tattoo).

– Suramya

October 5, 2009

Weird MSN Password reset logic

Filed under: Computer Related,My Thoughts — Suramya @ 11:45 PM

Yesterday I was organizing my system and found log files from an old MSN account I had which I used mainly for chatting with friends. I decided to enable the account in Pidgin and see if the account still worked. When I tried logging in to the account it didn’t let me because I guess the account had gotten locked down due to inactivity.

So I went to the MSN site and tried to login to the account. At first it didn’t let me, so I tried resetting the password for the account. But that didn’t work as I couldn’t remember what information I had initially filled when creating the account so I asked the system to email me the password reset instructions.

Now came the funny part. The system was going to email me the password reset instructions to the same account that I was requesting the password reset for. Below is a screenshot I took of the process.

Weird MSN Password reset logic

How I am supposed to access the account to get the reset instructions is something that they didn’t quite explain. The funny part is that the system finally let me login with the same password I had tried with originally. *shrug* Atleast it worked, though I am surprised that the account wasn’t deleted considering I hadn’t logged in for over 2 years.

– Suramya

September 1, 2009

Bio-computers – The downsides.

Filed under: Computer Related,My Thoughts — Suramya @ 10:23 PM

Was watching Eureka (Its a TV show, about this town with brilliant scientists) and they had an episode a little while ago where an organic computer got infected with a virus and got transmitted to a person when they used it.

This made me think, this can really happen once organic computers start becoming commonplace. After all human beings are pretty much an organic computer with a pretty face. So it would become possible to send an email attachment to a target group (lets say an enemy country) and infect their bio-computers. Then the virus would copy itself over to the human operator and set itself up as a background process in the human mind (There is more than enough processing power in the human brain for this) and once its set up it could monitor all actions/thoughts etc and keep a log of everything that person does, this data would then be sent back to the creator of the worm/virus to be used as seen fit by them.

The virus could even take over the human and make them do stuff that they wouldn’t normally do (like treason, or espionage) and I don’t think there is an easy way we could detect something like this and prevent it from happening. It reminds me of a novel I read a couple of years ago where humans had chips implanted in their heads to allow them to process/store data and one of the character’s chip got hijacked and they could no longer control their actions. Now the same thing will be possible without any extra hardware implanted in the target.

I guess to counteract this we would have to have an anti-virus program for the human mind: “Scan your brain for virus’s and trojans today”. Before any secret meetings all participents would have to have their brains scanned.

To make things scarier governments could release a worm that let them keep an eye on their subjects and stop any activity they don’t like before it got far. Think “Big Brother” in your head…

Makes you think scared doesn’t it?

– Suramya

June 15, 2007

Microsoft Vista WOW factor…

Filed under: Computer Related,Computer Software,My Thoughts — Suramya @ 1:30 PM

A lot of must have seen the advertisements on MS Vista where they talk about the wow factor. Well today I used it on a clients machine and it certainly made we go wow. Read on for the details…

I had a 90 MB file that I needed to extract on their system (224 MB uncompressed), so I copied the file to their system,right clicked and chose extract. Then came the wow factor. Vista told me that it out need ~13 hours to extract the file. Waited for a few mins and it didn’t go down. It really was going to take it 13 hours + change to extract it. Certainly made me go wow.

I didn’t take a screen shot of it at the time, but then as I was telling my cousin about it, I decided to blog it so needed to take a screen shot. When I took the following screen shot it was telling me that it would take 5 days to extract. I waited for a couple of mins in case it was just exaggerating like Windows XP and it would show the correct time in a few mins. But alas it kept showing me the same time.

So here goes:

MS Vista WOW
MS Vista WOW!!!

BTW, just as a comparison, my Windows XP system on a 1 GZ system with 512 MB of RAM takes ~2 mins to extract this file. Haven’t timed it on Linux yet. And this vista install is a running on a new machine thats pretty powerful. And i am not the only one who saw this. Another guy was complaining about it on one of the forums that I visited. His file was taking ~15 mins to extract on vista while on Linux it took about 11 secs to extract.

Ah well. I think I can do without the wow in my life. Pretty happy with Debian and XP for my systems. Don’t think I will be upgrading to Vista anytime soon.

– Suramya

Older Posts »

Powered by WordPress