Fish tacos for the weary soul

30Nov/110

Titanic Brass

Urban Outfitters is the kind of company that would call shoddy workmanship "vintage". Or let's put it this way, if you're buying vintage, make sure the zippers are forged from modern metals and not pig iron. 

30Nov/110

imagesc vs contour

Despite their seeming similarity, imagesc treats the input matrix as a bitmap grid, while contour treats the input matrix as a matrix. In short, the "y" elements are flipped for a 2D graph depending on which method you use. The fix? flipud(matrix).

26Sep/110

Manufacturing in China

A very cool blog post on the pitfalls and intricacies of having your product manufactured in China.http://www.kickstarter.com/projects/cwandt/pen-type-a-a-minimal-pen/posts

01Sep/110

Food blues

The problem with Vanderbilt food is that they serve Verne Troyer and charge Kareem Abdul Jabbar. Also, not that tasty.

18Aug/110

Prescient

Instead of googling me, you should be studying. That is all.
Your TA.

08Jul/110

Translating Roommate Ads on Craigslist

Trustworthy : Don't jack my stuff bro

Person of good morals : Don't perform abortions here or have sexy time

Single : Will probably hit on you or require wingman/woman services

Dog : Hope you like hair

Rustic : Old

Quaint : Old

Cozy : Assumes you sleep standing up

Clean : Bachelor rinses


03Jul/110

Solving Ponder This June 2011

After the first car is parked, the circular parking lot is no longer circular since it has a head and a tail.

The probability of parking in any spot of the parking lot is 1/(n-1) where n is the length of the parking lot segment e.g. after the first car parks you have a unbroken segment of 98 spots. Since the segment is symmetric, you only need to calculate half the positions and multiply by 2 at the end.

19Jun/110

IBM Ponder This June 2011 Parking Expected Capacity

This challenge is based on a puzzle we heard from Yaniv Shmueli, who heard it himself a few years ago.

Let's assume that cars have a length of two units and that they are parked along the circumference of a circle whose length is 100 units, which is marked as 100 segments, each one exactly one unit long.

A car can park on any two adjacent free segments (i.e., it does not need any extra maneuvering space).

05Jun/110

Drupal 7 Tagadelic Install Instructions

I've been spending a day trying to install this tag cloud module mostly because I don't know much about webdev/drupal/git. Anyways the module is available and working properly afaik for Drupal 6. However due to the (bad) advice of my friend David, I decided to use Drupal 7 instead which has a lot of incompatibilities. This is what happened after upload and installation of the tarball from developer berke's git repository

Fatal error: Call to undefined function db_rewrite_sql() in /modules/tagadelic/tagadelic.module on line 234

Pages