Posts tagged as:

code

Quick sepia images in WordPress

September 30, 2011

The other day, I was unexpectedly asked, "What's the easiest way to make a sepia-toned image in WordPress?" The questioner has a blog with an "antique" theme, and wanted to use the sepia images inline. However, the blog is quite image-heavy and she (understandably) didn't want to dive into Photoshop for every single post. She […]

0 comments Read the whole post →

Karma...?

September 26, 2011

It really comes as no surprise whatsoever that just weeks after I switched from TextMate to VIM, TextMate 2 has finally broken cover. From a post on the MacroMates blog: There has been a lot of speculation and trepidation about the future of TextMate recently, mostly about whether there will be another major release. Work on […]

0 comments Read the whole post →

Syncing settings across computers

September 15, 2011

Using Dropbox and shell scripts to automatically sync settings and configurations.

8 comments Read the whole post →

Making the jump: Textmate to VIM

August 17, 2011

Finally making the leap from Textmate to VIM...

18 comments Read the whole post →

Puzzling the Dow

August 14, 2011

What is the probability that the sum of the digits of the Dow's change would add up to the 26 on three consecutive days?

3 comments Read the whole post →

Installing Python, virtualenv, NumPy, SciPy, matplotlib and IPython on Lion or Mountain Lion

August 12, 2011

A guide to installing Python, virtualenv, NumPy, SciPy, matplotlib and IPython on Mac OS 10.7 Lion

181 comments Read the whole post →

Trials of the early adopter

July 25, 2011

Update: this post is now completely obsolete. I've posted a much more comprehensive guide to installing Python, NumPy, SciPy, matplotlib and IPython on Lion here. This post is meant as a public service announcement for an extremely small audience. If you don't think this is directed at you, then it almost certainly isn't. I'm happy […]

0 comments Read the whole post →

Google's programming initiative

July 12, 2010

Google has introduced software that allows non-programmers to create relatively simple Android applications. The program wraps pre-written pieces of code in bite sized visual representations that can be linked together to create complex behaviors. The software can tap many areas of the Android API, including hardware functions like the accelerometer, and can autonomously respond to […]

0 comments Read the whole post →

The language of statistics

June 24, 2010

Joseph Rickert has written a piece calling R "the language of statistics," which I feel is a deserved title. As he puts it: I don’t just mean that R “is spoken” by many or even most statisticians. R’s superiority for statistics is deeper than that. R is a language with syntax and structure that have […]

0 comments Read the whole post →

Learn to program!

December 24, 2009

Following a post by Aleks Jakulin, I found a great site that presents an interactive Ruby prompt married to an extremely user-friendly tutorial: Try Ruby. I don't know Ruby at all, but I followed the tutorial for a bit and quickly felt comfortable with the basic syntax. I'm not a perfect candidate to judge this for […]

0 comments Read the whole post →

Choropleths in R (yes, "choropleths")

November 12, 2009

Using R to recreate color-indexed maps of US unemployment data.

31 comments Read the whole post →

R style guide

August 13, 2009

Google has posted a style guide for R which is being used throughout the organization. It's mostly in line with what I learned once upon a time, but it's nice to see such an authoritative body coming out with a set of standards. Universal coding benefits everyone, and R is growing so rapidly that some […]

0 comments Read the whole post →

Progress in Safari 4

March 1, 2009

Update 6/8/09: The release version of Safari 4 went with none of these. One of my favorite Safari features is that the address bar doubles as a progress bar, whereas most browsers place a progress bar at the bottom of the screen, taking up real estate. This is how mobile Safari works on the iPhone […]

Read the whole post →

Safari 4 breaks bookmarklets?

March 1, 2009

Update 6/8/09: This still happens in the release version of Safari 4. Update 6/13/09: More details available at Sakuzaku. I have been unable to verify if this is a widespread problem or just my luck, but my Java bookmarklets are no longer working in the Safari 4 beta. Bookmarklets are mini-applications that can be run […]

10 comments Read the whole post →