About Me
I'm a Math/Computer Science student at the University of Waterloo. I grew up in Halifax, Nova Scotia.
In my free time, I write code for open-source and my own projects. Away from the keyboard, I enjoy reading, sailing, running, geocaching, travel, and learning French.
You can find me on LinkedIn, twitter, and Facebook. You can also contact me the old-fashioned way at blog@paulbutler.org. Here is my résumé.
-
Recent Posts
Recent Comments
- Amy Farrah Fowler and soft power « DannyQuah on Visualizing Facebook Friends: Eye Candy in R
- R tells you where weapons go | nzprimarysectortrade on Visualizing Facebook Friends: Eye Candy in R
- Random art on the web « Statisfaction on Visualizing Facebook Friends: Eye Candy in R
- Calculate and highlight the differences between strings of text with PHP on Visualizing Facebook Friends: Eye Candy in R
- 10张信息图让你更了解团购网站 | 微助力social社会化博客 on What $480M of Gross Revenue Looks Like to Groupon
Friends
Archives
Categories
- Fractals (1)
- Haskell (2)
- Image Scaler (2)
- Java (1)
- JavaScript (2)
- JSSpamBlock (7)
- Math (8)
- Computer Science (2)
- Data Mining (6)
- Statistics (2)
- PHP (3)
- Programming (2)
- Python (5)
- R (4)
- Ruby (2)
- Waterloo (1)
- Web Apps (2)
- WordPress (3)
License
Meta
Daily Archives: May 15, 2007
A simple diff algorithm in PHP
A diff algorithm in its most basic form takes two strings, and returns the changes needed to make the old string into the new one. They are useful in comparing different versions of a document or file, to see at … Continue reading
Posted in PHP
46 Comments
