Camelia, the Perl 6 bug

IRC log for #metacpan, 2013-08-16

| Channels | #metacpan index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:30 shmuel joined #metacpan
01:11 grantm joined #metacpan
01:42 omega whoho, on the top list of contributors now \o/
01:42 omega (I think this is what they call gamification :P)
01:45 klapperl_ joined #metacpan
01:56 * talexb has just 5 commits .. but I'm working on it ..
02:09 * ether has none :/
02:09 ether but I've filed lots of tickets! :D
02:14 talexb :)
02:15 talexb I've filed a few tickets  too -- that's a great way to start.
02:47 dsteinbrunner joined #metacpan
03:28 preflex_ joined #metacpan
04:02 metacpan joined #metacpan
04:02 metacpan [metacpan-web01] oalders pushed 1 new commit to master: http://git.io/LOJ-Dw
04:02 metacpan metacpan-web/master eb8020b Olaf Alders: TIOBE spam.
04:02 metacpan left #metacpan
04:02 dipsy [ TIOBE spam. · eb8020b · CPAN-API/metacpan-web · GitHub ]
04:02 oalders Mithaldu: ^^^
04:18 mo tiobe spam --
04:19 mo who cares about tiobe? is it really worth uglyfying metacpan?
04:23 haarg sometimes you still have to cater to unreasonable or ignorant people.
04:25 mo so now all search results on google will also have that string in their title, great...
04:52 omega arf...
04:52 omega version in META isn't always correct, hehe
04:52 omega is there some "canonical" way of getting the current release version?
04:59 mo omega: not correct as in?
05:00 mo to be honest, just show the last set of changes, don't try to map it to a version
05:01 omega the last set of changes is wrong sometimes, but now it turns out, showing the "right" set of changes is also wrong sometimes
05:02 omega mo, in https://metacpan.org/release/Task-BeLike-PHIPS the version is 0.0.7, but META.yml says version is 0.0.6
05:02 dipsy [ Task-BeLike-PHIPS-0.0.7 - My favourite and frequently used modules - metacpan.org - Perl programming language ]
05:02 omega just wondering if I should use the version from somewhere else than meta, to get 0.0.7 instead of 0.0.6
05:04 mo don't try to hard to fix broken releases
05:05 omega ack
05:05 omega then I'll just skip that one :)
05:23 metacpan joined #metacpan
05:23 metacpan [metacpan-web01] oalders pushed 2 new commits to master: http://git.io/8Xmg6A
05:23 metacpan metacpan-web/master f8f2799 Andreas Marienborg: Adjust regex for issue linker in latest changes...
05:23 metacpan metacpan-web/master fba38c7 Olaf Alders: Merge pull request #918 from omega/omega/changes-linker-fixes...
05:23 metacpan left #metacpan
05:23 dipsy [ Comparing eb8020b35769...fba38c7e53f8 · CPAN-API/metacpan-web · GitHub ]
05:23 oalders deployed
05:23 oalders omega++ # keeping me busy
05:24 omega :P
05:25 oalders the TIOBE spam is so far in the title that in most cases i'm not sure google will even display it
05:26 oalders if people complain about it we can remove it, but i'm interested to see if it makes a difference at all
05:26 oalders we should experiment more with SEO
05:28 omega is there any pause/cpan service that provides push alerts (HTTP POST/GET <url>) on a new release?
05:59 ether minor nit - I'd say "for the CPAN", not "for CPAN"
05:59 ether and maybe even spell out CPAN in parentheses, if that helps raise the keyword count
06:23 dpetrov_ joined #metacpan
07:01 jayallen_ joined #metacpan
07:27 ether_ joined #metacpan
07:33 daxim joined #metacpan
07:53 dolmen joined #metacpan
07:56 neilb joined #metacpan
09:19 neilb joined #metacpan
10:30 dsteinbrunner joined #metacpan
12:23 neilb joined #metacpan
12:28 bowtie_ joined #metacpan
13:01 omega RE: SEO, I noticed debian packages has a Homepage: field for perl packages
13:01 omega err, cpan packages
13:01 omega they all point to SCO
13:05 daxim rpm packages have a "URL" property, too
13:23 ranguard omega: woo - how do we change that :) ?
13:23 omega ranguard: talk to the debian perl team I would assume :)
13:23 omega I don't know though, just noticed it when checking some deps in our build-system at work
13:24 ranguard I'll ask on #toolchain
13:24 ranguard woo - found https://wiki.debian.org/Teams/Debian​PerlGroup#Interacting_with_the_team - I'll go ask
13:24 dipsy [ Teams/DebianPerlGroup - Debian Wiki ]
13:34 ranguard 14:33 < dam> the tool we use to create the control files for new packages is already adjusted, so new packages use metacpan-based homepages. all packages uploaded since some months (?) also use metacpan.
13:34 ranguard it's already started :)
13:34 ranguard it will only be for new versions of packages though
13:36 omega aha, ok :)
13:36 omega yeah, naturally
13:37 ranguard http://packages.qa.debian.o​rg/libs/libsocket-perl.html  <- recent release
13:37 dipsy [ Debian Package Tracking System - libsocket-perl ]
14:06 neilb joined #metacpan
14:08 talexb Good morning all.
14:29 oalders talexb: morning!
14:29 talexb Hi.
14:29 talexb I have scripts that will generate the three XML files, but I'm not sure that I've done my scrolled search correctly.
14:30 talexb Possibly because they're running on a VM, or that they're sucking down large amounts of data, the run time is quite large.
14:30 talexb I'm also using march_all => {}, which I suspect is pulling down too much data. :(
14:30 talexb Er, match_all.
14:31 oalders talexb: is this somewhere we can see it?
14:31 talexb If I push the scripts to my fork, you should be able to see that, right?
14:31 oalders right
14:31 talexb (Stupid newbie question.)
14:31 talexb OK, I'll do that now.
14:35 talexb https://github.com/talexb/m​etacpan-web/tree/addSitemap
14:35 dipsy [ talexb/metacpan-web · GitHub ]
14:36 talexb I've updated robots.txt, but currently build the XML files in /tmp .. nd the three scripts in bin are duplicated code .. work in progress.
14:38 ranguard arrg XML::Simple :)
14:38 ranguard (actually never used it for writing, but will NEVER again use it for reading) :)
14:39 * ranguard isn't the right person to review this.. but...
14:39 ranguard talexb++ # sitemap code :)
14:40 talexb ranguard, Thanks .. I had to dig through the hits to find what I thought were the right elements.
14:41 talexb And, as I said to oalders, I think I'm searching too broadly. :/
14:41 talexb The script can't write it to the new directory sitemap (under root) because of ownership issues in the VM.
14:41 talexb That's why it's going to /tmp
14:41 ranguard oalders and mo will put you on the right track :)
14:41 talexb For development, anyway.
14:42 talexb Excellent!
14:42 ranguard yea - we'll need to work out how to handle that
14:45 talexb OK -- I'm going to clean up the kitchen for a bit. Back in 10.
14:47 oalders talexb: good stuff.  couple of things
14:47 oalders set an explicit size parament in your search.  it will default to something like 10
14:48 oalders get 1000 or even 5000 at a time.  way less calls to the api
14:50 oalders also, set an explicit fields param, it looks like you're just getting the dist name, so just get that one field.  the volume of data will decrease greatly
14:50 talexb Duh. OK, great.
14:52 talexb I'll fix that up shortly. The kitchen has 1.5 days worth of dishes, and I've been putting it off. New code before lunch.
14:53 oalders :)
16:06 talexb OK -- updated searches .. now for lunch. After that, going to collapse these three scripts in to a single script that does all three files.
16:22 oalders talexb: great! if you could actually collapse the scripts into a module, that will make it easier to test
16:22 talexb I'll definitely do that.
16:23 oalders cool.  you can look at lib/MetaCPAN/Script/ in cpan-api for examples of how we do that
17:28 neilb joined #metacpan
17:40 Skunix joined #metacpan
17:56 talexb Oh, dear. The code in these modules makes me think it's 1998 and I'm learning Perl again for the first time.
18:02 neilb joined #metacpan
18:13 oalders talexb: post a link to whatever line numbers you have questions about
18:13 neilb joined #metacpan
18:14 talexb oalders, Thanks .. I've looked at Moose before but haven't actually used it, so I'm going to read through all of the Moose documentation to understand what's going on.
18:15 oalders woah. that will take a while ;)
18:22 oalders talexb: don't get too hung up on the moose stuff.  you can put it into a package old-school first, make sure it's working and then worry about Moose if that helps
18:26 talexb oalders, OK, thanks, I'll do that.
18:27 oalders the site mapping stuff is important. the code conventions are details we can sort out later
18:27 talexb I know I have to do some catch-up .. I solved DBIx::Class and Dancer some time back .. Moose is the next mountain I have to climb.
18:27 oalders :)
18:38 neilb joined #metacpan
18:51 jayallen joined #metacpan
19:17 bowtie_ is there any thing in MetaCPAN to indicate a perl module/dist contains XS code, please
19:20 oalders bowtie_: not yet
19:21 bowtie_ oalders: ok, so it's in the works, only time will tell :) and thanks
19:22 dsteinbrunner is there a request in github for that?
19:22 oalders bowtie_: only in the works in so far as people think it's a good idea
19:22 bowtie_ oalders: you have taken the first steps, cool
19:23 oalders https://github.com/CPAN-API/cpan-api/issues/71
19:23 dipsy [ Automate tagging · Issue #71 · CPAN-API/cpan-api · GitHub ]
19:25 Mike-PerlRecruiter_ joined #metacpan
19:25 bowtie_ oalders: thanks
19:26 oalders :)
19:40 hanekomu joined #metacpan
21:13 thaljef When I search for "pinto" or "Pinto" on metacpan.org, neither the Pinto module nor distribution appear in the search results.  Any idea why?
21:14 thaljef It wasn't always like this.  So I'm not sure if I did something wrong with the META in the last release.
21:15 thaljef Actually, https://metacpan.org/module/Pinto returns a 404 right now.
21:20 haarg https://metacpan.org/release/THALJEF/Pinto-0.088
21:20 dipsy [ Pinto-0.088 - Curate a repository of Perl modules - metacpan.org - Perl programming language ]
21:20 haarg for some reason its status is cpan, not latest
21:25 oalders thaljef: there's an error in the indexer "Nested processed encoding. at /usr/local/perlbrew/perls/perl-5.16.2/lib​/site_perl/5.16.2/Pod/Simple/BlackBox.pm line 380."
21:26 oalders "What's in the box?"  "Pain."
21:27 oalders version 3.28
21:29 haarg perhaps unrelated, but the pod has utf8 in it, so it should declare its encoding
21:31 oalders rwstauner: ^^^
21:32 * rwstauner is having a hard time understanding that error message
21:33 thaljef I'll see if I can find my Gom Jabbar.
21:34 oalders https://metacpan.org/source/DWHEELER/Pod-S​imple-3.28/lib/Pod/Simple/BlackBox.pm#L379
21:34 dipsy [ lib/Pod/Simple/BlackBox.pm - metacpan.org - Perl programming language ]
21:34 rwstauner awesome:     die "Nested processed encoding.";  # Should never happen
21:34 rwstauner thaljef++
21:34 rwstauner doing the impossible
21:35 oalders :D
21:35 thaljef The indexer report I got from PAUSE says everything is ok.  So is this on the metacpan side?
21:36 rwstauner yes, it's the pod parser croaking
21:36 rwstauner apparently
21:36 thaljef Can you tell me which file?
21:37 oalders ib/Pinto/Manual/Thanks.pod ?
21:37 rwstauner that's the only file with an =encoding
21:37 oalders try putting the encoding at the top
21:37 oalders before the umlaut
21:37 thaljef Ok, will do.
21:37 thaljef On the subject, do you know of a Pod::Weaver option that will do that for me?
21:38 rwstauner Pod::Weaver::Plugin::Encoding
21:38 rwstauner *not* section
21:38 thaljef perfect.  thanks.
21:38 rwstauner and put it as high as you can
21:39 rwstauner oh, nm, i think that weaver plugin does that
21:40 rwstauner it's the first thing in my weaver config
21:53 haarg oalders: rwstauner: https://github.com/theory/pod-simple/pull/50
21:53 dipsy [ fix encoding directive after guessed encoding by haarg · Pull Request #50 · theory/pod-simple · GitHub ]
21:53 rwstauner cool
21:53 rwstauner i didn't really look into what pod-simple is doing
21:53 oalders haarg++ # pure speed
21:54 rwstauner "haarg opened this pull request just now"
21:54 haarg it's kind of a mess, but that fix makes it match the other places it sets the encoding by something other than an =encoding directive
21:56 talexb oalders, I've got a start on the module -- it's a work in progress -- and I've added a bare minimum test suite. More to come, obviously.
21:56 oalders talexb:  great!
21:56 talexb Pushed to my fork only -- not ready for prime time.
21:56 oalders :)
21:59 oalders talexb: looking good.  i did not know about drain_buffer
21:59 talexb \o/
21:59 talexb I'm a big fan of reading everything there is to know about stuff ..
22:00 oalders you could also just 'use autodie' rather than checking your filehandle
22:00 talexb And drain_buffer looks very handy.
22:00 oalders yeah, it's probably something i'll use
22:00 talexb Yeah, autodie. I guess that's the old school developer in me ..
22:00 talexb It goes against the grain to call open and not do anything with the return status ..
22:01 talexb .. even if it's captured by autodie.
22:01 oalders :)
22:01 talexb Then again, if that's the style nowadays ..
22:03 talexb I'm expecting company in a bit, so I'll disppear at some point. I should be back on-line and developing Sunday at some point.
22:04 oalders talexb: sounds good!

| Channels | #metacpan index | Today | | Search | Google Search | Plain-Text | summary