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

IRC log for #mojo, 2014-09-09

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

All times shown according to UTC.

Time Nick Message
00:13 d4rkie joined #mojo
00:13 berov strange .. any idea why this fails? - '' instead of 'Page not found... yet!'  https://travis-ci.org/kberov/Ado/builds/34763956
00:13 berov i thik it is nt my fault
00:14 berov because loccally it works
00:14 berov shows the inline template
00:15 berov anybody faced this on Travis?
00:30 cpan_mojo Ado 0.63 by Krasimir Berov - http://metacpan.org/release/BEROV/Ado-0.63 (depends on Mojolicious::Plugin::DSC)
00:30 d4rkie joined #mojo
00:40 GabrielVieira joined #mojo
01:08 klapperl_ joined #mojo
02:26 ua joined #mojo
02:29 ua joined #mojo
02:55 noganex joined #mojo
02:57 Eke- joined #mojo
03:03 d4rkie_ joined #mojo
03:08 basic6_ joined #mojo
03:45 woz joined #mojo
04:11 kablamo joined #mojo
04:16 cpan_mojo Mojolicious-Plugin-Sentry 0.11 by LIKHATSKI - http://metacpan.org/release/LIKHATSKI/Mojolicious-Plugin-Sentry-0.11
04:17 woz joined #mojo
04:36 dj_goku joined #mojo
04:38 augensalat joined #mojo
04:40 stephan48 joined #mojo
04:43 sweet_kid joined #mojo
04:52 forke joined #mojo
04:53 go|dfish joined #mojo
04:53 nnac joined #mojo
04:59 woz joined #mojo
05:01 dabudabu_ joined #mojo
05:01 HtbaaPi joined #mojo
05:08 michael joined #mojo
05:09 nnac joined #mojo
05:11 andrefs joined #mojo
05:16 GabrielVieira joined #mojo
05:18 rblackwe joined #mojo
05:20 batman sri: not sure if I think it's a good idea to fetch the row data blocking.
05:21 batman Or: I don't understand how it's a good idea
05:22 batman I suppose fetchall_arrayref() coild block the application.
05:23 Averna joined #mojo
05:45 Eke- joined #mojo
05:47 mr-foobar joined #mojo
05:50 sujithm joined #mojo
05:52 sujithm_ joined #mojo
05:52 dod joined #mojo
05:59 dp_ joined #mojo
06:04 denis_boyun joined #mojo
06:10 woz joined #mojo
06:27 jamesaxl joined #mojo
06:42 KCL_ joined #mojo
06:48 cpan_mojo Mojolicious-Plugin-CBOR 0.03 by DSHADOW - http://metacpan.org/release/DSHADOW/Mojolicious-Plugin-CBOR-0.03
06:51 rawler joined #mojo
07:01 dod joined #mojo
07:15 woz joined #mojo
07:16 trone joined #mojo
07:18 Vandal joined #mojo
07:20 basiliscos joined #mojo
07:44 Lee joined #mojo
08:12 irq joined #mojo
08:20 woz joined #mojo
08:31 r0b3rt joined #mojo
09:01 dod joined #mojo
09:04 al joined #mojo
09:06 sujithm joined #mojo
09:07 basiliscos joined #mojo
09:11 dod joined #mojo
09:17 woz joined #mojo
09:26 edestler joined #mojo
09:36 tempire joined #mojo
09:43 sujithm joined #mojo
09:44 dod joined #mojo
10:10 ver joined #mojo
10:14 dod joined #mojo
10:17 denis_boyun joined #mojo
10:18 dod joined #mojo
10:34 Kripton joined #mojo
10:36 Insane joined #mojo
10:38 Insane hi all, I need your advice... so I have a page, generated with Mojo, with <img src...> tags. The problem is that images stored into SQL DB as globes (strings like 0x504B0304140000... Looks like it's a binary code for image), I know how to get tmage source code from DB, but how could I tell Mojo to display it as a message?
10:44 Snelius Insane: u schould set content type like image/jpeg
10:45 Insane i understand this, but how it could be? just render binary code as render(text => ...) with content-type headers?
10:48 Snelius Insane: yep, like this i think http://mojolicio.us/perldoc/Mojolicious/Guides/Rendering#Content-type
10:50 Insane huh... it shows me a broken image... I'm missing something
11:03 cpan_mojo Dist-Zilla-Plugin-InsertExample-FromMojoTemplates 0.01.01 by CSSON - http://metacpan.org/release/CSSON/Dist-Zilla-Plugin-InsertExample-FromMojoTemplates-0.01.01
11:04 firnsy Insane:  you'll need to set the content and the headers appropriately, take a look at thow batman does it for text files in his tiny pastebin example https://github.com/jhthorsen/app-mojopaste/blob/master/script/mojopaste#L45-L47
11:21 Nei joined #mojo
11:22 Nei hi, how can I catch errors in handlers, like $c->on(json => sub { die })
11:22 Nei (I see  [error] Event "read" failed on the console)
11:38 mattastrophe joined #mojo
11:38 firnsy Nei: $c->on(error => sub{})
11:39 firnsy ... the controller on() method subscribes to events of tx which is ultimately based on an EventEmitter object ... http://mojolicio.us/perldoc/Mojo/EventEmitter#error
11:40 Nei that's sort of what I guessed but doesn't seem to work
11:40 Nei http://paste.scsys.co.uk/422288
11:46 jberger Insane: http://mojolicio.us/perldoc/Mojolicious/Guides/Rendering#Rendering-data
11:47 jberger http://mojolicio.us/perldoc/Mojolicious/Guides/Rendering#Content-type
11:47 Nei (very simple code, but the error handler is never triggerd)
11:50 jberger Nei: what is the full error message?
11:51 Nei jberger, hi,  [error] Event "read" failed: XXXXerror at ./myapp.pl line 13
12:02 jberger Nei: i have no idea if this will work, but try subscribing to the error event from inside the upgrade event
12:03 jberger I wonder if you are subscribing to the http transaction's error event accidentally
12:07 Nei can't seem to get it working
12:08 sujithm joined #mojo
12:09 Nei but thanks for your idea anyway
12:11 denny joined #mojo
12:19 denis_boyun_ joined #mojo
12:23 jberger Nei: i gave it a quick try too, with the same result
12:24 jberger But unfortunately i have to head off to work
12:24 Nei enjoy work
12:24 * jberger sighs
12:24 Nei ;))
12:31 neilhwatson joined #mojo
12:52 Akron joined #mojo
13:14 lipizzan joined #mojo
13:27 GabrielVieira joined #mojo
13:32 Dandre Hello,
13:33 Dandre How can I use PODRenderer to render pod outside the @INC path. This is to build some documentation server  for my modules
13:34 Nei I have no clue on the matter but couldn't you simply add your path to INC
13:49 Averna left #mojo
13:57 sh4 joined #mojo
14:01 trone joined #mojo
14:04 laouji joined #mojo
14:20 woz joined #mojo
14:41 mr-foobar joined #mojo
14:41 Dandre no because those path hold module for another plateform
14:41 sri http://mojolicio.us/perldoc/Mojolicious/Plugin/PODRenderer#pod_to_html
14:41 Nei copy PODRenderer.pm and make your own custom version then?
14:44 Dandre ok I will try
14:52 woz joined #mojo
15:15 mattastrophe joined #mojo
15:17 disputin joined #mojo
15:31 woz joined #mojo
15:51 lipizzan joined #mojo
15:54 woz joined #mojo
15:57 dexteruk joined #mojo
15:57 phillipadsmith Curious about this line in the Mango documentation: $collection->remove($oid);
15:58 dotandimet joined #mojo
15:58 phillipadsmith Reading that, i immediately thought I could just pass in the object id, but that didn't work as expected. However passing in { _id => $oid }  did work.
16:10 sri you were prolly not passing in a real object id
16:14 d4rkie joined #mojo
16:35 basiliscos joined #mojo
16:38 hesperaux_ joined #mojo
16:43 tempire LIVESTREAM!
16:44 tempire prepare the fanboyism, and the trash talk
16:46 doby haha
16:48 phillipadsmith sri: could be true, yes.
16:54 rwp joined #mojo
16:58 Kripton_ joined #mojo
17:02 tempire I'm going to call it: a flying car controlled by a watch
17:03 tempire http://i2.cdn.turner.com/cnn/dam/assets/140401173456-terrafugia-tf-x-plane-story-top.jpg
17:03 tempire no, http://mcbeardo.com/wp-content/uploads/2009/12/jetson.jpg
17:03 tempire definitely
17:07 sri apple needs to get past its aluminium phase... that new moto x with bamboo back looks so awesome
17:12 Lee_ joined #mojo
17:13 sri apple just can't do web services...
17:13 sri what a complete failure
17:14 btyler is the chinese translation being broadcast for you guys too? everyone at $work hears loud chinese translations, nearly drowning out the speaker
17:14 btyler (we're not in china)
17:14 mikegrb yeah
17:14 sri first chinese, now dead stream
17:15 jamesaxl joined #mojo
17:15 mikegrb I think the audio keeps dropping because they are trying to fix the translations problem
17:17 sri dead again... argh!
17:18 doby was thinking i might be the only one because im streaming over work VPN
17:30 sri what an ugly phone
17:31 sri clearly jony ive has been working on something else ;p
17:36 tempire "improved burst selfie mode"
17:36 tempire FINALLY
17:39 Eke- joined #mojo
17:41 bjoernfan But does it have grumpify built in?
17:43 irq joined #mojo
17:44 bjoernfan Got a bit curious but http://www.apple.com/live/ is only giving me a counter set to 0.
17:46 bjoernfan http://www.apple.com/live/2014-sept-event/ got it
17:52 genio I want new MBP stuff, I don't really care about the phone stuff since I still have a year on my contract.  come on, Apple
17:54 lipizzan joined #mojo
17:55 risugg joined #mojo
17:55 disputin joined #mojo
17:59 berov joined #mojo
18:03 sri unapologetically square :o
18:03 disputin joined #mojo
18:15 r0b3rt joined #mojo
18:20 sri do not want
18:29 genio do people actually use these watch thingies?
18:32 jamesaxl joined #mojo
18:35 disputin joined #mojo
18:42 sri wow, at that price it's sooo going to fail
18:42 disputin joined #mojo
18:42 KCL joined #mojo
18:43 genio That's one expensive, ugly watch
18:43 dod joined #mojo
18:44 woz joined #mojo
18:54 sri worst livestream ever!
18:54 * sri burns his macbook
19:04 stephan48 have fun
19:04 stephan48 are they atleast good at that?
19:11 sri https://twitter.com/lexfri/status/509414525184266241
19:16 sri hat should be the beginning of the end for apple
19:17 sri just compare http://cdn0.vox-cdn.com/entry_photo_images/10676738/iphone6plus006_verge_super_wide.jpg vs http://cdn1.vox-cdn.com/thumbor/HRCCRlp4iP6jL1x4rjyqzTs7uI4=/850x0/filters:no_upscale()/cdn3.vox-cdn.com/uploads/chorus_asset/file/688802/motox20146_1020.0.jpg
19:18 stephan48 mh.
19:18 sri they lost their edge
19:19 stephan48 both have their downsides i think but the motox looks better
19:19 stephan48 a thing which always bothers me is centered camera lenses but what annoys me even more is if they are not flat with the case
19:20 neilhwatson Watch reminds me of the ugly calculator watch of the '80s.
19:21 stephan48 did apply really fail that hard this year? thats great
19:21 stephan48 apple*
19:22 woz joined #mojo
19:35 sri case in point, apple event and marcus has not said a word
19:53 stephan48 oops
20:05 abhishekisnot joined #mojo
20:09 neilhwatson joined #mojo
20:10 preaction joined #mojo
20:17 basiliscos joined #mojo
20:25 basiliscos joined #mojo
20:25 woz joined #mojo
20:27 bobkare joined #mojo
20:28 kmx joined #mojo
20:28 good_news_everyon joined #mojo
20:28 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/MwQg6A
20:28 good_news_everyon mojo/master 4012f23 Sebastian Riedel: no need for a block
20:28 good_news_everyon left #mojo
20:35 cpan_mojo Clustericious-Config 0.29 by PLICEASE - http://metacpan.org/release/PLICEASE/Clustericious-Config-0.29 (depends on Mojolicious)
20:35 basiliscos joined #mojo
20:56 basiliscos joined #mojo
21:30 cpan_mojo MojoX-CustomTemplateFileParser 0.08 by CSSON - http://metacpan.org/release/CSSON/MojoX-CustomTemplateFileParser-0.08
21:40 woz joined #mojo
21:51 disputin joined #mojo
21:52 disputin joined #mojo
22:23 bodgix joined #mojo
22:27 bobkare joined #mojo
22:41 woz joined #mojo
22:50 Adura joined #mojo
23:08 disputin joined #mojo
23:43 woz joined #mojo
23:58 r0b3rt joined #mojo

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