http://qs1969.pair.com?node_id=619683

Update: The index is defunct. It was only hosted on perlmonk.org, which now seems to be down for the count. Please disregard the below. My regrets to all.


Since the PMSI - Perl Monks Snippets Index is gone for good, here's a new Snippets Index.

It appears that the original PMSI simply listed the snippets ordered by different fields — title, author, date. Of those, the only one that seems remotely useful is ordering by title. If you want snippets by a given author, Super Search lets you find them; and ordering by date is practically useless. Hence, the following index, which orders only by title. (But also see Snippets Permuted Index.)

What people could really use is a catalog of snippets with value-added fields such as domain, complexity, quality. That would be a good collaborative project. ;-)

New Snippets Index

Replies are listed 'Best First'.
Re: New Snippets Index
by naikonta (Curate) on Jun 07, 2007 at 01:54 UTC
    This is great! I was also curious what happened to the old one as I never saw it before (got the 404), and I never tried to find out via the archive either.

    I have a few thoughts.....
    Is this list generated? Are you/we going to populate it later manually?
    Can the order by title ignore leading punctuations?
    Can you/we fix the layout? My sidebar goes wild. I think this is due to some HTML formatting but I don't know for sure since I turn of HTML error reporting.

    Despite my list, thanks for your effort, ++ on it.


    Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!

      Is this list generated?

      Of course it's generated! You don't think I'd type all that by hand, do you? ;-)

      Are you/we going to populate it later manually?

      My intention is to update the list as new snippets are posted.

      Can the order by title ignore leading punctuations?

      The number of ways to order this list is virtually infinite. I chose the easiest one. I thought about doing it as you suggest, but then I considered that if I'm going to skip leading "junk", then I should also consider junk such leading alphanumeric strings as "code", "golf", and "updated"... and that's obviously a lot more work. Maybe later. ;-)
      Did you check out Snippets Permuted Index? Maybe that will do what you want, since it ignores non-\w characters.

      Can you/we fix the layout?

      There's nothing wrong with the layout. If you're having problems, maybe the table is too wide for your screen. It also happens (for me, at least) that sometimes the page does not get served in its entirety before the connection is closed. This could cause page rendering problems.
      I've moved the list off site. Let me know if you still experience problems with it.

      A word spoken in Mind will reach its own level, in the objective world, by its own weight
        There's nothing wrong with the layout.

        If you believe that then you either need to turn off enforcement of HTML nesting or turn up its error reporting and open your eyes. Your truncated nodes leave a <table> unclosed, which can mess up formatting seriously.

        Update: The truncated content has been (without an 'update' notice) moved off-site where it is surely no longer truncated, in case you (the reader) are wondering what the heck I was talking about above.

        - tye        

        Of course it's generated! You don't think I'd type all that by hand, do you? ;-)
        If you did that the whole monastery would probably curse you :-) Actually, the real question is the next right one, which you answered,
        My intention is to update the list as new snippets are posted.
        But no, I won't ask how you would do that ;-)
        I should also consider junk such leading alphanumeric strings as "code", "golf", and "updated"...
        I'm sorry, I never thought about this. Some people just put any leading chararcter in the title. OK, I'm fine with this.
        I've moved the list off site. Let me know if you still experience problems with it.
        Now, I'm having new problems. The New Snippets Index gives me:
        PerlMonks Snippets - By Title

        Generated on 2007-06-07
        160544 demerphq 2002-04-19
        248201 Mr. Muskrat 2003-04-04

        And the Snippets Permuted Index gives me:
        PerlMonks Snippets - Permuted Titles

        Generated on 2007-06-07
        160544
        248201

        Those are the whole-page for each link from your nodes. The links on the offsite pages would bring me to the non-sessioned pages where I'm not logged in. Is this intended? What happens?

        Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!