Showing posts with label short posts. Show all posts
Showing posts with label short posts. Show all posts

Wednesday, September 25, 2013

MATLAB startup.m

Add these lines to your Matlab startup.m file for some amusement in life:

clc
s = RandStream('mt19937ar','Seed','shuffle');
RandStream.setGlobalStream(s);
disp('Why? Because...')
why

clear all

Wednesday, May 15, 2013

Should I fill that survey?

I was one of "very few people" selected to complete a survey for some research study. In return for the time spent clicking radio buttons and checkboxes I was offered entry into a raffle: 2 prizes of \$150 each and 4 prizes of \$50 each. At first sight my reaction was: That's quite a reward!

But, wait a minute: It looked like a really long and tedious survey to fill out, each page laid out in a 9 pt font, with over 10 pages of multiple-choice and open ended questions. It would easily take me 30 minutes from start to finish! Considering the work involved, I did not expect more than 100 people to complete the survey. Was it worth the effort? Let's check:

$$
E[\mbox{prize money}] = \frac{2}{100}\cdot 150 + \frac{4}{100}\cdot 50 = $5.
$$

*On average*, this deal looks like a $10/hr hourly job. I'll pass!

Wednesday, September 19, 2012

Maps icon in iOS 6.0

Interestingly, the maps icon in iOS 6.0 shows a route starting at BJ's Restaurant and Brewhouse on N DeAnza Blvd in Cupertino, CA. Or is it the Apple Company Store nearby? You'll never know.