Tuesday, Sep 29th, 2009 by
admin
Category:
statistics
Update: See the new statistics here
OkCupid is a free dating website that is interesting for releasing statistics on its users. Today they finally touched upon the subject of religion and race. You can see some statistics here, but they left the most interesting portion out as a teaser for next week.
I didn’t want to wait until next week so I cobbled together the nearly complete diagram they had by copy and pasting the axis.

Green: More responses - Red:Less responses
I may be wrong here, but at a cursory glance, you can pick out some very distinct trends. Either asian/white females are messaged far too often or have a distinct preference for white males. Black females seem to be on the opposite side of the spectrum.
Here are the approximate male race rankings (looking at color since I don’t have the numbers) from most replies to least replies.
White > Native American > Pacific Islander > Other = Middle Eastern > Asian = Hispanic > Black
And here are the approximate female race rankings from least responsive to most responsive.
Asian = White = Hispanic > Indian > Middle Eastern = Pacific Islander > Other = Native American > Black
Monday, Sep 28th, 2009 by
admin
Category:
Hardware
Everyone knows that rotation speed affects the speed of your hard drive. For example 7200 RPM is faster than 5200 RPM.
Some people know that “bigger” (more capacity) hard drives of the same size means faster. If you have more data packed into a smaller area, it is logical that it would take less time to spin through the data.
However, bigger (more data) does not mean higher density! Let’s take a look at the Hitachi’s 5K500.B hard drives.

Read the rest of this entry »
Saturday, Sep 19th, 2009 by
admin
Category:
Programming Tags:
haskell,
languages,
ocaml
You have probably heard the virtues of Haskell and Ocaml being extolled by professors and intellectuals online. They have a cult/evangelist-like following that reminds me of Ruby a few years ago. The only problem is that they are almost as old as Ruby, yet they have not gained much of a mindshare. Here is an attempt to explain that situation.
First, here is why Haskell and Ocaml should be considered for a mainstream language.
The Good
- Strong Typing
- Better crash protection than C. No dynamic duck-typing uncertainty. Faster programs.
- Type Inference
- As many C# programmers have found out, its possible to have the convenience of type checking without having to type “ExtremelyLongTypeDeclaration” for each variable.
- Easier Parallelism
- The functional model makes it easy to create safe parallel code.
With these 3 killer features, it is confusing why so many people are still doing C# and Java.
The Bad and Ugly
Read the rest of this entry »
Thursday, Sep 10th, 2009 by
admin
Category:
Uncategorized Tags:
Stackoverflow
I was looking around Stackoverflow when I spotted this ad.

If you can't see this, your adblock is probably on.

Details
https://www.telerik.com/registration-login/stackoverflowregistration.aspx
Free stuff for getting 10k rep! I bet most of you 10kers probably had adblock on. The software offer is supposedly worth $1299 and seems to beĀ an exclusive deal. Unfortunately for the masses, it appears that they will try to confirm your profile to see if you actually do have 10k rep.
It makes me wonder if there are other offers like this. Maybe there’s a “Get a Job” offer when you hit 20k reputation. But then again if you had that much reputation your probably spending too much time on SO.
Saturday, Sep 5th, 2009 by
admin
Category:
Uncategorized Tags:
Python
You’ve tried dozens of Python IDEs and were annoyed that each one had weaknesses that the others didn’t have.
Now you don’t have to worry anymore.
Pydev is an Eclipse plugin that has really good auto-complete and code analysis: something that is lacking in the other Python IDEs. Most of the goodies were locked away for pay in premium mode, but now it is open source.
This is good news, but how do we solve the bloat problem of Eclipse? If you look at their download page, you will have to download a bloated version with that range from 80 to a whopping 370 mb. These packages come with plugins you will probably never use and will fill even more memory as if Java wasn’t enough of a memory hog.
Fortunately for you, here is the extremely well hidden link to the minimal Eclipse installation package here. You will want to scroll down and download one of the 47mb Platform Runtime Binary packages.
Once you’ve installed or unzipped Eclipse, run it, click Help, and click Install New Software. Add this URL: http://pydev.org/updates
One more thing that may help performance is to edit eclipse.ini and paste these lines below “-vmargs”:
-Xms128m
-Xmx384m
-XX:PermSize=128m
-XX:MaxPermSize=128m
-XX:CompileThreshold=5
-XX:MaxGCPauseMillis=10
-XX:MaxHeapFreeRatio=70
-XX:+UnlockExperimentalVMOptions
-XX:+UseG1GC
Now you have the best Python IDE at your fingertips.