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

IRC log for #mojo, 2014-12-24

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

All times shown according to UTC.

Time Nick Message
00:43 * tempire just discovered window functions in postgres
01:17 stephan48 is there a simple way for a route to perform a redirect?
01:18 Grinnz [17:11:36] <linagee> is there an easy way to do a simple redirect with Mojolicious Lite?
01:18 Grinnz [17:13:59] <Grinnz_> https://metacpan.org/pod/Mojolicious::Controller#redirect_to
01:18 Grinnz lol
01:20 woz joined #mojo
01:28 stephan48 haha
01:28 stephan48 will be hackish but okey!
01:29 jberger stephan48: why would that be hackish?
01:32 stephan48 ended up with this: http://paste.stejau.de/?572
01:34 Grinnz jberger, your blog posts explained it all very well. i will try to come up with something for the docs to explain it better. still, i think begin is a bad name for the method :P
01:36 KCL_ joined #mojo
01:36 Grinnz it is not a callback for the beginning, but towards the next step or towards the end
01:45 Grinnz stephan48, that looks perfectly reasonable to me
01:46 stephan48 oh, i personally think its a bit hackish... but i am not that experienced with mojo :)
01:53 stephan48 mixing callbacks and normal routes that is
01:53 rem_lex|pivo joined #mojo
01:54 jberger stephan48: that is exactly how Mojolicious::Lite works
01:54 stephan48 yea
01:54 stephan48 i am in a fullapp tho
01:54 Grinnz yep, and i have a few routes in my full app that are just callbacks, because thats all they need to be
01:55 jberger sure, but it is a fully supported mechanism
01:55 stephan48 hey i am not claiming that my feeling is reasonable ;)
01:55 jberger stephan48: true, we are just claiming further that it is not a hack
01:55 jberger no worries
01:56 Grinnz .oO(everything's a hack, unless it's assembly code)
02:00 Grinnz for now, time for more dragon age
02:01 stephan48 have fun Grinnz! thanks for the tip
02:01 stephan48 works great
02:58 klapperl_ joined #mojo
03:09 woz joined #mojo
03:52 noganex joined #mojo
03:56 tencendur joined #mojo
04:12 jberger Announcing Mojo::Autobox
04:13 jberger https://metacpan.org/pod/release/JBERGER/Mojo-Autobox-0.01/README.pod
04:14 good_news_everyon joined #mojo
04:14 good_news_everyon [mojo] jberger deleted url at 9293d3a: http://git.io/BF6NeQ
04:14 good_news_everyon left #mojo
04:19 jberger perl -MojoBox -E 'g("http://mojolicio.us")->dom->find("a")->each(sub{$_->{href}->url->host->b->say})'
04:35 hshong joined #mojo
04:35 bpmedley_ joined #mojo
04:36 punter joined #mojo
04:37 nicomen jberger++
04:37 jberger I think that will be worthy of a blog post, but not yet, that was quite a sprint
04:38 nicomen ack-grep invovant
04:38 nicomen plus a pod error in Mojo::Autobox::Array
04:39 nicomen all of them heh
04:40 jberger hmmmm
04:41 nicomen it's been 24th for 122 hours here in bangkok, an 6 hours in europe. is it following some weird US timezone or what? http://perladvent.org/2014/
04:41 nicomen 1222=12
04:43 jberger nicomen: what are you doing in bangkok
04:43 jberger ?
04:44 jberger btw pod issues fixed on github
04:46 Grinnz jberger, nice
04:47 Grinnz {}->json, is just cool :P
04:48 Grinnz is this a typo? "Returns an instance of Mojo::Autobox, constructed from the invocant string." ->byte_stream
04:50 jberger bah, and i just pushed a release with nicomen fixes
04:50 Grinnz haha
04:51 jberger ok, fixed in git
04:51 jberger maybe people will suggest other autoboxings to make it worth another release?
04:52 jberger to fix that one pod problem
04:52 Grinnz hmm
04:53 jberger Grinnz: this was so easy using autobox
04:53 jberger I had no idea!
04:53 Grinnz Mojo::Date
04:53 purl rumour has it Mojo::Date is specifically not a general purpose date/time library
04:53 Grinnz lol
04:55 jberger ahhh, an interesting idea
04:56 Grinnz you could also throw in some functions from Mojo::Util, dunno how crazy you want to go :P
04:57 jberger many of those are available via byte_stream
04:58 woz joined #mojo
05:03 Grinnz true
05:04 inokenty-w joined #mojo
05:12 damaya joined #mojo
05:13 damaya Marcus, any particular reason you don't support Twitter in Mojolicious::Plugin::OAuth?
05:18 nicomen jberger: work, been here for two months almost
05:19 jberger nicomen: oh wow
05:19 jberger how long will you be there?
05:23 nicomen planned till january 8th
05:33 jberger so almost done then
05:34 jberger have you enjoyed it?
05:51 rem_lex|pivo joined #mojo
06:11 nicomen yes, it's nice. Lost in translation-ish, but ok
06:36 Eke- joined #mojo
06:47 woz joined #mojo
07:16 damaya nicomen, are you in Japan?!
07:25 denis_boyun joined #mojo
07:26 Eddy joined #mojo
07:53 amon joined #mojo
07:54 dod joined #mojo
07:58 nicomen damaya: thailand
07:58 purl thailand is, like, .TH
08:23 Vandal joined #mojo
08:25 basiliscos joined #mojo
08:36 woz joined #mojo
08:43 sugar joined #mojo
08:54 sugar_ joined #mojo
09:33 damaya What is the difference between next and next_sibling? From the documentation they sound exactly the same, yet I get different results using next->text vs. next_sibling->text;
09:40 nicomen doesn't it say next node or next element?
09:51 damaya Ah, subtle
09:51 damaya next sibling element vs next sibling node
10:17 woz joined #mojo
10:30 dotan joined #mojo
10:30 sugar_ joined #mojo
10:36 woz joined #mojo
10:48 neyasov_ joined #mojo
10:55 Nemix__ joined #mojo
11:17 Eke- joined #mojo
11:23 dod joined #mojo
11:36 ver joined #mojo
11:41 aleksey joined #mojo
12:13 dabudabu joined #mojo
13:03 Eke|| joined #mojo
13:13 asarch joined #mojo
13:27 KCL joined #mojo
13:29 sugar__ joined #mojo
13:45 Andreas joined #mojo
13:54 basiliscos joined #mojo
14:38 denny joined #mojo
15:02 rem_lex joined #mojo
15:04 fhelmberger joined #mojo
15:09 rem_lex|pivo joined #mojo
15:36 basiliscos joined #mojo
16:04 sugar joined #mojo
16:08 sh4 joined #mojo
16:25 sugar_ joined #mojo
16:40 jberger purl: forget thailand
16:40 purl jberger: I forgot thailand
16:40 jberger Merry Christmas  and happy holidays everyone
16:40 jberger !
16:41 jberger or just enjoy a day our two off of work :p
16:42 jberger or if you don't even get that, then, kinda sucks to be you
17:13 irq joined #mojo
17:13 neyasov_ joined #mojo
17:18 fhelmberger joined #mojo
17:31 neyasov_ joined #mojo
17:34 aleksey joined #mojo
17:52 marty joined #mojo
18:35 alnewkirk joined #mojo
19:03 denis_boyun joined #mojo
19:12 basiliscos joined #mojo
19:36 woz joined #mojo
20:47 woz joined #mojo
21:00 Grinnz https://github.com/kraih/mojo/pull/724 my attempt at clarifying the delay docs :)
21:02 Grinnz oh, i added a header in the cookbook as well, i can remove or change that... i think there should be one there though
21:11 asarch joined #mojo
21:20 Eke- joined #mojo
21:30 amon joined #mojo
21:35 jamesw joined #mojo
21:55 irq joined #mojo
22:12 denis_boyun joined #mojo
22:27 punter joined #mojo
22:36 woz joined #mojo
23:26 dotan1 joined #mojo
23:52 good_news_everyon joined #mojo
23:52 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/driB-A
23:52 good_news_everyon mojo/master c9bf5dd Sebastian Riedel: better description for begin method
23:52 good_news_everyon left #mojo

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