Results 1 to 5 of 5

Thread: How suitable is lisp for this project?

  1. #1
    Join Date
    Jul 2005
    Location
    St Albans, UK
    Beans
    259
    Distro
    Ubuntu Development Release

    Question How suitable is lisp for this project?

    Hi,

    I've recently started to learn lisp, I'm a competent C++ programmer and wanted to learn something radically different, and so I turned to lisp. But so far I've only been dawdling my way through "practical common lisp", and have not managed to really get into it because there's not had anything I've actually wanted to write. Now I have an idea, but because I'm such a beginner I have no idea how appropriate lisp is as a language for my problem.

    I basically want a fancy web site change notification system, for use when a site changes in a specific way which I'm interested in or just for changes in sites without RSS feeds. Here's a few examples of things I'd want it to do:

    • Notify me when a particular web page changes
    • Notify me when there is a change containing specific text (say a band adds to their gig listings page a line containing the word "Birmingham")
    • Notify me when a web site which I have to log into / get into using cookies changes (such as the board games site itsyourturn.com, or a facebook page)

    I thought the best way to do this would be for the program to create an RSS feed to notify me of what changes on the net it has detected, since that would be accessible by a broad range of apps, from standard RSS feed readers, to KDE desktop widgets.

    So how good would lisp be for this? There seem to be a fair few XML libraries, so generating the RSS feed should be pretty straightforward (any recommendations on the best XML library for this?). As for reading websites, after a brief search it looks like drakma should do the job (any better suggestions?). So once I've got the hang of these libraries it looks like the bulk of the work will be getting the program to go through the text, and to work out the appropriate parts to add to the RSS feed. Is this a natural "lispy" problem, and will tacking it help me learn lisp? Or am I simply crazy for even thinking about doing this in lisp?

    Thanks

    Paul
    No man earns punishment, no man earns reward. Free your mind of the idea of deserving, the idea of earning, and you will begin to be able to think.
    Ursula LeGuin, The Dispossessed.
    Member of BOINC Team Ubuntu, spare cpu cycles benefitting humanity.

  2. #2

    Re: How suitable is lisp for this project?

    Carn't say how sutable Lisp would be for that spasific problem, as I have only recently started lt learn it also. But if you want to learn Lisp then give it a go

    If you want it to run as a web app then you will have a hard time finding hosting which provides Lisp scripting capability, so you will propably have to go dedicated and set it up manually.
    im dyslexic, please don't comment on my spelling
    blender 3d artist, visit my portfolio
    Quad-Ren, Open source, resolution independent 2D graphics engine
    Screen space is a precious resource, don't waste it

  3. #3
    Join Date
    Jul 2005
    Location
    St Albans, UK
    Beans
    259
    Distro
    Ubuntu Development Release

    Re: How suitable is lisp for this project?

    Quote Originally Posted by hessiess View Post
    If you want it to run as a web app then you will have a hard time finding hosting which provides Lisp scripting capability, so you will propably have to go dedicated and set it up manually.
    I was just planning to run it on my home computer, and have the RSS feed as a file on the hard drive. So hosting isn't really a worry (although if anyone knows of a free (or paid for) host with lisp capability I'd be interested to know for future reference).
    No man earns punishment, no man earns reward. Free your mind of the idea of deserving, the idea of earning, and you will begin to be able to think.
    Ursula LeGuin, The Dispossessed.
    Member of BOINC Team Ubuntu, spare cpu cycles benefitting humanity.

  4. #4
    Join Date
    Aug 2006
    Location
    60°27'48"N 24°48'18"E
    Beans
    3,458

    Re: How suitable is lisp for this project?

    Well, I would say that there are very few problems Lisp isn't suitable for, if you can just find the libraries so that you don't need to write them from scratch yourself... this particular problem here sounds quite good for a practice project indeed.
    LambdaGrok. | #ubuntu-programming on FreeNode

  5. #5
    Join Date
    Jul 2005
    Location
    St Albans, UK
    Beans
    259
    Distro
    Ubuntu Development Release

    Smile Re: How suitable is lisp for this project?

    Quote Originally Posted by CptPicard View Post
    Well, I would say that there are very few problems Lisp isn't suitable for, if you can just find the libraries so that you don't need to write them from scratch yourself... this particular problem here sounds quite good for a practice project indeed.
    Awesome, that's exactly what I wanted to hear. Thanks for the help
    No man earns punishment, no man earns reward. Free your mind of the idea of deserving, the idea of earning, and you will begin to be able to think.
    Ursula LeGuin, The Dispossessed.
    Member of BOINC Team Ubuntu, spare cpu cycles benefitting humanity.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •