Camelia, the Perl 6 bug

IRC log for #mojo, 2011-02-06

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

All times shown according to UTC.

Time Nick Message
00:07 crab (in particular, what should i redirect to?)
00:14 ispy_ left #mojo
00:15 dhg joined #mojo
00:35 ispy_ joined #mojo
00:44 ispy_ left #mojo
01:04 perlrocks Twitter: "@t1mdp minute 11, keywords 'perl' & 'emacs' #mojo" --hannesvdvreken http://twitter.com/hannesvdvr​eken/status/34054774823325696
01:11 perlrocks Twitter: "@ # Hannesvdvreken MoJo had have told them that Perl has no explicit booleans. # Fail http://yfrog.com/h2b19uj" (nl) --t1mdp http://twitter.com/t1mdp/status/34056501710561281
01:25 perlrocks Twitter: "Guest instructor's welcome @ yusukebe, Hokkaido.pm # 2 4 / 19 will be held! The two-part system of morning and afternoon, morning @ charsbar Mojolicious's hands in the afternoon a talk tech. We welcome beginner's! http://goo.gl/q5YzW" (ja) --hokkaidopm http://twitter.com/hokkaido​pm/status/34060151635984384
02:02 metaperl joined #mojo
02:13 ispy_ joined #mojo
02:32 ispy_ left #mojo
02:44 ispy_ joined #mojo
03:07 ispy_ left #mojo
03:15 dhg left #mojo
03:17 punytan left #mojo
03:50 punytan joined #mojo
03:51 pid left #mojo
04:01 ispy_ joined #mojo
04:03 tholen42 joined #mojo
04:04 jwang left #mojo
04:05 tl left #mojo
04:22 ispy_ Sup guys
04:59 perlrocks Twitter: "[perl]MojoliciousでPlack::Middlewareを使う http://htn.to/FQrpfo" --shiba_yu36 http://twitter.com/shiba_yu​36/status/34114027953065984
05:27 memememomo_ is now known as memememomo
05:34 memememomo is now known as memememomo_
05:46 perlrocks Twitter: "The Mojolicious Plack:: Middleware to use - Dive into the Tech World! Http://htn.to/eqPLQ8" (ja) --Cside_ http://twitter.com/Cside_/status/34125863423315968
06:03 ispy_ left #mojo
07:15 perlrocks Twitter: "Finally fell asleep yesterday because of what I Mojolicious Yomojoshimasu Yomojodekinakattanode moji moji." (ja) --rshhh http://twitter.com/rshhh/status/34148043389403136
07:18 kaare joined #mojo
07:20 marcus doh. someone else already fixed wrapper on the TT renderer, abh just hadnt applied the pull request
07:21 marcus http://d.hatena.ne.jp/shib​a_yu36/20110206/1296968394 # plack middleware in the myapp script
07:26 pid joined #mojo
07:44 y0j left #mojo
08:05 alnewkirk|com joined #mojo
08:05 tempire left #mojo
08:05 tempire joined #mojo
08:10 alnewkirk left #mojo
08:10 alnewkirk|com is now known as alnewkirk
08:10 su-bzero is now known as su-bzero[A]
08:10 su-bzero[A] is now known as su-bzero
08:16 y0j joined #mojo
08:37 perlrocks Twitter: "Mojolicious manual use lib join '/', File:: Spec-> splitdir (dirname (__FILE__)), 'lib'; the statement that there is, why File:: Spec-> join () or use a ?" (ja) --__gfx__ http://twitter.com/__gfx__​/status/34168837075116032
08:40 marcus sri brings much puzzlement to the people of Japan.
09:15 daviddelikat1 joined #mojo
09:19 daviddelikat left #mojo
09:58 y0j left #mojo
09:58 tholen joined #mojo
10:02 y0j joined #mojo
10:34 metaperl left #mojo
10:44 metaperl joined #mojo
11:19 crab and as far as puzzlement goes, the people of japan have their revenge, in spades.
11:35 otaviof left #mojo
11:46 metaperl left #mojo
11:46 otaviof joined #mojo
11:47 tholen left #mojo
11:53 tholen joined #mojo
12:12 pid left #mojo
12:14 tholen left #mojo
12:23 tholen joined #mojo
12:31 tholen left #mojo
12:36 perlrocks Twitter: "Bringing Mojolicious to the dancefloor: Dancer's engines is really cool. You wanna know how cool? Here's a... http://bit.ly/gBqZaD #perl" --PlanetPerl http://twitter.com/PlanetPe​rl/status/34229022162427905
12:39 rshhh left #mojo
12:40 pid joined #mojo
12:43 rshhh joined #mojo
12:44 pid left #mojo
13:16 y0j left #mojo
13:16 tholen joined #mojo
13:23 marcus oh no. Someone needs to write a template plugin for http://search.cpan.org/~sukria/Dancer​-1.2005/lib/Dancer/Template/Simple.pm now :/
13:23 marcus renderer plugin even
13:29 * sri rolls on the dancefloor laughing
13:29 sri but but... mojoicious is a monolithic brick without reusable components!
13:33 sri oh, good morning btw
13:34 marcus good morning
13:34 purl For you maybe.
13:42 ispy_ joined #mojo
14:00 perlrocks Twitter: "Mojolicious-1.01 of Mojolicious:: Guides:: Routing, read until the end of Basic Documents. Placeholder rather than regular expression type, naming the route, HTTP feel pretty good method or by the branch. http://j.mp/h7Owzt" (ja) --tsukamoto http://twitter.com/tsukamot​o/status/34249971532308481
14:07 tholen left #mojo
14:15 marcus kinda weird that nobody has written a catalyst view for mojo-template
14:19 sri there is one for mirotemplate i guess
14:19 sri *+c
14:19 marcus yepp :D
14:19 marcus made by dmaki
14:20 sri microtemplate could use a resync, many bugs are still present there
14:25 marcus Text::MicroTemplate::Extended
14:26 marcus I still don't understand the advantage of text-microtemplate over mojo-template
14:27 marcus amusingly, the Extended version adds Template inheritance
14:27 marcus Wish you could do that with mojo :p
14:28 marcus <3 Tron Legacy soundtrack.
14:28 marcus (Daft Punk)++ # Tron Legacy
14:35 DaTa OS 12!
15:06 Foxcool joined #mojo
15:09 dotan joined #mojo
15:11 perlrocks Twitter: "Can't locate object method "new" via package x at / home/ryushi/perl5/perlbrew/perls/perl-5.​12.2/lib/site_perl/5.12.2/Mojo/Server.pm line 23." (ja) --rshhh http://twitter.com/rshhh/status/34267840324308992
15:12 sri we need a new release
15:14 Foxcool left #mojo
15:19 perlrocks Twitter: "Please test the latest version of #mojolicious on github, there is a new cpan release imminent. http://t.co/WSuUMPE #perl" --kraih http://twitter.com/kraih/status/34269849421225984
15:19 sri especially on windows
15:20 sri stricter home detection might have side effects there
15:27 marcus I have a win xp image I could fire up
15:35 vel joined #mojo
15:42 vel left #mojo
15:42 marcus A Management and Disposition of Excess Weapons Plutoium Reactor Rel Opts NAS
15:42 marcus sounds like a useful book
15:53 crab so, any ideas about redirecting to https?
15:58 vel joined #mojo
16:10 ispy_ left #mojo
16:11 sri marcus: make it burn!
16:12 crab i guess i'll have to add the canonical base url to the config file.
16:12 sri marcus: or even... KILL IT WITH FIRE!
16:13 marcus sri: installing strawberry perl
16:13 marcus hmm, xp on vmware is painfully slow
16:14 marcus guess I need more ram
16:14 marcus and my ssd drive
16:14 * sri wants an ssd drive too
16:14 marcus mine is in the mail
16:14 marcus together with my Drobo
16:15 marcus which reminds me, I need a good cloud system for music. Hmm, something like a slimbox client for osx
16:15 perlrocks Twitter: "@unixdaemon How about Mojolicious?" --obfuscurity http://twitter.com/obfuscuri​ty/status/34284030073503744
16:15 marcus I don't understand those obfuscurity tweets
16:16 marcus oh, it was related to fosdem
16:19 crab oh damn, apache doesn't even tell me if the connection it's forwarding was https or not.
16:23 marcus ironman would be much more interesting if they ran the synopsis through google translate
16:26 marcus sri: path detection test failures on strawberry perl 5.12
16:26 sri marcus: fix it!
16:27 GabrielVieira joined #mojo
16:27 sri fail was not entirely unexpected, it is much stricter now
16:27 marcus sri: http://pastebin.com/BUzBmWgg
16:27 sri oh
16:27 sri interesting
16:27 marcus just slashes
16:28 sri yea, that's not too bad
16:28 sri do you want to fix it?
16:28 marcus not really :)
16:28 sri -.-
16:28 sri but you will!
16:28 marcus I can confirm your fix tho :p
16:28 * sri cracks the whip
16:29 sri so much for my raign of terror :(
16:29 sri s/a/e/
16:30 marcus it's raining kraih!
16:30 sri they just don't make good minions anymore these days...
16:30 crab surely other people must be doing what i want?
16:31 sri crab: maybe try the list
16:32 marcus crab: maybe they are using nginx ? :)
16:33 crab marcus: will using nginx help me? i'm all for it then.
16:34 marcus crab: would be easy to set a header in the nginx https vhost anyways
16:34 sri marcus: i'm not sure i can fix it without windows
16:34 sri the second test fail ok, but the first not
16:35 marcus sri: they look the same to me :)
16:35 sri they are not at all
16:36 crab looks like i need a google account just to subscribe to the list. oh well.
16:36 marcus actually, they look the opposite to me
16:36 marcus :D
16:37 marcus one gets / and expects \, the other gets / and expects \
16:37 crab oh, or not.
16:39 * marcus dinner &
16:40 GitHub164 joined #mojo
16:40 GitHub164 mojo: master Sebastian Riedel * aa8ddc2 (1 files in 1 dirs): fixed home detection on windows - http://bit.ly/fD3pWV
16:40 GitHub164 left #mojo
16:40 * sri punches marcus
16:40 sri back to work with you
16:59 marcus sri: it's hard to say what makes people not like you.
17:00 * sri cracks the whip
17:00 * sri spews flames
17:00 marcus anyways, that helped 0
17:01 sri :o
17:01 sri i'm just guessing :/
17:02 marcus best way to work.
17:02 sri exact same result?
17:02 marcus yepp
17:02 marcus actually no
17:03 sri -.-
17:04 marcus http://pastebin.com/fDn1U310
17:04 marcus looks like it got a little worse :p
17:05 sri yes it did
17:06 dotan left #mojo
17:07 sri ok, the first is just the test case being wrong
17:08 sri no wait
17:08 marcus note how you switch the arguments around?
17:08 sri hmm, there is really no point trying
17:08 sri i can't fix it
17:09 crab you know, it never occurred to me until now that mojo runs on windows too
17:09 marcus s|/|=
17:09 sri i don't even know what the different functions and methods return on windows
17:09 marcus s|/|\|g;
17:09 sri ?
17:10 sri where?
17:12 sri as far as i can see cwd() returns C:/Documents and Settings/Administrator/mojo
17:12 sri that confuses me completely
17:13 sri we need someone else to fix it
17:14 marcus do a list post?
17:14 sri i'm busy atm
17:14 sri maybe later or tomorrow
17:16 sri nobody noticed anyway, so i guess windows is not that important
17:16 GitHub179 joined #mojo
17:16 GitHub179 mojo: master Sebastian Riedel * f72ba13 (1 files in 1 dirs): reverted previous fix - http://bit.ly/f9wzhg
17:16 GitHub179 left #mojo
17:20 perlrocks Twitter: "We need someone with good windows knowledge to help us fix home directory detection in #mojolicious! http://t.co/TTebJjk #perl" --kraih http://twitter.com/kraih/status/34300305583644672
17:21 sri feel free to do the list post though
17:23 crab "Our reputation over the years has been built on a never-yielding compromise to performant and resilient systems and infrastructure."
17:23 crab somehow i don't think that's what was intended.
17:23 crab oops
17:25 sri somehow i doubt we'll find a volunteer
17:26 marcus sri: I thought you targetted beginners and php developers
17:27 sri ?
17:27 marcus just because senior perl people doesn't use windows doesn't mean support isn't important
17:27 * sri doesn't follow
17:28 marcus if you want to convert php programmers using apache and php on windows today, you will fail if your windows support is broken.
17:29 sri well, i didn't say i don't want it fixed
17:30 sri but there is nothing i can do atm
17:31 marcus agree about that, but I just hope you consider it a release blocker.
17:31 marcus I don't really have a useful contribution either
17:31 sri well, i do have to put a deadline on it
17:32 marcus could ask about specific questions in #win32 tho
17:32 marcus where relevant developers hang out
17:32 sri it can't stay a release blocker forever
17:33 marcus well, forever sure is a long time :)
17:33 sri basically what it would mean is that on windows we require MOJO_HOME to be set
17:33 sri until it gets fixed
17:33 marcus are you sure it is even a real problem?
17:33 sri ?
17:33 marcus I think windows perl treats '/' and '\' the same
17:34 sri the problem is that i have no clue about that
17:34 marcus I'll try making a test app
17:34 sri there is no scary big bug
17:34 sri someone just needs to put everything in the right place
17:34 sri it could be absolutely trivial
17:35 sri heck, i might be able to fix it if someone makes a list with possible input values and expected output
17:39 sri you don't even need a test app, just make sure the test cases we have expect and get the right values
17:48 sri ops, i misunderstood that
17:48 sri yes, a test app would answer that one question
17:49 marcus localhost/welcome works
17:49 marcus localhost:3000/welcome even
17:50 marcus so I guess that means home is detected in a way that's sufficient for strawberry perl
17:50 sri hmm
17:51 sri plackup works too?
17:51 perlrocks Twitter: "1.02 Mojolicious go out soon. Note that many changes." (ja) --5_1_5 http://twitter.com/5_1_5/status/34308168293023745
17:51 marcus actually, home is detected in the windows native style, it's just Cwd that returns it in unixish style
17:51 marcus will test plack now
17:52 sri interesting
17:52 sri and annoying
17:53 marcus that's windows for you. At least 1 of 2
17:53 marcus For me, it's usually just annoying
17:55 marcus su-bzero: np :p
17:58 GitHub111 joined #mojo
17:58 GitHub111 mojo: master Sebastian Riedel * 0222539 (1 files in 1 dirs): made home detection tests more liberal - http://bit.ly/ek4bOB
17:58 GitHub111 left #mojo
17:58 sri lets never touch that code again
17:58 sri now i jinxed it again :/
17:58 marcus yeah
18:05 sri crab: http://mojolicio.us/perldoc?Mojol​icious/Guides/Cookbook#Rewriting
18:05 sri regarding https
18:07 tempire What's the traditional way of getting content from an html page, if one didn't use Mojo::DOM?
18:07 tempire I don't even remember.
18:07 sri haha
18:07 sri res->body
18:07 purl well, res->body is the correct accessor
18:08 crab i don't even get an X-Forwarded-Protocol. :-( guess i could use nginx to set it, from what marcus said.
18:09 tempire yeah, but for accessing certain elements
18:09 tempire Ah, HTML::Parser
18:09 crab have to read docs to make sure i can strip that header if the *client* sends it.
18:10 sri no need to strip it
18:10 sri just set it to 0
18:11 crab true.
18:12 crab to deploy this app on my server, i can use nginx, but i fear making the thing nginx-only because i strongly suspect some people will deploy it behind apache anyway, insecurely.
18:12 crab oh well, not much i can do about that really.
18:13 sri i'm sure you can make apache send additional headers too
18:13 sri but that's really an apache question
18:13 sri and no, there is not a thing you can do about bad setups
18:13 sri except crash if the X-Forwarded-* headers you expect are missing :)
18:13 crab hehe
18:15 sri http://resume.github.com/?kraih # heh, is that new?
18:15 crab yes
18:15 marcus wow, installing plack on a new windows machine takes quite a long time
18:15 sri yea, it has lots of prereqs now
18:15 sri i was a but surprised too last time
18:16 sri s/u/i/
18:16 marcus started the install 25 minutes ago, still running.
18:16 sri :o
18:16 marcus Installing Test-TCP atm
18:18 sri interesting how many people are interested in 2 whitespace indentation
18:18 sri i smell a trend
18:21 marcus I smell a holy war
18:22 tempire 2 spaces are the devil
18:22 tempire 4 is a bit too much for my tastes.  I think 3 is a good medium.
18:23 marcus tempire: wow, you just managed to alienate 95% of all the programmers out there :)
18:23 marcus well done
18:23 marcus now just follow up with how you despise vim and emacs, and prefer pico, and you're done.
18:24 sri haha
18:24 tempire bah.  notepad running in wine under linux.
18:24 sri a true nonconformist
18:25 tempire I've grown accustomed to 4 spaces, since that's what perl stuff seems to use most of the time.  but 3 is my true love.
18:25 marcus hmm, I would like a http://pogue.blogs.nytimes.com/2011/02/03/th​e-commuter-bike-redesigned-and-electrified/
18:25 marcus but 3500 usd is a bit much
18:28 sri don't you need like a snowplow in norway?
18:28 marcus in the winter I prefer a car or the subway
18:28 marcus but one of those would be perfect for the 3 weeks without snow we have...
18:29 marcus not 3590usd perfect tho. that's more expensive than a scooter!
18:31 marcus sri: btw, plackup works perfectly on windows, even when my pwd isn't the app home folder
18:31 sri \o/
18:31 marcus seems Test-TCP was hanging, had to restart cpanm to complete the installation
18:33 marcus sri: also, the tests pass on master.
18:34 sri \o/
18:48 stephan48 http://abc123.pastebin.com/zWKccMUn i am getting these warnings, when using my mojoapp with --reload and current git version...
19:10 sherr left #mojo
19:11 yegor joined #mojo
19:16 marcus hmm
19:16 marcus seems the basicauth plugin is bork in trunk
19:17 tempire !!
19:17 marcus if I do ./myapp.pl cgi it returns Status: 401 Unauthorized
19:17 marcus but if I try to run it as a daemon it goes 'perhaps you forgot to run render'
19:18 marcus I guess it was depending on the 'return not found' behaviour
19:24 jamesw left #mojo
19:27 marcus tempire: if I switch the last line in passwd_prompt to     $c->render(status=>401,text=>'Not authenticated'); it's fine
19:28 tempire That's better anyway, since they can easily rewrite the text.
19:29 marcus \o/
19:29 sri what did depend on not_found behavior?
19:31 marcus sri: http://cpansearch.perl.org/src/TEMPIR​E/Mojolicious-Plugin-BasicAuth-0.033/​lib/Mojolicious/Plugin/BasicAuth.pm <- sub _password_prompt
19:31 sri that's a bug in the module clearly
19:32 marcus yeah I agree, it worked by accident
19:38 marcus sri: the new behaviour makes hypnotoad stuff kind of hard to debug btw. Maybe a return a special message when a request times out without a response?
19:38 marcus like 'This request timed out without a response.' ... :p
19:38 marcus could use a 500 for instance
19:38 sri what hypnotoad stuff?
19:39 sri hypnotoad is not for development
19:40 marcus I mean, I was running this app on hypnotoad, and it was giving me 'empty response'
19:40 marcus I had been developing it using the cgi mode, because it was behind a firewall, and when I tried to test it in production it failed
19:40 sri your unit tests should have catched it
19:41 sri anyway, the timeout happens at the connection level
19:41 marcus sri: really? myapp cgi was giving the right response.
19:41 sri good luck hacking in a 500 ;p
19:41 marcus so I assume a unit test would as well.
19:41 sri unit tests use a real daemon
19:41 marcus I assumed wrong then.
19:42 sri well, improvements are always welcome
19:42 * marcus gets on with his hacking
19:42 marcus yeah, I see how it can be hard to fix
19:42 marcus I do think the current behaviour is better than rendering a not_found
19:42 sri fix implies a problem, you mean improve ;p
19:42 marcus yes
19:42 marcus :)
19:43 sri worst thing about previous behavior, it was ep renderer specific
19:43 sri if you have a different default handler you got screwed
19:44 perlrocks Twitter: "Abhijit Menon-Sen: Returning text/plain responses in Mojolicious http://bit.ly/eMRU1z" --perlironman http://twitter.com/perlironm​an/status/34336580239892480
19:44 * marcus goes back into debugging why nginx is returning a 404 instead of my app
19:45 * sri goes back to supper
19:46 marcus I agree with ams, we should add a note to the docs for render_text
19:46 marcus like 'note that this will not change the default content type.'
19:46 sri sure
19:49 tempire it would be neat if Mojo::DOM->parse handled files as well.  Or if there was a parse_file method.
19:49 tempire probably not necessary.  but makes for better blog posts.
19:49 * sri fears bloat
19:50 sri well
19:50 yegor left #mojo
19:50 sri perl -Mojo -E'say x(`cat foo.xml`)->at("title")->text'
19:50 sri ;p
19:51 tempire true enough
19:52 marcus high times
19:54 tempire crap.
19:54 tempire I forgot to eat today.
19:54 marcus it's still early in your tz tho
19:54 marcus 20:54 here
19:55 marcus or 8:54pm if you prefer :p
19:55 * tempire can't count above 12
19:55 perlrocks Twitter: "tempire at blogs.perl.org: Easy DOM parsing with Mojo:: DOM http://bit.ly/hEh6os" (sv) --tempiretech http://twitter.com/tempirete​ch/status/34339475597299712
19:55 marcus oooh bloggy goodness
19:55 marcus tempire++
19:56 tempire I'm going to see about making simple posts every couple of days.
19:56 sri are you on ironman too?
19:56 sri \o/
19:56 tempire I registered the feed an hour ago
19:56 tempire hopefully this will show up
19:56 sri ah
19:57 sri great
19:59 kmx joined #mojo
20:01 kmx sri: ping
20:03 kmx sri: please have a look at possible Windows fix for home.t at https://github.com/kmx/mojo/commit/709​e009d0bdb613dfd6d4a3e0e3ff6a96b488ffe
20:04 sherr joined #mojo
20:07 sri kmx: pong
20:07 MojoGuest513 joined #mojo
20:07 MojoGuest513 From: http://news.ycombinator.com/item?id=1277067 (196 hits)
20:07 sri interesting
20:07 MojoGuest513 left #mojo
20:07 sri in what environment does the test fail?
20:08 sri does not look windows specific at all
20:09 kmx sri: befor my patch it fails on Strawberry perl 5.10.1
20:09 sri weird, marcus tested it on strawberry too
20:09 sri and it passed
20:09 marcus 5.12.0 tho
20:09 kmx sri: the trouble was different cases do the drive letter - e.g D:\... vs. d:\...
20:10 sri oh
20:12 kmx sri: the fail message from is_deeply was something like: $got->[0] = 'D:' ... $expected->[0] = 'd:'
20:13 GitHub93 joined #mojo
20:13 GitHub93 mojo: master kmx * 0a00896 (1 files in 1 dirs): fix for t/mojo/home.t failing on MS Windows
20:13 GitHub93 mojo: master Sebastian Riedel * 1ffece3 (1 files in 1 dirs): cleanup
20:13 GitHub93 mojo: master commits 0222539...1ffece3 - http://bit.ly/hvoIg3
20:13 GitHub93 left #mojo
20:14 sri kmx++ # wish more people would send patches via github
20:14 * sri glares at the slackers
20:14 kmx sri: np
20:16 kmx left #mojo
20:33 tempire moveable type is crufty.
20:36 marcus tempire: agree
20:36 marcus there's a reason wordpress has beaten it.
20:37 MojoGuest876 joined #mojo
20:37 MojoGuest876 From: http://www.google.fi/url?url=http://bit.ly/d​5PELJ&amp;rct=j&amp;sa=X&amp;ei=YQZPTe6GM4rs​sgaJ_8mQDQ&amp;ved=0CEMQsAcwAg&amp;q=extjs&a​mp;usg=AFQjCNEML24LmHXViUL7KfleOknQbRGQpw (1 hits)
20:37 MojoGuest876 jmh
20:38 cstamas joined #mojo
20:39 cstamas hi
20:39 purl salut, cstamas.
20:40 cstamas can I do http authentication with Mojo::Client ?
20:40 cstamas i did not find in the docs
20:40 sri which kind?
20:40 purl which kind are you banned from and why?
20:41 * sri pats purl
20:41 * purl stabs
20:41 cstamas http basic auth
20:41 purl i think http basic auth is pretty easy.
20:41 MojoGuest876 left #mojo
20:41 sri just put it into the url
20:42 sri ->get('sri:secret@mojolicio.us')
20:42 cstamas oh, ok
20:42 cstamas :)
20:42 sri :)
20:42 tempire :)
20:42 cstamas thx
20:43 cstamas I am trying out a proof-of-concept
20:43 cstamas bbl
20:44 pid joined #mojo
20:59 MojoGuest498 joined #mojo
20:59 MojoGuest498 From: http://www.google.co.nz/search?rlz=​1C1ASUT_enNZ396&amp;sourceid=chrome​&amp;ie=UTF-8&amp;q=ext+websocket (1 hits)
20:59 MojoGuest498 left #mojo
20:59 perlrocks Twitter: "Looks like all tests pass again on windows, so the next #mojolicious release should happen very soon. ;) #perl" --kraih http://twitter.com/kraih/status/34355612401799168
21:00 tempire marcus: can you send me the relevant controller code that the basicauth was failing for?
21:01 marcus tempire: yes. http://paste.scsys.co.uk/86986
21:02 sri nordaaker cowpower? oO
21:02 marcus :)
21:02 marcus we're really a front for CCC
21:02 marcus CDC even
21:03 sri troll research?
21:03 marcus cult of the dead cow
21:03 purl somebody said cult of the dead cow was at http://www.l0pht.com/~veggie/
21:03 sri those still exist?
21:04 marcus no, def. not. forget everything you heard about cdc.
21:04 * sri forgets everything
21:04 marcus thanks
21:04 sri where am i?
21:04 purl you are A PONIE!!1! and a  or no more a javascript noob or evil or a spelling guerilla or the temporary channelclown or a snob now or the perl guerilla or a small mouse with a big head aiming for world domination or the evil sith or has no clue about fuzzy logic or no longer a real hacker :/ or a copycat or pimp to many children or a holy man or looks a lot like pitr or puny or doing ruby now until perl6
21:04 sri heh
21:04 marcus just listen to purl, you'll be fine
21:05 * marcus is watching 'faster'
21:06 * sri is watching being human
21:06 sri not seen the uk original, but the us remake is really weak
21:07 marcus uk original has good ratings. why would you watch the us one?
21:09 marcus 14gb for being human s1 in 720p
21:09 tempire hmm.
21:11 tempire Can you overwrite a previously called render arg?
21:11 tempire As in, call render( text => 'whatever' ), and then call render_text later?
21:11 tempire It seems not.
21:16 kaare left #mojo
21:18 kaare joined #mojo
21:20 tempire I don't think your solution would work, marcus.
21:20 tempire If you call ->render from within the module, you can't set render text later.
21:21 tempire Adding a $c->rendered makes all tests pass, though, including new tests based on your example.
21:21 marcus I guess that would work, but why do you care about the text?
21:21 marcus it's not like the browser renders it
21:21 tempire 'cause the user might want to set it later to say something.
21:22 tempire $self->render_text('denied') if ! $self->basic_auth(...)
21:24 tempire I get the impression that some folk don't like mojo::dom/client/whatever because they view mojolicious as some big huge thing.
21:26 sri we just need to repeat more often that it's smaller than the moose package alone
21:26 tempire I'm going to reiterate a lot in my posts how easy it is to install.
21:26 sri 10k lines of code is nothing really
21:26 tempire Maybe with 'time' output
21:27 sri rails has 150k or so
21:27 tempire perl needs more tools that are used by people beyond perl programmers.
21:27 sri yea
21:27 tempire I download gems to do stuff all the time, even though I'm not a ruby programmer
21:28 tempire using moose in anything makes that implausible
21:28 tempire which sucks.  I'm writing a tool that makes riak more manageable from the command line, but I can't use net::riak
21:28 tempire as neat as its use of parameterized roles is (though seemingly unecessary)
21:32 sri tempire: that mpeters guy is flaming everything mojolicious, you should have just deleted his comment
21:32 sri i would write an answer, but he really doesn't care
21:33 tempire I'm hesitant about deleting comments.
21:33 tempire I don't know that its about him, though.  More about other people reading.
21:33 sri huh?
21:33 sri it's your blog
21:33 sri i don't allow negative comments on my blogs
21:34 tempire I was referring to you posting a response or not
21:34 sri if they want to complain they should invest some effort and make a blog post themselves :)
21:35 * sri doesn't follow
21:37 sri "I don't know that its about him, though.  More about other people reading." that sentence makes no sense to me
21:37 tempire don't worry about it.  I've moved on to other sentences :)
21:38 sri anyway, pquery was never finished, and html::query supports pretty much no selectors
21:40 sri not to mention the xs prereq
21:42 tempire ah!
21:42 tempire they both have xs prerequisites
21:42 sri there are very very few pure perl xml parsers
21:43 sri no relaxed ones i think
21:44 sri there are very good reasons for all mojolicious components to exist, but these people don't care ;)
21:45 sri all you can do is write more blog posts demonstrating the awesomeness
21:49 tempire there.  I think that's a suitable response.
21:49 sri haha
21:50 sri the unicorn defense
21:50 sri well played
21:52 marcus mpeters can't be serious. ingyware is not a substitute!
21:52 marcus pQuery-0.07 - 29 May 2008
21:53 perlrocks Twitter: "Wondering if we should make it a rule that #mojolicious needs to be installable in under a minute? #perl" --kraih http://twitter.com/kraih/status/34368980990828544
21:53 tempire I changed it to about a minute, so no one can say anything based on processor speed and such
21:53 tempire but I like that principle
21:54 marcus HTML::Query looks a bit better. Based on HTML::Tree and Badger
21:56 marcus There's also HTML-Selector-XPath.
21:56 marcus but neither of these can be installed in a minute. :)
21:57 marcus sri: deleting negative comments on your blog seems a bit weak. Better to just have no comments then.
21:57 * sri disagrees
21:58 * tempire thinks 'trolling' is highly subjective
21:58 sri well, i don't delete them, i just don't approve them either ;p
21:58 tempire it's tough to know where to draw the line
21:59 tempire someone's always going to complain, no matter where you draw it
21:59 sri right, and my blog is not a platform for complainers
21:59 marcus so you just have comments there so people can kiss your ass...
21:59 marcus not very useful
22:00 sri or to ask sensible questions
22:01 sri what you shouldn't forget though is that almost all complainers do it anonymously
22:02 marcus wow, I take it back, HTML-Query looks pretty bad too
22:02 sri or worse, use a fake name
22:05 marcus http://www.facebook.com/mi​chael.ryan.peters?sk=info that is mpeters, right?
22:05 sri same reason i hate reddit, people use secondary accounts to be rude and vote multiple times
22:06 daviddelikat1 left #mojo
22:06 sri twitter is a much better social platform
22:08 marcus you mean I can't make extra twitter accounts and be rude?
22:08 sri sure you can, but nobody will listen
22:10 sri on reddit all garbage accounts are equal
22:10 sri that's pretty fatal if your average perl post only gets like 30 votes
22:15 tempire what's the next release version...1.03?
22:15 sri 1.02
22:18 sri damn, just noticed a vti quote i should have used in my blog post
22:18 sri "While writing a standalone WebSocket server isn't that difficult (http://showmetheco.de/articles/2010/11/timto​w-to-build-a-websocket-server-in-perl.html), preforking should be done with care and quality that http://search.cpan.org/perldoc?Mojolicious always brings to you."
22:19 tempire just let it die
22:19 daviddelikat joined #mojo
22:19 sri yea yea
22:19 * tempire hugs sri
22:19 marcus SUPERBOWL
22:19 purl somebody said SUPERBOWL was this sunday right?
22:20 sri what's a superbowl?
22:20 purl i think a superbowl is this sunday right?
22:21 * sri plays the ignorant european
22:21 * marcus is streaming it to his TV.
22:21 marcus doubt I will last until 4 tho, work tomorrow.
22:31 DaTa ah, i just remember the meeting last week, customer took an ad for the superbowl... guess we get ddosed tonight
22:32 marcus those are quite expensive
22:33 tempire I wonder if there's a twitter feed for the game.
22:33 pid left #mojo
22:33 tempire for the ultimate modern geek
22:35 marcus there's a tag for norwegian broadcasting's coverage :)
22:35 marcus so I imagine there will be one
22:35 marcus Cowboys stadium is trending
22:36 marcus seems #sb45 is the tag
22:38 DaTa marcus: it's a big company :)
22:39 ispy_ joined #mojo
22:50 kaare left #mojo

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