The web in a box - a next generation web framework for the Perl programming language

IRC log for #mojo, 2015-03-01

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

All times shown according to UTC.

Time Nick Message
00:01 s1037989 I have an app that is generating a 500 error only when mode is production.  How can I go about seeing what the detail of that 500 error is?
00:02 jberger s1037989: look at the log?
00:05 jberger start the mode in production mode but with log level debug, and perhaps with Carp::Always (or Devel::Confess)
00:06 s1037989 Thanks, jberger!  All I see in log is this: [debug] 500 Internal Server Error (0.416743s, 2.400/s)
00:06 jberger set the log level to debug
00:07 jberger oh nm
00:07 s1037989 I will try Carp::Always and Devel::Confess.  Haven't used those before!
00:07 jberger or
00:07 jberger they both do about the same thing
00:12 d4rkie joined #mojo
00:17 D4RK-PH0ENiX joined #mojo
00:25 bwf joined #mojo
00:29 kaare joined #mojo
00:30 d4rkie joined #mojo
00:30 D4RK-PH0ENiX joined #mojo
00:36 jabberwok joined #mojo
00:54 sri under what circumstances would postgres ignore a limit 1?
00:55 sri https://github.com/kraih/minion/commit/f9595807de48f45d6945e394409b9e4b78b8883e
00:56 sri it appears the old version could update more than one row if they had the exact same created timestamp
00:56 sri another subquery appears to fix it
00:57 sri stumbled over this purely by accident because of the now()/current_timestamp mixup
00:57 sri first time i really hate something in postgres
01:00 jontaylor joined #mojo
01:05 jabberwok is the "limit 1" somehow binding less tightly to FROM(...) than it did to FROM table_name ....?
01:08 * sri shrugs
01:08 * sri pokes crab
01:25 d4rkie joined #mojo
01:26 D4RK-PH0ENiX joined #mojo
02:24 asarch Once you have done push "@{$self->app->static->paths}, '/var/log/packages'" in a controller, is it global?
02:25 nicomen app is global so... yes ;)
02:25 nicomen well, unless you change the app in the controller of course
02:25 nicomen but that's a very strange thing to do
02:26 nicomen and by global I mean per process
02:35 klapperl joined #mojo
02:47 asarch Thank you
02:47 asarch Thank you very much :-)
02:50 nicomen if you decide to add static paths from a controller, remember that you will add a path on every request
02:50 nicomen that's probably not what you want
02:50 nicomen asarch: ^
02:53 asarch I thought it was like with local vars, only for the controller
02:54 Grinnz asarch, just add it to the app on startup
02:55 asarch Ok, I'll do it that way
02:55 asarch Thank you
02:55 asarch Thank you very much :-)
03:28 kaare joined #mojo
03:35 noganex joined #mojo
03:56 vasu_desk joined #mojo
05:26 sivoais joined #mojo
05:26 jnbek joined #mojo
05:31 absolut_todd joined #mojo
06:05 kaare joined #mojo
06:37 sri ohoh
06:37 sri http://www.reddit.com/r/perl/comments/2xh2uj/mojoconf_will_be_in_new_york_this_year/
06:43 kaare joined #mojo
06:57 kaare joined #mojo
06:58 bpmedley So much excitement, thanks for helping bootstrap the Modern Perl movement.. :)
07:03 marmez joined #mojo
07:20 HtbaaPi joined #mojo
07:30 sivoais :-D
07:31 davido_ joined #mojo
07:41 bpmedley https://gist.github.com/brianmed/27d566a4c841d06c21ea  <— Should this retry a job if the hostnames don’t match?  Also, is there a better way to match a job to a hostname?
07:43 tomboh joined #mojo
07:53 reneeb joined #mojo
07:58 Anon021 joined #mojo
08:09 csson joined #mojo
08:10 marmez left #mojo
08:27 Vandal joined #mojo
08:32 trone joined #mojo
08:36 irq joined #mojo
08:36 marcus o/
08:46 tempire \o
08:47 tempire That's my fault. I shouldn't have put up the site before it was ready to be announced.
08:48 tempire I figured it might trickle in, didn't expect someone to post it.
09:10 marcus tempire: shit happens
09:11 jontaylor joined #mojo
09:54 inbioz joined #mojo
10:02 absolut_todd joined #mojo
10:27 ZadYree joined #mojo
10:28 dotan joined #mojo
10:28 bayashi joined #mojo
10:38 cpan_mojo Mojolicious-Plugin-JavaScript-Console 0.02 by Renee Baecker - http://metacpan.org/release/RENEEB/Mojolicious-Plugin-JavaScript-Console-0.02
10:59 alnewkirk joined #mojo
11:08 jontaylor joined #mojo
11:19 cpan_mojo Mojolicious-Plugin-I18NUtils 0.14 by Renee Baecker - http://metacpan.org/release/RENEEB/Mojolicious-Plugin-I18NUtils-0.14
11:48 cpan_mojo Mojolicious-Plugin-FormFieldsFromJSON 0.27 by Renee Baecker - http://metacpan.org/release/RENEEB/Mojolicious-Plugin-FormFieldsFromJSON-0.27
11:51 cpan_mojo Mojolicious-Plugin-FormFieldsFromJSON 0.28 by Renee Baecker - http://metacpan.org/release/RENEEB/Mojolicious-Plugin-FormFieldsFromJSON-0.28
11:56 amon joined #mojo
12:00 trone joined #mojo
12:10 dp_ joined #mojo
12:41 diginet_ joined #mojo
12:45 irq_ joined #mojo
13:06 berov joined #mojo
13:26 nicomen tempire: can't find a link to buy tickets...
13:26 kaare joined #mojo
13:43 dotan So 6.0 broke my module (makes sense, I use Mojo::DOM)
13:46 bpmedley https://github.com/brianmed/patches <— For those of us with a few boxen, it can be difficult to keep track of patches in a visual way.  Therefore, I wrote a small script to allow for querying and updating patches for a box.  In addition, a reboot can be iniitated.  Uses Minion + Mojolicious::Lite with Pg.
13:46 dotan But this breakage seems uncool: $item->children->map('attr', 'xmlUrl') (I want: a collection of the values of the xmlUrl attribute; I get: a collection of attribute hashrefs)
13:47 dotan http://mojolicio.us/perldoc/Mojo/Collection#map - Form 3 here seems to have broken (unless attr() itself also changed)
14:03 asarch joined #mojo
14:15 dp_ joined #mojo
14:16 riche joined #mojo
14:16 riche batman: please work with kayi re: eventbrite, ok?
14:17 batman riche: referring to github?
14:18 riche yes just flip her an email.
14:18 riche or can wait to be discussed at the meeting later
14:19 batman i don't think i'm invited to that meeting
14:19 riche she normally doesnt work weekends and I don't think she's even seen the invite to the group yet.
14:20 riche once she gets on i will transfer the owner to her and she will take it from there
14:20 batman right. this is not my job, so i have to do it during weekends :P
14:22 riche anyway I'll get the meeting situated so you and others are invited but i expect her to take it from there.
14:23 batman ok. what is your role in all of this?
14:23 sh4 joined #mojo
14:26 riche I am not going to have a role.  I gave a resource to coordinate.  I found it inappropriate that the 2015 conference, for a project I find promising, fell apart so I felt compelled to help
14:27 batman is kayi your resource?
14:27 batman sorry for the stupid questions -- i simple don't know much :/
14:28 riche yes.  she's a management operations pro.
14:28 riche but she is _not_ a developer, or programmer, or whatever.
14:29 tencendur joined #mojo
14:29 batman ok.
14:29 batman i need to know when to be available if i'm supposed to be part of the meeting later
14:29 dod joined #mojo
14:29 riche that is what the meeting later is about.
14:30 riche she doesn't like it being loosey-goosey
14:30 riche anyways
14:30 riche but I think if you want a role, you are definitely well positioned to take one
14:31 batman i don't know what i want
14:32 nicomen dotan: got it working?
14:32 riche well, for one thing I think you were pretty into the A/V stuff last year.  That's some experience that is definitely relevant.
14:32 nicomen batman: this are US citizens, you need to be bold and oversell yourself ;)
14:33 batman riche: i'm into anything you throw at me. BUT! i'm not dying to get myself involved.
14:33 batman last year almost ended me.
14:33 riche batman: ok it's not a problem.  if you're not willing, that is OK!
14:34 dod joined #mojo
14:34 riche The #1, absolutely #1 thing you can do is have an awesome talk.
14:34 batman that is the only thing that most certainly will fail, hahaha
14:34 batman but i will deliver a talk ;)
14:34 riche like I said in email I think more than once, talks from core dev are very important
14:35 batman thanks for the confident :)
14:35 riche okay I need to go.  australian quarterly tax review is calling me.
14:36 batman have fun
14:36 purl Don't do anything I wouldn't do!!!
14:37 jberger purl++
14:37 jberger karma purl
14:37 purl purl has karma of 9690
14:38 jabberwok "your karma ran over my dogma"
14:40 jabberwok is there a "best practices" example of a Model coded for regular (not Lite) Mojolicious? for those of us who were hacking CGI with Perl 4 this is a strange new world.
14:42 dotan nicomen: nope. The code for Mojo::Collection::map doesn't look like it can work with the 3rd example.
14:43 jberger jabberwok: full and lite are equivalent as far as model is concerned
14:43 jberger and as far as almost everything else, lite is just sugar
14:43 jberger the difference is that the server is persistent
14:44 dotan nicomen: I can work around it and do $item->children->map(sub { $_->attr('xmlUrl') })
14:44 dotan but it's a Mojolicious bug, afaik.
14:44 jberger things that you might have stored in the global now you should store in the per-request stash
14:45 jberger ok, I have to go eat and get ready before the meeting
14:45 jabberwok *nod*  i really like the setup.  i spent so many years trying to reverse-engineer and re-purpose WordPress, instead of Doing Things Right The First Time
14:46 nicomen dotan: I think this was a change in 5.4x somewhere no?
14:46 melo joined #mojo
14:47 denny- joined #mojo
14:47 cpan_mojo Mojolicious-Plugin-DSC 1.004 by Krasimir Berov - http://metacpan.org/release/BEROV/Mojolicious-Plugin-DSC-1.004
14:47 jberger jabberwok: glad you are enjoying it
14:53 dotan nicomen: Looking at the commits with gitk, trying to see when this changed.
14:54 dotan All my tests were passing in 5.57
14:54 nicomen oh
14:54 meshl joined #mojo
14:55 jberger dotan: try git bisect
14:55 jberger <3 git bisect
14:56 meredith quarterly tax review... jeez, i'm irresponsible enough with just an annual filing
14:59 dotan jberger: I don't know git bisect. Let's learnz it.
15:03 jberger write a script that exits 0 on success and nonzero on fail and bisect on the mojo repo and it will find the commit that changes it
15:04 bpmedley jabberwok: There are lot of examples out there: https://github.com/kraih/mojo/wiki/Example-applications
15:05 jabberwok ahh, thanks bpmedley
15:11 dotan I take back what I said about the code for map. It should work fine. Why doesn't it?
15:13 bpmedley jabberwok: Were you asking how people are using DB handles and connections with a full app?
15:16 dotan OK, mea culpa, I'm an idiot, etc. I was looking at an older version (probably from before pluck was deprecated)
15:22 jabberwok bpmedley:  not yet, so far i'm reading static data and presenting it various ways. building up to full db tho.
15:29 nicomen dotan: right ;)
15:32 jberger dotan: no worries
15:32 gryphon joined #mojo
15:33 dotan So, now I got the right version and the right error and I made a fix. Looks like map *used* to filter out results where the method returned undef and now it doesn't. I filtered the collection for only nodes with the attribute using children('[xmlUrl]') instead of children()
15:34 bpmedley https://github.com/brianmed/patches <— Anyone see the post on this?
15:35 jberger dotan you can also use http://mojolicio.us/perldoc/Mojo/Collection#compact
15:35 jberger bpmedley: ENOTIMEYET
15:35 bpmedley lol
15:39 nicomen dotan: sounds like you might want to pre-filter by using find(... [xmlUrl]) too?
15:46 dotan jberger: so I figured out git bisect and got this: https://github.com/kraih/mojo/commit/5420cdbcdd8865d630f3ca33a3ae9d2729f5b54d
15:49 dotan nicomen: I'm iterating over everything returned by a find('outline') on an OPML file, assuming that if it has an xmlUrl it's a feed, and if it doesn't it's a category. RSSOwl's OPML wraps all the feeds and categories in an extra <outline> element
15:49 dotan Therefore, children with undef xmlUrl (the categories).
15:51 jberger dotan: yeah, in that case, I'm rather sure that what you were relying on was undefined behavior
15:52 jberger you can use map as grep of course, but it has to look something like sub{ $test ? $true : () }
15:52 jberger and even that isn't so much grep as perl's list flattening
15:55 buu joined #mojo
15:59 jabberwok joined #mojo
16:01 jberger riche: is there some contact info for this meeting?
16:01 dotan jberger: I'm fine with the fix
16:03 bobkare joined #mojo
16:05 jberger Bueller
16:13 jberger k guess not
16:15 sri no gsoc for perl this year :/
16:16 jberger :(
16:16 jberger not like there were tons of projects
16:16 jberger unless things changed recently
16:16 marcus jberger: /win 4
16:16 marcus argh
16:16 sri marcus: /fail
16:16 marcus sri: /ye
16:17 jberger so more ideas did show up
16:17 jberger that's too bad
16:17 sri jberger: btw. i don't think a minion manager based on Mojo::Server::Prefork can work
16:18 sri the right way might be just to have one normal manager deal with a bunch of forked jobs
16:18 jberger hmmmm, too bad, it seemed so close
16:19 jberger what was the death nell?
16:19 cpan_mojo Mojolicious-Plugin-FeedReader 0.07 by DOTAN - http://metacpan.org/release/DOTAN/Mojolicious-Plugin-FeedReader-0.07
16:19 jberger knell has a silent k? who knew?
16:19 dotan .... and cpanifyed
16:19 jberger dotan++
16:20 sri a three tier architecture is insane to manage... manager -> worker -> job
16:20 jberger ah
16:20 bpmedley dotan: Are you building an RSS reader?
16:20 jberger I guess that isn't surprising
16:20 jberger when you think of it in those terms
16:21 sri and a worker can already dequeue multiple jobs concurrently
16:21 dotan bpmedley: I tried to build one, sorta gave up on it :(
16:21 sri so, you really just have to think of a different waitpid strategy
16:21 jberger the dancer2 gsoc proposal :o
16:22 marcus jberger: wha?
16:22 bpmedley dotan: https://github.com/brianmed/InfoServant-Feeds <— Copy some code, if you want.  I think this version works.. ;)
16:22 purl wha is, like, that because they can't point and click convert it? or "Tungsten Heavy Alloy"
16:22 jberger http://wiki2.enlightenedperl.org/index.php5?title=2015_Ideas_Page
16:23 jberger lest the record appear to show me belittling, I'm just surprised to see the dancer2 project at that stage
16:23 jberger and Package::Variant sounds like a strange way to implement a plugin system
16:23 mst that's insane
16:24 jberger I suppose it could be done, but
16:24 sri after the streaming debacle recently nothing surprises me anymore ;p
16:25 sri anyway... unless there are complaints i'm going to release a new minion later https://github.com/kraih/minion/compare/v1.08...master
16:26 sri suppose the migration needs special review, considering it can't really be undone later
16:27 sri https://github.com/kraih/minion/compare/v1.08...master#diff-6c2d02af894f2ce916d89f7b04f4b54aR445
16:28 sri the heartbeat column is called "notified" now
16:31 bpmedley The only thing I can think of is that some people might be grepping logs and whatnot, so the “.” changes could be a pita; however, I doubt that’s a huge issue.
16:41 bobkare joined #mojo
16:55 marcus hmm
16:56 batman marcus?
16:56 purl marcus is, like, pretty sure lisp adoption is being hampered by being named after a speech defect. or http://picasaweb.google.com/olga.ramberg/Lisboa#5240395957801479314 or a moose farmer
16:57 cpan_mojo Mandel 0.25 by Jan Henning Thorsen - http://metacpan.org/release/JHTHORSEN/Mandel-0.25 (depends on Mojolicious)
16:57 marcus batman/jberger/sri/riche/tempire; Are we supposed to be meeting soon? And if so where?
16:57 batman marcus: good question
16:57 purl Yeah, it is. I'm stumped.
16:58 jberger so the email said 11am EST/6pm Oslo
16:58 jberger which isn't a thing
16:58 batman i haven't head from tempire all day :/
16:58 marcus it's 2 to 6pm now
16:58 batman *heard
16:58 marcus all day, no head from tempire :-/
16:58 jberger I was here asking at 10am CST (11am EST) and there wasn't a peep
16:58 jberger now its almost 6pm Oslo, I wonder if it will happen this time
17:01 cpan_mojo Mojo-Log-More 1.02 by ODC - http://metacpan.org/release/ODC/Mojo-Log-More-1.02
17:01 inbioz joined #mojo
17:02 batman marcus ;D
17:03 cpan_mojo Swagger2 0.28 by Jan Henning Thorsen - http://metacpan.org/release/JHTHORSEN/Swagger2-0.28 (depends on Mojolicious)
17:03 marcus I think I want to buy this http://www.aliexpress.com/store/product/8fun-Bafang-electric-bike-mid-drive-motor-kit-BBS-01/904105_1117488279.html
17:04 jberger "let's back to nature"
17:04 jberger by letting a motor move our bike :-)
17:05 jontaylor joined #mojo
17:05 marcus instead of a car, I pressume :)
17:06 cpan_mojo Mojo-IRC 0.18 by Jan Henning Thorsen - http://metacpan.org/release/JHTHORSEN/Mojo-IRC-0.18
17:07 batman it's so weird that i don't have more failing tests on cpan...
17:07 jberger anyone in a meeting yet?
17:07 * batman isn't
17:07 jberger ok, well both times have come and gone
17:07 jberger I'm ... saddened
17:07 batman what doesn that mean?
17:08 * jberger goes back to doing other things
17:08 marcus maybe shoot Ka Yi a mail?
17:08 jberger riche was on only a few hours ago, reminding us to be on it
17:08 batman jberger: ah. google translate to the rescue :)
17:08 batman marcus: please shoot
17:09 batman marcus: looked at https://github.com/marcusramberg/Mojolicious-Plugin-OAuth2/pull/37 yet?
17:09 marcus I' am
17:09 marcus just sent
17:10 batman thanks
17:10 jberger I have the real world to attend to for a while, if the meeting happens, enjoy
17:10 marcus :'(
17:10 marcus Damn you, real world
17:11 riche joined #mojo
17:11 riche marcus: 6pm EST
17:11 marcus riche: eh
17:11 marcus riche: what is that in CET?
17:11 riche are you -2 from UTC?
17:11 riche or -1?
17:11 purl i guess -1 is always a scalar number. The OUTPUT of sqrt() is a different value
17:12 marcus riche: that's 24:00 CET
17:12 riche it's probably close to midnight.  look I just made kayi owner of the google community and she will send invite via there
17:12 batman https://www.google.com/search?q=6pm+EST+in+CET
17:12 batman yeah. not going to make it to that meeting
17:13 batman :/
17:13 jberger I doubt I will either, dinner plans with family
17:13 jberger where was that time ever discussed?
17:13 riche email
17:13 marcus riche: that's not the time the mail said
17:13 marcus Would 11am(EST) suit you? This will be 8am(PST) and 6pm(Oslo time)
17:13 riche ugh what a mess
17:14 riche she is "on it" via the google community right now.  I will call and let her know there is "mass confusion"
17:14 jberger I'm sorry, but there isn't mass confusion
17:14 batman and mass f*up :(
17:15 marcus yeah, midnight the day before a working day is pretty bad for me meeting-wise
17:15 riche marcus: agreed
17:19 nicomen doodle.com a fitting time?
17:23 batman marcus: next up is a way easier way to test OAuth2 btw... just waiting for your response on the current pr
17:29 marcus batman: merged
17:30 batman marcus: <3
17:32 batman marcus: https://github.com/marcusramberg/Mojolicious-Plugin-OAuth2/pull/38
17:36 tempire lulz
17:36 marcus sri: Are you aruond?
17:37 marcus around
17:37 mst Aruond, Son of Feldar
17:37 marcus aruondale
17:41 marcus hi mst. I found a picture of you on my computer today - https://imgur.com/uZr7gIl
17:43 mst aha, LPW
17:43 marcus fosdem
17:43 mst oh
17:43 mst fuck, duh
17:43 marcus did you recover well from you fall btw?
17:44 marcus I also found one of larry announcing perl 6 https://imgur.com/jZYhnTR
17:44 mst it still hurts slightly but I stopped caring at the point where it stopped interfering with my sex life :)
17:45 batman mst++ # got the priorities right
17:45 marcus the original hipster
17:45 batman marcus: after you accept/reject the PR, i need to update the documentation before a new release
17:53 vasu_desk joined #mojo
17:54 marcus batman: I'm a bit uncertain about the last PR, which is why I was trying to summon sri for advice.
17:54 batman the mocked PR or the last PR?
17:55 marcus the mocked one
17:55 batman https://github.com/marcusramberg/Mojolicious-Plugin-OAuth2/pull/39 <-- i added this as well
17:55 batman right
17:55 batman whatever we do, we need to make it easier for people to test OAuth2.
17:55 batman it's too much boring, repetitive work now :(
17:56 marcus batman: Yeah, I can see that, but I'm a bit sceptical of making mocking part of the main API.
17:57 batman you have to enable it though. it's not "on" by default
17:57 marcus I understand that.
18:04 kerframil joined #mojo
18:05 batman marcus: what about https://github.com/marcusramberg/Mojolicious-Plugin-OAuth2/pull/39 ?
18:05 batman marcus: i would really appreciate a new release, even without #39 and #38
18:12 mib_dynlm4 joined #mojo
18:49 sri marcus: sup?
18:49 purl inf
18:50 marcus sri: Wondering if you could give me your opinion on https://github.com/marcusramberg/Mojolicious-Plugin-OAuth2/pull/38 from an api design perspective.
18:53 sri not used the plugin yet, so can't really say
18:55 sri i guess mocking external services makes sense, if you're fairly certain the real thing works too
18:56 sri patch has no docs though... so -1 for that ;p
18:59 sri $c->render(text => $c->link_to('Connect' => $return));
18:59 sri if you want to use tag helpers i'd go for the more pretty ones
19:02 jberger_ joined #mojo
19:04 * sri is still angry at postgresql
19:05 mst broke something?
19:05 sri http://irclog.perlgeek.de/mojo/2015-03-01#i_10198879
19:06 sri i don't understand why postgres would ever ignore a limit 1
19:06 trone_ joined #mojo
19:08 mst sri: I think that may be a bizarre interaction with the way things suspend and retry under 'for update'
19:08 mst that's really odd though
19:13 jberger_ joined #mojo
19:16 sri mst: i can actually replicate it with a minimal test case :)
19:17 mst sri: then I'd seriously suggest poking #postgresql on freenode with said test case at some point
19:17 mst because either that's a bug, or something really bizarre is going on that I don't entirely understand
19:17 sri https://gist.github.com/anonymous/a6654100d61a6a01c595
19:20 mst sri: does it still happen without the 'for update' ?
19:21 sri yes
19:22 sri hmm, even without the index
19:27 sri even the order by is irrelevant Oo
19:29 meshl joined #mojo
19:31 sri https://gist.github.com/anonymous/ba66de593b98ad0d6e4a
19:32 sri can't be a bug
19:35 sri hahaha... the whole query is bollocks, that's why!
19:37 cpan_mojo Mojo-HelloMojo 0.04 by Stefan Adams - http://metacpan.org/release/SADAMS/Mojo-HelloMojo-0.04
19:37 mst oh?
19:38 sri i of course messed up the example
19:42 kaare joined #mojo
19:48 sri nope, now i can't replicat it in a minimal test case
19:52 sri (forgot the where clause actually using the result of the subquery)
19:52 mst ... oh for fuck's sake, how did we both manage to miss that
19:52 mst ... gist added a scroll box and I just assumed
19:52 mst stupid mst.
19:55 marmez joined #mojo
20:02 kerframil joined #mojo
20:09 cpan_mojo Mojolicious-Plugin-OAuth2 1.4 by Jan Henning Thorsen - http://metacpan.org/release/JHTHORSEN/Mojolicious-Plugin-OAuth2-1.4
20:18 tinita joined #mojo
20:24 inbioz joined #mojo
20:26 sri i have no fricking clue what's going on
20:27 inbioz joined #mojo
20:28 sri and i just realized that there shouldn't really be a difference between now() and current_timestamp, even as a default
20:31 mst I thought they were basically aliases
20:33 sri the odd thing is, if i replace current_timestamp with now() my query appears to behave differently
20:39 kerframil as things stand, they are not quite the same: https://bugs.mysql.com/bug.php?id=48326
20:40 sri we are talking about postgres ;)
20:40 kerframil oh, ok
20:42 Grinnz yeah lets not get into how fucked up mysql's datetime stuff is :P
20:46 punter joined #mojo
21:17 zivester joined #mojo
21:18 dustinm joined #mojo
21:32 cpan_mojo Mojo-IOLoop-Future 0.01 by Jose Luis Martinez Torres - http://metacpan.org/release/JLMARTIN/Mojo-IOLoop-Future-0.01
21:32 Grinnz oh hey
21:33 preaction interesting
21:37 cpan_mojo Mojo-IOLoop-Future 0.02 by Jose Luis Martinez Torres - http://metacpan.org/release/JLMARTIN/Mojo-IOLoop-Future-0.02
21:46 * sri is slowly going crazy
21:47 sri now i've switched back to now() from current_timestamp... and i've seen a worker dequeue too many jobs once... and then never again
21:47 Grinnz :databases:
21:49 jberger that is probably a namespace I would have preferred for the author to check with us about :s
21:49 mst sri: *going* ? :D
21:49 sri -.-
21:49 preaction his crazy is taking a sharp upturn due to the current issue?
21:49 preaction there's a localized spike in the crazy which should pass once postgres gets its shit together
21:50 gryphon joined #mojo
21:50 fhelmber_ joined #mojo
21:50 preaction i'll trade your postgres issues for my yaml.pm issues! ;)
21:51 mst yaml.pm issues are easy. you just keep talking about them in front of ingy until his ADHD makes your question the shiniest thing to look at
21:52 sri http://www.memegenerator.es/imagenes/memes/full/0/13/131196.jpg
21:52 * mst laughs himself into a coughing fit
21:52 mst sri++
22:02 Grinnz jberger, indeed...
22:10 marcus I should start using got http://techblog.babyl.ca/entry/got-lib
22:10 sri that settles it, mojolicious will never support futures!
22:10 Grinnz lol
22:18 jberger a question for someone with more futures knowledge than I, will this actually accomplish anything? https://metacpan.org/source/JLMARTIN/Mojo-IOLoop-Future-0.02/lib/Mojo/IOLoop/Future.pm
22:19 Grinnz it essentially makes the Future ->await into a dumber version of Delay->wait
22:19 jberger but it doesn't have any stop mechanism, for example
22:20 Grinnz it's missing the part where it stops if it wasnt running to start with
22:20 jberger what should await do it the loop is already running?
22:20 Grinnz dont know enough about futures for what it's supposed to do..
22:21 jberger well, I only see pod and compile tests :s
22:21 Grinnz there isnt a Changes file, for another thing :P
22:21 jberger its dzil doesn't that do that for you ?
22:22 Grinnz no, though i'm sure some plugins could
22:23 jberger sri: people have put things into the Mojo::IOLoop namespace, myself included, but I wonder if we should defend that one?
22:23 jberger I think its likely not too late to ask the author to relinquish it
22:23 Grinnz i used this one to update the version number https://metacpan.org/pod/Dist::Zilla::Plugin::NextRelease
22:23 Grinnz but that doesnt create the changes to begin with
22:24 sri jberger: dunno, he would have to give up the namespace in pause too
22:24 sri although, looking at the source and lack of tests, i doubt it will turn into a good module
22:27 jberger I think I'm going to ask him to change it to something under Future
22:27 jberger Future::MojoIOLoop is not going to prevent Future from instituting any features
22:31 jberger https://github.com/pplu/mojo-ioloop-future/issues/1
22:32 n2plato joined #mojo
22:32 sri the opening sounds a bit strong
22:33 jberger really? I was trying to make it sound soft
22:33 jberger further softened
22:34 sri "I won't demand that you change it..."
22:34 sri that has a certain undertone
22:35 jberger I suppose
22:35 jberger hmmmm
22:35 jberger Nixed the opening clause all together, unnecessary
23:13 cpan_mojo Test-Mojo-WithRoles 0.01 by Joel Berger - http://metacpan.org/release/JBERGER/Test-Mojo-WithRoles-0.01
23:14 jberger \o/
23:48 sri seriously, now i'm unable to trigger the problem at all
23:49 absolut_todd joined #mojo
23:51 sri of course i wonder if it might be some random optimization the query planner tried :S
23:52 nicomen wouldn't MojoX::IOLoop make sense?
23:53 sri guess the bad experiences with advisory locks earlier made me a little paranoid

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