Perl 6 - the future is here, just unevenly distributed

IRC log for #metacpan, 2014-11-27

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

All times shown according to UTC.

Time Nick Message
01:02 theory joined #metacpan
02:11 klapperl joined #metacpan
03:01 vroom joined #metacpan
03:06 vroom joined #metacpan
03:22 vroom joined #metacpan
03:42 omega anyone else getting 502 from https://metacpan.org/search?q=tap%20teamcity
03:47 grantm yep, seems borkened
03:55 omega ok, thanks for confirming it wasnt the great wall of Thailand messing things up this time :)
04:04 vroom joined #metacpan
04:14 grantm wonder if there's anyone online who can fix things
04:15 grantm oalders: ^^ ??
04:20 omega rwstauner: alive?
04:20 oalders rwstauner: is on holidays :)
04:21 omega oalders: but maybe you can get metacpan back up? :P
04:21 oalders i'm on train right now. everything is broken?
04:21 omega I can't find anything that works at least :P
04:21 omega the api seems to work
04:21 oalders heh. i'll poke around.  we'll see how much bandwidth i have
04:22 oalders load is at 14
04:22 oalders filesystem filling up again
04:28 oalders i'm wiping out some files.  hopefully that will help.  my stop is the next one, so i won't be online for another 20 minutes or so
04:29 oalders seems to be working again?
04:30 omega it's gone from proxy error to bad gateway error from nginx now
04:30 omega at least for me on https://metacpan.org/search?q=tap%20teamcity
04:30 dipsy [ Search for "tap teamcity" - metacpan.org ]
04:30 omega ahh, here it comes I think
04:48 omega oalders++
05:28 oalders so, we have more disk space available now.  i also added a monitoring alert for disk space on that partition
05:46 omega yay :)
06:26 chansen joined #metacpan
06:56 theory joined #metacpan
08:00 neilb joined #metacpan
08:23 neilb joined #metacpan
08:53 neilb joined #metacpan
08:55 neilb_ joined #metacpan
09:51 neilb joined #metacpan
11:44 neilb joined #metacpan
11:46 alnewkirk joined #metacpan
11:57 neilb joined #metacpan
13:19 neilb joined #metacpan
14:47 vroom joined #metacpan
15:34 jberger joined #metacpan
15:34 jberger neilb: around?
15:35 jberger just for fun I ported your dists with github repos to Mojo: https://gist.github.com/jberger/f9a71e20904976746284
15:35 dipsy [ cpan-github-dists ]
15:35 vroom joined #metacpan
15:35 neilb jberger: yup
15:36 jberger I might give a hand at using Mojo::UserAgent for the query, I'm not sure how much magic is in the MetaCPAN::Client module
15:36 jberger neilb: keep up the cool work!
15:38 jberger s/give/try/ # mixing colloquialisms today I guess
15:38 neilb cool - I might have a play with that later. I wonder if I could get it paging ...
15:38 jberger neilb: I thought about that too
15:39 neilb oh well then, I’ll let you do it ;-)
15:39 neilb does this mean you’re doing 24PRs then?
15:39 jberger neilb: no, be my guest, I would probably get bogged down in trying to be all non-blocking/websockety
15:40 jberger neilb: I may, I'm not sure I have 24 in me, but it seems fun
15:40 * jberger will be starting a new job in dec too
15:41 neilb with all due respect (and when someone says that, you know what’s coming has no respect), that’s a load of bollocks. You could EASILY do 24.
15:41 * jberger gets to work on a Mojolicious project for pay!
15:41 neilb oh ok, I might let you off then.
15:41 neilb You could give me any 24 dists from that list and I could do 24PRs
15:41 jberger neilb: true enough
15:41 neilb Hey, now that would be a fun challenge — let people sign up and randomly assign them 24 dists to do PRs on!
15:41 jberger actually, you gave me an idea
15:42 jberger I'm going to be in a hotel a few nights a week while starting this job
15:42 neilb that would be a cool Mojo thingummy for you to knock up!
15:42 jberger those nights, I could prep MORE than 1 and submit them day by day
15:42 neilb And it would also ensure no collision on dists
15:43 jberger Mojo+Minion+Email::Sender, get a random assignment once a day in your mailbox
15:44 jberger (Email::Sender is the new good one, right? /me forgets)
15:44 neilb You could get a blog post out of that too. And probably a paper camel award for Marvellous Mojo Mashup
15:46 neilb That would be a good challenge for 2015: sign up and get a random dist emailed to you once a month. You have to do a PR on it.
15:46 oalders :)
15:47 neilb One for the yaklog!
15:47 oalders jberger: you could certainly do the query with Mojo::UserAgent, but we're trying to encourage people to use MetaCPAN::Client where possible
15:47 oalders too much TIMTOWDI
15:48 jberger MetaCPAN::Client is blocking though, correct?
15:48 jberger oalders^^
15:48 oalders jberger: correct
15:48 jberger hmmmmm
15:48 oalders but whatever scratches your itch
15:48 oalders i just want to push people in that direction as a default
15:49 jberger I'm not a Mojo-only zealot, but I do like to keep things non-blocking when possible
15:49 jberger oalders: that I understand
15:49 oalders jberger: you can also supply a UserAgent to MetaCPAN::Client, but I'm not sure if that solves this problem
16:03 vroom joined #metacpan
16:11 vroom joined #metacpan
16:20 vroom joined #metacpan
16:26 omega it confuses me that the "results per page" box is at the bottom of the page if there are fewer than one page of results?
16:26 omega is it only me?
16:26 omega I always go "oh, is this the pager?"
16:31 oalders omega: yeah, it's a bit confusing, but if your results per page > all combined results then it's a bit weird
16:32 oalders because you can't easily get from 500 to 10 or 20
16:32 neilb jberger: it’s no good, I like that idea too much. The spirit of the yak is upon me!
16:32 oalders jberger: now look what you've done
16:32 neilb The 2015 monthly CPAN PR challenge, coming to a blog near you soon! :-)
16:33 neilb Use the fleece Luke!
16:33 oalders :)
16:46 jberger SHAVE ALL THE YAKS!
16:54 vroom joined #metacpan
16:56 jberger oalders: I'm considering a patch which would add callbacks to get-like methods. I'm still investigating how much work that would be, but would you be interested if I did so?
16:57 jberger oh, nope, I think I found the blocker
16:58 jberger ssearch
16:59 jberger oh and fwiw, this abstraction is not general enough for Mojo::UA: "I found the docs kinda of hard to find and/or incomplete more often than not to be honest. "
16:59 jberger haha, oops, wrong paste buffer
16:59 jberger strike the previous
17:00 jberger oh and fwiw, this abstraction is not general enough for Mojo::UA: https://github.com/CPAN-API/metacpan-client/blob/master/lib/MetaCPAN/Client/Request.pm#L73
17:00 dipsy [ metacpan-client/Request.pm at master · CPAN-API/metacpan-client · GitHub ]
17:04 oalders jberger: have you looked at https://metacpan.org/pod/Search::Elasticsearch::Async ?
17:04 dipsy [ Search::Elasticsearch::Async - Async API for Elasticsearch using Promises - metacpan.org ]
17:04 oalders i see there is also https://metacpan.org/pod/Search::Elasticsearch::Async::Simple
17:05 dipsy [ Search::Elasticsearch::Async::Simple - Unofficial asynchronous API for Elasticsearch using callbacks - metacpan.org ]
17:06 sri joined #metacpan
17:06 sri is Mojolicious blacklisted or something?
17:06 sri it's not in the search results anymore https://metacpan.org/search?q=Mojolicious
17:06 dipsy [ Search for "Mojolicious" - metacpan.org ]
17:07 oalders that can't be right
17:07 sri this one is dead too https://metacpan.org/release/Mojolicious
17:07 oalders things went sideways last night.  maybe that coincided with the latest release
17:07 oalders let me reindex
17:08 sri ah
17:08 jberger oalders: I was not aware
17:08 jberger thanks
17:08 jberger I really haven't done any elasticsearch
17:09 oalders jberger: to be honest, i had forgotten about the async parts :)
17:09 sri how unlucky, the modules around mojolicious on the recent list still work
17:09 oalders sri: fixed
17:09 sri oalders++
17:09 oalders thanks for pointing that out
17:10 jberger sri: I think oalders is saying that our release last night came during the sidewaysedness
17:10 sri one interesting thing, the link on the recent list still works, but unlike all the others, points to a specific version
17:10 sri jberger: that's how i understood it
17:11 jberger sri: oh, I misread your message, ignore me
17:11 oalders interesting things happen when stuff makes it into the index but doesn't get flagged as "latest"
17:12 oalders i'm re-indexing everything from the last 24 hours.  that should pick up any other problems
17:17 vroom joined #metacpan
17:43 neilb joined #metacpan
17:59 neilb_ joined #metacpan
18:02 neilb_ joined #metacpan
18:03 neilb_ joined #metacpan
18:06 neilb joined #metacpan
18:15 vroom joined #metacpan
18:28 vroom joined #metacpan
19:15 vroom joined #metacpan
19:21 theory joined #metacpan
19:23 vroom joined #metacpan
19:38 vroom joined #metacpan
19:39 basbl joined #metacpan
19:42 jberger neilb: job queue email sender: http://pastie.org/9747408
19:42 dipsy [ #9747408 - Pastie ]
19:43 jberger that should "just work" for sendmail, I'm using smtp for testing, so I can set it up using a config file
19:44 jberger start a worker with: perl app.pl minion worker &
19:44 jberger then enqueue a one-off job:
19:44 jberger perl app.pl eval 'app->minion->enqueue(email => [ header => [qw/To joel.a.berger@gmail.com From joel.a.berger@gmail.com Subject/, "Hello from minion"], body => "Just a test" ])'
19:46 neilb jberger: got it - ta!
19:47 jberger I had to learn enough about Email::Sender and SMTP to get that, so it took a bit
19:57 * ranguard checks the channel.. starts with #m... but not #mojoliscious ;)
19:59 jberger ranguard: last few topics have been both :-)
19:59 * sri claims the channel
20:05 * sri raises the pirate cloud flag
20:06 ranguard :)
20:14 oiami joined #metacpan
20:20 vroom joined #metacpan
20:27 theory joined #metacpan
20:31 vroom joined #metacpan
20:52 oiami left #metacpan
22:26 neilb joined #metacpan
22:30 theory joined #metacpan
22:33 neilb joined #metacpan
22:44 neilb_ joined #metacpan

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