Saturday, December 30th, 2006

Link Roundup

Farecast predicts airfares.

OpenDNS makes browsing faster and helps with URL typos.

The Biomedical Imaging Group (BIG) has some great reviews on sampling and image interpolation.

Erik Meijering presents A Chronology of Interpolation.

Maps of War gives a 90-second visual History of Religion.

MAKE suggests open-source gifts.

Mac Geekery explains how to decrypt and transcode TiVo recordings on your Mac. I contributed some comments.

The TiVo File Decoder software allows decryption of .TiVo files into MPEG-2 format.

iLounge offers great iPod-related reviews and a beautiful iPod buyer’s guide. Here’s their high-end iPod speaker system ratings.

/web   〆   permalink

Friday, November 10th, 2006

Useful Free Software for Video Playback and Format Conversion on Windows

If you ever find yourself needing to do video playback and format conversion with a wide variety of video formats on Windows, I have a few key free pieces of software to recommend:

  1. VirtualDub: a video capture and processing tool that can very quickly read, manipulate, and write AVI files in many formats (VirtualDubMod, a spinoff, handles even more formats) (Wikipedia description)
  2. VirtualDub filters: the other great thing about VirtualDub is that there are many plugin filters available that implement a variety of video/image processing algorithms
  3. ffdshow: a codec (decoder and encoder) package that installs as a native Windows DirectShow filter, enabling playback of many modern video formats in Windows Media Player
  4. Auto Gordian Knot: a tool for converting DVD video content into XviD or DivX or x264 MPEG4 video
  5. MediaInfo: reveals the codecs used for video and audio contents within a video file

/image processing   〆   permalink

Thursday, November 9th, 2006

Directory of Open Access Journals

The DOAJ lists scholarly journals that give free access to the full text articles. Some papers are pretty decent — I poked around and found the International Journal of Signal Processing interesting.

/tech   〆   permalink

Sunday, November 5th, 2006

Bobble Head Respect

YouTube is extremely easy to upload video to. I’m impressed.

/life   〆   permalink

Sunday, November 5th, 2006

Too Much Time on Our Hands in High School

Chad, Tim, and I had too much time one day …

(How to embed YouTube videos as valid XHTML 1.0)

/life   〆   permalink

Sunday, November 5th, 2006

The IR & EO Systems Handbook

The IR & EO Systems Handbook — the definitive reference for Infrared and Electro-Optical systems — is available for free. For scanned PDFs, the quality is high. Unfortunately, the fact that they are scanned means that the text is not searchable.

How to download (via Randy Jost):

  1. go to http://stinet.dtic.mil/
  2. search for “Accetta and Shumaker”
  3. download pdfs and be happy

There are eight volumes:

Volume 1: Sources of Radiation
Volume 2: Atmospheric Propagation of Radiation
Volume 3: Electro-Optical Components
Volume 4: Electro-Optical Systems Design, Analysis, and Testing
Volume 5: Passive Electro-Optical Systems
Volume 6: Active Electro-Optical Systems
Volume 7: Countermeasure Systems
Volume 8: Emerging Systems and Technologies

/tech   〆   permalink

Sunday, November 5th, 2006

Restarting TiVo Desktop Automagically Using Launchd and AppleScript

For some reason, TiVo Desktop version 1.9.3 (008) for Mac OS X is a processor hog for me. Especially after I’ve committed the crime of actually running iTunes or iPhoto on a given day.

I’ve noticed that stopping and starting TiVo Desktop improves this situation, but I’ve also gotten personally tired of doing this, so now I offer you a way of automating an escape from this monotony. Use the plist file here:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
 "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>com.dailyburrito.restartTiVoDesktop</string>
    <key>ProgramArguments</key>
    <array>
        <string>/Applications/restartTiVo.app</string>
    </array>
    <key>ServiceDescription</key>
    <string>Restarts TiVo Desktop periodically.</string>
    <key>StartCalendarInterval</key>
    <dict>
        <key>Hour</key>
        <integer>3</integer>
        <key>Minute</key>
        <integer>18</integer>
    </dict>
</dict>
</plist>

saved in the /Users/uname/Library/LaunchAgents/ folder with a name something like com.QuickSilverWatch.plist in combo with these launchd instructions. Or, just use lingon as described is this Mac OS X Hint. Either way, you’ll need this applescript to actually reboot TiVo Desktop:

-- open Sys Prefs and wait for it to open
tell application "System Preferences"
    activate
end tell

-- stop/start TiVo Desktop w/10 trys
repeat 10 times
    delay 1
    try
        tell application "System Events"
            tell application process "System Preferences"
                -- set frontmost to true w/10 trys
                repeat 10 times
                    try
                        click menu item "TiVo Desktop" of menu ...
                            "View" of menu bar 1
                        delay 1
                        tell window "TiVo Desktop"
                            click button "Stop"
                            click button "Start"
                        end tell
                        exit repeat
                    end try
                end repeat
            end tell
        end tell
        exit repeat
    end try
end repeat

-- quit Sys Prefs
tell application "System Preferences"
    quit
end tell

You must have GUI Scripting enabled to run this AppleScript.

/mac   〆   permalink

Sunday, September 10th, 2006

6-year Old’s Drawing of Sept 11th Terrorist Attack

See my little sister’s drawing along with my father’s haiku.

/life   〆   permalink

Sunday, September 10th, 2006

NameVoyager

Babynamewizard.com has a tool called NameVoyager that shows a graph of popular baby names over time. The data is massaged out of the Social Security Administration’s records. The really cool thing is that you can type parts of names and get instant feedback as the popularity graphs change. It’s fun to explore — check it out.

The plots show the 1000 most popular names versus time whre the popularity axis is the number of names per million babies. When looking at the “all names” graph (the first graph that comes up as you visit the website), it’s interesting to see observe an upward trend in name diversity since the 50’s. This trend shows up directly as the thickness of many name-lines decreases and indirectly because the overall number of top 1000 names displayed goes down. In the 50’s, 95% of the names were in the top 1000 while in 2005 only about 75% were in the top 1000. Go find interesting trends.

(via David Pogue)

/web   〆   permalink

Wednesday, August 23rd, 2006

A Response to How to Write a Haiku

RSS alert
no five-seven-five
a brow furrows

(thanks, KC)

/life   〆   permalink

Tuesday, August 22nd, 2006

likebetter

fun times

/web   〆   permalink

Monday, August 21st, 2006

More Notes on How to Write a Haiku

incomplete sentences
no syllable counting
learn from masters

/life   〆   permalink

Monday, August 21st, 2006

How to Write a Haiku

Image
Pause
Image

/life   〆   permalink

Tuesday, June 13th, 2006

Confessions of a Car Salesman

A journalist goes undercover as a salesman at 2 car dealerships. Read it if you’re considering buying a car (or at least look at the recommendations at the end).

(via Kris)

/life   〆   permalink

Tuesday, June 13th, 2006

Hybrids

Green Hybrid has a very nice database of actual mileage recorded by hybrid car owners. HybridCARS.com lists current and expected hybrid models.

/life   〆   permalink

Saturday, June 3rd, 2006

Petals Around the Rose

I have joined the Fraternity of Petals Around the Rose (via Steve). Kris, how long till you grok it?

/tech   〆   permalink

Wednesday, April 26th, 2006

Chernobyl

Powerful photo essay on the Chernobyl disaster.

/web   〆   permalink

Sunday, April 23rd, 2006

Commands necessary to make squid run as a proxy for ME not as admin

Assumes squid installed via fink.

Useful for debugging:

squid -NCd1
top -l 1 | grep squid
sudo squid -k shutdown

Making squid have no cache — I just want it to be a proxy — add the following to /etc/squid.conf:

acl AllIncomingIps src 0.0.0.0/0.0.0.0
no_cache deny AllIncomingIps

Getting the permissions right (make owner me and open up permissions):

sudo chown -R myusername /sw/var/log/squid/
chmod -R u=rwx,g=rw,o=rw /sw/var/log/squid/
sudo chown -R myusername /sw/var/cache/squid/
chmod -R u=rwx,g=rw,o=rw /sw/var/cache/squid/
sudo chown -R myusername /sw/var/run/
chmod -R u=rwx,g=rwx,o=rx /sw/var/run/

Now, I can run squid instead of sudo squid and that makes me happy.

Of course, I actually don’t run it manually, I use launchd thanks to Steve’s instructions.

/mac   〆   permalink

Sunday, April 16th, 2006

Language-Maven vs Tool-Maven

In The IDE Divide, Oliver Steele uses his analytical knife to split developers into language mavens versus tool mavens. What would you rather use on your next project?

  1. a powerful language and text editor
  2. whatever language and a powerful IDE

/developer   〆   permalink

Sunday, April 16th, 2006

Web Based Terminals

Anyterm and Ajaxterm provide a way to use SSH (remote login) through any browser. Once this is setup, it would be slightly easier than downloading PuTTY.

/web   〆   permalink

Friday, April 14th, 2006

Face Time

Creating passionate users is becoming one of my favorite websites. Yesterdays post on why face-to-face matters notes how video chat is very close to face time but lacks in the eye contact department:

Video chat is better than any other form of non face-to-face, because you get facial expressions, tone of voice, body language, AND real-time responsiveness. But—he said there’s still a very unsettling feature for the brain because there’s really no way for BOTH speakers to make eye contact! … there’s no way to have the camera right in your face, in a place where you can still look into the other person’s eyes. Bottom line: You can see the camera or the person’s eyes… but not both.

I wonder if some fancy image processing could be applied so as to give the illusion of eye contact between both parties.

/image processing   〆   permalink

Monday, April 10th, 2006

People Don’t Crunch Well

Evan Robinson gives a clear explanation of why crunch mode doesn’t work.

In most times, places, and industries over the past century, managers who worked their employees this way would have been tagged as incompetent — not just because of the threat they pose to good worker relations, but also because of the risk their mismanagement poses to the company’s productivity and assets. A hundred years of industrial research has proven beyond question that exhausted workers create errors that blow schedules, destroy equipment, create cost overruns, erode product quality, and threaten the bottom line. They are a danger to their projects, their managers, their employers, each other, and themselves.

/developer   〆   permalink

Sunday, March 19th, 2006

Info theory book (free online)

David MacKay provides online copies of his textbook Information Theory, Inference, and Learning Algorithms (in pdf, ps, djvu, & latex formats). You can also buy the dead-tree version.

It’s a very readable text compared to the other things I’ve previously read (or skimmed) on Information Theory.

(via Sotos)

/image processing   〆   permalink

Sunday, March 19th, 2006

infogami (makes websites)

You can create a website in no time at infogami.com (a service created as a Y Combinator startup by Aaron Swartz). So, of course, I made a Daily Burrito site. Some good infogamis have already popped up; I like Y Rumors and Yet Another Javascript Reference.

/web   〆   permalink

Sunday, March 19th, 2006

Berkeley podcasts

Many of Berkeley’s courses are now available as podcasts. Listen and learn …

/tech   〆   permalink

Sunday, March 19th, 2006

iStockphoto

I like iStockphoto. It’s much easier that looking through huge clip art galleries — you just search and buy royalty-free photos right on the website. I enjoy looking for burros, donkeys, and mules.

/web   〆   permalink

Sunday, March 19th, 2006

Markdown + XeTeX = Hi Fi Text

Luxagraf mates markdown and XeTeX (LaTeX with MacOS X fonts) to produce a wonderful offspring: hi-fi text. In goes clean, minimal markdown text. Out comes beautiful typeset pdf documents.

/tech   〆   permalink

Sunday, March 19th, 2006

GUI for real-time file usage info in Mac OS X

Robert Pointon has written the GUI analog to fs_usage in fseventer. It shows a very nice graphical display of all file system events.

/mac   〆   permalink

Sunday, March 19th, 2006

Effect of Bandwidth Optimizer

I installed Broadband Optimizer, a program that aims to increase network speed on Mac OS X by increasing TCP memory buffers, effectively making data come in bigger chunks.

I used 3 online bandwidth testers to quantify the improvement (clearing Firefox’s cache between each test). I took the best of three runs of each test.

c|net test
1350 -> 1586 kbps (17% increase)

bandwidth speed test
2300 -> 2500 kbps (9% increase)

beeline
1104 -> 1488 kbps (35% increase)

On average, that’s about a 20% increase in download speed compared to the default Mac OS X settings. I like it.

/mac   〆   permalink

Sunday, March 19th, 2006

Joel Test for the Web

The Joel Test gives 12 simple tests for the quality of a sofware development team.

Drew Mclellan offers thoughts on The Joel Test for Web Development. He finds that the test is still very useful in the context of web development.

/developer   〆   permalink

Sunday, March 19th, 2006

Cheat Sheet Roundup

Pete Freitag lists cheat sheets for developers. I love cheat sheets. This covers web, programming, version control, OS commands, and more.

/developer   〆   permalink

Sunday, March 19th, 2006

Subversion Install and Use on Mac OS X

Justin Williams of MacZealots.com gives some good tips on installing and using subversion on Mac OS X. I found subversion indispensable in keeping track of all the code and writing for my master’s thesis.

/developer   〆   permalink

Sunday, March 19th, 2006

Simple, Free Mac OS X RAM Disk

Michael Parrot offers a freeware RAM Disk creator (Esperance DV) that works great. Get it.

/mac   〆   permalink

Sunday, March 19th, 2006

Haskell for C Programmers

Haskell (a programming language) has no update operator. There is no order of operations. Find out more from this introduction to a “functional” programming language.

/developer   〆   permalink

Sunday, March 19th, 2006

riya

Face and text recognition for your personal photos. Upload, do little training, then search by face. “Hey computer, find me all the photos that have both Tim and Chad because I’m to lazy to browse my 30000 thumbnails.”

Try it. (only Firefox and IE6 currently supported)

/web   〆   permalink

Sunday, March 19th, 2006

Using mod_rewrite to make pretty URLs

Here’s a nice guide for using the mod_rewrite Apache web server module for making nice URLs. I use it to make my blog URL dailyburrito.com/blog instead of dailyburrito.com/blah/blah/morecrap/blosxom.cgi and to make www.dailyburrito.com map to dailyburrito.com (for some reason, I really hate that www).

I altered the configuration of Apache web server that comes installed Mac OS X in two spots to accomplish the above goals. First, I edited the main Apache configuration document by adding the following line at the very end of /etc/httpd/httpd.conf, instructing Apache to look at my own configuration files.

Include /private/etc/httpd/users/*.conf

Then, I created the file /private/etc/httpd/users/alan_apache_setup.conf that looks like this:

# Blosxom script redirect
ScriptAlias /blog /Library/WebServer/CGI-Executables/blosxom.cgi

# Redirect visitor by domain name
RewriteEngine On
RewriteCond %{HTTP_HOST} !^dailyburrito.com$ [NC]
RewriteRule ^(.*)$ http://dailyburrito.com$1 [R,L]

Voila! Missions accomplished. URLs are pretty.

/web   〆   permalink

Sunday, March 19th, 2006

Mini Putt Putt

Fun Putt Putt game that runs in your browser. (requires the Flash plugin)

/life   〆   permalink

Sunday, March 19th, 2006

State of the Environment

A transcript of Robert F. Kennedy’s amazing speech about the some of the horrific things that we are doing to our environment. It touches on everything from coal-burning power plants to mercury in the water to strip mining to cultural values to draft dodging. Long, but well worth the read.

(via Wil Shipley)

/life   〆   permalink

Sunday, March 19th, 2006

Dignity considered harmful

Kathy Sierra, a writer for the Creating Passionate Users blog, elaborates on Paul Graham’s idea:

When you evolve out of start-up mode and start worrying about being professional and dignified, you only lose capabilities. You don’t add anything… you only take away. Dignity is deadly.

/developer   〆   permalink

Saturday, February 11th, 2006

Hoping that a future subversion won’t lose file dates

This feature is proposed in their issue tracking database as Issue 1256. It recently got bumped from consideration for version 1.3 and is now being considered for 1.5. For some reason, the fact that subversion doesn’t keep the last modification date of files under version control is very annoying for me.

/developer   〆   permalink

Wednesday, February 1st, 2006

Essential Mac OS X Applications

Mac Specialist provides a very nice list of essential Mac Apps.

/mac   〆   permalink

Saturday, January 28th, 2006

ECE 432 Final Report on Face Recognition

Woo hoo! My final report for class is now complete and available in html and markdown text formats. The report describes the eigenface and fisherface techniques for facial recognition and includes MATLAB source code.

/image processing   〆   permalink

Monday, January 9th, 2006

Kariela’s Sandvox

Sandvox looks to be a very promising tool for creating websites that look great and comply with standards. You can download the public beta now and try it out.

/mac   〆   permalink