Camelia, the Perl 6 bug

IRC log for #mojo, 2011-08-21

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

All times shown according to UTC.

Time Nick Message
00:05 elb0w____ Hey, what doc are helper methods in?
00:34 will joined #mojo
00:44 Akron elb0w___: https://github.com/kraih/moj​o/wiki/Working-with-helpers
00:54 Cside joined #mojo
01:11 elb0w__ joined #mojo
01:14 elb0w__ Anyone a nginx guy here?
01:14 elb0w__ getting 502 bad gateway
01:40 mspo elb0w__: morbo is down?
01:40 elb0w__ nope
01:40 elb0w__ Can I run morbo on large apps?
01:41 elb0w__ that http://myapp
01:41 elb0w__ what should that be?
01:45 mspo what do you mean large apps?
01:51 GitHub160 joined #mojo
01:51 GitHub160 [mojo] kraih pushed 1 new commit to master: http://git.io/l_AQZw
01:51 GitHub160 [mojo/master] added experimental support for testing WebSockets with Test::Mojo - Sebastian Riedel
01:51 GitHub160 left #mojo
01:51 sri \o/
01:51 elb0w__ I was using a lite app
01:51 sri Akron: that also fixed the issue you opened
01:53 elb0w__ so what other things does nginx run ontop of?
01:53 elb0w__ this is pretty cool
01:53 elb0w__ whats the most popular one?
01:53 purl the most popular one is, like, the spidereyeballs one
01:56 perlrocks Twitter: "Lets take advantage of the full stack #websocket implementation in #mojolicious and make testing fun. :) http://t.co/teiZS6A #perl" --kraih http://twitter.com/kraih/status/105095982567530496
02:01 perlrocks Twitter: "The new unit tests are a great example. http://t.co/QQUGYnt #mojolicious #perl #websocket" --kraih http://twitter.com/kraih/status/105097122394800129
02:03 sri elb0w__: hypnotoad behind nginx would be a sane production setup for example
02:03 elb0w__ yeah doing that now
02:03 sri quite sure there's a recipe for that
02:04 Akron sri: Cool! Nice!
02:09 elb0w__ wow nginx is really easy to get going
02:09 elb0w__ f apache
02:23 Akron sri: Just an idea - maybe respond_to should also recognize param('format') as some specifications use this, e.g. http://portablecontacts.net/draft-spec.html, and it should do no harm.
02:24 sri Akron: as in ?format=json
02:24 sri ?
02:26 Akron Right.
02:26 sri hmm, dunno
02:27 Akron You need more real world examples, right? ;)
02:27 sri and possibly more time to think about it
02:28 Akron So you had lot of beer tonight?
02:28 sri some, not that much
02:30 Akron sri: Another rw example: http://oembed.com/
02:32 Akron It seems that even Opensearch encourages that: http://www.opensearch.org/Sp​ecifications/OpenSearch/1.1
02:33 sri respond_to is supposed to be a step up from the default format handling, format param doesn't seem to fit into that
02:34 sri i'm more worried about consistency and ease of documentation atm
02:34 sri what i don't see here is a clean path
02:35 Akron You mean, to document the chosen sequence of handling? accept -> stash(format) -> param(format)?
02:35 sri and the path from default format handling to respond_to
02:36 Akron I just stumbled upon it when I discovered I had to explicitely test for param before applying respond_to.
02:36 sri especially since the parameter would have lower precedence than the stash value
02:36 Akron Yes. That's the precedence queue I used.
02:37 Akron Maybe there's a spec out there, having a paragraph making this clear. format=json is pretty common, I believe.
02:38 sri i don't disagree
02:38 sri just want a clear path for explaining it first
02:40 sri give me some time to think about it :)
02:41 sri not much else that would speak against it i guess
02:42 sri after all respond_to is supposed to really try hard to find out what format the user might like
02:43 Akron Funny - grails has the format parameter preceding the fileending. http://grails.org/doc/1.0.x/re​f/Controllers/withFormat.html
02:44 sri heh
02:44 sri yea, think i'm ok with it
02:45 Akron I don't know - should this even override accept headers?
02:45 sri hell no
02:46 sri accept, stash, param
02:46 Akron http://grails.org/doc/1.0.x/guide/single.html#6.8%20Content%20Negotiation
02:47 Akron I think it's okay to say it overrides stash. But this says it overrides accept. Which in my opinion is not really nice.
02:47 sri we do routes before params everywhere else
02:49 Akron Is stash(format) only set when there's a defined mime-type?
02:49 sri no
02:50 Akron Hm. I can see test.xrd?format=xml making sense by overriding the stash.
02:50 sri i don't think that's common enough
02:51 sri not to mention ugly as hell
02:51 sri if a user wants to go there they should do it explicitly ;p
02:51 sri s/they/he/
02:52 sri but maybe this needs more thought
02:52 sri (as in i'm not ok with it for now)
02:53 Akron Example: People were serving their activity streams feed under /feed.xml. Now json is the preferred format. Because they don't want to change anything, they allow /feed.xml?format=json. Ugly as hell, I agree.
02:54 sri well, that behavior can be done more consistently with a plugin
02:55 Akron This was not meant to be a Mojo example, just a precedence example.
02:55 sri well, it was enough to talk me out of it again :)
02:55 Akron :D
02:55 Akron I'm pretty good with that! :)
02:57 Akron I think it should be anywhere in respond_to, as it seems to be quite commmon and not harmful. But I'm not sure regarding the order.
02:58 sri well, param being last seemed harmless, but i can see allowing to override the stash causing trouble
02:58 Akron I'm happier with good solutions than with just convincing people. ;)
02:59 Akron I see.
02:59 sri but i'm just not sure now
03:00 Akron The problem may be, that some want to use the format param for completely different things. /today.xml?format=yy-mm-dd :D
03:00 sri ye
03:01 sri that actually looks more common to me
03:02 Akron Hm.
03:05 will_ joined #mojo
03:06 ispy_ joined #mojo
03:09 elb0w__ so confused, $r->route('/')->to('default#index');  should hit the file in lib/Myapp/Default.pm
03:09 elb0w__ no?
03:18 marty elb0w__: Yes.  Unless another route matches before that one.
03:18 elb0w__ it isnt
03:18 elb0w__ not going there tho
03:18 elb0w__ so confused
03:18 marty I do that all the time and it works perfectly.  So must be something else.
03:19 marty Do you have a index subroutine defined in Default.pm
03:21 Akron elb0w__: Wrong package name? Not a child of Mojolicious::Controller?
03:22 elb0w__ sec
03:26 elb0w__ http://pastie.org/2404649
03:26 elb0w__ Thats my setup
03:27 elb0w__ dunno whats wrong
03:40 elb0w__ argh wtf
03:41 elb0w__ oh
03:41 elb0w__ its morbo
03:41 elb0w__ can you not run morbo on a normal app?
03:44 sri of course you can, it works flawless if done right
03:44 sri morbo --help
03:45 elb0w__ doesn't it default to lib?
03:45 Akron Good night!
03:46 sri look first ask second
03:47 * sri really needs to sleep too
03:47 sri nn
03:47 elb0w__ night
03:52 sugar joined #mojo
04:18 Kulag joined #mojo
04:35 kaare joined #mojo
04:42 sugar joined #mojo
04:42 jwang joined #mojo
04:47 perlrocks Twitter: "I keep what works and where the first mojolicious なう this." (ja) --lestrrat http://twitter.com/lestrrat​/status/105138864267608064
05:03 perlrocks Twitter: "2 indents one I will deposit it in Perl and a bit. But I and I Mojolicious." (ja) --hisaichi5518 http://twitter.com/hisaichi55​18/status/105143072471523328
05:16 perlrocks Twitter: "What documents are mojolicious mojolicious: please do a lite clear" (ja) --lestrrat http://twitter.com/lestrrat​/status/105146305512357889
05:24 Cside joined #mojo
05:29 perlrocks Twitter: "smart in dealing with the DB mojolicious, Perl programmers are 12 years are stuck in some place called." (ja) --lestrrat http://twitter.com/lestrrat​/status/105149607901794304
05:41 noganex_ joined #mojo
05:49 Foxcool joined #mojo
06:01 Eugene joined #mojo
06:07 Eugene left #mojo
06:08 Eugene joined #mojo
06:33 Firkin joined #mojo
06:59 Foxcool joined #mojo
07:27 Alias joined #mojo
07:48 perlrocks Twitter: "Mojolicious-Plugin-DomIdHelper 0.03 by SHAW - http://t.co/qvRmUze" --cpan_new http://twitter.com/cpan_new​/status/105184380384841728
08:59 Foxcool_ joined #mojo
09:00 Foxcool joined #mojo
09:11 perlrocks Twitter: "From a worker is tired now anyway mojolicious" (ja) --lestrrat http://twitter.com/lestrrat​/status/105205469219532800
09:17 perlrocks Twitter: "Pleasant hacking this weekend, diving into HTML5 with Perl and Mojolicious, inspired by 10 Catalyst Models in 10 Days: http://t.co/AqPAcUB" --zakame http://twitter.com/zakame/​status/105206763116171264
09:19 Eugene joined #mojo
10:10 perlrocks Twitter: "Modifying examples / microhttpd.pl for non keepavlie and ab without-k gives about 400 times less rps. Is Mojo:: IOLoop so slow? # Perl # mojo" (ru) --vokbuz http://twitter.com/vokbuz/​status/105220320201408512
10:18 Cside joined #mojo
10:27 Kulag joined #mojo
10:35 Foxcool joined #mojo
10:36 Kulag joined #mojo
11:09 Foxcool joined #mojo
11:23 perlrocks Twitter: "MCPC: Mojolicious:: http://t.co/Qk3KDUh Lite I have tried" (ja) --CLCLCL http://twitter.com/CLCLCL/​status/105238612555214848
11:33 Foxcool joined #mojo
11:51 xxtjaxx sri: ping
12:01 Cside joined #mojo
12:24 Kulag joined #mojo
12:30 Drossel joined #mojo
12:42 perlrocks Twitter: "MCPC: Mojolicious:: http://t.co/sfzLR8l Lite I have tried" (ja) --wPerlnews http://twitter.com/wPerlnew​s/status/105258364283523072
12:44 Kulag joined #mojo
12:50 sri xxtjaxx: pong?
12:52 perlrocks Twitter: "sharifulin's posterous - Perl. Mojolicious-use applications in separate scripts http://t.co/igf51VD" (ru) --geekspot_ru http://twitter.com/geekspot_​ru/status/105261030061506560
12:58 GitHub170 joined #mojo
12:58 GitHub170 [mojo] kraih pushed 1 new commit to master: http://git.io/alKphw
12:58 GitHub170 [mojo/master] triggers were not necessary - Sebastian Riedel
12:58 GitHub170 left #mojo
12:59 xxtjaxx sri:  interested in a blogging engine as a Mojo::Plugin? :)
13:01 sri there is no plugin i'm not interested in ;)
13:04 Drossel joined #mojo
13:05 xxtjaxx weeell do I have something then for you. ^^ Currently implementing the datastructures. And chaining it to Mojo::Config so I can use the config. This'll be cool.
13:05 sri sounds like it could make a good example
13:07 xxtjaxx sri: What I was actually wanted to ask: I want to inflate my Lite app that is holding it right now. a lib directory and templates etc do exist already.
13:07 xxtjaxx sri: will it replace or just copy the files in these directories?
13:12 sri it will not erase the exsting directory but overwrite files i think
13:13 sri but you better try it with a harmless app first ;p
13:16 Kulag joined #mojo
13:38 Kulag joined #mojo
13:40 xxtjaxx sri: shouldn't inflate turn my Lite app into an app instead of just replacing templates I might have had in the templates dir?
13:40 sri that sounds unrealistic
13:41 xxtjaxx hum.
13:52 * marty good morning everyon... ALL GLORY TO THE HYPNOTOAD
13:55 nickl joined #mojo
13:56 perlrocks Twitter: "MCPC] [Mojolicious:: I have tried Lite: until now to make dynamic web sites entirely in Perl CGI:: I was using the Application ... http://t.co / Xp9f0fS" (ja) --yorozu_yaji http://twitter.com/yorozu_ya​ji/status/105277010909208576
14:21 alnewkirk joined #mojo
14:33 alnewkirk what are the policies on uploading commands?
14:48 sri policies?
14:48 purl policies are in place, yes.  he just brought it in to mess with us.
14:49 Eugene joined #mojo
14:49 crab a fair trial, followed by a flogging in the public square.
14:49 * sri likes
14:50 abra joined #mojo
14:51 alnewkirk ... meh
14:52 alnewkirk well, I have this generator I've been using that creates Web Service scaffolding based on DBIx::Class and a target database
14:53 alnewkirk Mojolicious::Command::Generate::ServiceApp seemed a bit generic but if there are no objections
14:53 alnewkirk ...
14:53 marcus I say let a thousand turds bloom :)
14:53 alnewkirk ...
14:54 marcus alnewkirk: Generate::WS::Dbic?
14:55 nickl hello, is there a way to have general init method in my mojolicious controller that runs once per request before my controller actions?
14:55 alnewkirk thats pretty non-descript
14:55 alnewkirk nickl, lite app or full
14:56 nickl full
14:56 crab Generate::DbicApp?
14:56 alnewkirk crab, its more of a web service than an app though
14:57 sri nickl: startup ;)
14:57 sri quite sure even the comment in the generated example says that
14:58 crab sri: once per request, he said
14:59 nickl sri: hmm I didn't think  startup was appropriate for doing request-based stuff like cookies or headers?
14:59 alnewkirk use a hook nickl
15:00 alnewkirk $app->hook(
15:00 alnewkirk before_dispatch => sub {
15:00 nickl alnewkirk: ok, thanks, will do that
15:00 sri ah ok, then what alnewkirk said
15:02 kaare joined #mojo
15:09 nickl thanks guys, just what i needed :)
15:11 GitHub56 joined #mojo
15:11 GitHub56 [mojo] kraih pushed 1 new commit to master: http://git.io/IGHknA
15:11 GitHub56 [mojo/master] documentation tweaks - Sebastian Riedel
15:11 GitHub56 left #mojo
15:24 perlrocks Twitter: "1.85 Mojolicious http://t.co/h43DLTa" (sw) --campuscodi http://twitter.com/campuscod​i/status/105299284764794881
15:43 Akron joined #mojo
15:49 GitHub118 joined #mojo
15:49 GitHub118 [mojo] kraih pushed 1 new commit to master: http://git.io/Ggh8VA
15:49 GitHub118 [mojo/master] added GET/POST parameter support to respond_to - Sebastian Riedel
15:49 GitHub118 left #mojo
15:49 sri Akron: not 100% sure about exact behavior yet, but this should be a good start
15:50 Akron sri++! \o/
15:50 Akron Yeah - the most harmless solution.
15:51 Akron If someone wants overwriting behaviour, she simply could code that explicitely.
15:51 sri ye, it won't even fallback to param if it found an invalid value in accept/stash
15:52 sri this will stay experimental for some time, so we can explore the best possible solution
15:53 sri t is now almost 2000 lines of code ahead of lib :D
16:11 Akron joined #mojo
16:20 sri still wonder if 204 No Content should be the default for respond_to
16:21 sri instead of just doing nothing and returning false
16:36 alnewkirk lmfao, seriously sri ....
16:36 xaka joined #mojo
16:37 alnewkirk mojo generate app TESTAPP .... [mkdir] C:\Tmp\t_e_s_t_a_p_p\....
16:37 alnewkirk wow
16:37 alnewkirk v
16:38 sri ?
16:43 alnewkirk we could maybe use wee bit smarter regex
16:46 perlrocks Twitter: "Trolls are obviously gaming the voting feature now… http://t.co/zh8aMlz #perl" --kraih http://twitter.com/kraih/status/105319926809632769
16:46 sri alnewkirk: feel free
16:47 alnewkirk sri, one thing at-a-time, .... this ::Generate::RestApp command is turning out pretty nice
16:48 sri hint: there's a reason it works that way
16:48 alnewkirk share
16:50 sri roundtrip integrity
16:52 jwang just used dzil for the first time. it's pretty easy. I was thinking it could use a "mojocast" to show how easy it is to contribute to CPAN
16:52 sri please don't promote dzil :(
16:52 jwang oh? what's wrong with it?
16:52 jwang besides it downloads half of CPAN?
16:52 sri i absolutely hate checking out github repositories without makefile...
16:53 jwang mmm
16:53 jwang what do you use?
16:53 sri plain old makefiles
16:54 jwang POM - thought that was a juice ;)
16:54 jwang ok, something to think about
16:54 alnewkirk sri, that a completely ridiculous argument
16:55 sri alnewkirk: please elaborate
16:56 alnewkirk authors commiting the dzil config instead of the generated library has nothign to do with DZIL or its effectiveness
16:57 sri i'm not even arguing, just giving my opinion
16:58 alnewkirk you discourage the promotion of Mojo with Dzil because of a "practice" that has nothing to do with either
16:58 sri now you make no sense
17:00 jwang with dzil, won't perl Makefile.PL make the Makefile
17:00 jwang or is that not good enough?
17:01 sugar joined #mojo
17:01 sri only if there is a Makefile.PL
17:02 sri but my experience is that people using dzil just put a dist.ini into their github repos
17:03 alnewkirk exactly ... "that is the practice most people employ" ... which has nothing to do with dzil
17:04 jwang dzil will autogen a Makefile.PL. perhaps the webcast should recommend people autogen the files before uploading to github
17:04 stephan48 dzil is just awfull
17:04 alnewkirk i think its inconsiderate as well
17:04 stephan48 first installing half cpan for just being able to generate a makefile
17:04 alnewkirk ... I also do it all the time
17:04 stephan48 then installing the other half cause the author added 50 plugins to further obscure the build process
17:04 stephan48 sry. my opinion.
17:05 ispy_ joined #mojo
17:05 alnewkirk so dont use it, but the fact that a good majority of libraries use it should be testiment enough of its practicality
17:05 jwang stephan48: what do you use?
17:06 jwang it seems easy, but I've only built one, super simple package with it so far.
17:06 stephan48 last time i used extutils or how it was called
17:06 sri haha… alnewkirk is in fact the perfect example
17:07 stephan48 yes it might be easy if you got it installed
17:07 alnewkirk :}
17:07 stephan48 but before you sit there installing deps
17:07 sri https://github.com/alnewki​rk/Dancer-Plugin-ORMesque # i wouldn't touch that with a 10 foot pole...
17:07 sri nothing but a dist.ini
17:07 stephan48 *shoves alnewkirk into the aligator pit and throws some new aligators in* sry whoever else is in there
17:08 sri that's like saying "stay the fuck away from my code!"
17:08 stephan48 ye
17:08 alnewkirk if you can't figure out how to install it, ... then its not for you :}
17:08 stephan48 alnewkirk: i mean te time
17:08 stephan48 nothing is more awfull for a quick fix than waiting hours on cpan
17:09 alnewkirk stephan48, more ridiculous assumptions
17:09 alnewkirk every library using dzil is not just"a quick fix"
17:09 stephan48 i mean when you want to do a quick fix
17:10 sri you're basically discouraging contribution, which is not for me
17:10 alnewkirk ... also, please decide which philosophy you subscribe to ... code reuse (implies loading alot of shit from CPAN) .. or PHP
17:10 alnewkirk lol
17:10 stephan48 k
17:10 sri i use the best tool for the job
17:11 sri i never pick extremes
17:12 alnewkirk my point remains, because I choose to commit my dzil config ... and not the generated "perl package (with Makefile)" has nothing to do with dist-zilla
17:12 alnewkirk that just me (and others) being lazy
17:12 stephan48 yes and dist-zilla encourages to be lazy
17:12 stephan48 if i now would like to install your github version i would first need to install a complete dist zilla
17:13 stephan48 before being able to do so
17:13 alnewkirk yup
17:13 jwang alnewkirk: why don't you just commit the makefile?
17:13 * sri goes to do something useful
17:14 stephan48 yap
17:15 alnewkirk jwang, im lazy, ... and when the project is complete it'll usually end up on CPAN where everyone can access it
17:15 stephan48 oh wait? if i remmeber correctly you must build a dist out of the codebase first with dist-zilla before getting a makefile!!
17:15 alnewkirk stephan48, yes
17:15 stephan48 and for the people who want to use the github version cause it contains a bug fix?
17:16 alnewkirk stephan48, also, if people want to use your bug fix, ... guess what, ... they need to install Git
17:16 alnewkirk ... or SVN,  ... or CVS
17:16 stephan48 why? github allows to download a tarball
17:17 sri indeed it does, and you can send a patch via ticket
17:17 alnewkirk stephan48, if you use github
17:17 alnewkirk plenty of opensource project are not on guthub
17:17 alnewkirk github*
17:17 stephan48 yes but this is a smaller problem compared to the dzil one
17:18 stephan48 cause git is easily installable  via distro repos or installers even on win
17:18 alnewkirk plenty of opensource project I'd like to contribute to use SVN which I hate, which means I have to install SVN to download, etc ...
17:18 alnewkirk same difference
17:19 alnewkirk stephan48, cpanm Dist::Zilla seems easy enough to me also
17:19 alnewkirk cpanm
17:19 alnewkirk cpanm | dzil authordeps
17:19 alnewkirk ... still easy
17:19 alnewkirk wheres the hardship?
17:20 * alnewkirk goes to get some sushi ... ttyl
17:21 alnewkirk sri, ... alnewkirk/Dancer-Plugin-ORMesque is quite grotesque, ... not one of my finer moments
17:22 stephan48 its an obstacle in the way of just installing the stuff and contributing
17:22 stephan48 also the order in your authordeps line is wrong
17:22 stephan48 you pipe cpanm into dzil
17:49 crab when i first encountered a dist::zilla thing, i had to install a gazillion plugins one by one. it was annoying.
17:50 jwang but as long as the dzil user ships the makefile, it should be fine
17:50 jwang is what I'm hearing
17:50 purl hearing is not necessary to learn.
17:52 jwang marcus: ping
17:53 jwang I'm a veteran of Catalyst, Moose and Plagger - other dists that are heavy CPAN users :p
17:53 jwang Dzil takes way shorter time to install than Plagger ;)
18:05 marcus jwang: hey
18:05 marcus there was a very good blog post about what dzil users need to do recently
18:05 marcus I tweeted it
18:06 jwang sounds good
18:06 jwang I'll look for it
18:06 jwang marcus: gb now has a link to each project right on every discussion and summary page: http://grokbase.com/g/lists.scsys.co.uk/mojomojo
18:07 jwang though I'm not sure why the external link icon isn't showing up on safari yet
18:08 GitHub105 joined #mojo
18:08 GitHub105 [mojo] kraih pushed 2 new commits to master: http://git.io/QmPtjg
18:08 GitHub105 [mojo/master] removed old commands - Sebastian Riedel
18:08 GitHub105 [mojo/master] deprecated camel case command modules and lowercased all the built-in ones - Sebastian Riedel
18:08 GitHub105 left #mojo
18:08 sri found a way to make lower case modules work
18:12 perlrocks Twitter: "Simplified #mojolicious command modules a bit to lower the learning curve. http://t.co/ir0M31q #perl" --kraih http://twitter.com/kraih/status/105341564208947203
18:13 crab jwang: sounds like i'm lucky to not even know what plagger is
18:14 jwang crab: it's a miyagawa dist
18:15 jwang crab: but it's not the only module to have lots of cpan deps
18:15 alnewkirk ... thats descriptive
18:15 jwang alnewkirk: he seems to have a following
18:18 marcus plagger is a swiss army chainsaw for rss.
18:18 marcus so it has a bunch of optional dependencies to do various bizarre things to rss
18:19 marcus like translators and cleaners and converters and so on
18:19 sri please try the latest changes on github, i want to release soonish
18:19 jwang reason it had a lot of deps is that it shipped with all the plugins
18:21 * alnewkirk is watching freind with benefits
18:23 GitHub7 joined #mojo
18:23 GitHub7 [mojo] kraih pushed 1 new commit to master: http://git.io/2_mHoQ
18:23 GitHub7 [mojo/master] slightly better loader - Sebastian Riedel
18:23 GitHub7 left #mojo
18:27 GitHub119 joined #mojo
18:27 GitHub119 [mojo] kraih pushed 1 new commit to master: http://git.io/m1-B2g
18:27 GitHub119 [mojo/master] cleaned up command loader - Sebastian Riedel
18:27 GitHub119 left #mojo
18:28 crab dammit sri. every time i pull and start make test, you push another change. :-P
18:28 sri ;p
18:30 crab (in cleanup) Can't call method "FILENO" on an undefined value at /home/ams/extern/mojo/blib/lib/Mojo/IOWatcher.pm line 104 during global destruction.
18:30 sri unrelated and harmless
18:30 sri TEST_TLS=1?
18:30 crab yes
18:30 sri IO::Socket::SSLs fault
18:30 crab thought so.
18:31 sri it falls over when try to clean its handles up
18:32 crab bleh. now my ~/perl5/perlbrew/perls/perl-5.12.3/lib​/site_perl/5.12.3/Mojolicious/Command contains Cgi.pm, cgi.pm, Generate, generate, etc.
18:32 sri harmless but ugly
18:33 sri not much i could do about that though
18:33 crab what happened to generate/makefile? went away earlier?
18:34 sri nope, still there
18:34 crab (i see Command/Generate/Makefile.pm, but no Command/generate/makefile.pm)
18:34 sri wait
18:34 sri hmm
18:36 GitHub132 joined #mojo
18:36 GitHub132 [mojo] kraih pushed 1 new commit to master: http://git.io/7bSp5Q
18:36 GitHub132 [mojo/master] added makefile.pm again - Sebastian Riedel
18:36 GitHub132 left #mojo
18:36 sri he wandered off into the woods...
18:38 Firkin left #mojo
18:56 GitHub5 joined #mojo
18:56 GitHub5 [mojo] kraih pushed 1 new commit to master: http://git.io/jUN6iw
18:56 GitHub5 [mojo/master] made class_to_file slightly smarter - Sebastian Riedel
18:56 GitHub5 left #mojo
18:59 perlrocks Twitter: "Released #mojolicious 1.86 with quite a few new features, enjoy! :) http://t.co/bDGJmwj #perl" --kraih http://twitter.com/kraih/status/105353405970657280
19:00 perlrocks Twitter: "Mojolicious 1.86 by SRI - http://t.co/aEsZuvZ" (ms) --cpan_new http://twitter.com/cpan_new​/status/105353488678125569
19:11 alnewkirk yayayaya .... *hughes*
19:11 sri hope this release doesn't go horribly wrong
19:14 sri but lower case commands are better
19:25 perlrocks Twitter: "@kraih hi Kraih, kindly direct me to any information about application developed using mojolicious framework." --goksie http://twitter.com/goksie/​status/105359785901293568
19:33 perlrocks Twitter: "Just to make sure, if you have existing #mojolicious commands, please rename them, the old naming scheme is now deprecated! #perl" --kraih http://twitter.com/kraih/status/105361860706041856
20:56 snerfu joined #mojo
20:57 snerfu What is the best way to download the documentation for offline viewing?
20:59 snerfu Are those .t files in the source perldoc files?
21:00 snerfu Ah test files.
21:05 ispy_ joined #mojo
21:06 marty joined #mojo
21:22 sri snerfu: quite sure there are pod to epub converters
21:32 sri the perldoc browser and command line viewer not enough?
22:02 * tempire uses dzil
22:02 * tempire also includes the built distribution in the repository
22:03 tempire I have a request
22:03 tempire %= tag tag name => 'content'
22:03 tempire ex: %= tag h1 => 'header text'
22:06 GitHub27 joined #mojo
22:06 GitHub27 [mojo] kraih pushed 1 new commit to master: http://git.io/gZ44AQ
22:06 GitHub27 [mojo/master] added command recipe - Sebastian Riedel
22:06 GitHub27 left #mojo
22:18 tempire I was thinking it would be good to have a notification on the command line that /perldoc has Mojolicious docs available when using PODRenderer
22:18 tempire for n00b transparency
22:19 tempire I went to add it, however it doesn't look like there's any way to display message after the daemon is listening, unless you do it on every request
22:19 tempire something like "Mojolicious perldocs are available at http://127.0.0.1:3000/perldoc/"
22:19 snerfu Ah, i didn't know you could do that.
22:20 snerfu Thanks!
22:20 tempire My suggestions come pre-loaded with two use cases. :)
22:23 GitHub145 joined #mojo
22:23 GitHub145 [mojo] kraih pushed 1 new commit to master: http://git.io/gC3JdA
22:23 GitHub145 [mojo/master] added experimental app method to Mojo::Command and improved cookbook recipe - Sebastian Riedel
22:23 GitHub145 left #mojo
22:24 snerfu Website is great, I am just going to be flying a bunch the next few days and there is no better time to get situated with this. In my oppinion if this where under the "welcome to mojolicious" text on the default /welcome page it would be quite ideal.
22:27 perlrocks Twitter: "Adding new commands to #mojolicious is easy, fun and dangerous. :) http://t.co/PakjpCc #perl" --kraih http://twitter.com/kraih/status/105405647843110912
22:28 tempire snerfu: it is there, actually
22:39 sri hmm, next major release will have to be 2.0
22:50 tempire if you give me a concise list of all the changes, and some lead time, maybe there could be a short mojocast for it
22:50 tempire a promotional video, I guess
22:50 tempire mojopromo
22:51 snerfu I don't see that on my welcome page using morbo. Are you the guy that does the mojocasts? Those are great.
22:51 tempire :)
22:51 tempire you have to scroll down for it
22:51 tempire or wait, it's not at welcome.  just at /
22:52 snerfu Ahh, ok. I never went there. That explains that.
22:52 tempire interesting.  the first thing you did was go to /welcome?
22:53 snerfu Yeah, because the firs thing I did was examine the route in the generated lite file.
22:53 snerfu I am probably an unusual case.
22:53 snerfu An oddball.
22:53 purl it has been said that an oddball is not in the core
22:54 tempire sri: have you tried to get your theme to look the same in lion terminal as it does in macvim?
22:55 snerfu I have been using it for a few days now and never went to /. I was going to work that later to add this openID login.
22:56 sri tempire: oh, just look through the changes file, last major release and upwards, gonna mention it *ALL* in my blog post :)
22:57 sri so many cool user visible changes i might even have to make it two blog posts
22:57 tempire you're talking about the diff between v1.86 & v2, or v1 and v2?
22:57 sri snerfu: then you really missed out on the welcome page!
22:58 sri tempire: 1.4 - 2.0
22:58 purl -0.6
22:58 * sri bonks purl on the noggin
22:58 purl *thunk*
22:58 tempire oh, since the code name change
22:58 sri code name = major release
22:58 tempire right
22:59 sri maybe in the future we can tie major releases to x.0 versions
22:59 sri since they won't happen as often anymore
22:59 tempire I think most people think in those terms.
22:59 tempire I do, certainly
22:59 tempire it's arbitrary, but familiar
23:00 sri or we go versionless like firefox :D
23:00 tempire that's not bad either.
23:00 tempire well
23:00 tempire b
23:01 tempire but they're heading towards a time of seamless upgrades
23:01 sri a mojopromo for 2.0 could be cool
23:01 tempire can't really do that for a server side framework
23:01 sri it's still a few weeks off though
23:01 sri maybe i can time it with the mongodb driver release
23:02 tempire that would be pretty fantastic
23:02 tempire would be quite the hullaboo
23:02 tempire hullaballoo, even
23:02 sri after all the renaming recently mojolicious could surely use a few slower weeks to settle
23:05 tempire between 2.0, blog entries, hacker news, mojo promo, and mojocasts, we could clog up the new stream for a whole week
23:06 sri :)
23:06 tempire *news
23:06 tempire I'm not wholly committed on the mojopromo, though.  Only if it's a minimal amount of work.
23:07 tempire a mojocast takes a lot of planning.
23:07 tempire But if it's just a matter of recording, it's all good.
23:07 sri sure, i'm not planning with it, but will be happy if it happens
23:08 sri was that correct english, or did i mean to say "not planning it in"?
23:08 tempire I suspect you meant "I'm not depending on it"
23:09 * sri nods
23:09 sri also gonna need a good new code name
23:09 tempire why does macvim look different from vim in 256 color terminal?
23:09 tempire !@#
23:10 sri because it's only 256 colors
23:10 sri those were the closest i could find
23:10 tempire macvim is more than 256?
23:10 sri the 256 color palette is not good at pastels...
23:11 sri yes
23:11 tempire oh
23:11 tempire well no wonder
23:11 tempire well damnit
23:11 tempire now I don't care about lion's terminal.
23:12 sri well, it's a big step up from 16 colors!
23:12 tempire a pentium is a big step up from a 286
23:12 tempire it's still old
23:12 * tempire grumbles
23:12 sri ;p
23:13 tempire there was a pdf with the unicode symbols somewhere, right?
23:13 sri good old days… i still remember playing dune on my first 486
23:13 tempire dune!!
23:13 tempire wait, you mean dune II?
23:13 sri yea
23:13 tempire I played dune II on my 386 16 sex
23:13 tempire er, SX
23:13 tempire that was the best game ever.
23:14 sri indeed
23:14 tempire no one ever knows what that game is.
23:14 tempire they always assume I mean doom
23:14 * tempire rolls his eyes
23:14 purl You rolled an 8, tempire
23:16 tempire karma for tempire
23:16 purl tempire has karma of 28
23:17 snerfu That /perldoc thing is just what I needed. I would not have scrolled down if you hadn't told me though or I accidently did it, I am a bit dense.
23:27 tempire leaf fluttering in the wind
23:27 tempire http://www.fileformat.info/inf​o/unicode/char/1f343/index.htm
23:29 sri heh
23:29 * sri likes
23:29 sri perfect for the season
23:32 tempire did you see my tag suggestion?
23:32 sri nope
23:33 tempire %= tag h1 => 'header content'
23:33 tempire so it would operate the same as text_field
23:33 sri hmm
23:33 tempire makes for prettier templates
23:34 sri %= tag h1 => sub { 'header content' }
23:34 sri well, if it has no side effects, go for it
23:35 sri hmm, it actually already checks for even and odd, not sure why
23:36 tempire it seems like a natural step.
23:36 sri sure
23:36 tempire I was a little surprised but the requirement of sub
23:36 sri should be a small change, just make sure nto to forget pod and test
23:37 sri there's already a tag helper lite test
23:38 sri pop if @_ % 2;
23:38 sri that line bugs me
23:38 sri no idea what it is for
23:38 sri maybe i even planned to add your feature when i wrote the helper
23:39 sri well, it's all you need
23:39 sri that pop would be your content
23:40 tempire k

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