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

IRC log for #mojo, 2015-10-12

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

All times shown according to UTC.

Time Nick Message
00:50 genio jberger: I have been rendered sufficiently jealous.  You're an evil, evil man.
01:09 lluad joined #mojo
01:36 Adura joined #mojo
01:39 PopeF joined #mojo
01:39 lluad joined #mojo
01:39 d4rkie joined #mojo
01:39 abra_ joined #mojo
01:39 jnbek joined #mojo
01:39 romel joined #mojo
01:39 Lucas1 joined #mojo
01:39 SmokeMachine joined #mojo
01:39 gaunt joined #mojo
01:39 mattastrophe1 joined #mojo
01:39 KindOne joined #mojo
01:39 tianon joined #mojo
01:39 noganex joined #mojo
01:39 PopeFelix joined #mojo
01:39 oalders joined #mojo
01:39 bwf joined #mojo
01:39 zeke joined #mojo
01:39 thowe joined #mojo
01:39 sivoais joined #mojo
01:39 HtbaaPi_ joined #mojo
01:39 elik joined #mojo
01:39 jberger joined #mojo
01:39 bc547_ joined #mojo
01:39 stokachu joined #mojo
01:39 robinsmidsrod joined #mojo
01:39 kwa joined #mojo
01:39 hahainternet joined #mojo
01:39 ssm joined #mojo
01:39 bobkare joined #mojo
01:39 coolo joined #mojo
01:39 Ralesk joined #mojo
01:39 Foxcool joined #mojo
01:39 kmx joined #mojo
01:39 batman joined #mojo
01:39 buu joined #mojo
01:39 dabudabu joined #mojo
01:39 cfedde joined #mojo
01:39 sri joined #mojo
01:39 bpmedley joined #mojo
01:39 bayashi_ joined #mojo
01:39 mgrimes joined #mojo
01:39 jwang joined #mojo
01:39 tyldum joined #mojo
01:39 da5id joined #mojo
01:39 cosimo joined #mojo
01:39 y1mmm joined #mojo
01:39 howitdo joined #mojo
01:39 lsm joined #mojo
01:39 bowtie joined #mojo
01:39 caeles joined #mojo
01:39 bzero joined #mojo
01:39 allison joined #mojo
01:39 skaji joined #mojo
01:39 worklapperl joined #mojo
01:39 firnsy joined #mojo
01:39 esh joined #mojo
01:39 al_ joined #mojo
01:39 lestrrat joined #mojo
01:39 dysfun joined #mojo
01:39 crab joined #mojo
01:39 renormalist joined #mojo
01:39 gabiruh joined #mojo
01:39 dustinm joined #mojo
01:39 cstamas joined #mojo
01:39 stephan48 joined #mojo
01:39 Mikey joined #mojo
01:39 Snelius joined #mojo
01:39 mudler joined #mojo
01:39 ashleydev joined #mojo
01:39 abracadaniel^ joined #mojo
01:39 janus` joined #mojo
01:39 Phil22 joined #mojo
01:39 Gedge joined #mojo
01:39 mattp joined #mojo
01:39 garu_ joined #mojo
01:39 theo joined #mojo
01:39 lupi joined #mojo
01:39 nic joined #mojo
01:39 BinGOs joined #mojo
01:39 ribasushi joined #mojo
01:39 mtj joined #mojo
01:39 jantore joined #mojo
01:39 hernan604 joined #mojo
01:39 mishanti1 joined #mojo
01:39 phillipadsmith joined #mojo
01:39 charsbar joined #mojo
01:39 bjakubski joined #mojo
01:39 omega joined #mojo
01:39 eduardow joined #mojo
01:40 Lucas1 joined #mojo
01:40 SmokeMachine joined #mojo
01:40 gaunt joined #mojo
01:40 mattastrophe1 joined #mojo
01:40 tianon joined #mojo
01:40 PopeFelix joined #mojo
01:40 sivoais joined #mojo
01:40 jberger joined #mojo
01:40 y1mmm joined #mojo
01:40 cosimo joined #mojo
01:40 da5id joined #mojo
01:40 tyldum joined #mojo
01:40 jwang joined #mojo
01:40 mgrimes joined #mojo
01:40 bayashi_ joined #mojo
01:40 bpmedley joined #mojo
01:40 sri joined #mojo
01:40 cfedde joined #mojo
01:40 dabudabu joined #mojo
01:40 buu joined #mojo
01:40 batman joined #mojo
01:40 kmx joined #mojo
01:40 Foxcool joined #mojo
01:40 Ralesk joined #mojo
01:40 coolo joined #mojo
01:40 bobkare joined #mojo
01:40 ssm joined #mojo
01:40 hahainternet joined #mojo
01:40 kwa joined #mojo
01:40 robinsmidsrod joined #mojo
01:42 jwang joined #mojo
01:45 inokenty-w joined #mojo
01:47 Bender joined #mojo
02:02 jberger genio: my pleasure
02:03 aborazmeh joined #mojo
02:21 noganex_ joined #mojo
02:26 zivester joined #mojo
03:03 Adura joined #mojo
03:07 KCL joined #mojo
03:45 asarch joined #mojo
05:03 spicyjack joined #mojo
06:19 McA joined #mojo
06:21 Dandre left #mojo
06:23 dod joined #mojo
06:27 dod joined #mojo
07:01 kivilahtio joined #mojo
07:05 abra joined #mojo
07:09 Dandre joined #mojo
07:10 aborazmeh joined #mojo
07:14 henq joined #mojo
07:18 eseyman joined #mojo
07:19 AndrewIsh joined #mojo
07:53 sugar joined #mojo
07:54 odc joined #mojo
08:11 berov joined #mojo
08:11 meshl joined #mojo
08:16 trone joined #mojo
08:25 Vandal joined #mojo
08:25 vytas joined #mojo
09:09 jontaylor joined #mojo
09:24 panshin joined #mojo
09:27 vytas` joined #mojo
09:27 vytas joined #mojo
09:32 gaunt_ joined #mojo
09:46 Lee joined #mojo
09:47 jontaylor joined #mojo
09:57 panshin joined #mojo
10:10 vanHoesel joined #mojo
10:30 vanHoesel joined #mojo
10:52 bpmedley joined #mojo
11:45 meshl joined #mojo
12:04 d4rkie joined #mojo
12:05 Nemix joined #mojo
12:06 D4RK-PH0ENiX joined #mojo
12:07 good_news_everyon joined #mojo
12:07 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vC8Vm
12:07 good_news_everyon mojo/master 0cc79c4 Sebastian Riedel: make CSRF tokens much harder to guess
12:07 good_news_everyon left #mojo
12:35 good_news_everyon joined #mojo
12:35 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vC8i0
12:35 good_news_everyon mojo/master 5906ddc Sebastian Riedel: perform a constant time comparison
12:35 good_news_everyon left #mojo
12:42 asarch joined #mojo
12:53 panshin joined #mojo
12:56 juikuen joined #mojo
13:23 d4rkie joined #mojo
13:25 vanHoesel1 joined #mojo
13:27 rubin joined #mojo
13:28 rubin hello
13:29 rubin Please help. How to add custom renderer?
13:30 rubin I add to startup:
13:30 rubin use XML::LibXML;
13:30 rubin $self->renderer->add_handler(libxml =>
13:30 rubin sub { die 1; ${$_[2]} = $_[3]{libxml}->toString( 2 ) }
13:30 rubin );
13:30 marcusr rubin: don't paste in the channel, please. Use a nopaste service
13:30 rubin And render:
13:30 rubin return $self->render(libxml => $dom);
13:31 rubin And get "Not found"
13:37 rubin left #mojo
13:38 Adurah joined #mojo
13:42 ajr_ joined #mojo
13:50 marty joined #mojo
13:51 punter joined #mojo
13:54 mattastrophe joined #mojo
14:01 good_news_everyon joined #mojo
14:01 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vC4fp
14:01 good_news_everyon mojo/master e8f9a0e Sebastian Riedel: constant time comparsion does not actually add any value
14:01 good_news_everyon left #mojo
14:01 sri the token is stored in the session, which is user visible, so no need to guess
14:02 mgrimes joined #mojo
14:02 sri or am i missing something?
14:05 jberger rubin: you have to set the handler stash value to use it
14:05 sri he left
14:05 jberger IIRC
14:05 jberger Oh
14:05 jberger For the log then
14:06 rubin joined #mojo
14:08 doby joined #mojo
14:19 lluad joined #mojo
14:21 good_news_everyon joined #mojo
14:21 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vC4tn
14:21 good_news_everyon mojo/master 23c5ca6 Sebastian Riedel: mention how to make stash values special
14:21 good_news_everyon left #mojo
14:22 sri i guess that part was missing from the guide
14:41 cpan_mojo Mojo-UserAgent-Mockable-1.01 by POPEFELIX https://metacpan.org/release/POPEFELIX/Mojo-UserAgent-Mockable-1.01
14:47 henq joined #mojo
14:51 panshin joined #mojo
14:56 henq joined #mojo
15:07 KCL_ joined #mojo
15:10 henq joined #mojo
15:25 vanHoesel joined #mojo
15:33 PryMar56 joined #mojo
15:54 panshin joined #mojo
15:57 disputin joined #mojo
16:06 sugar joined #mojo
16:10 PopeFelix joined #mojo
16:14 PopeF joined #mojo
16:34 ZoffixW joined #mojo
16:38 Kogurr joined #mojo
16:39 jontaylor joined #mojo
16:40 good_news_everyon joined #mojo
16:40 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vCBep
16:40 good_news_everyon mojo/master 9b4d8ce Sebastian Riedel: compare render calls too
16:40 good_news_everyon left #mojo
16:46 sugar joined #mojo
16:46 sri muhahahahahaha https://medium.com/@c2c/nodejs-a-quick-optimization-advice-7353b820c92e
16:50 romel lol
16:55 Grinnz_ haha
16:56 KCL_ joined #mojo
16:57 mattastrophe joined #mojo
17:03 sh4 joined #mojo
17:07 batman morbo reloads when i open a file in vim on my mac... i wonder if that's a mac thing or some weird setting in vim
17:07 batman *in my vim config
17:12 sri morbo -v
17:17 romel i think it's because of .filename.swp or something like that being created once you have opened a file with vim
17:21 batman morbo says it's the directory that has changed
17:22 Grinnz_ that could be creating a new file
17:22 romel yep
17:22 batman File "assets/js" changed, restarting.
17:22 batman hm... anyway to avoid that?
17:23 romel maybe there's some vimrc directive which overrides default .swp location
17:24 batman how about making morbo _not_ watch directories?
17:25 romel but it should reload when i create new .pm files in my source tree for example
17:25 romel maybe it should not reload when the filename begins with dot? :)
17:25 batman romel: good point.
17:27 * batman goes crazy: :set noswapfile ;)
17:27 batman thanks for the help
17:31 Grinnz_ batman: i wouldnt want morbo to miss when i add new template or controller files
17:31 batman indeed
17:42 jontaylor i use morbo reloading for evil things
17:42 sri evil things are not supported
17:43 jontaylor I regenerate my JS files from JSX in the startup method :p
17:43 jontaylor absolute filfth
17:43 sri calm down there satan ;p
17:44 jontaylor :)
17:55 jontaylor I could do with some opinions on if something i’m working on makes sense or not, anyone willing to take a quick look at the interface on a mojo app i’ve got going?
17:57 romel is it based on reactjs ?
17:57 panshin joined #mojo
17:58 jontaylor yes actually heh
17:59 * romel raises a hand
17:59 jontaylor let me send you a PM as I need to send a password
17:59 romel sure
18:04 batman jontaylor: what about AssetPack?
18:05 jontaylor batman: I will most likely implement assetpack when I get a bit further along
18:06 jontaylor at the moment I just whacked this in startup to save time
18:06 human39 joined #mojo
18:06 jontaylor `babel public/js/react --out-dir public/js/react`
18:06 batman jontaylor: not sure how good jsx support there is in AssetPack now... feedback wanted :)
18:06 batman haven't used react for quite some time...
18:07 trone joined #mojo
18:08 jontaylor I would rather not use it myself, but its effective for my use case
18:09 jontaylor I might as well paste the link for everyone and see what people think
18:09 jontaylor https://perlguard.com login with mojo/mojo
18:10 jontaylor just a proof of concept at the moment for a newrelic style service but for perl apps
18:10 jontaylor if people think it wouldn’t be useful I can then drop the idea and work on something else
18:10 jontaylor lean startup style
18:13 jontaylor some things that aren’t clear in the prototype is you can left and right click on the points in the chart to zoom in and out
18:14 lluad Nice looking thing, jontaylor. I don't think I'm in the target audience, but I can see there being some interest in it.
18:15 batman yeah, i like how it looks as well :)
18:15 jontaylor joined #mojo
18:15 jontaylor what a great time for my internet to drop out heh
18:15 batman :P
18:15 batman jontaylor: http://irclog.mojolicio.us
18:15 jontaylor thanks lluad and batman
18:15 jontaylor yep I had that open on my phone while I was waiting :)
18:16 batman jontaylor: all the numbers are zero so i don't get too exited though
18:16 lluad Pick a wider time period, then you see graphs and things.
18:16 jontaylor oh right, it probably has a rubbish default on there
18:16 jontaylor yep, just select something like last week or something, in the top right
18:17 sri can confirm, looks nice
18:17 jontaylor then you can click the points on the graph to zoom it in
18:17 batman very cool :)
18:18 jontaylor pages like this one
18:18 jontaylor https://perlguard.com/application/2/profile/45730575?report_period_starting=2015-10-12T17%3A03%3A15.000Z&report_period_ending=2015-10-12T17%3A06%3A45.000Z&report_period_label=Custom
18:18 jontaylor show you the detail of an individual request
18:18 jontaylor and because I have two apps in it
18:18 sri there are units missing though "time spent in database: 4"
18:19 jontaylor you can click View Trace, and jump from one app, to the app it called
18:19 Grinnz 4 durations
18:19 jontaylor heh
18:19 jontaylor needs ms on that one
18:22 jontaylor right, i’ll turn it off in a sec, as it looks like everyones done having a play :)
18:22 jontaylor thanks for looking guys
18:26 melo joined #mojo
18:33 jontaylor its hard to know from this point if its worth persuing this idea
18:43 henq joined #mojo
18:45 dod joined #mojo
18:46 sri when is it ever easy?
18:53 jontaylor ideologically i’d want to open source it, but the strategies for making money from opensource are mostly crap compared with contracting
18:55 sri yea
18:56 sugar joined #mojo
19:27 henq joined #mojo
19:29 bpmedley jontaylor: Looks cool.
19:31 bpmedley jontaylor: My current philosophy is to just build something.  Build as much as I can until something works.  Must fail faster.. :P
19:49 preaction indeed. get something out there and working, solve a problem, then iterate as necessary, and don't be afraid to refactor/rewrite
19:59 jontaylor aye we’ve all just gotta keep shipping!
19:59 panshin joined #mojo
20:04 henq joined #mojo
20:44 cpan_mojo API-Stripe-0.07 by AWNCORP https://metacpan.org/release/AWNCORP/API-Stripe-0.07
21:03 borkur joined #mojo
21:14 borkur joined #mojo
21:54 user_363 joined #mojo
22:01 panshin joined #mojo
22:02 Kogurr joined #mojo
22:04 d4rkie joined #mojo
22:05 SmokeMachine joined #mojo
22:13 ashimema joined #mojo
22:16 d4rkie joined #mojo
22:19 Lucas1 joined #mojo
22:25 jberger sri: I really like that addition to the rendering guide
22:25 jberger sri++
22:28 MartinR joined #mojo
22:28 MartinR Hello ;)
22:31 jberger 🎶 leaving on a ✈🎶
23:05 d4rkie joined #mojo
23:18 d4rkie joined #mojo
23:27 meshl joined #mojo

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