Monday, May 17, 2010

And now for something completely different

Did you know that the highest rated cable television program, not including sports shows, is ...

Spongebob Squarepants?

Should I be depressed? Oh, barnacles!

Monday, April 5, 2010

A very confusing face.

I was looking for some sample images to process for a program that I wrote when I came across this really confusing image:



Click on the image and you'll see an explanation of why your brain's "autofocus mechanism" fails.

Update 5/7/2011: Sorry, but it appears that the blog I had linked to is now dead. Too bad.

Wednesday, March 10, 2010

RSA Encryption cracked (?)

RSA is the best-known most widely-used encryption scheme. Anytime you go to a secure website, you're using the RSA public-key cryptosystem. So, it's a bit scary when you see a report about something so widely used as having been cracked. Well, under careful, laboratory-controlled conditions, you can apparently crack RSA, even with very long encryption keys. But I don't think I'm going to stop shopping at NewEgg.com anytime soon.

http://www.engadget.com/2010/03/09/1024-bit-rsa-encryption-cracked-by-carefully-starving-cpu-of-ele/

Thanks to alumnus Elliot Kaye for this tip.

Friday, February 26, 2010

Honor Society Upsilon Pi Epsilon

For the academic year 2009-2010 the department will induct 9 undergraduate students and 2 graduate students into the Honor Society for Computer Science Upsilon Pi Epsilon (ΥΠΕ). I will let Prof. Ammari do the honors of announcing the official list. I offer my congratulations to the (now) anonymous 11.

Thursday, February 25, 2010

More "fun" with 64-bit Windows 7

I am not sure the Universe is ready for 64-bit Windows 7, yet. I need to use Python in one of my classes along with PIL (Python Imaging Library). There is a 64-bit version of Python which installs without a problem. The PIL binary for Windows is 32-bit. Try to install it and you get:


Looks like 32-bit PIL "does not love" 64-bit Python. Not very surprising, I guess, still a little bit disappointing.

Ok, let's install the 32-bit version of Python followed by the 32-bit PIL. This is what I get:



Hmm, looks a little familiar. So, 32-bit PIL "doesn't love" 32-bit Python either, under 64-bit Windows 7.

This is getting ugly.

Also, it looks like Firefox is a 32-bit program. So, that's a little bit of a bummer, although it runs well on the system.

On the plus side, it took me like 3 clicks to get connected to the network printer in the department. I'm holding my judgment on Win 7 64-bit at this point.

Friday, February 19, 2010

Trouble installing 64-bit Windows 7, but it was my fault, kinda

I installed 32-bit Windows 7 on a Frankenstein machine that I built myself using old components that I had lying around (except for the CPU and 2GB of memory), and installation was a snap. First, I had 32-bit Windows XP installed on the machine, because I had to make sure that the machine was runnable. Next, I extracted (using 7-zip) all files from the Windows 7 ISO file onto a portable drive. Ran setup.exe from the drive and everything went smooth on the first try! It found drivers for every device I'd hooked up, except for a remote printer. I think I actually like Windows 7.

Then, on a different (and new!) machine, I tried to install 64-bit Win 7 and it was driving me crazy. First, since the machine had 32-bit XP, I couldn't use the trick of extracting files from the ISO and running setup--under Windows XP you can't run a 64-bit executable (setup.exe) from a 32-bit OS (XP). So, I had to burn a bootable DVD (can't use a CD, the ISO file is 3GB in size). When I tried to boot using the DVD, the setup program kept asking a CD/DVD driver file! Google came to the rescue and I found out that the reason that I got the error was probably because my ISO file was corrupt. I checked, and it was true: instead of a 3GB file, my ISO was about 1.3GB in size. Pretty stupid of the installation program to not realize that it was working with a corrupt disk image, if you ask me. Anyway, I re-downloaded the full image from MSDN AA. Then, I tried to use the "ISO Recorder" program recommended by Microsoft for burning ISO files onto disks. But that doesn't burn DVDs on Windows XP. Yecch! Had to use Roxio to burn the installation disk. And then the installation took like an hour--at least it felt like it. But the end result has been great. The machine has been running smooth and Windows Performance Index (or whatever it is called) pegged the machine at a decent 5.3.

Get your Windows 7 here!

Well, not exactly here (with me). But, if you're enrolled in a CS course at Hofstra (other than CSC 005), you are eligible for a bunch of free Microsoft Software through the department's subscription with MSDN AA. If you haven't yet received email about it, please contact Prof. David Klein.