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

IRC log for #mojo, 2013-12-12

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

All times shown according to UTC.

Time Nick Message
00:00 marty joined #mojo
00:54 dvinciguerra joined #mojo
01:05 laouji joined #mojo
01:35 ka2u joined #mojo
01:47 d4rkie joined #mojo
01:56 punter joined #mojo
02:48 duncanthrax2 joined #mojo
02:55 btyler joined #mojo
04:09 preflex_ joined #mojo
04:24 kryptonite joined #mojo
05:24 ka2u joined #mojo
05:27 * tempire talks
05:30 * tempire wishes he had more time
05:40 jzawodn sudo apt-get install more-time
05:41 laouji joined #mojo
05:53 laouji joined #mojo
07:07 laouji joined #mojo
07:14 marcus tempire: we wish too. :)
07:21 espent joined #mojo
07:28 basiliscos joined #mojo
07:37 basiliscos joined #mojo
07:41 laouji joined #mojo
07:46 dod joined #mojo
07:46 KindOne joined #mojo
07:50 dod joined #mojo
07:59 basiliscos joined #mojo
08:01 denisboyun joined #mojo
08:20 jamesw joined #mojo
08:20 salparadise so if I have max_redirects configured on mojo useragent and I want to send a form to the final place it redirects me after 4 redirects, how do I do that?
08:21 moritz you set max_redirects to >= 4, and simply do it :-)
08:23 basiliscos joined #mojo
08:24 salparadise I guess I need to see an example
08:26 moritz salparadise: mojo::Useragent handles the redirects transparently for you
08:26 moritz salparadise: so any example that fetches something and then sends a form will do
08:26 moritz salparadise: and I'm pretty sure there are some of that in the official documentation
08:26 basiliscos joined #mojo
08:31 kmx joined #mojo
08:32 basiliscos joined #mojo
08:36 salparadise weird I was going to show you the transactions and my code, but I am suddenly running into an issue without making any changes
08:36 salparadise Use of uninitialized value in addition (+) at /opt/perlbrew/perls/perl-5.18.1/lib/site_perl/5.18.1/Mojo/Reactor/Poll.pm line 11.
08:36 trone joined #mojo
08:55 basiliscos joined #mojo
09:03 ka2u joined #mojo
09:04 basiliscos joined #mojo
09:08 basiliscos joined #mojo
09:43 fhelmber_ joined #mojo
09:52 basiliscos joined #mojo
09:57 jwang joined #mojo
09:59 basiliscos joined #mojo
10:05 Dandre joined #mojo
10:07 basiliscos joined #mojo
10:16 themage joined #mojo
10:33 abra_ joined #mojo
10:36 arthas joined #mojo
10:37 basiliscos joined #mojo
10:44 basiliscos joined #mojo
10:51 ver joined #mojo
11:09 basiliscos joined #mojo
11:14 mire__ joined #mojo
11:15 batman https://metacpan.org/pod/release/JHTHORSEN/Convos-0.1001/lib/Convos.pm
11:15 batman \o/
11:16 marcus https://news.ycombinator.com/newest upboats pls :)
11:19 maxhq joined #mojo
11:27 d4rkie joined #mojo
11:37 hrupp joined #mojo
11:38 basiliscos joined #mojo
11:43 ka2u joined #mojo
11:45 * hrupp plays a song for all norwegian mojo hackers: http://www.youtube.com/watch?v=8A5hXxmkeZs
11:49 basiliscos joined #mojo
12:05 Farow joined #mojo
12:05 basiliscos joined #mojo
12:08 marty We launched our e-commerce website the other day.    Powered by Mojolicious and Mango.  Comments and suggestions welcome. http://dripdepot.com
12:08 marty I even blogged about it.   http://dripdepot.com/a/52a90a5575eb510b67240100
12:10 basiliscos joined #mojo
12:12 basiliscos joined #mojo
12:18 bpmedley marty: Cool vertical.
12:19 sri marcus++
12:19 basiliscos joined #mojo
12:19 sri batman++
12:19 sri marty++
12:19 marty sri++
12:19 marty bpmedley:  vertical?
12:19 purl it has been said that vertical is an adjective
12:19 marty botsnack
12:20 purl :)
12:20 bpmedley The drip irrigiation system.
12:20 bpmedley It looks like you have a site devoted to that - at least the ecommerce piece.
12:20 crab it's because it's vertical that it drips
12:21 bpmedley By vertical I mean the market.  You specialize.  Like specialzing in cars or medicine.  I hope I used the term correctly.
12:21 marty ahh ya.  We do only drip irrigation.
12:22 cfedde joined #mojo
12:25 basiliscos joined #mojo
12:26 sri what does this do? "$self->send('<div class="ping"/>');"
12:28 sri if you're doing that to keep the websocket alive, there are real ping frames you could use instead
12:29 marcus We used those. Did not work well with chrome
12:29 marcus So we switched.
12:29 sri oh
12:33 * sri wonders if more upvotes still help https://news.ycombinator.com/item?id=6893866
12:34 sri oh look, frontpaged \o/
12:35 basiliscos joined #mojo
12:36 sri hope linking it here doesn't have a negative effect... with the referrer penalty thing on hackernews
12:38 Vandal joined #mojo
12:38 marcus Sweet
12:40 sri i should post something to the blog
12:41 basiliscos1 joined #mojo
12:41 crab marcus: nice-looking page, btw
12:41 sri guess i'll do it miyagawa style and just quote you... and steal your screenshot :)
12:42 crab hey, i'm in the screenshot by reference.
12:42 crab now i'm curious about what the feature is
12:43 sri aren't you supposed to be on vacation?
12:44 marcus Crab: custom errors
12:44 marcus Got our first pull request
12:45 crab sri: yes, but the hotel has free wifi ;-)
12:47 jberger joined #mojo
12:47 * jberger catches up
12:48 jberger It's been a bad well for chiming in
12:48 * jberger is very busy atm
12:49 jberger marcus++ #moar features
12:51 jberger batman++ #convos
12:51 sri marcus: s/in/it/ on http://convos.by
12:51 sri i'm going to quote it without the typos! ;p
12:52 jberger marcus++ marty++
12:53 jberger Wow lots to ++ lately
12:53 denisboyun joined #mojo
12:58 billruppert joined #mojo
13:00 sri marcus: website needs more docker oneliners ;)
13:00 marcus sri: Thanks, fixed.
13:00 marcus sri: What do you mean by "docker onliners"? :)
13:00 skingsbu joined #mojo
13:01 dvinciguerra joined #mojo
13:01 sri $ docker pull nordaaker/convos
13:04 marcus docker run -d nordaaker/convos # will automatically pull :)
13:06 basiliscos joined #mojo
13:22 mtths joined #mojo
13:29 sri marcus: !
13:30 sri http://blog.kraih.com/post/69783934209/convos-chatting-in-the-cloud-with-mojolicious # just a reference
13:31 sri it's really hard to write more than 140 characters now :O
13:34 Lucas1 joined #mojo
13:35 marcus sri: Nice!
13:38 jberger_ joined #mojo
13:39 asarch joined #mojo
13:40 dotan left #mojo
13:44 denis_boyun_ joined #mojo
13:49 ka2u joined #mojo
13:53 dotan joined #mojo
14:08 dpetrov_ joined #mojo
14:13 punter joined #mojo
14:19 nicolaas joined #mojo
14:23 sh4 joined #mojo
14:28 hummeleBop joined #mojo
14:30 sh4 joined #mojo
14:38 bluescreen joined #mojo
14:48 batman marty: i think you should add more air (padding+margin) to the site
14:48 batman it's crammed up
14:48 btyler joined #mojo
14:49 basiliscos joined #mojo
14:50 marty batman:  thanks for the feedback
14:55 * sri disagrees with batman
14:57 btyler joined #mojo
14:58 * sri would go easy on the dropshadows though
15:02 marty that's hardest part for me.  I suck at design.
15:03 batman me to
15:05 btyler batman++/marcus++ # congrats on releasing convos, looks really cool :) extra kudos for setting it up to deploy with docker
15:05 batman thanks :)
15:06 batman marcus is mr. docker
15:14 * marty reduced the dropshadows
15:15 * marty just loves websockets and tailable cursors
15:23 denisboyun joined #mojo
15:29 russum joined #mojo
15:29 russum left #mojo
15:32 Farow|2 joined #mojo
15:37 diegok marcus & batman: wohoo!, convos looks really nice :-)
15:37 batman :)
15:42 marty joined #mojo
15:56 Farow joined #mojo
16:03 beyondcreed joined #mojo
16:18 rem_lex joined #mojo
16:27 Farow joined #mojo
16:30 marty joined #mojo
16:30 marcus diegok: Thanks :)
16:32 diegok marcus: I'll try it out when I got some time!. Already upvoted on HN ;-)
16:34 mire__ joined #mojo
16:34 robinsmidsrod joined #mojo
16:35 meshl joined #mojo
16:40 marty joined #mojo
16:44 dotandimmest joined #mojo
16:48 Farow|2 joined #mojo
16:49 fhelmbe__ joined #mojo
16:50 ka2u joined #mojo
16:53 batman diegok: thanks :)
16:55 marty joined #mojo
17:05 dotandimmest have I got convos working?
17:06 dotandimmest what did the trick was setting backend/embedded to 1 when running with morbo. No idea why it didn't work with hypnotoad.
17:06 sri marty: i'd just use borders or different background colors instead of shadows
17:06 sri marty/batman: the trick to good design is stealing
17:07 ka2u joined #mojo
17:07 dotan joined #mojo
17:07 sri marty: http://www.shopify.com/examples # tons of inspiration here
17:10 sri btw. when i say *stealing* i don't mean *copy*... you look for inspiration, take design elements, and adapt them
17:11 dotandimmest joined #mojo
17:13 sri also often overlooked, have a color palette!
17:23 dotandimmest joined #mojo
17:38 marty sri:  Thanks for the suggestions.  I will see what I can make work.
17:42 Farow|2 joined #mojo
17:53 fhelmber_ joined #mojo
18:05 punter joined #mojo
18:09 fhelmber_ joined #mojo
18:29 basiliscos joined #mojo
18:31 marty joined #mojo
18:35 basiliscos joined #mojo
18:40 Farow|2 joined #mojo
18:50 basiliscos joined #mojo
18:52 basiliscos joined #mojo
18:57 basiliscos joined #mojo
19:04 marcus dotandimmest: you can run the backend as a separate process as documented in the README. This is the way to go with hypnotoad for now.
19:05 marcus sri: Think it could be sane to fork off a backend process in startup to avoid running it in the workers in hypnotoad?
19:11 Mike-PerlRecruiter_ joined #mojo
19:17 denis_boyun_ joined #mojo
19:24 sri marcus: doubt it
19:35 batman sri++
19:52 Lee joined #mojo
19:54 dod joined #mojo
19:57 Farow|2 joined #mojo
20:01 rem_lex|pivo joined #mojo
20:20 rem_lex|pivo joined #mojo
20:33 lukep joined #mojo
20:49 Lee joined #mojo
20:51 good_news_everyone joined #mojo
20:51 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/lzrbNw
20:51 good_news_everyone mojo/master d49eb9e Sebastian Riedel: mention that documentation pull requests follow the same rules as code contributions
20:51 good_news_everyone left #mojo
20:52 sri better to have this formalized
20:55 phillipadsmith If I'm using Mojo::Template in a simple one-off script, is there a Mojo-ish way to put the actual template code into __DATA__ similar to how one would in a Mojolicious::Lite app?
21:06 phillipadsmith ...slurping the <DATA> into $template and then calling $mt->render( $template, @args ) works, but isn't nearly as pretty and self-documenting.
21:33 dvinciguerra joined #mojo
21:56 tempire phillipadsmith: the mojo way is exactly as you described
21:56 tempire https://gist.github.com/tempire/7092381
22:15 phillipadsmith tempire++ # I didn't think to use Mojo::Loader
22:15 phillipadsmith thank you. :)
22:17 asarch joined #mojo
22:18 beyondcreed joined #mojo
22:48 marty Does anyone know if Hypnotoad supports gzip or similar?
22:56 marty found my answer.   https://metacpan.org/pod/Mojolicious::Guides::Rendering#Post-processing-dynamic-content
22:57 marty joined #mojo
23:09 mtths joined #mojo
23:32 marty joined #mojo
23:59 jberger joined #mojo

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