Category / programming

Screen Space Ambient Occlusion September 2, 2010 at 6:14 pm

One of our interns, zacropetricopus, has been hacking the ROBLOX graphics pipeline apart for the past month to add ambient shadows. Today, we’ve got some super-early screenshots!

RobloxScreenShot09022010_170511132

RobloxScreenShot09022010_170550302

RobloxScreenShot09022010_170616804

I find this stuff incredibly boring. June 2, 2010 at 10:34 am

Stolen from What’s Wrong With Turkey

Most languages have this covered; there are functions that allow you to read or write dates and numbers appropriately for various cultures. In .NET, for example, it’s the difference between these two calls:

int.Parse("32.768");
int.Parse("32,768", System.Globalization.NumberFormatInfo.InvariantInfo);

The "invariant" culture is every American programmer’s secret dream realized: we merely close our eyes and wish away all those confusing languages and cultures and their crazy, bug-inducing date and number formatting schemes in favor of our own. A nice enough dream while it lasts, but instead of rudely asking your users to "speak American" through the invariant culture, you could politely ask them to enter data in ISO international standard format instead.

The Best Exception Ever December 16, 2009 at 3:36 pm

“ERROR: Error out of Range Exception”

Courtesy of Vibhu