Perl 6 - the future is here, just unevenly distributed

IRC log for #metacpan, 2014-10-22

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

All times shown according to UTC.

Time Nick Message
00:19 vroom joined #metacpan
00:48 vroom joined #metacpan
01:15 Mso150 joined #metacpan
01:30 klapperl joined #metacpan
01:38 vroom joined #metacpan
02:06 andreea joined #metacpan
03:29 vroom joined #metacpan
06:25 Kovensky joined #metacpan
06:47 Mso150 joined #metacpan
06:49 FROGGS joined #metacpan
06:53 Mso150 joined #metacpan
07:13 dp_ joined #metacpan
08:52 oiami joined #metacpan
10:04 andreea joined #metacpan
11:41 vroom joined #metacpan
12:21 vroom joined #metacpan
12:29 oalders http://perlmaven.com/search-cpan-org
12:29 dipsy [ Building an open source clone of search.cpan.org using MetaCPAN API ]
12:40 ranguard that's just silly, "provide feedback to MC authors", I don't want feedback, I want pull requests!
12:41 vroom joined #metacpan
12:41 ranguard doesn't help us get users from s.c.o over to mc
12:42 ranguard only benefit I can see is that hopefully he'll ahve to submit patches for any inconsistencies he finds between s.c.o and mc, though consistency has never been a goal
12:43 ranguard Good start.. http://sco.perlmaven.com/search?query=Data%3A%3APage&mode=all :)
12:44 oalders Maybe some patches will come out of it.  Or some better API docs. :)
12:45 n0body yeah i saw that and thought "isn't that metacpan?"
13:25 vroom joined #metacpan
13:33 haarg i doubt there are enough people bothered by the look of metacpan for it to really matter.
13:35 haarg i'd assume most people using s.c.o either don't know about metacpan, don't care about the difference, or have technical issues with metacpan (search issues etc)
13:36 vroom joined #metacpan
13:38 haarg any complaints about the ui of metacpan seem to come down to "not s.c.o"
13:41 oalders yeah, and there's really no way to address those
13:49 Mithaldu anyone got an idea about this? https://github.com/CPAN-API/metacpan-web/issues/1398
13:49 dipsy [ SQL::Abstract is missing · Issue #1398 · CPAN-API/metacpan-web · GitHub ]
13:54 ribasushi Mithaldu: thanks for the ticket, am obv. curious to know the reason too
13:54 Mithaldu cheers :)
13:58 ranguard Mithaldu: we switched to new servers lastnight, seems to be a few issues with our re-index
13:59 ranguard oalders: ^^ could you check please
14:04 n0body i'm on a new computer without the hosts entry for s.c.o => metacpan, i thought my eyes were going to bleed when i saw s.c.o. again!
14:26 vroom joined #metacpan
14:32 andreea joined #metacpan
14:35 szabgab joined #metacpan
14:35 szabgab hi
14:36 szabgab I get intermittent errors when accessing the API, is this something known?
14:37 haarg what type of errors?
14:38 szabgab SearchPhaseExecutionException
14:38 szabgab where shall I paste it?
14:40 trs joined #metacpan
14:40 haarg http://paste.scsys.co.uk/
14:40 dipsy [ pasting to magnet_web ]
14:40 szabgab https://gist.github.com/szabgab/58f8fb6e345a567de506
14:40 dipsy [ MetaCPAN API error ]
14:40 szabgab sorry, I did not see yours
14:41 haarg gist works fine too
14:43 szabgab though as I can see, even the errors change , but sometimes it returns date
14:44 szabgab can it be related to the server move?
14:44 rwstauner szabgab: can you also paste the query you're doing?
14:44 szabgab 1sec
14:45 rwstauner thanks
14:46 szabgab gist updated
14:47 szabgab with code
14:50 rwstauner should that range be inside of  a filter?
14:50 rwstauner if i change that, it works (no error)
14:51 ranguard szabgab: please send doc patches for anything you find like that:)
14:51 szabgab I took the example from https://github.com/CPAN-API/cpan-api/wiki/API-docs
14:51 dipsy [ API docs · CPAN-API/cpan-api Wiki · GitHub ]
14:51 szabgab search for "from"
14:51 szabgab ranguard: what doc patches do you mean?
14:52 szabgab rwstauner: it works as it is about 50% of the runs
14:52 rwstauner weird
14:53 ranguard szabgab: will if that was the doc and it was wrong, then that :)
14:53 rwstauner that's why i asked... to me it looks like it would be a filter (and then it worked) but i haven't checked the es docs to see that it can't be in a query
14:54 szabgab rwstauner: I tried to change that, moved the "range" to be s ibling of "query" and now I get error 100% of the time :)
14:54 rwstauner if you do that, it should be inside of  a filter
14:54 rwstauner query => { }, filter => { range => {} }
14:54 rwstauner that's what i meant
14:54 szabgab I am trying that, but this query should not fail intermittently either
14:55 szabgab it should be either good or bad. IMHO :)
14:55 rwstauner right
14:55 rwstauner i didn't realize you were saying it was 50/50
14:56 szabgab ranguard: I have quite a few examples I think I'd like to add to the wiki, but I think I'd prefer someone to look at them and at the explanation first so I don't mislead the readers
14:57 ranguard szabgab: https://github.com/CPAN-API/metacpan-examples pull requests probably best
14:57 dipsy [ CPAN-API/metacpan-examples · GitHub ]
14:58 * ranguard heads home ttfn
14:58 szabgab rwstauner: as a filter works stable, thanks
14:58 rwstauner ok
14:58 rwstauner interesting
14:59 szabgab btw should that _search be at the end of the URL ?
15:00 szabgab now it seems it does not matter, I could remove it and everything works fine (as a filter)
15:02 rwstauner yes, _search should be the last component of the url
15:04 szabgab Oh crap, I am back with another error
15:04 szabgab code and error are here: https://gist.github.com/szabgab/7a08dd2d108177618ac0
15:04 dipsy [ MetaCPAN API error ]
15:05 szabgab and again, this sometimes works, sometimes fails
15:10 szabgab without the sort part it work stable
15:10 rwstauner that's an interesting error
15:10 rwstauner try sort: {"date": "desc"}
15:10 rwstauner rather, sort => { date => "desc" }
15:11 rwstauner i've not seen that string notation used outside of the querystring before
15:11 szabgab yes, that way it works
15:11 szabgab I guess when I converted the json example to perl, I should have converted this too
15:18 vroom joined #metacpan
16:09 jnbek joined #metacpan
16:35 Mso150 joined #metacpan
16:49 vroom joined #metacpan
17:02 oiami joined #metacpan
17:41 Mso150 joined #metacpan
17:57 ether ...?   http://blogs.perl.org/users/gabor_szabo/2014/10/open-source-clone-of-searchcpanorg.html
17:57 dipsy urgh. long url. Try http://tinyurl.com/kx4gdt8
17:57 dipsy [ Open source clone of search.cpan.org | Gabor Szabo [blogs.perl.org] ]
17:57 Mso150 joined #metacpan
17:58 BinGOs open source clone of metacpan ... oh
18:00 oalders i think it stems from this discussion https://www.facebook.com/groups/100858186649890/permalink/729696060432763/
18:00 dipsy [ Facebook ]
18:02 ether oalders: cookie monster!  om nom nom nom.
18:02 oalders :)
18:02 ether oalders: you must watch this if you have not seen it: http://www.youtube.com/watch?v=Cqz9ZXUoUcE
18:02 dipsy [ Sesame Street & The Origin of Om nom nom nom - YouTube ]
18:04 trs what is that facebook discussion?
18:04 trs (it wants login)
18:05 oalders ether: nice
18:06 oalders trs: basically " considering the huge gap between searc.cpan.org and metacpan.org , i think there is a nice opportunity to redo or outdo metacpan and make a web interface for cpan that is not ugly "
18:07 oalders (not my comment)
18:08 Mso150 joined #metacpan
18:17 ether metacpan is ugly?!
18:19 oalders apparently :) https://www.dropbox.com/s/f0l931gq6x115vu/Screenshot%202014-10-22%2014.18.52.png?dl=0
18:19 dipsy [ Dropbox - Screenshot 2014-10-22 14.18.52.png ]
18:19 oalders there's some % of people who will just be grumpy regardless
18:20 ether I wonder how hard it would be to make a s.c.o.-lookalike skin on metacpan
18:20 * ribasushi finds sco much more functional for what I use the web ui for (that is reading docs)
18:20 ether "you get the interface you're used to, but driven by working code"
18:21 oalders well, i think that's essentially what szabgab is trying to do, but he's building it from the ground up
18:21 oalders he could probably just fork metacpan-web and reskin it
18:21 oalders but we're not going to support multiple UIs from this end
18:21 ether that complaint that oalders linked to sounds like it would have been better as a bug report
18:21 oalders one UI is hard enough
18:21 ether "directed to something entirely different" is likely a bug
18:22 ether "I can't find the links to things" is "well, tell us where you'd *like* to have it then"
18:23 trs ribasushi: that's interesting, because the metacpan pod rendering is nicer to me than sco
18:25 oalders someone else once pulled me aside and said that metacpan is "too social". ie the sidebar links are too distracting
18:26 ribasushi trs: there's also https://github.com/CPAN-API/metacpan-web/issues/1104 ;)
18:26 dipsy [ Underwhelming profile affiliation options · Issue #1104 · CPAN-API/metacpan-web · GitHub ]
18:32 ether maybe a 'minimalist' mode? which could also double as mobile-friendly
18:32 ether get rid of all the sidebars and most of the links
18:32 ether make everything collapsable, and save a cookie for 'start everything in collapsed mode'
18:33 ether any of that would be much easier than starting over from the ground up
18:33 * ether really wonders what szagab is thinking.
18:36 oalders we did already have a related discussion here https://github.com/CPAN-API/metacpan-web/issues/1362
18:36 dipsy [ Have a newbie mode, which is the default for (new) users · Issue #1362 · CPAN-API/metacpan-web · GitHub ]
18:38 ether ah yes right
18:38 ether and that stalled for lack of a consensus position
18:43 mst ether: s/what/whether/
18:44 ether well, yes, but I'm trying to be charitable
18:44 mst so am I. I'm considering the possibility he thought.
19:07 Mso150 joined #metacpan
19:19 andreea joined #metacpan
19:26 ranguard dear lazy web, if something runs on server: foo, localhost:1234, what's the ssh magic for me to use ssh to access that from my desktop?
19:31 ranguard ah, ha! -L, I found the right incanation :)
19:32 vroom joined #metacpan
19:34 mst ranguard: the magic incantation for me is invariably "read the ssh man page again"
19:35 ranguard yea, I got there in the end, foolishly started with google and I think it's one of those I remember being hard, but as you say, the man page was actually useful
19:36 mst right, the man page is a little bit baroque, but very precise
19:36 mst so basically I read it again, think for 10 minutes, and then still only get it right on the third try
19:37 * ranguard nods
19:50 vroom joined #metacpan
20:17 vroom joined #metacpan
21:32 trs joined #metacpan
23:31 klapperl_ joined #metacpan
23:43 klapperl joined #metacpan
23:58 klapperl_ joined #metacpan

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