Camelia, the Perl 6 bug

IRC log for #metacpan, 2013-06-14

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

All times shown according to UTC.

Time Nick Message
00:04 Khisanth joined #metacpan
00:07 bobtfish joined #metacpan
01:15 klapperl_ joined #metacpan
01:25 mo I kinda have the feeling that google is penalizing us
01:25 mo it is indexing all our pages, I can tell from the traffic google is causing
01:44 jayallen joined #metacpan
02:09 oalders well, if it's indexing X revisions of the same module docs, then it probably looks like we have a lot of duplicate content
03:23 camelo joined #metacpan
03:57 preflex_ joined #metacpan
04:26 camelo joined #metacpan
05:25 ether_ joined #metacpan
06:33 Mike-PerlRecruiter_ joined #metacpan
07:53 castaway mo: there was an issue/bug/suggestion for setting some metadata saying dist/Foo-123 is really dist/Foo .. did we do that yet? (I didnt ;)
08:04 ranguard oalders: we could use Canological (sp!) URL's so all versions suggest to google to use the late
08:04 ranguard oh, what castaway is saying - ignore me :)
08:04 ranguard <link rel="canonical" href="http://www.cpan.org/index.html" /> is the metadata
08:04 dipsy [ The Comprehensive Perl Archive Network - www.cpan.org ]
08:31 bouncy joined #metacpan
08:38 thaljef joined #metacpan
08:57 thaljef joined #metacpan
09:12 thaljef1 joined #metacpan
09:36 daxim joined #metacpan
12:23 thaljef joined #metacpan
14:21 oalders ranguard,castaway: canonical sounds like a good idea
14:21 oalders http://support.google.com/webmasters/​bin/answer.py?hl=en&amp;answer=139394
14:21 dipsy [ About rel="canonical" - Webmaster Tools Help ]
14:22 castaway chopchop then ;)
14:22 * castaway ducks
14:25 oalders :)
14:30 castaway OUT: /search?type=adkeywordvalid&keyword_lis​t=%E3%81%8D%E9%A1%95%E8%91%97%E3%81%AA%​E6%99%AE%E9%81%8D%E7%9A%84%E4%BE%A1%E5%​80%A4%E3%81%A4%E7%89%A9%E4%BB%B6%E3%81
14:30 castaway oops
14:31 rwstauner IN!
14:37 ranguard SHAKE IT ALL ABOUT
14:39 castaway nooooo its fucked up encoding
14:39 castaway dont shake it about any more!
16:27 thaljef joined #metacpan
17:28 jayallen joined #metacpan
17:47 Khisanth joined #metacpan
18:33 Mike-PerlRecruiter_ joined #metacpan
18:37 trs can someone manually reindex RT::Extension::MobileUI
18:37 trs ?
18:51 oalders trs: ok
18:53 trs oalders: thanks
18:57 oalders trs: seems better now https://metacpan.org/modul​e/RT::Extension::MobileUI
18:57 dipsy [ RT::Extension::MobileUI - A phone friendly web interface for RT - metacpan.org ]
19:01 trs oalders: \o/
19:01 * trs is reminded to hack on his metacpan branch for this
19:01 oalders :)
19:01 oalders i have no idea what went wrong with this one
19:06 trs it was a lack of permissions when uploaded, reindexed on PAUSE, but metacpan doesn't pick that up.
19:21 metacpan joined #metacpan
19:21 metacpan [metacpan-web01] ranguard pushed 1 new commit to master: http://git.io/-FtAQA
19:21 metacpan metacpan-web/master 4d6f162 Leo Lapworth: Link to Perl.org - fix #454
19:21 metacpan left #metacpan
19:21 dipsy [ Link to Perl.org - fix #454 · 4d6f162 · CPAN-API/metacpan-web · GitHub ]
19:27 Trelane joined #metacpan
19:27 Trelane hello
19:27 Trelane seen oalders?
19:27 dipsy oalders was last seen in #metacpan 25 mins 57 seconds ago saying 'i have no idea what went wrong with this one'.
19:30 Trelane oalders: that means the alfred script is failing
19:30 Trelane as far as I can tell alfred doesn't seem to have any logs where errors are sent
19:30 oalders Trelane: ok. i was wondering how to debug it
19:30 oalders and i couldn't remember your IRC nick :)
19:31 oalders you can put that in your metacpan profile, actually
19:31 Trelane Did you try running it by hand?
19:32 Trelane e.g. cd into the workflow folder
19:32 Trelane export SEARCH_QUERY='dancer'
19:32 Trelane /usr/bin/perl -Ifatlib myscript.pl
19:33 oalders Trelane: the folder is in the alfred app?
19:33 oalders or use the github checkout?
19:33 Trelane shouldn't matter
19:34 Trelane they should be the same, right?
19:34 oalders right
19:34 Trelane I accessed the one in alfted by clicking "Open workflow folder" in Alfred in the workflow
19:34 Trelane then I clicked on my "terminal here" button
19:35 Trelane (but you could always just drag the folder icon to the terminal if you don't have one of those)
19:35 oalders it's my first day with alfred :)
19:36 oalders "Can't locate Encode/Locale.pm in @INC"
19:37 Trelane What version of mac os x?
19:37 Trelane for me:
19:37 Trelane /usr/bin/perl -Ifatlib -e 'use Encode::Locale; print $INC{"Encode/Locale.pm"}'
19:37 Trelane /System/Library/Perl/Extras/5.12/Encode/Locale.pm
19:37 oalders 10.7.5 (was in the issue i opened as well)
19:38 Trelane ah ha!
19:38 Trelane 10.8 bundles extra stuff with perl 10.7 does not apparently
19:38 oalders would /usr/bin/env perl be more helpful in the script?
19:39 Trelane no
19:39 oalders i didn't really want to install to the system perl
19:39 metacpan joined #metacpan
19:39 metacpan [metacpan-web01] ranguard pushed 1 new commit to master: http://git.io/qLbByA
19:39 metacpan metacpan-web/master 902d792 Leo Lapworth: Add canonical urls to help with SEO
19:39 metacpan left #metacpan
19:39 dipsy [ Add canonical urls to help with SEO · 902d792 · CPAN-API/metacpan-web · GitHub ]
19:39 oalders ranguard++
19:39 Trelane /usr/bin/env perl isn't what you think
19:39 ranguard please check that's sensible :)
19:39 Trelane since you're not running from the terminal your bashrc hasn't been executed
19:40 oalders right
19:40 Trelane arse
19:40 oalders ranguard: while you're at it, could you at a meta name="description" content=" module/release.abstract" ?
19:41 Trelane I'm going to do the apple thing now
19:41 Trelane "Compatible with 10.8+"
19:41 oalders heh
19:41 oalders well, i was going to upgrade anyway...
19:41 Trelane You bought a mac.  You must keep buying the kool-aid
19:42 Trelane The only way I can see around this is to bundle a perl with the alfred script
19:42 oalders planned obsolescence
19:42 Trelane I frickin' hate using the system perl for anything
19:42 oalders the extra modules can't be fatpacked?
19:42 Trelane (hell, there's a slide in pimp your mac with perl that says so)
19:42 Trelane oalders: they can and are
19:43 Trelane but you need *more* modules
19:43 oalders well, i'm ok with upgrading for the functionality
19:43 Trelane Try sticking a copy of Encode::Locale in the fatpack dir
19:43 Trelane but I can't test it at my end;  You'll have to send a pull request and I'll have to take your word for it
19:43 oalders ok
19:44 Trelane maybe I should email the alfred people and get them to bundle the modules needed to talk to alfred with the app
19:46 oalders :)
19:47 metacpan joined #metacpan
19:47 metacpan [metacpan-web01] ranguard pushed 1 new commit to master: http://git.io/wgvuvQ
19:47 metacpan metacpan-web/master a1980b2 Leo Lapworth: Add meta description to modules and releases from the abstract
19:47 metacpan left #metacpan
19:47 dipsy [ Add meta description to modules and releases from the abstract · a1980b2 · CPAN-API/metacpan-web · GitHub ]
19:50 oalders Trelane: i added Encode::Locale to the fatlib and the script works now
19:52 oalders and the workflow is working as well now
19:52 oalders thanks for your help.  i'll send a pull request with the updated fatlib
19:53 ranguard anyone want access to the google webmaster tools for metacpan - msg me the email address you want added
19:55 jayallen Trelane: Can you expound on "usr/bin/env perl isn't what you think"?  This is something I've been struggling with a lot recently (forced to work with lots of CGIs, never use/modify the system perl)
19:56 * ranguard puts that SEO stuff live
19:56 oalders ranguard: thank you!
19:58 ranguard heh we're up to 16.5 million pages that google has indexed
20:00 jayallen metacpan-related: Do any of you happen to use Pocket? (getpocket.com).  It's my favorite "read later" service but it's absolutely tragic/laughable how it mangles Metacpan page titles.  I haven't checked but I'm sure it's something on their end…  Anyway, just wondering if anyone else noticed.
20:00 Trelane jayallen: Alfred is a GUI program
20:00 Trelane it is not launched from the shell
20:00 Trelane the perl it launches will not launch from the shell either
20:00 jayallen Trelane: Ah right, and to set those defaults, you need to edit .MacOSEnvironment or some such.  But then it would simply fall back to /usr/bin/env no?
20:01 Trelane jayallen: yes
20:01 Trelane but telling someone to do that who wants to install a simple alfred extension is a crazy plan
20:02 jayallen But in general "/usr/bin/env perl" is the best option, correct?
20:02 Trelane also, I think alfred executes /usr/bin/perl directly
20:02 Trelane jayallen: It depends, but that's what I do
20:02 Trelane than loosely translates to "whatever perlbrew perl is selected"
20:03 Trelane of course, you might want to specify a particular version if you don't want (say) shell scripts to stop working when you switch perls to test a function and that perl no longer has a module installed
20:03 jayallen Trelane: Me too.  Just sanity checking.  I'm sorry I missed the earlier converseation.  Am I to understand you're writing Alfred extensions in Perl?  Where can I find out more?  I'm a huge Alfred user
20:03 jayallen Trelane: Right, understood.
20:04 Trelane hmm
20:04 Trelane apparently I've never pushed the actual alfred module
20:05 Trelane ah, it fails because alfted changed
20:05 Trelane must fix this
20:05 oalders jayallen: https://github.com/2shortplanks/alfred-metacpan
20:05 dipsy [ 2shortplanks/alfred-metacpan · GitHub ]
20:06 Trelane that's the example.  It's got an old version of the module bundled in fatpack
20:07 jayallen oalders: OMG that's HAWESOME
20:08 oalders jayallen: i did have a slide for that in my talk. not sure if the gif was animating
20:08 jayallen I missed that entirely!
20:08 oalders :)
20:10 jayallen oalders: btw, I started poking around the code recently to learn and assess the feasibility of scratching some of my itches (relevance rankings based on 1++, date, favorite authors, etc).  The learning curve is steep.
20:10 oalders jayallen: it is, but we're here to help :)
20:11 jayallen I know.  I'm still formulating the questions I need to ask.
20:11 oalders SineSwiper has been messing around with it a lot and has add some good docs
20:11 oalders for getting started with the VMs
20:12 jayallen It would also help to actually get a local install as opposed to just code.
20:12 jayallen excellent
20:12 jayallen will read again A++++
20:12 jayallen :)
20:12 oalders https://github.com/cpan-api/metacpan-developer
20:12 dipsy [ CPAN-API/metacpan-developer · GitHub ]
20:13 ranguard oalders is going to do a 32 bit version soon... so you won't have to worry about 64bit :)
20:13 oalders i swear am going to do it
20:14 ranguard :)
20:14 * ranguard will just keep nudging - I'm good at that :)
20:14 jayallen oalders: Interesting.  I've actually never used a VM locally for development.  Been meaning to as I can see a 1000 different uses...
20:14 oalders ranguard: if it helps, i go to bed feeling guilty every night
20:15 oalders jayallen: yeah, it's a huge improvement for working on metacpan
20:16 jayallen oalders: I'm glad to know I'm not the only one who feels that way every night.
20:16 oalders :D
20:20 ranguard oalders: what! - you sleep! - tusk :)
20:23 oalders i tried going with less, but that ended badly :)
20:41 tianon joined #metacpan
20:45 ranguard kentaro: If you get any time to look at https://github.com/CPAN-API/metacpan-web/pull/384 and either update or close it would be much appreciated
20:45 dipsy [ Add a link to PrePAN from release page by kentaro · Pull Request #384 · CPAN-API/metacpan-web · GitHub ]
20:53 rwstauner jayallen: I use pocket (RIL) but i hadn't tried a metacpan page yet. i shall
20:54 rwstauner wow, that's really weird
20:55 jayallen rwstauner: Right?
20:55 rwstauner i assumed it was picking up metadata from somewhere
20:55 jayallen rwstauner: e.g. the Title it stores for https://metacpan.org/module/Unknown::Values is simply: is_unknown
20:55 dipsy [ Unknown::Values - Use 'unknown' values instead of undef ones - metacpan.org ]
20:55 rwstauner but it actually looks like it cuts off the top of the page
20:56 jayallen which is crazy because that's the 2nd h2
20:57 rwstauner yeah, although my example is even worse
20:57 jayallen why it doesn't just use the freakin title element I'm not sure
20:57 rwstauner i tired it with Dist::Zilla, the pocket page starts with the text underneath the 3d h2
20:57 rwstauner very odd
20:57 rwstauner is there a gh issue for that?
20:57 jayallen yeah, I've been meaning to report it to them.  I think it must be a problem on pocket's end
20:58 jayallen but hell, who knows?
20:58 rwstauner could be, but it would be worth having one for us as well
20:58 jayallen Since they're venture funded, I figured I'd let them take a first crack at it
20:58 rwstauner :-)
20:58 jayallen Sure.  No I haven't filed an issue in gh
21:00 rwstauner ok
21:00 jayallen and the worst part is, short of using the API, there's no way to rename pages.  So enter perl, Webservice::Pocket...
21:00 rwstauner :-)
21:18 klapperl joined #metacpan
21:41 jayallen joined #metacpan
22:00 jayallen joined #metacpan
22:19 jayallen joined #metacpan
23:22 kitt_vl joined #metacpan
23:47 jayallen joined #metacpan
23:58 jayallen joined #metacpan

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