About

I'm Greg Restall, and this is my website. I work in Philosophy at the University of Melbourne. [Email: greg at consequently.org; Skype: greg_restall; Post: Department of Philosophy, University of Melbourne, Parkville 3010, Australia.]

Writing

These are the three last modified entries on my writing page.

  • “Truthmakers, Entailment and Necessity 2008,” an addendum to “Truthmakers, Entailment and Necessity,” to appear in Truth and Truth-making, edited by E. J. Lowe and A. Rami, Acumen, 2008.
  • [with Rebecca Kukla and Mark Lance] Appendix to Rebecca Kukla and Mark Lance ‘Yo!’ and ‘Lo!’: the pragmatic topography of the space of reasons, Harvard University Press, to appear.
  • “Curry’s Revenge: the costs of non-classical solutions to the paradoxes of self-reference,” in The Revenge of the Liar, ed. JC Beall, Oxford University Press, pages 262–271, 2008.
  • “Anti-Realist Classical Logic and Realist Mathematics,” under revision.
  • “Proof Theory and Meaning: on second order logic,” to appear in the Logica 2007 Yearbook, Filosofia.

On applescript and php, and an archive page

A half hour of php hacking has finally produced a working archive page for the photos I’ve been posting from my phonecam. My little Sony Ericsson T630 phone has a terribly lo-res camera, but it’s fun to take shots now and then when you wouldn’t normally take photos. Now, instead of sliding off the front page when I upload another one, you can see the old photos on the archive page.

What makes the thing fun is that the process of uploading them is so easy. The camera has a bluetooth connection to the computer, so I can get photos from the camera while the camera is still in my pocket. (That’s easy.) Then I drag a photo to an icon on the dock on my computer and the little applescript I wrote pops up a dialogue box to enter a title, and the thing scales the image (the camera takes pictures at 288x352 and I scale them to 180x220 to fit in the sidebar) and uploads the result to the /phonecam directory on consequently.org. The next bit of magic is two php scripts. One on the main page takes the latest jpg file out of the /phonecam directory and puts it in the right sidebar. (The title is the filename with “.jpg” stripped out.) The other is the phonecam page, which uses more php to read the entries in last-to-first order, insert month headers for every new month, and put them on the page.

Let me know if anything looks weird from your end.

Posted 08:24 PM on June 26, 2005

Comments

I love stylesheets! A little bit of CSS hacking is enough to make the pictures scrub up better on the archive page.

Greg Restall [TypeKey Profile Page], June 27, 2005 08:28 PM




Remember me?


© Greg Restall, 2002–2006 • Powered by teTeX, TeXShop, Safari, Movable Type, MT SomeDays, MultiBlog, MagpieRSS, del.icio.us, Arvo Pärt, Bruce Cockburn & you, the reader.