2007.04.21

Brian Doherty links to Salon's article about Carlos Castaneda, anthropological hoax-monger and cult leader. Read it, it's good. 2007-04-21T10:52:49ZUntitled entry permalink

Mashup my blog 2007-04-21T10:59:57ZTitled entry permalink

As part of the redesign of my blog, I have made available a JSON feed containing all the dates on which I have published. This JSON dataset is being used internally by my server to produce calendars, 'on this day in' lists and the such like. But the reason I am making it available is simple - I want you to build things with it!

The feed contains two sets of data - firstly, a hierarchial list called 'multi' which has the years, months and days that I've published listed inside of it. Secondly, it contains a list called 'flat' which lists every day I've published in a flat order. Why both ways? Well, I found myself writing code to sort through this list over and over again and thought that it would be easier just to double the amount of data to reduce the number of cycles processing it. I haven't done any testing, but it should be a little bit quicker on my server to do it this way.

Why not XML? Well, I may do an XML version soon, but I'm lazy. With JSON, it's as simple as making a PHP array and pushing it through a json_encode().

So, what could you do with this? Well, it's up to you. Build me a widget or a funky, slidy Ajaxy calendar, visualise the data. Anything you want, really. Although I'm not totally inexperienced with JavaScript, I'm stil very much a beginner.

Remember - the date format is quite simple - tommorris.org/blog/year/month/date to get the HTML, or put .opml on the end to get OPML 2.0.

Comments | TrackBack

Learning Perl - convince me not to 2007-04-21T21:53:07ZTitled entry permalink

I'm strongly considering learning Perl. I spend a ridiculous amount of time doing donkey work. I've tried things like sed and awk and they don't seem to be quite what I want.

I really need a language that can just let me get one-off crap done in the least fussy way possible (and 'fuss' means, for me, looking things up in books, Googling, having to use a code-completing editor, keeping track of files, whitespace etc.)

So, for the Perl users out there - is it worth it, for me? I've got too much to do already - should I learn Perl? Is there a simpler - preferably graphical - way of processing text and/or XML files on the Mac.

Comments | TrackBack

Links from del.icio.us

 

Login with your OpenID:
No. 537
Tom Morris
Currently in: East Sussex, England
Usually in: East Sussex, United Kingdom
AIM: tommorris
YIM: tom.morris

I am a , an , like to code in and noodle about with and the . I also have a BA in philosophy from London, and am studying for an MA. My philosophical interests are in Victorian-era German philosophy, Kierkegaard, Robert Nozick, hermeneutics and current approaches to the demarcation problem in the philosophy of science. Musically, I like jazz fusion, soul and P-Funk. My musical nirvana would be a mixture of Beethoven, Miles Davis and George Clinton topped with a side-serving of Erykah, Jill and Angie.

I also write for the Citizendium, an online encyclopedia project. If you know about stuff, you should join in.

Elsewhere:

  • GPG Key
  • del.icio.us
  • Flickr
  • Twitter
  • digg
  • Jaiku
  • LinkedIn
  • ma.gnolia
  • blip.tv
  • upcoming.org
  • MetaFilter
  • LiveJournal
  • CiteULike
  • Technorati Profile

RSS Feed Subscribe:

RDF

« April 2007 »
SuMoTuWeThFrSa
1234567
891011121314
15161718192021
22232425262728
2930 

View in month context

On this day in: 2006