Camelia, the Perl 6 bug

IRC log for #mojo, 2012-12-03

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

All times shown according to UTC.

Time Nick Message
00:04 gryphon joined #mojo
00:17 Averna joined #mojo
00:18 bpmedley Thoughts on this as a start for a Mojolicious app tutorial: https://gist.github.com/4191717
00:22 sri bpmedley: lots of redundant information
00:22 bpmedley sri: From the other documentation?
00:23 sri fun fact, i originally added Mojolicious::Lite because it makes documentation examples much smaller and easier to follow :)
00:23 sri yes
00:23 sri bpmedley: what's the goal of the tutorial?
00:24 bpmedley sir: What about the earlier point in #perl about the lack of a Mojolicous app tutorial?
00:24 sri i don't think we should target people that ignore the documentation anyway
00:24 sri pointers at Mojolicious::Controller are like at the start of the lite tutorial
00:25 bpmedley Hrmm.  Is it work fixing?
00:25 bpmedley *worth
00:25 sri yet, he didn't know where to look
00:25 sri fixing?
00:25 bpmedley Do you think a Mojolicious tutorial is warranted?
00:26 sri i don't think so, but i'm often wrong
00:26 bpmedley sir: It's cool.  I may turn it into a blog post or somesuch.
00:27 sri oh, was that a proposal for core?
00:27 sri then it's a clear no i'm afraid, due to too much duplicated information
00:27 bpmedley sri: I'm not that bold just yet.
00:28 sri our users need to learn that lite and normal apps are 99% the same
00:28 sri and that most documentation is simply shared by both
00:29 bpmedley sri: Could the 1% syntax differences be made clearer?
00:29 sri how?
00:30 sri the growing guide should have it covered pretty well
00:30 bpmedley sri: Let me look.  I just remember I also had some confusion when I first started; however, I was able to get all my info from the docs and looked at almost no code.
00:31 sri that one guy in #perl is not really representative, he simply skipped too much or didn't look at all
00:31 sri but suggestions for making it more obvious are of course welcome
00:34 bpmedley sri: From my own perspective, in retrospect, my difficulties starting out may have just been due to my ignoranice of the framework.
00:35 sri in my experience almost all learning trouble is caused by folks skipping the lite tutorial
00:36 sri http://mojolicio.us/perldoc#TUTORIAL # even mentions that it's a prereq for the guides now
00:37 bpmedley sri: Maybe a flowchart is needed.. :-P
00:37 sri ;p
00:57 jayallen joined #mojo
00:57 laouji joined #mojo
01:12 Mike-PerlRecruiter_ joined #mojo
01:56 sinkovsky joined #mojo
02:00 d4rkie joined #mojo
02:01 d4rkie joined #mojo
02:05 ZadYree <sri> that one guy in #perl is not really representative, he simply skipped too much or didn't look at all # Your experience is building it huhuh
02:12 lukep_ joined #mojo
02:48 lukep_ joined #mojo
03:03 noganex_ joined #mojo
03:09 sinkovsky joined #mojo
03:17 mattastrophe joined #mojo
04:02 noganex_ joined #mojo
04:15 Foxcool joined #mojo
04:16 lukep_ joined #mojo
04:22 sinkovsky joined #mojo
05:06 Molaf joined #mojo
05:13 laouji joined #mojo
05:32 anaio joined #mojo
05:34 sinkovsky joined #mojo
06:10 mattastrophe joined #mojo
06:36 dpetrov_ joined #mojo
06:53 spleenjack joined #mojo
07:07 Vandal joined #mojo
07:45 Vandal joined #mojo
07:45 mire__ joined #mojo
07:47 sinkovsky joined #mojo
08:10 batman joined #mojo
08:22 spleenjack1 joined #mojo
08:25 suy joined #mojo
08:45 Mad_Dud joined #mojo
08:45 ver joined #mojo
08:47 Mad_Dud hi guys, could you throw at me some howto have hypnotoad with ssl?
08:48 buu Step 1) Put apache in front of it
08:48 * buu shrugs
08:48 Mad_Dud please, dont... dont even joke about that
08:49 buu Why?
08:50 bobkare Mad_Dud: hypnotoad is often used behind some kind of frontend server. I use varnish, and pound in front of that again for SSL
08:51 Mad_Dud bobkare: okey
08:53 buu But apache..
08:53 Mad_Dud .. so you run hypnotoad on some high port accesable only localy and have port forwarding on "normal" http server?
08:53 Mad_Dud can you recommend any doc, blog or anything, which would show me good practices for this setup?
08:54 buu It's fairly standard reverse proxying
08:55 Mad_Dud so i can pick 1st result from googling "apache reverse proxying ssl howto"?
08:57 Mad_Dud i'm sorry. i have never managed to it properly. that's why i'm asking you for documentation ad "standard" does not help me much.
09:00 sinkovsky joined #mojo
09:02 alexeiras joined #mojo
09:05 Foxcool joined #mojo
09:08 dod joined #mojo
09:27 Foxcool joined #mojo
09:27 ver joined #mojo
09:27 batman joined #mojo
09:27 laouji joined #mojo
09:27 Molaf joined #mojo
09:27 noganex joined #mojo
09:27 Mike-PerlRecruiter_ joined #mojo
09:27 jayallen joined #mojo
09:27 perlite joined #mojo
09:27 dabudabu joined #mojo
09:27 nicomen joined #mojo
09:27 l3l1p joined #mojo
09:27 t[R]oll joined #mojo
09:27 jwang joined #mojo
09:27 dwierenga joined #mojo
09:27 jnbek^dt joined #mojo
09:27 bc547 joined #mojo
09:27 marcus joined #mojo
09:27 bpmedley joined #mojo
09:27 HtbaaPi joined #mojo
09:27 kmx joined #mojo
09:27 nic joined #mojo
09:27 memowe joined #mojo
09:27 ruz joined #mojo
09:27 espent joined #mojo
09:27 sawtooth joined #mojo
09:27 janus joined #mojo
09:27 tl joined #mojo
09:27 rafl joined #mojo
09:27 mtths joined #mojo
09:27 smpb joined #mojo
09:27 heytrav joined #mojo
09:27 wheee joined #mojo
09:27 jmaister joined #mojo
09:27 bobkare joined #mojo
09:27 mikegrb joined #mojo
09:27 JiYu joined #mojo
09:27 robinsmidsrod joined #mojo
09:27 Mithaldu joined #mojo
09:27 Mikey joined #mojo
09:27 chansen joined #mojo
09:27 rwstauner joined #mojo
09:27 charsbar__ joined #mojo
09:27 sri joined #mojo
09:27 romel joined #mojo
09:27 ZadYree joined #mojo
09:27 diegok joined #mojo
09:27 avenj joined #mojo
09:27 tomi-ru joined #mojo
09:27 ashleydev joined #mojo
09:27 allison joined #mojo
09:27 tokuhirom joined #mojo
09:27 xxtjaxx_ joined #mojo
09:27 patspam joined #mojo
09:27 gabiruh joined #mojo
09:27 jmmills joined #mojo
09:34 geira joined #mojo
09:38 dwierenga joined #mojo
09:46 fhelmber_ joined #mojo
09:46 geira joined #mojo
09:51 yakudza joined #mojo
10:45 Averna1 joined #mojo
11:13 Foxcool joined #mojo
11:23 cosmincx joined #mojo
11:50 dotan joined #mojo
12:02 SmokeMachine joined #mojo
12:27 sri hmmm
12:28 sri what about "plugin 'GZip';" and "$self->render(template => 'foo/bar', gzip => 1);"?
12:29 sri the plugin would register an after_dispatch hook that checks the accept_encoding header if $stash->{gzip} is true
12:40 good_news_everyone joined #mojo
12:40 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/VYWM6w
12:40 good_news_everyone mojo/master eece904 Sebastian Riedel: more response tests
12:40 good_news_everyone left #mojo
12:53 crab that sounds like a sane idea.
12:53 rem_lex joined #mojo
12:54 sri https://gist.github.com/4194858 # the code
12:54 spleenjack joined #mojo
12:54 alexeiras joined #mojo
12:55 sri you can set app->defaults(gzip => 1) to have compression application wide and disable it locally with gzip => 0 if necessary
12:56 sri i suppose the plugin could be a neat example for how to do post processing of responses
12:57 sri it will only compress responses in memory though, nothing that gets streamed from files
13:00 sri oops
13:00 sri bug in code!
13:02 sri ohoh, and i found more problems
13:02 ryozi joined #mojo
13:02 sri it doesn't work with the way we handle partial responses
13:06 sri https://gist.github.com/4194858 # ok, that should work with everything
13:06 sri not sure if it's really a good example though
13:11 Ulti is it ok to use http://mojolicio.us/mojolicious-black.png for a "powered by mojolicious" banner? or is there something else I should use?
13:11 sri it is
13:12 Ulti k k
13:14 ObseLeTe joined #mojo
13:15 Mike-PerlRecruiter_ joined #mojo
13:19 mire__ joined #mojo
13:20 Ulti also I should really have shouted out to Mojolicious directly in the journal paper I just published ;P
13:22 SmokeMachine joined #mojo
13:31 SmokeMac_ joined #mojo
13:33 dabudabu joined #mojo
13:40 dotan joined #mojo
13:50 D4RK-PH0ENiX joined #mojo
13:51 dotan joined #mojo
13:53 D4RK-PH0ENiX joined #mojo
13:56 lammel2 joined #mojo
14:05 dotan1 joined #mojo
14:06 gryphon joined #mojo
14:07 * sri wonders why he can't delete comments on his gists
14:11 mattastrophe joined #mojo
14:23 phips joined #mojo
14:27 Britzel_ joined #mojo
14:41 mire__ joined #mojo
15:02 alexeiras joined #mojo
15:06 migo joined #mojo
15:08 phips joined #mojo
15:10 phips joined #mojo
15:18 inokenty joined #mojo
15:29 Foxcool joined #mojo
15:31 SmokeMachine joined #mojo
15:42 knshaum joined #mojo
15:46 bluescreen joined #mojo
16:14 d4rkie joined #mojo
16:16 batman joined #mojo
16:24 alester joined #mojo
16:45 mjy joined #mojo
16:46 mjy hi, we're getting this in several long-running Mojo::UserAgent-based scripts: Not a HASH reference at /usr/local/share/perl/5.10.1/Mojo/Reactor/Poll.pm line 51. (3.62) ... any ideas how this can happen?
17:08 jnbek^dt joined #mojo
17:15 xaka joined #mojo
17:27 * marcus just sent a pull request to lessc
17:30 mire__ joined #mojo
17:47 batman joined #mojo
17:47 b2b joined #mojo
17:59 * sri wishes there were more good network programming books
18:32 sh4 joined #mojo
19:11 lammel2 joined #mojo
19:28 alnewkirk joined #mojo
19:49 dpetrov_ joined #mojo
19:50 dod joined #mojo
20:22 SmokeMac_ joined #mojo
20:33 lukep joined #mojo
20:52 baton8 joined #mojo
20:57 mire__ joined #mojo
20:57 marcus sri: the node.js documentation is starting to get pretty good - http://nodejs.org/api/cluste​r.html#cluster_how_it_works
20:58 sri marcus: it has always been pretty good
21:00 sri i remember getting annoyed that perl support for sendfd is so terrible months ago reading their cluster documentation :)
21:01 marcus :)
21:01 sri it's a better architecture, but less portable
21:02 marcus last time I looked, it kind of lacked a good mvc framework.
21:02 marcus but I'd really like to do a node project sometime soon to learn a bit more
21:02 marcus it has about 10000 mediocre ones tho ;)
21:02 sri i doubt node.js will ever really do mvc
21:03 SmokeMachine joined #mojo
21:04 marcus railway gets the first hit on google now, a expressjs fork
21:04 sri express.js seems to have a monopoly though
21:05 sri at least in books it's the only one mentioned so far
21:05 nicomen joined #mojo
21:06 marcus railway seems newer.
21:06 marcus I've already got it running with a crud :)
21:08 marcus https://www.evernote.com/shard/s22/s​h/9310190f-5a14-4642-be52-4a3e8873cf​2b/e437162001fef52ad8b650fff24cc361
21:09 marcus lol, default database driver: "memory"
21:09 sri :)
21:09 sri at least it's web scale!
21:09 marcus yeah!
21:10 marcus it actually lost my data after I restarted node too.
21:11 marcus seems very rails inspired, but not horrible
21:12 marcus .ejs templates and stuff
21:34 mattastrophe joined #mojo
21:38 alexeiras joined #mojo
22:06 sinkovsky joined #mojo
22:09 xaka joined #mojo
22:19 jayallen joined #mojo
22:29 Averna1 joined #mojo
22:46 bluescreen joined #mojo
22:51 xaka joined #mojo
23:00 b2b joined #mojo
23:07 patspam left #mojo
23:14 jzawodn joined #mojo
23:26 dvinciguerra joined #mojo

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