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

IRC log for #mojo, 2014-02-19

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

All times shown according to UTC.

Time Nick Message
00:06 asarch joined #mojo
00:06 russum joined #mojo
00:20 jack joined #mojo
00:21 stl joined #mojo
00:26 good_news_everyone joined #mojo
00:26 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/tqMnRw
00:26 good_news_everyone mojo/master 57695bc Sebastian Riedel: added data attribute to Mojo::JSON::Pointer
00:26 good_news_everyone left #mojo
00:41 basiliscos joined #mojo
00:48 laouji joined #mojo
00:53 good_news_everyone joined #mojo
00:53 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/UdJJAw
00:53 good_news_everyone mojo/master 818d5a7 Sebastian Riedel: another small optimization
00:53 good_news_everyone left #mojo
00:54 DaniBunny joined #mojo
01:04 laouji joined #mojo
01:09 d4rkie joined #mojo
01:21 dvinciguerra joined #mojo
01:23 skullbocks joined #mojo
01:33 jb360 joined #mojo
02:02 Stefan joined #mojo
02:08 klapperl joined #mojo
02:13 thowe joined #mojo
02:13 thowe Hi!
02:29 zM joined #mojo
02:35 skullbocks joined #mojo
02:58 bpmedley thowe: Morning
03:03 thowe evening for me, but Good morning to you!
03:05 thowe I need to find other folks whoe do Mojo, or at least Perl in Central Oregon...
03:05 thowe It's a big Rails town, as far as I can tell.
03:08 good_news_everyone joined #mojo
03:08 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/tIQ9ow
03:08 good_news_everyone mojo/master 9e8228e Sebastian Riedel: mention that files are cached
03:08 good_news_everyone left #mojo
03:09 bpmedley thowe: Do you have a Perl Mongers group there?
03:10 jnbek joined #mojo
03:11 thowe No.  There's one in Portland.  I'm more casual than they are.  They seem to be heavy hitters.  Randal Schwartz is there.  I don't know that much.
03:11 phillipadsmith joined #mojo
03:11 thowe I will probably be a perpetual noob.  I only get to spend time learning maybe a couple hours a week.
03:11 bpmedley thowe: Sounds like you're on your way to Perl enlightenment.. :)
03:11 thowe Started almost two years ago, and have made a few things, but now looking at Mojo is teaching me new things.
03:12 bpmedley Mojo is amazing, I've learned a lot - especially non-blocking
03:13 thowe I was looking at some examples with callbacks yesterday.  I knew what it was, but it's new to me.  I have the Camel book, so I looked it up.  Interesting.  Perl is powerful.
03:14 bpmedley Do you have any code on github or some other site?
03:14 thowe I learn new things every time I try to learn something new.  I went through a Ruby phase, but Catalyst and Mojo have tought me some more professional techniques.
03:14 thowe Yeah.
03:15 thowe This is something I wrote for work to manage IPv4 and IPv6 assignments.  https://github.com/thowe/PieNg
03:15 bpmedley Nice
03:15 thowe The special stuff is in here: https://github.com/thowe/PieNg/blob/master/lib/PieDB/FreeSpace.pm
03:16 thowe and here: https://github.com/thowe/PieNg/blob/master/lib/PieDB/Schema/Result/Network.pm
03:16 bpmedley I see; I had not thought about it; however, that would be necessary for an ISP.
03:16 thowe Most just use a spreadsheet, but that's lame.
03:17 thowe I had an older CGI app for v4 only, but it wouldn't scale to v6, so I had to rethink the whole idea.
03:17 thowe This is for managing spam settings using a PostfixAdmin database and an Amavisd-new filter setup:  https://github.com/thowe/AmavisPM
03:18 bpmedley How do you like Catalyst vs Mojo?
03:18 thowe For that app I learned chained dispatch.  But Mojolicious has caught my eye and I want to redo our entire internal billing and customer management system with it.  I have a pretty functional DBIx::Class lib for our database now.
03:19 thowe I can't say I really know Catalyst well, and I'm just reading about Mojo, but it is making me think about things in ways that make me feel like I am getting smarter :)
03:20 bpmedley That's cool.  I may learn Catalyst some day, to get a different perspective.  Unfortunately, I never got to use it professionally.
03:20 thowe I actually got into Perl because Rails wasn't going to work for me...  Especially Activerecord.  DBIx::Class is killer.
03:21 thowe Heh, they have no idea what I used to build that stuff...  The other guys are PHP guys.  It really turns me off, though.
03:21 bpmedley Well that's cool.  Seems you've gotten into Perl at an exciting time.  We have Modern Perl now.
03:21 thowe Then I read a bunch of the Camel 3rd edition and was like "Hey, this is actually nifty."
03:22 thowe I got the 4rth ed now, but I haven't read it yet.
03:22 bpmedley I love perl.  I feel we're heading in the correct direction.  I wish I could do more for perl, currently.
03:22 thowe Yeah, I think I came in at what seems an interesting time.  I've been trying to tell people, but everyone is in their own place...
03:23 bpmedley That's awesome.  We need to educate.
03:23 thowe I wish I could spend more time programming at work...  They keep me busy building the network...
03:23 bpmedley So, you're a network admin?
03:23 thowe I like building tools for it.  I have SNMP stuff I put together too...
03:24 thowe I wear a lot of hats...  Network Architect, systems admin, DevOps...  I also developed our invoice processing and call detail processing...  That's all in Ruby right now, but I wrote it years ago and now it disgusts me.
03:25 bpmedley Cool stuff.  Keep in mind you can use Mojo for command line tools, as well.
03:26 thowe We're building out fiber and Metro Ethernet stuff, so I am buried in that.
03:26 thowe I hadn't really thought of that...  Such as?
03:26 thowe I need to get a handle on perl make stuff for distributing my packages within the company.
03:27 bpmedley The UserAgent can be easilly utilzied in a script.
03:27 bpmedley You can use IOLoop to do async access on files and whatnot.
03:27 thowe Oh, man.  The ua seems like a crazy powerful module.
03:28 tianon so much <3 for Mojo::UserAgent
03:28 bpmedley It is.  Mojo::DOM is very impressive.
03:29 tianon add to that Mojo::DOM and Mojo::JSON and you've got the trifecta of perfect modules for simple script building <3
03:29 bpmedley You might be able to use PAR for packaging, if you don't want to buy PerlApp.
03:29 thowe Yeah, it seems to act like jQuery search stuff
03:30 thowe I often feel like I'm weak on how the web technologies work in a general sense...
03:31 thowe Although, I was able to figure a few things out for PieNG here: https://github.com/thowe/PieNg/blob/master/root/static/scripts/pieng_behavior.js
03:31 thowe That's jQuery stuff...
03:31 bpmedley One day you'll read a RFC and realize you're an expert.. :)
03:31 thowe heh.  I seem to go so long between working on my projects that I forget half of what I learned...
03:32 bpmedley That's pretty common.. :)
03:33 thowe I look at this jQuery now and I'm like "how they hell did I figure that out?"
03:34 thowe I'm going to put a test server together for my Mojo stuff for work soon.  Just reading the docs I think I have figured out where I want to start with a few "helpers"
03:34 bpmedley One thing you can do from a DevOps perspective is run system commands in an async fashion.
03:34 thowe Then I'll start buggin you guys to death to explain things to me...
03:36 thowe Anyway, I'll be back soon.  need to get evening stuff done...
03:40 bpmedley sri: Would it be a good idea to mention the Mount plugin in the deployment section of the cookbook or on the wiki?
03:44 sk joined #mojo
03:49 sri don't expect me to say much in the near future, i'm feeling a bit burned out and will try to avoid discussions
03:51 bpmedley Understood.  Thanks for all the Mojo!
03:51 sri or anything that's not fun for that matter :)
03:52 good_news_everyone joined #mojo
03:52 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/j9LtZw
03:52 good_news_everyone mojo/master 67de86a Sebastian Riedel: fixed typo in routing guide
03:52 good_news_everyone left #mojo
03:56 irq joined #mojo
04:10 good_news_everyone joined #mojo
04:10 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/Asx--w
04:10 good_news_everyone mojo/master dfdb30f Sebastian Riedel: no need to keep list of headers
04:10 good_news_everyone left #mojo
04:10 good_news_everyone joined #mojo
04:10 good_news_everyone [mojo] kraih tagged v4.82 at fa4e4cf: http://git.io/Fmk9dw
04:10 good_news_everyone left #mojo
04:23 skullbocks joined #mojo
04:27 jnbek aww yea
04:27 jnbek I was just about to troll about the lack of releases this week ;-)
04:29 zM joined #mojo
04:33 laouji joined #mojo
04:44 d4rkie joined #mojo
04:46 good_news_everyone joined #mojo
04:46 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/1zTb9Q
04:46 good_news_everyone mojo/master 97511b9 Sebastian Riedel: improved Mojo::JSON to handle encoding errors more gracefully
04:46 good_news_everyone left #mojo
04:54 Stefan joined #mojo
05:19 russum joined #mojo
05:33 KindTwo joined #mojo
05:40 cpan_mojo joined #mojo
05:47 skullbocks joined #mojo
05:59 sujithm joined #mojo
06:17 good_news_everyone joined #mojo
06:17 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/3XRSPg
06:17 good_news_everyone mojo/master 6a05f16 Sebastian Riedel: fixed line numbers in Mojo::JSON error messages
06:17 good_news_everyone left #mojo
06:18 skullbocks joined #mojo
06:19 good_news_everyone joined #mojo
06:19 good_news_everyone [mojo] kraih tagged v4.83 at 1500acd: http://git.io/YKbUUQ
06:19 good_news_everyone left #mojo
06:21 cpan_mojo Mojolicious 4.83 by Sebastian Riedel - http://metacpan.org/release/SRI/Mojolicious-4.83
06:24 Stefan joined #mojo
06:32 jack joined #mojo
06:33 davido_ joined #mojo
06:39 basiliscos joined #mojo
06:42 jwang joined #mojo
07:04 skullbocks joined #mojo
07:05 rem_lex joined #mojo
07:25 basiliscos joined #mojo
07:35 ver joined #mojo
07:35 Vandal joined #mojo
07:40 eugen__ joined #mojo
07:42 allison joined #mojo
08:02 jack joined #mojo
08:02 Phil21_ joined #mojo
08:03 eseyman joined #mojo
08:16 laouji joined #mojo
08:20 Andy2 joined #mojo
08:24 skullbocks joined #mojo
08:25 rawler joined #mojo
08:27 odc joined #mojo
08:39 trone joined #mojo
08:40 skullbocks joined #mojo
09:13 sujithm joined #mojo
09:23 schetchik joined #mojo
09:52 trone_ joined #mojo
09:56 ladnaV joined #mojo
10:00 rem_lex joined #mojo
10:01 maxhq joined #mojo
10:05 Vandal joined #mojo
10:05 skullbocks joined #mojo
10:09 sjn joined #mojo
10:20 gnephiak joined #mojo
10:22 skullbocks joined #mojo
10:25 Stefan joined #mojo
10:34 ladnaV joined #mojo
10:35 Jonneh joined #mojo
10:51 irq joined #mojo
11:12 Vandal joined #mojo
11:15 skullbocks joined #mojo
11:17 dvinciguerra joined #mojo
11:17 punter joined #mojo
11:17 ladnaV joined #mojo
11:22 Vandal joined #mojo
11:24 hesco joined #mojo
11:26 davido_ joined #mojo
11:30 salparadise joined #mojo
11:44 ladnaV joined #mojo
11:47 irq_ joined #mojo
11:48 sujithm joined #mojo
11:49 Vandal joined #mojo
11:53 ladnaV joined #mojo
11:55 DaniBunny joined #mojo
11:58 Vandal joined #mojo
12:00 denisboyun joined #mojo
12:02 ladnaV joined #mojo
12:15 Vandal joined #mojo
12:25 ladnaV joined #mojo
12:30 Vandal joined #mojo
12:32 cpan_mojo Mojo-IOLoop-ReadWriteFork 0.05 by Jan Henning Thorsen - http://metacpan.org/release/JHTHORSEN/Mojo-IOLoop-ReadWriteFork-0.05
12:36 skullbocks joined #mojo
12:45 dotan joined #mojo
12:51 rem_lex|pivo joined #mojo
12:51 fhelmber_ joined #mojo
12:52 fhelmber_ joined #mojo
12:53 dod joined #mojo
12:53 d4rkie joined #mojo
13:03 sujithm_ joined #mojo
13:05 GabrielV_ joined #mojo
13:10 d4rkie joined #mojo
13:12 GabrielVieira joined #mojo
13:24 ryozi joined #mojo
14:14 punter joined #mojo
14:17 GabrielV_ joined #mojo
14:19 asarch joined #mojo
14:20 jberger joined #mojo
14:21 sh4 joined #mojo
14:21 jberger batman: it's working! muahahahahaha!
14:21 jberger Good tip about foreign_key
14:23 jberger Also I'm starting to see why supporting blocking and non-blocking in Mandel gets hard
14:24 jberger Lots of delay objects in use both internally and in application logic
14:24 jberger My little baby has grown up! (Sniffle)
14:25 jberger batman++
14:26 rem_lex| joined #mojo
14:32 jberger_ joined #mojo
14:33 batman jberger: cool!
14:33 batman "little baby has grown"...?
14:42 marty joined #mojo
14:47 btyler joined #mojo
14:54 laouji joined #mojo
14:58 lb joined #mojo
15:03 gryphon joined #mojo
15:05 marty joined #mojo
15:06 marty_ joined #mojo
15:17 Andy2 Hey guys, i have a main layout and templates for each route. What is the best way to show information in the layout based on the calling route? Besides the route template. I'm thinking about button highlights and such things.
15:20 moritz Andy2: you could use content_for (see Mojolicious::Plugin::DefaultHelpers )
15:20 Andy2 thanks, i will have a look
15:21 Andy2 But i'm also think how to hide certain elements when for example the start page is shown
15:25 Stefan joined #mojo
15:27 GabrielVieira joined #mojo
15:38 good_news_everyone joined #mojo
15:38 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/csc04g
15:38 good_news_everyone mojo/master 28534a1 Sebastian Riedel: better Mojo::JSON examples
15:38 good_news_everyone left #mojo
15:38 KindTwo joined #mojo
15:57 GabrielV_ joined #mojo
16:30 drift joined #mojo
16:37 rem_lex|pivo joined #mojo
16:40 marty joined #mojo
16:48 Kovensky joined #mojo
16:48 GabrielVieira joined #mojo
16:50 Kovensky joined #mojo
16:51 stonecolddevin joined #mojo
17:01 punter joined #mojo
17:11 marty joined #mojo
17:15 marty joined #mojo
17:22 gryphon joined #mojo
17:24 irq joined #mojo
17:36 hummeleBop joined #mojo
17:45 denisboyun joined #mojo
17:57 buu Should Mojo::UA automatically encode utf8 characters?
17:57 buu Specifically as part of the request header
18:07 moritz are there any DBIx::Class CRUD helpers for Mojolicious?
18:09 Stefan joined #mojo
18:18 sujithm joined #mojo
18:51 stephan48 did someone already configured caching with nginx for a mojolicious app and has an example config?(maybe with mojo controlling the cache duration)
18:59 bpmedley moritz: https://github.com/tempire/mojoexample  <-- This may help
19:00 dvinciguerra joined #mojo
19:28 good_news_everyone joined #mojo
19:28 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/YxHzhg
19:28 good_news_everyone mojo/master b1eff9e Sebastian Riedel: test all Mojo::JSON decoding errors
19:28 good_news_everyone left #mojo
19:44 sh4|2 joined #mojo
20:29 Stefan joined #mojo
20:30 lukep joined #mojo
20:51 beyondcreed joined #mojo
21:02 TheCrimsonRadish joined #mojo
21:20 TheCrimsonRadish_ joined #mojo
21:21 AirDisa joined #mojo
21:22 TheCrimsonRadish__ joined #mojo
21:32 cfedde Is there a more or less conveniant way to use https for mojo apps?  Is the proxy from a webserver the best approach?
21:33 genio I have nginx terminate the SSL and then proxy to non-ssl mojo app
21:34 cfedde cool.
21:35 genio I'm not certain if that's the best (tm) way, though.
21:35 cfedde "best" seems to be subjective.
21:35 cfedde once you have a repeatable technique automation sets in and you never have to think about it again,
22:03 davido_ Holy Mojo::JSON... good job sri.
22:04 Stefan joined #mojo
22:05 rem_lex joined #mojo
22:06 rem_lex|pivo joined #mojo
22:20 bpmedley cfedde: Do you have several mojo apps or just one?
22:20 rem_lex joined #mojo
22:31 rem_lex joined #mojo
22:33 AirDisa joined #mojo
22:43 Andy2 Is there any way to use ptkdb with mojolicious?
22:48 bpmedley I use the command line debugger a lot.  I set a breakpoint with $DB::single and then run the app.
22:54 dvinciguerra joined #mojo
22:57 meshl joined #mojo
23:10 skullbocks joined #mojo
23:18 rem_lex|pivo joined #mojo
23:30 rem_lex joined #mojo
23:40 sri wohoo, i now get 12 bottles of beer per week from gittip \o/ https://www.gittip.com/for/perl/
23:40 rem_lex joined #mojo
23:42 tianon sri++ :D
23:42 tianon just $1 away from the top-3 :D
23:43 GabrielV_ joined #mojo
23:43 KindTwo joined #mojo
23:43 * sri celebrates with one of these http://www.justblue.de/wp-content/gallery/becks-_-3d/becks_webarrangement_01.jpg
23:44 AirDisa joined #mojo
23:54 rem_lex joined #mojo
23:54 tempire look at that.
23:54 tempire top 3
23:54 sri woot!
23:55 sri beer is on me today!
23:57 AirDisa joined #mojo

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