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

IRC log for #mojo, 2014-05-09

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

All times shown according to UTC.

Time Nick Message
00:07 shmuel joined #mojo
00:07 sri heh, i just accidentally found a performance bottleneck while testing the dtruss snippet :)
00:08 sri not a big one, but in a benchmark it makes the difference between 3000rps and 3200rps
00:12 asarch joined #mojo
00:15 good_news_everyon joined #mojo
00:15 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/zRBFcw
00:15 good_news_everyon mojo/master 21bbb91 Sebastian Riedel: improved accept performance in Mojo::IOLoop::Server
00:15 good_news_everyon left #mojo
01:04 good_news_everyon joined #mojo
01:04 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/yoexeg
01:04 good_news_everyon mojo/master f28eb63 Sebastian Riedel: fixed small leak in Mojo::IOLoop::Server
01:04 good_news_everyon left #mojo
01:04 laouji joined #mojo
01:06 jberger tempire++
01:06 jberger wish I could have been there
01:06 * jberger is looking forward to mojoconf
01:07 Rallias joined #mojo
01:10 Rallias joined #mojo
01:21 klapperl joined #mojo
01:52 hellyna joined #mojo
01:54 cooper joined #mojo
01:56 good_news_everyon joined #mojo
01:56 good_news_everyon [mojo] kraih tagged v4.98 at 0383385: http://git.io/vhD4WQ
01:56 good_news_everyon left #mojo
01:58 good_news_everyon joined #mojo
01:58 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/VNj3WA
01:58 good_news_everyon mojo/master 02756a1 Sebastian Riedel: bump version
01:58 good_news_everyon left #mojo
01:58 cpan_mojo Mojolicious 4.98 by Sebastian Riedel - http://metacpan.org/release/SRI/Mojolicious-4.98
02:00 d4rkie_ joined #mojo
02:05 jberger running out of numbers :-)
02:13 sri seriously :o
02:42 aggrolite joined #mojo
02:53 ferret_commander joined #mojo
02:53 ferret_commander ok
02:54 ferret_commander mojo, so with mojo, like life is easy?
02:54 ferret_commander why do a lot of perlers use dbix::class? is it magic?
02:54 ferret_commander postgresql and mojo nice n sclaable?
02:56 sri yes, because it's currently the best perl orm, no, depends on what you're doing
03:01 zivester joined #mojo
03:02 ferret_commander e-commerce if I wana not use oracle or ms
03:02 ferret_commander postgresql is better than mariadb right?
03:03 ferret_commander now I am not sure how advanced firebirdDB is it might be a dark hors eeh?
03:03 ferret_commander cassadnra mojo redis etc I don't know if they are stable
03:03 ferret_commander is that where ur going?
03:04 ferret_commander I saw mongo binding
03:34 fhelmber_ joined #mojo
03:54 basic6 joined #mojo
04:38 tianon Mango <3
04:43 davido___ When a talk helps me to turn on a mental light bulb, or motivates me to want to dig deeper into a topic, it was successful. tempire's did both for me.
04:44 tempire \o/
04:44 irq joined #mojo
04:44 davido___ Itching for the next opportunity to try putting it to use.
04:49 laouji joined #mojo
04:58 Eke- joined #mojo
05:05 dotandimet joined #mojo
05:15 tempire hmm
05:15 tempire mojoconf page changed slightly
05:15 tempire looks better
05:33 laouji joined #mojo
05:36 shmuel joined #mojo
05:38 d4rkie joined #mojo
05:53 mire_ joined #mojo
06:06 sujithm joined #mojo
06:10 dpetrov_ joined #mojo
06:29 Eke- joined #mojo
06:41 condor66 joined #mojo
06:50 cpan_mojo Mojolicious-Plugin-FeedReader 0.04 by DOTAN - http://metacpan.org/release/DOTAN/Mojolicious-Plugin-FeedReader-0.04
07:01 meredith joined #mojo
07:17 sujithm_ joined #mojo
07:19 dotandimet joined #mojo
07:24 eseyman joined #mojo
07:26 meredith joined #mojo
07:28 d4rkie_ joined #mojo
07:30 d4rkie_ joined #mojo
07:31 mport joined #mojo
07:32 Vandal joined #mojo
07:33 trone joined #mojo
07:34 fhelmber_ joined #mojo
07:37 sh4 joined #mojo
07:39 d4rkie joined #mojo
08:00 trone joined #mojo
08:20 fhelmber_ joined #mojo
08:31 igorsutton_ joined #mojo
08:44 bjoernfan http://www.commitstrip.com/wp-content/uploads/2014/05/Strip-Vision-Open-source-650-finalenglish.jpg
08:54 Tiger|2 joined #mojo
08:56 dpetrov_ bjoernfan++
09:00 ferret_commander joined #mojo
09:01 ferret_commander hello life forms
09:09 ferret_commander mojo lic ious
09:09 ferret_commander so what makes mjoj so great?
09:09 ferret_commander how do I build input forms in mojo?
09:09 dod joined #mojo
09:09 ferret_commander is ther edb connection pooling?
09:10 ferret_commander hypnotoad is quite cool
09:10 d4rkie joined #mojo
09:12 ferret_commander http://www.businessinsider.com/amazonsupply-wholesale-2014-5 no one is taking on amazon supply using a pure free software stack and no virtualization just name based virtual hostts and freebsd with ZFS and isCSI to skip SNA costs too?
09:14 sujithm joined #mojo
09:18 arthas joined #mojo
09:18 dod joined #mojo
09:33 rawler joined #mojo
09:34 dod joined #mojo
10:03 denis_boyun joined #mojo
10:10 sujithm joined #mojo
10:10 d4rkie joined #mojo
10:16 dotandimet joined #mojo
10:21 d4rkie joined #mojo
10:22 d4rkie joined #mojo
10:23 laouji joined #mojo
10:31 alnewkirk joined #mojo
10:32 dpetrov_ joined #mojo
10:42 dotandimet joined #mojo
10:47 neilhwatson joined #mojo
10:51 irq joined #mojo
10:51 dotandimet joined #mojo
11:09 stryx` joined #mojo
11:22 d4rkie joined #mojo
11:32 dotandimet joined #mojo
11:43 sri looks like there are unofficial atom builds for linux now http://www.webupd8.org/2014/05/install-atom-text-editor-in-ubuntu-via-ppa.html
11:44 sujithm joined #mojo
11:59 rawler do anyone here have experience with using Mojo with Template Toolkit?
11:59 Lee rawler: yes
12:00 d4rkie joined #mojo
12:05 rawler Lee; is there a way to use helpers like form_for, in template toolkit?
12:05 rawler I.E. is there some functionality similar to the begin/end in Mojo::Template?
12:10 condor66ie joined #mojo
12:15 Lee ah, now that i'm not sure about
12:17 rawler too bad.. :-/
12:17 rawler the form_for isn't too necessary, but I were kindof hoping to be able to implement recursive forms using that functionality.. :)
12:18 rawler (to submit data to Plugin::ParamExpand)
12:19 Lee TT has block like semantics, so you can probably acheive what i think you're looking for
12:20 rawler but not using a TagHelper system, I think? I've not found any way to pass a reference to a block, to a regular perl-function?
12:21 Lee no, you'd have to do the ol' define your methods elsewhere then pass them to TT (i think)
12:22 rawler sure, but I've seen no way to pass a block defined in TT, as a reference to a perl-function? I.E. like begin/end in EP, and used as in form_for..
12:23 Lee correct
12:25 rawler I guess a regular include will do for my immediate needs, although not nearly as pretty as the EP/TagHelpers IMHO.. :)
12:38 sri you can also mix TT and EP
12:38 sri use the include helper to render a partial EP template
12:39 rawler sri; good idea, thanks for the tip!
12:41 laouji joined #mojo
12:44 laouji joined #mojo
12:54 bluescreen joined #mojo
13:04 dotandimet joined #mojo
13:08 Akron joined #mojo
13:17 gryphon joined #mojo
13:21 zivester joined #mojo
13:22 sri gotta love javazone http://2014.javazone.no/
13:30 Eke|| joined #mojo
13:34 Akron Everyone is finishing their MojoConf talks and I didn't even started yet.
13:36 mire_ joined #mojo
13:53 dotandimet joined #mojo
13:54 jb360 joined #mojo
14:00 btyler joined #mojo
14:02 c-- joined #mojo
14:05 Eke- joined #mojo
14:14 asarch joined #mojo
14:16 BinGOs http://perlmonks.org/?node_id=1085583
14:33 btyler that setup sounds horrifying
14:34 btyler ~50 different little PHP scripts, each with their own stored proceedures in MSSQL...aieee
15:09 igorsutton_ joined #mojo
15:14 basic6_ joined #mojo
15:22 tempire to produce those videos, javazone must have so much money, it's just ridiculous.
15:46 irq_ joined #mojo
15:48 Eke- joined #mojo
15:53 eseyman joined #mojo
15:59 dwierenga joined #mojo
16:00 sri tempire: well, a ticket is $1050 and they have 2500 attendees
16:01 beyondcreed joined #mojo
16:04 d4rkie joined #mojo
16:10 sri of course... at that point you've already sold your soul to oracle
16:25 Eke- joined #mojo
16:32 d4rkie joined #mojo
16:41 hummeleBop joined #mojo
16:48 Eke- joined #mojo
17:07 hellyna joined #mojo
17:16 sri hmmmm
17:17 * sri wonders if the method names ->siblings, ->next_sibling and ->previous_sibling in Mojo::DOM are confusing
17:18 sri i guess ideally ->next and ->next_sibling semantics would be switched
17:29 hellyna joined #mojo
17:30 jberger Akron: the examples are coming together, the talk is not so much written as in my head :-)
17:31 jberger I really should look at the schedule again
17:31 jberger I should have requested a late slot
17:31 jberger my talk is going to have to assume a certain familiarity with delays
17:31 jberger o_O
17:32 Akron So you shouldn't show up in time early to make your point?
17:34 jberger no it's more like, if I have to introduce delays, I'm never going to get to my talk :-P
17:35 Akron You should have a time slot before tempire - and then present while tempire is presenting. That would be good example of delay AND concurrency.
17:35 asarch Catalyst in its debug mode, shows all the values passed by a form in a POST method, how can I activate this?
17:39 sujithm joined #mojo
17:54 beyondcreed joined #mojo
18:07 lb $app->dumper($req->params->to_hash)
18:07 tempire jberger: the talk I just gave explains begin from scratch
18:08 tempire I suppose it's possible for me to give the talk before yours
18:08 lb oh he left
18:08 lb grmbl
18:28 sri jberger: haha... and i have to go first showing *all* the latest features :S
18:47 Tiger|2 joined #mojo
18:55 good_news_everyon joined #mojo
18:55 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/Vz_2fw
18:55 good_news_everyon mojo/master cd1c39e Sebastian Riedel: fixed typo in form_for example
18:55 good_news_everyon left #mojo
19:08 batman http://www.webupd8.org/2014/05/install-atom-text-editor-in-ubuntu-via-ppa.html # *installing now*
19:09 Eke- joined #mojo
19:12 batman wow. it's extremely fast :S
19:15 abra joined #mojo
19:39 neyasov__ joined #mojo
19:40 neyasov_ joined #mojo
19:57 neyasov_ joined #mojo
19:57 jb360 joined #mojo
19:57 bluescreen joined #mojo
19:57 neilhwatson joined #mojo
19:57 rawler joined #mojo
19:57 cooper joined #mojo
19:57 klapperl joined #mojo
19:57 Rallias joined #mojo
19:57 bjoernfan joined #mojo
19:57 cfedde joined #mojo
19:57 Phil21 joined #mojo
19:57 jzawodn joined #mojo
19:57 Jonneh joined #mojo
19:57 russum joined #mojo
19:57 howitdo joined #mojo
19:57 Adurah joined #mojo
19:57 abhishekisnot joined #mojo
19:57 tianon joined #mojo
19:57 preaction joined #mojo
19:57 LordV joined #mojo
19:57 davido___ joined #mojo
19:57 Dandre joined #mojo
19:57 go|dfish joined #mojo
19:57 Kulag joined #mojo
19:57 nic joined #mojo
19:57 mil joined #mojo
19:57 andrefs joined #mojo
19:57 dotan joined #mojo
19:57 Ralesk joined #mojo
19:57 marty joined #mojo
19:57 ashleydev joined #mojo
19:57 HtbaaPi joined #mojo
19:57 r0b3rt joined #mojo
19:57 chansen joined #mojo
19:57 D4RK-PH0ENiX joined #mojo
19:57 lb joined #mojo
19:57 Gedge joined #mojo
19:57 mtj joined #mojo
19:57 cpan_mojo joined #mojo
19:57 ivan joined #mojo
19:57 suy joined #mojo
19:57 genio joined #mojo
19:57 phillipadsmith joined #mojo
19:57 stokachu joined #mojo
19:57 tempire joined #mojo
19:57 mattp joined #mojo
19:57 og01 joined #mojo
19:57 KindOne joined #mojo
19:57 yakudza joined #mojo
19:57 Kovensky joined #mojo
19:57 crab joined #mojo
19:57 bayashi joined #mojo
19:57 priodev joined #mojo
19:57 jantore joined #mojo
19:57 sri joined #mojo
19:57 sivoais joined #mojo
19:57 throughnothing joined #mojo
19:57 Foxcool joined #mojo
19:57 mikegrb joined #mojo
19:57 bd joined #mojo
19:57 michael joined #mojo
19:57 omega joined #mojo
19:57 dj_goku joined #mojo
19:57 charsbar___ joined #mojo
19:58 dwierenga joined #mojo
19:58 irq joined #mojo
19:58 btyler joined #mojo
19:58 gryphon joined #mojo
19:58 alnewkirk joined #mojo
19:58 mport joined #mojo
19:58 basic6 joined #mojo
19:58 jnbek joined #mojo
19:58 zackiv31 joined #mojo
19:58 memowe_ joined #mojo
19:58 doby joined #mojo
19:58 da5id joined #mojo
19:58 sjn joined #mojo
19:58 Tiger joined #mojo
19:58 allison joined #mojo
19:58 kbenson joined #mojo
19:58 DaniBunny joined #mojo
19:58 purl joined #mojo
19:58 __mkrull joined #mojo
19:58 rwp joined #mojo
19:58 bowtie joined #mojo
19:58 bobkare joined #mojo
19:58 DaTa joined #mojo
19:58 firnsy joined #mojo
19:58 mishantil joined #mojo
19:58 odc joined #mojo
19:58 mudler joined #mojo
19:58 bzero joined #mojo
19:58 neyasov joined #mojo
19:58 cstamas joined #mojo
19:58 Zx3 joined #mojo
19:58 inokenty joined #mojo
19:58 dabudabu joined #mojo
19:58 cottoo joined #mojo
19:58 caeles joined #mojo
19:58 mfontani joined #mojo
19:58 lestrrat joined #mojo
19:58 stephan48 joined #mojo
19:58 diegok joined #mojo
19:58 tardisx joined #mojo
19:58 cosimo joined #mojo
19:58 nicomen joined #mojo
19:58 bc547 joined #mojo
19:58 frustrating_chat joined #mojo
19:58 jmmills joined #mojo
20:12 denis_boyun joined #mojo
20:21 disputin joined #mojo
20:28 disputin joined #mojo
20:28 dwierenga joined #mojo
20:28 irq joined #mojo
20:28 btyler joined #mojo
20:28 gryphon joined #mojo
20:28 alnewkirk joined #mojo
20:28 mport joined #mojo
20:28 basic6 joined #mojo
20:28 jnbek joined #mojo
20:28 zackiv31 joined #mojo
20:28 memowe_ joined #mojo
20:28 doby joined #mojo
20:28 da5id joined #mojo
20:28 sjn joined #mojo
20:28 Tiger joined #mojo
20:28 allison joined #mojo
20:28 kbenson joined #mojo
20:28 DaniBunny joined #mojo
20:28 purl joined #mojo
20:28 __mkrull joined #mojo
20:28 rwp joined #mojo
20:28 bowtie joined #mojo
20:28 bobkare joined #mojo
20:28 DaTa joined #mojo
20:28 firnsy joined #mojo
20:28 mishantil joined #mojo
20:28 odc joined #mojo
20:28 mudler joined #mojo
20:28 bzero joined #mojo
20:28 neyasov joined #mojo
20:28 cstamas joined #mojo
20:28 Zx3 joined #mojo
20:28 inokenty joined #mojo
20:28 dabudabu joined #mojo
20:28 cottoo joined #mojo
20:28 caeles joined #mojo
20:28 mfontani joined #mojo
20:28 lestrrat joined #mojo
20:28 stephan48 joined #mojo
20:28 diegok joined #mojo
20:28 tardisx joined #mojo
20:28 cosimo joined #mojo
20:28 nicomen joined #mojo
20:28 bc547 joined #mojo
20:28 frustrating_chat joined #mojo
20:28 jmmills joined #mojo
20:29 tempire hmm
20:29 tempire sri - jberger - that's something to consider regarding the scheduling.
20:30 tempire maybe we should suggest re-ordering the talks to give a more progressive user experience.
20:32 nic Only alternative is to distribute memory-enhancing drugs so attendees can re-order the info in their heads post-partum
20:34 nic In the app log, makes sense for info about which templates are being rendered to be [debug]
20:34 nic but I'd really like the GET and 404 lines to be [info]
20:36 nic For me those are things worth seeing in day-to-day production, hence [info]
20:36 nic Is there a way I can do that?
20:37 nic sri: Would you consider some messages built-in messages being promoted to [info] or do they need to stay [debug]?
20:42 sri nic: put it up for a vote
20:42 nic k
20:42 nic crab, tempire, jberger, marcus: Could you first vote on whether the two lines mentioned should be promoted please
20:43 nic Cos if you vote down those two lines then I'll drop the whole idea
20:44 nic But if there's interest, we could look at whether there are more lines that could/should be considered production-relevant
20:46 sri i tend towards -1 btw. since without context those lines pretty much suck
20:48 sri you'll end up with a) a lot of log messages in *every* production environment, which is something new everybody has to look out for, and b) overlapping log messages, like a dozen GET... followed by a dozen 200 OK
20:48 nic I'm in a situation where I need to catch a lot of 404s (legacy css & js being migrated) and it's v difficult buried amongst all the rendering chatter
20:49 sri that stuff belongs in plugins
20:49 nic oh, can I do it with a plugin?  If so, I'll dig into that direction
20:49 sri anyway... just my opinion... carry on with your vote
20:50 basiliscos joined #mojo
20:50 nic I haven't looked into whether monkey-patching is a possibility
20:51 sri why the hell are you so dead-set on changing modes? just make your own log messages at a higher level
20:52 sri plugin 'MyProductionLogging' if app->mode eq 'production';
20:53 neyasov_ joined #mojo
20:53 nic How do I hook into 404s?
20:53 sri hook after_dispatch => sub { app->log->info('LALALA request with 123 response.') } if app->mode eq 'production' ;
20:54 nic ah, ok, I think I see it
21:10 sivoais joined #mojo
21:23 irctc912 joined #mojo
21:23 irctc912 quick noob question i'm hoping:
21:23 irctc912 i can get my package to load if its called Foo and located at ./lib/Foo.pm
21:23 irctc912 but not if it's called Foo::Bar and located at ./lib/Foo/Bar.pm
21:24 cfedde using use?
21:24 purl well, using use is boring :/
21:24 irctc912 currently using copypasted FindBin code from the documentation
21:24 irctc912 yeah using use
21:25 cfedde if ./lib is in your $PERL5LIB then it should work.
21:25 irctc912 possibly this is a basic perl question - i apologize
21:25 cfedde you migit want to ask over in #perl or over on freenode#perl.
21:25 irctc912 ok
21:29 TitanOfOld joined #mojo
21:30 sri so, nobody cares about $dom->siblings, $dom->next_sibling, $dom->previous_sibling, $dom->next and $dom->previous naming?
21:31 sri ->siblings only returns elements, while ->next_sibling/->previous_sibling return all node types
21:37 punter joined #mojo
21:47 sujithm joined #mojo
22:17 asarch joined #mojo
22:33 mire_ joined #mojo
22:54 jberger I'm ok with a reorder if the organizers are
22:55 jberger truth is, I'm starting to wonder if this topic is too advanced
22:56 jberger If it won't fly at mojoconf it won't anywhere else
22:56 jberger I really would like to have a discussion about Nonblocking reusable code tho
22:57 jberger I'm not saying I have all the answers either
22:58 jberger I'm having to decide between caching, just in time caching, or denormalizing, and I really can't decide
22:59 jberger Nonblocking is hard
22:59 * jberger goes shopping
23:28 asarch How can I show body parameters?
23:59 rem_lex|pivo joined #mojo

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