Category Archives: perl

Why doesn’t Mac update standard UNIX utilities?

I am currently teaching a course on programming for linguists. We are using python, but for the first few classes, I have been going over some standard UNIX utilities like cd, ls and such, plus using regular expressions with grep … Continue reading

Posted in linguistics, linux, mac osx, perl | Tagged , , , | 1 Comment

Perl slurping

It seems like whenever I go to slurp in a whole file into a string in Perl, I have to search around to remember the exact syntax. So I decided to put it here for myself, so I won’t have … Continue reading

Posted in perl | Comments Off

100 yootles bounty for solution to nested loop rounding error

I am working on doing some monte carlo simulations. I want to do a particular manipulation n times, but I want to constrain what I do based on three parameters, x, y, and z, which are probability distributions coded as … Continue reading

Posted in linguistics, perl | Comments Off

Picasa, JAlbum, and null bytes

I have recently been trying to transition from Mac to Linux, with much success for the most part, but a few hiccups as well, as is to be expected. One of the important uses of the computer for me is … Continue reading

Posted in (x)html, linux, perl, photography | 6 Comments

web + print frustrations

Sometimes one wants to write a document that can be viewed both in print form and on the web. From my experiences so far, there does not yet exist a good way to do this from one document. I have … Continue reading

Posted in (x)html, css, latex, perl | 3 Comments