Live data from Hacker News

The end of an era: Saying goodbye to search.cpan.org

log.perl.org

81–90 of 125 posts

Re: The end of an era: Saying goodbye to search.cpan.org

#81
post #8

Now this is you how EOL a beloved product. By working with an OSS replacement such that the transition is transparent. Super thanks to the team for the CPAN search (it was a lifesaver many times for me in the past!) as well as for their awesome transition plan.

Same way that PyPI.org (Warehouse) replaced the old pypi.python.org codebase? Mostly transparently?

Didn't that transition not go very smoothly? I seem to remember having nowhere to download packages stuff at work when they turned the old system off (I think due to the new system not being able to handle the load, but I could be wrong)

Re: The end of an era: Saying goodbye to search.cpan.org

#82

Earlier quoted context omitted.

>Existing search.cpan.org links will continue to work after the transition. They should get a lot more credit for this. Linkrot sucks, and I'm sure the effort that was required to pull off maintaining those links is going to pay off greatly for many for years to come.

They actually have had the existing URLs working via `search.mcpan.org` for several years now, this is really just a matter of dropping the `m`.

I'm not very familiar with the Perl ecosystem, but that would be an entirely different domain; was the server behind it maintained by the the MetaCPAN people, or the cpan.org people?

Re: The end of an era: Saying goodbye to search.cpan.org

#83

From the article: > In recent years maintenance has become a burden. Most of the site is running 2005 era Perl code. Luckily, there is now a viable alternative: MetaCPAN.org. The MetaCPAN team has been getting ready for the transition and is nearly ready to take over. Shortly, a link will be added to all pages on search.cpan.org to inform users of the upcoming change. After about a month, all traffic will be redirect…

This is one of the main things Perl is about. The language and the community takes, in the broadest sense, operational stability very seriously. More serious than any other language community I'm aware of.

Re: The end of an era: Saying goodbye to search.cpan.org

#84
post #34

Earlier quoted context omitted.

> the OSS competitor will always win in the long term. That's an interesting point, and I've seen it come up more and more in recent years (or even months). It would be interesting to see a survey of major software technologies over time, with proprietary, commercial and open source all represented and see which ones still exist, are still usable in the current ecosystem, and support new features. e.g. operating syst…

I think it's probably only true for software that primarily serves large users of OSS. Like developer communities. It's very much not the case with consumer software.

> I think it's probably only true for software that primarily serves large users of OSS.

I think I understand what you're trying to say, but I'm not sure that description makes any sense. Prior to the popular OSS version being created, in most cases an OSS version didn't exist so there couldn't be a large set of users of OSS.

Apache has been run on windows for decades (or very close to it) now. Same with Sendmail, and MySQL These are people that chose to run open source software on a proprietary operating system (windows 98 or windows 2000), so I'm not sure large sets of OSS users had much to do with it. I think it's more that the software was robust, it worked, and it was free.

I think what your point is getting close to though is that it's probably true for software that has a more technical audience. Setting up server software requires some technical fluency, even today (if much less than in prior decades), and those people are more likely to both have heard of competitors, to be able to assess how they might perform in comparison, and to be able to actually install and troubleshoot them given the generally more complex documentation.

What I think we've seen over the last few decades though is that those technically minded people have come to become users of OSS. That is, I think your cause and effect was backwards, as those people are now users of OSS because there's good, solid OSS software that makes sense for them to choose, and once they're using it they are OSS users.

Re: The end of an era: Saying goodbye to search.cpan.org

#85
post #72
post #58

Sad news. Hopefully a replacement will fill its place and provide comprehensive public access to our government broadcasting network's archives.

> Hopefully a replacement will fill its place and provide comprehensive public access to our government broadcasting network's archives. Is this a joke? That's not what CPAN is about. For what CPAN is for, there already is a replacement, MetaCPAN.

Dude half read the headline and nothing else. He saw CSPAN.

Re: The end of an era: Saying goodbye to search.cpan.org

#86
post #13

Earlier quoted context omitted.

The backend API is indeed (modern) Perl and the repository is here: https://github.com/metacpan/metacpan-api

As someone who works with perl daily, what's "modern" perl?

You can also get a real quick exposure from the Modern::Perl module[1], which is by the author of the book mentioned in a sibling reply.

The basic idea is simple though. Use strict. Use warnings. Use new features and best practices modules (Task::Kensho[2] an help here) when them make sense (e.g. Moose/Moo). Be aware at least what PBP[3] is, and if you feel so inclined, use Perl::Tidy and/or Perl::Critic (even if your own defined subset of rules) to give yourself an idea of what is considered good practices (and when to throw them our for that elegant line or two, just don't forget to comment it so you don't confuse yourself when you see it months/years later). Basically, if you care about the code you write, you should find yourself gravitating towards writing Modern Perl anyway, and the speed at which it happens is largely determined by your exposure to the Perl community at large.

My own personal set of best practices means almost always using something like Function::Parameters or Kavorka, and possibly Moops.[4]

1: https://metacpan.org/pod/Modern::Perl

2: https://metacpan.org/pod/Task::Kensho

3: http://shop.oreilly.com/product/9780596001735.do

4: https://news.ycombinator.com/item?id=11633961

Re: The end of an era: Saying goodbye to search.cpan.org

#87
post #54

Finally Google search results will point to the better site. It was always so frustrating to google anything Perl related and get search.cpan.org over metacpan.

One of the only pure usability[1] wins from switching to DDG a few months back is that metacpan was always considered a better better/higher placed result. Of course, that only makes sense... [2]

1: It's nearly impossible to compete with Google when you aren't collecting every bit of data. That said, the reasons to switch remain compelling even months later.

2: https://metacpan.org/release/DDG

Re: The end of an era: Saying goodbye to search.cpan.org

#88
Also goodbye illguts then.

Illustrated guts is the description of the perl5 internals, in html and images. Metacpan still does not allow displaying it and I won't pay for hosting services.

Static GitHub pages maybe, but how stable will that be, and it's another link away from the primary content. They knew of this problem for years.

Re: The end of an era: Saying goodbye to search.cpan.org

#89

Not a knock against the people who created metacpan, but it is interesting how much faster search.cpan.org is than metacpan.org when displaying basically identical information on module pages. The page load time is consistently about 5 to 10 times faster on search.cpan.org on the first load of a page, though subsequent loads are faster on metacpan, so they must have some caching in front.

The new site's search results are noticeably slower. On search.cpan.org, searching for "cgi" took 90 milliseconds, whereas the new site takes 1.25 seconds. I tried several times.

Because the metacpan search is written in java and does not use a fast search engine, like xapian, which does have nice perl5 bindings. Also Elasticsearch uses 10x more RAM.

Re: The end of an era: Saying goodbye to search.cpan.org

#90
post #86

Earlier quoted context omitted.

As someone who works with perl daily, what's "modern" perl?

You can also get a real quick exposure from the Modern::Perl module[1], which is by the author of the book mentioned in a sibling reply. The basic idea is simple though. Use strict. Use warnings. Use new features and best practices modules (Task::Kensho[2] an help here) when them make sense (e.g. Moose/Moo). Be aware at least what PBP[3] is, and if you feel so inclined, use Perl::Tidy and/or Perl::Critic (even if you…

> 2: https://metacpan.org/pod/Task::Kensho

Uhm, I can't see Catalyst listed in the web development section... Has it fallen out of grace ?

Post reply on HN