Perl 6 - the future is here, just unevenly distributed

IRC log for #metacpan, 2014-07-15

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

All times shown according to UTC.

Time Nick Message
00:09 SineSwiper joined #metacpan
01:30 FROGGS_ joined #metacpan
01:37 klapperl joined #metacpan
02:54 oiami joined #metacpan
03:46 oalders_ joined #metacpan
03:52 oiami left #metacpan
03:55 oalders_ joined #metacpan
04:00 oiami joined #metacpan
04:21 grantm joined #metacpan
05:09 talina_ joined #metacpan
05:45 rashi joined #metacpan
06:19 neilb joined #metacpan
06:48 neilb joined #metacpan
07:53 neilb joined #metacpan
08:11 neilb joined #metacpan
08:31 neilb joined #metacpan
08:35 neilb joined #metacpan
09:05 chankey joined #metacpan
09:32 oiami joined #metacpan
09:54 andrefs joined #metacpan
12:15 vanstyn joined #metacpan
13:39 oiami joined #metacpan
14:38 vytas joined #metacpan
14:38 vytas why whenever I go to https://metacpan.org/search?q=win8 I get redirected to HTTP::BrowserDetect pod ?
14:38 dipsy [ HTTP::BrowserDetect - Determine Web browser, version, and platform from an HTTP user agent string - metacpan.org ]
14:46 mst probably that's the only result of your search
14:46 ranguard vytas: because that's the only thing that matched 'win8'
14:47 ranguard but this has been mentioned as confusing recently so I think there is a ticket about it
14:47 ranguard vytas: compare to: http://search.cpan.org/search?query=win8&mode=all
14:47 dipsy [ The CPAN Search Site - search.cpan.org ]
14:47 ranguard it was meant to be a helpful feature to save a click, but when it's not matching in the module name it can be confusing
14:48 mst actually, I think it's just confusing in general
14:48 mst clicking 'search' and not getting a search results page makes me think 'did I click feeling lucky by mistake?'
14:50 vytas haha, well said mst. it's kind of how I felt.
14:58 talina_ joined #metacpan
15:00 rwstauner i tend to agree, but not all do: https://github.com/CPAN-API/metacpan-web/issues/777
15:00 dipsy [ ux: when a search only returns one item, just display that item · Issue #777 · CPAN-API/metacpan-web · GitHub ]
15:01 rwstauner i'm leaning towards removing it, though
15:02 rwstauner or maybe it would be better if we had something at the top that said "this was the only result"
15:02 rwstauner if it's not accurate (which is very possible) a "show the results page anyway" link could go there as well
15:03 rwstauner but maybe we should just remove it, and consider adding it as an opt-in user pref in the future
15:05 oalders i'd say remove it
15:06 oiami +1
15:08 oalders if you really want to go straight to a result, you can use the autocomplete
15:09 * mst comments
15:09 mst (by copy and paste from IRC because lazy)
15:12 rwstauner nice comment, oalders
15:12 oalders :)
15:12 rwstauner way to point the finger
15:12 rwstauner :-)
15:12 oalders neilb can handle it ;)
15:12 rwstauner to be fair, in 777 neilb did say something about a module name match
15:12 rwstauner which we're not strictly doing
15:12 oalders yeah, that would make more sense
15:20 neilb Ha!
15:20 neilb nice try rwstauner
15:21 rwstauner :-)
15:21 rwstauner neilb: don't feel bad, we all have bad ideas from time to time.  feel free to fix it anytime
15:21 rwstauner jk ;-)
15:23 neilb mis-implementing my suggestion sounds like your bad, not mine :-p
15:23 rwstauner :-)
15:23 mst sure, but even given the module name match I think it would be cack
15:23 mst if I already know the module name, I can just go straight to the module URL
15:24 rwstauner right
15:24 rwstauner and the autocomplete box is also there to go straight to it
15:24 mst fundamentally, I think the confusion renders it "not worth it"
15:24 mst since expert users already have a means to the end
15:27 * rwstauner considers `if( $user eq 'NEILB' ){ redirect_to_first_match }`
15:44 neilb I'm quite happy to accept that I might be an edge case :-) It happens quite often that I type a full module name, hit return, then swear because I don't go straight to the page. I'd dfefinitely prefer to remove the current "go straight to single page result", and try to train my behaviour for the other case(s).
15:54 rwstauner :-)
15:54 rwstauner i'd like to see better module name matching
15:55 rwstauner which would then make this more accurate and therefore more useful
15:56 mst neilb: right, I always type p3rl.org/Module::Name into the URL bar for that case
15:57 neilb didn't know that URL -- ta!
15:58 * neilb goes to reprogram his brane
16:25 trs you've peas for branes
16:29 neilb joined #metacpan
16:48 rick-monster joined #metacpan
17:49 mo neilb: try shift + enter :)
17:50 * trs wonders if anyone got the p-branes joke
17:50 * trs ... or if folks thought he was just insulting neilb
18:07 neilb mo: I know about shift + enter, it's just not hard-coded in my brane.
18:07 neilb trs: I wasn't here, so didn't catch the insult. Feel free to repeat it :-)
18:13 mst <@trs> you've peas for branes
18:13 mst trs: I got it, although only just
18:28 * neilb is still thinking about it
18:33 trs my brain just twinged when you said you'd reprogram your brane :) http://en.wikipedia.org/wiki/Brane
18:34 dipsy [ Brane - Wikipedia, the free encyclopedia ]
18:36 neilb cool, that's 2 things I've learned today.
18:40 neilb my spelling came from Nigel Molesworth, which I'm guessing you didn't read as a kid? (http://en.wikipedia.org/wiki/Nigel_Molesworth)
18:40 dipsy [ Nigel Molesworth - Wikipedia, the free encyclopedia ]
18:43 trs I did not :)
18:43 trs but that's a great name
18:46 trs huh: /^\d{2}?US/ is not the same as /^(\d{2})?US/
18:47 trs the former doesn't do what you might expect but the latter does.
18:50 trs http://tsibley.net/paste/2014-07-15ItXoUSQA-regexp-comparison
18:51 rwstauner it wouldn't occur to me to try the former
18:54 alh \d{2}? is identical to \d{2}
18:55 alh I almost feel like that should warn :|
18:56 trs \d{2}? means that \d{2} isn't greedy
18:56 trs which is silly.
18:56 trs I guess it makes sense for \d{2,}?
18:56 trs or similar.
18:56 alh Correct
18:57 trs in this case \d{0,2} would do what I want even though it's not the same as (\d{2})?
18:58 trs a warning would be nice, but I don't know if it's reasonable.
19:00 trs not the only one: http://grep.cpan.me/?q=%5C%7B%5Cd%2B%5C%7D%5C%3F
19:00 dipsy [ \{\d+\}\? · CPAN->grep ]
19:04 trs (some of those are false positives)
19:04 trs like the one in perl's re_tests file
21:07 grantm joined #metacpan
21:59 grantm joined #metacpan
22:01 grantm joined #metacpan
22:28 neilb joined #metacpan
22:30 grantm joined #metacpan
23:58 khisanth__ joined #metacpan

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