Perl 6 - the future is here, just unevenly distributed

IRC log for #pdl, 2013-01-09

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

All times shown according to UTC.

Time Nick Message
06:15 jberger__ joined #pdl
06:43 Molaf joined #pdl
14:44 sivoais joined #pdl
14:58 jberger http://pdlporters.github.com?search=axisvals
15:24 run4flat jberger, very nice!
15:25 run4flat alas, I gotta sign off until the afternoon
15:25 run4flat ciao!
17:41 jberger_ joined #pdl
17:52 drrho joined #pdl
20:44 rindolf joined #pdl
20:45 rindolf Hi all.
23:00 run4flat joined #pdl
23:08 jberger run4flat, check it out man
23:08 run4flat new web site?
23:08 jberger and no I didn't spend much time on it today
23:08 jberger yeah
23:08 run4flat Cool
23:08 jberger see the new search
23:08 jberger ?
23:09 run4flat yeah
23:09 run4flat I think that the original search functionality also searched the mailing lists
23:09 run4flat :-P
23:09 run4flat which is beyond the scope of metacpan
23:09 jberger hmmm, gotta think about that
23:09 run4flat but it's pretty sweet the way it is
23:09 jberger well, I didn't remove the google code
23:09 jberger I just commented it
23:09 run4flat It would be nice to have two parts, one that did the docs search and one that did the mailing list search
23:09 jberger I'm not sure that the new system could have google search the (now nonexistant) docs
23:10 run4flat since the docs search is so nice
23:10 jberger right
23:10 jberger anyway though, I did find a bug
23:10 run4flat in?
23:10 run4flat in metacpan?
23:10 run4flat or the site?
23:10 jberger pdl
23:10 run4flat oh!
23:10 run4flat haha
23:10 jberger try searching in metacpan for wcols
23:11 jberger then search on search.cpan.org
23:11 jberger there's a difference
23:11 run4flat I get nothing with the search thing on the website
23:11 jberger right
23:11 jberger and you get nothing on metacpan either
23:12 jberger but when you search on search.cpan.org look at what FILE you are reading
23:12 run4flat PDL::IO::Misc
23:12 jberger nope
23:12 jberger look again
23:12 run4flat .pd
23:13 jberger bingo
23:13 jberger where is the generated file?
23:13 run4flat and MetaCPAN doesn't index .pd files
23:13 run4flat the generated file is generated during the make process
23:13 run4flat it's not distributed with the tarball
23:13 jberger its not in the tarball?
23:13 run4flat nope
23:13 jberger hmmm
23:13 run4flat and, it should probably be .pm.PL
23:13 run4flat not .pd
23:14 jberger well then I guess its not a bug in pdl
23:14 run4flat so that the CPAN indexers treat it better
23:14 run4flat oh no,
23:14 run4flat I think it *is* a bug in PDL
23:14 run4flat but I am rather opinionated about these things
23:14 run4flat I think making things hard on CPAN is a bug
23:14 run4flat I haven't pushed it on the porters list yet
23:14 jberger would .pm.PL get indexed correctly?
23:14 run4flat I am not quite sure
23:14 run4flat but I think we have a better chance of getting the CPAN folks to index it for us
23:14 run4flat rather than .pd
23:15 jberger could we pre-generate .pod files for CPAN sake
23:15 jberger for these files
23:15 run4flat there has been discussion about that
23:15 run4flat but nobody had the tuits to implement it
23:16 jberger I could if it was Module::Build
23:16 run4flat I've thought about that
23:16 jberger it would be about 5 lines
23:16 jberger maybe 10
23:16 jberger but I haven't the slightest clue how to make EUMM do it
23:16 run4flat there would be a handful of advantages to moving over to Module::Build
23:16 run4flat and drawbacks, too
23:17 jberger probably
23:17 run4flat we should discuss this tomorrow at Project Night
23:17 jberger sure
23:17 run4flat see if we can come up with a reasonable migration plan
23:17 run4flat maybe resurrect Module::Build::PDL
23:17 jberger I absolutely cannot help with that until after my defens
23:17 jberger e
23:17 run4flat which I have thought about resurrecting lately, anyway, to add the documentation generation code
23:18 run4flat not to implement
23:18 run4flat just discuss
23:18 jberger discuss is fine
23:18 run4flat I don't think my ideas will take too much
23:18 run4flat and we won't move the porters on it very quickly, I don't think
23:18 run4flat or at least, there's no rush
23:18 jberger one battle at a time
23:18 run4flat (The movement to github seems unusually fast, btw)
23:18 jberger :-)
23:19 jberger well we broached the topic several months ago
23:19 jberger so its been simmering in their heads
23:19 jberger plus, I think several people use github for other things, so its not SOOO foreign
23:19 run4flat true
23:19 run4flat i think it was more foreign a year ago
23:19 jberger github really is the new sourceforge
23:20 jberger everything will be on it soon enouhg
23:20 jberger wnough
23:20 jberger aipohgsdgspihagsiphg
23:20 run4flat fjaslk;fjas
23:27 jberger either way, whether the site moves or not, metacpan doesn't index PDL::IO::Misc
23:27 jberger and thats a problme
23:27 jberger problem
23:27 run4flat yes, it is
23:27 jberger I imagine there are other files it doesn't index too
23:27 run4flat At one point we had a discussion about this
23:27 jberger but I was just testing a few functions
23:28 run4flat anything that's not .pl or .pm, I think, gets skipped
23:28 jberger and wcols gave no results, as you saw
23:28 run4flat right
23:28 run4flat I think it's discussed somewhere in MetaCPAN's tracker
23:28 jberger and .pod probably
23:28 run4flat oh, yeah, that too
23:29 jberger https://github.com/CPAN-API/cpan-api/issues
23:29 jberger ?
23:30 * run4flat is looking
23:30 jberger that is where the search api is documented
23:30 run4flat yes, I'm trying to find the exact issue
23:30 run4flat https://github.com/CPAN-API/metacpan-web/issues/679
23:32 jberger hmmmm, they are indexed but not as documentation
23:32 * jberger works
23:35 jberger http://explorer.metacpan.org/?url=%2Ffile%2F_search&content=%7B%0D%0A++%22query%22+%3A+%7B+%22match_all%22+%3A+%7B%7D+%7D%2C%0D%0A++%22filter%22+%3A+%7B+%22and%22+%3A+%5B%0D%0A++++%7B+%22term%22+%3A+%7B+%22name%22+%3A+%22ufunc.pd%22+%7D+%7D%2C%0D%0A++++%7B+%22term%22+%3A+%7B+%22distribution%22+%3A+%22PDL%22+%7D+%7D%2C%0D%0A++++%7B+%22term%22+%3A+%7B+%22status%22+%3A+%22latest%22+%7D+%7D%0D%0A++%5D%7D%2C%0D%0A++%22size%22+%3A+20%0D%
23:35 jberger 0A%7D
23:35 jberger yeah I know
23:35 jberger this finds the actual data on ufunc.pd
23:35 jberger and notice that the "pod" line is empty
23:37 run4flat that's the rest api, basically
23:37 jberger yeah
23:37 run4flat monken was trying to decide if MetaCPAN should index it or not
23:37 jberger interesting that the source view on the site shows no lines of code and no lines of pod
23:37 jberger https://metacpan.org/source/CHM/PDL-2.4.11/Basic/Ufunc/ufunc.pd
23:37 run4flat he said it displayed the pod
23:38 run4flat so this is something that needs to be hashed out
23:38 jberger it does, but it seems to do it at the last minute
23:38 jberger not from an indexed pod, but somehow straight from the file
23:38 jberger change the search to say Basic.pm
23:38 jberger from ufunc.pd
23:39 jberger and you can see what SHOULD be there
23:39 run4flat nicely demonstrated. :-)
23:40 run4flat https://github.com/CPAN-API/metacpan-web/issues/679#issuecomment-12073186
23:40 jberger well know I have the know-hows
23:40 jberger :D
23:40 run4flat *now you have...?
23:40 jberger fine yes
23:40 run4flat or "... I know I have..." ?
23:40 jberger now
23:41 jberger gosh always with the grammar with you
23:41 jberger :-P
23:41 run4flat haha
23:41 jberger learning something new always does seem to help later though
23:41 jberger never a bad thing
23:41 run4flat :-)
23:41 jberger now I can search metacpan, and as a bonus, ElasticSearch
23:42 run4flat does it get any better?
23:42 jberger WHICH is a good thing for data-warehousing
23:42 jberger what is MetaCPAN but a datastore for Perl info
23:42 run4flat hmm, that's a cool perspective
23:43 run4flat I wonder if I should find a way to incorporate that into the REPL
23:43 run4flat :-)
23:43 jberger I think the REPL needs a plugin system
23:44 run4flat well yes, which is sorta where it was moving
23:44 jberger App::Prima::REPL::Plugin::MetaCPAN
23:44 run4flat then we can write an IRC plugin
23:44 run4flat :-)
23:44 jberger right
23:44 * run4flat likes
23:44 * jberger likes
23:44 run4flat ok, project night it is, then
23:44 jberger ok, well I need to keep working
23:44 jberger see you tomorrow
23:44 run4flat yrp
23:45 jberger dinner beforehand?
23:45 run4flat yes
23:45 run4flat I'll try to head out as soon as I can
23:45 run4flat I have a group meeting until 4 o'clock
23:45 jberger cool, let me know when you'll be downtown
23:45 run4flat will do
23:45 jberger o/
23:45 run4flat ciao!

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