Camelia, the Perl 6 bug

IRC log for #mojo, 2010-12-19

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

All times shown according to UTC.

Time Nick Message
00:03 trcjr joined #mojo
00:05 perlrocks Twitter: "Now Mojolicious / Mojo code, read to understand the flow of work. Time is one hour. Add another hour to 足Rinakattara. Well, start." (ja) --kuusou_kyokusen http://twitter.com/kuusou_kyok​usen/status/16283017446170624
00:09 und3f is now known as und3f[A]
00:15 trcjr left #mojo
00:23 vel left #mojo
00:27 macroz left #mojo
00:56 perlrocks Twitter: "Mojolicious:: Commands-> start from Mojo:: Server ::*-> run to understand the overall flow." (ja) --kuusou_kyokusen http://twitter.com/kuusou_kyok​usen/status/16295723112861696
00:58 perlrocks Twitter: "Mojolicious perlism I wanted to pick up the bot as well. Mojo's weird because I take." (ja) --kuusou_kyokusen http://twitter.com/kuusou_kyok​usen/status/16296258977136640
01:00 perlrocks Twitter: "RT! Kuusou_kyokusen: perlism Mojolicious I wanted to pick up the bot as well. Mojo's weird because I take." (ja) --perlism http://twitter.com/perlism​/status/16296670316724224
01:06 daviddelikat left #mojo
01:18 daviddelikat joined #mojo
01:25 DaTa I \N{BLACK HEART SUIT} PodRenderer
01:42 MojoGuest297 joined #mojo
01:42 MojoGuest297 From: http://news.ycombinator.com/item?id=1277067 (112 hits)
01:43 MojoGuest297 left #mojo
01:54 perlrocks Twitter: "Mojolicious / Mojo complete understanding. Summarize later ...." (ja) --kuusou_kyokusen http://twitter.com/kuusou_kyok​usen/status/16310424056102913
02:56 perlrocks Twitter: "When running with FastCGI Mojolicious in 割Ri込Menai environment variable. Maybe so dense Mojolicious this environment depends on many things." (ja) --kuusou_kyokusen http://twitter.com/kuusou_kyok​usen/status/16326081850114048
02:59 weestrom left #mojo
04:03 tl joined #mojo
04:05 weestrom joined #mojo
04:05 tholen42 left #mojo
04:38 perlrocks left #mojo
04:46 avkhozov left #mojo
05:06 weestrom left #mojo
05:06 weestrom joined #mojo
05:11 josh left #mojo
05:50 weestrom ok, I'm having trouble creating a class with base Mojo::Base, not sure where I'm effing up
05:51 weestrom I'm trying to create a Users class with base mojo::base, and in my app do $self->{Users} = Users->new;
05:52 weestrom which seems to work, until it gets called in a controller with a $c->app->users (I created a method to return $self->{Users}
05:52 weestrom this has worked for all the other classes I have pulled in (not classes I've created)
05:53 weestrom I get "error Mojolicious::Controller:413 [29437]: Can't call method "shift" on an undefined value" inside the users method that's trying to do the $self->shift the then return $self->{Users}
05:53 weestrom any pointers?
05:54 weestrom the initialization is inside the startup method
05:55 weestrom sorry it's doing $self = shift;
05:55 weestrom oh, just answered my OWN question
05:55 weestrom it WAS doing $self->shift; which is OF COURSE wrong
05:55 weestrom <facepalm />
07:21 und3f[A] is now known as und3f
07:56 weestrom left #mojo
08:01 perlrocks joined #mojo
08:03 sri moin
08:04 sri yea, it's funny how often just talking to yourself in an irc channel solves problems
08:04 sri :)
08:12 GitHub45 joined #mojo
08:12 GitHub45 mojo: master Sebastian Riedel * 7e77535 (2 files in 1 dirs): cleanup - http://bit.ly/dVip6g
08:12 GitHub45 left #mojo
08:30 perlrocks Twitter: "Mojolicious or rather write a brief summary of the flow behavior and https: / / sites.google.com/site/515m​emo/mojolicious-no-kyodou" (ja) --kuusou_kyokusen http://twitter.com/kuusou_kyok​usen/status/16409944995659776
08:35 perlrocks Twitter: "RT! Kuusou_kyokusen: Mojolicious or rather write a brief summary of the flow behavior and https: / / sites.google.com/site/515m​emo/mojolicious-no-kyodou" (ja) --perlism http://twitter.com/perlism​/status/16411173842845696
08:56 perlrocks Twitter: "RT @ kuusou_kyokusen: Mojolicious or rather write a brief summary of the flow behavior and https: / / sites.google.com/site/515m​emo/mojolicious-no-kyodou" (ja) --yunh http://twitter.com/yunh/status/16416516685692928
08:56 perlrocks Twitter: "Wrote another. https: / / sites.google.com/site/515m​emo/mojolicious-wo-cgi-de" (ja) --kuusou_kyokusen http://twitter.com/kuusou_kyok​usen/status/16416621803339776
09:00 perlrocks Twitter: "RT !kuusou_kyokusen: もう一つ書いた。https://sites.google.com/site/​515memo/mojolicious-wo-cgi-de" --perlism http://twitter.com/perlism​/status/16417464023781377
09:17 daviddelikat1 joined #mojo
09:20 daviddelikat left #mojo
09:40 marcus The natives are restless.
10:43 crab why?
10:45 moritz because a sack of rice has fallen over!
11:12 memememomo_ is now known as memememomo
11:16 memememomo is now known as memememomo_
11:32 zipkid Goodmorning
11:46 yko mrnng
12:09 zipkid Are there any examples about for making something more complex with Mojo(licious) than the existing ones?
12:10 yko more complex?
12:10 yko have you seen mojolicious  irc client via websockets?
12:11 yko or a twitter-like application
12:11 zipkid no
12:11 yko or maybe you have seen bootilicious?
12:12 zipkid ok, let me re-phrase...
12:12 zipkid Are there examples of complete apps... I need more than the code examples in the doc..
12:12 zipkid ?
12:12 zipkid better? :-)
12:13 moritz by definition there are not more complex examples than exist
12:13 zipkid moritz: by 'examples' i also mean full projects on github and such...
12:13 yko http://onionstand.blogspot.com/2010​/06/tweetylicious-twitter-like.html => https://github.com/garu/tweetylicious
12:13 yko https://github.com/vti/bootylicious
12:14 sri it's all in the wiki
12:14 sri the documentation refers to the wiki multiple times
12:15 zipkid "Tweetylicious - a Twitter-like microblogging app in just one file!"   that 'in one file' is exactly what i'm NOT looking for .. :-)
12:15 sri why?
12:16 zipkid Because what i need to make will NOT fit in one file...
12:16 sri that tells me you did not read the documentation :(
12:16 sri the differences between lite and normal apps are minimal
12:17 sri thats the whole point of having both
12:17 yko its example application. you an use or use not it's as example, but it can show you many tricks and ways to do something
12:17 sri you learn more about lite, you in turn learn more about normal apps
12:18 yko zipkid... ok
12:18 yko http://check-host.net/ and http://proxyhttp.net/
12:18 yko it's a live examples of mojolicious-based appliactions
12:19 yko but i don't think authors will share the code with you :p
12:20 yko zipkid : or you may like http://oss.oetiker.ch/remocular/ and look at the code at https://github.com/oetiker/remOcular/
12:21 yko is that enough 'complex' for you? :)
12:21 sri especially the growing guide is a mist read
12:21 sri *must
12:22 sri there is basically no "lite *or* normal" decision
12:22 sri apps grow
12:22 yko shame on me. damn, i should read that guide today before i go sleep!
12:22 zipkid sri: the app i want to migrate has about 30000 lines of perl code and 8000 lines of html...
12:23 sri baby steps
12:23 sri you don't port a huge pile of code at once
12:23 zipkid even if i reduce to 1/3 i don't feel like managing 10000 lines files...
12:23 sri or you are bound to end up with a huge mess
12:23 zipkid sri: i dont want to.
12:23 sri learn the frameworks first
12:23 zipkid but i want to choose the best 'format' NOW
12:24 zipkid sri: i am....
12:24 sri there is no "best"
12:24 yko well, i can not agree that any app should start from lite
12:24 sri mojolicious is multiple shades of gray, there is no black of white
12:24 sri *or
12:24 yko but i understand why sri want all to start learning from lite_apps
12:25 yko i started to learn from non-lite apps ignoring lite. and now look at me: i'm always wrong at this channel...
12:25 yko zipkid: do you like to go that way? :D
12:25 sri if you start learning with a normal (full) app it will be painful and you won't get as much help
12:25 zipkid yko: ok for learning... but i don't see why i should starte my project with Lite if i am SURE i need to convert away from that...
12:26 yko sri tries to tell you that you should at least dive a lot into framework before start building you big-cool app
12:27 zipkid yko: sri ok.... i will...
12:27 yko if you start hacking without understanding framework architecture you can make many mistakes in core of your app
12:27 sri we've seen it so many times before now
12:27 sri people start with normal apps and run against walls
12:27 yko that will make a greatest hadache for you in tfuture and then you will complain that mojolicious is a bad framework
12:27 sri while it would have been a pleasant trip starting with lite
12:29 yko before you go with our main code, try to find best way to implement functional of your app on lite mockups
12:29 moritz is there any guide on growing an app?
12:29 yko that should really safe your time. start hacking being blind is not the best way.
12:29 yko mortis: go github! :) M9s/Guides/Growing.pod
12:31 zipkid What does that M9s stand for?
12:31 yko M-ojoliciou-s :)
12:31 * moritz wonders if yko will ever learn how to either use the tab key, or spell names
12:31 zipkid And there is me searching for 'MM9s' on github...
12:31 moritz thanks anyway
12:31 yko just like I18n for internationalization
12:32 zipkid ok
12:32 yko moritz: i believe never... sorry, it's my nature
12:33 yko but you can safely call me jko or tko or whatever you want, i wont offend :)
12:33 sri zipkid: once you grok lite you'll see that you can learn just as well from lite apps, because the code is 99% equal
12:34 sri after that point it won't matter what format example apps have
12:34 * zipkid is just the impatient type ...
12:35 yko ...and most tests written using lite... and also writing and showing short lite examples or test is better way than sending tar.gz of full app
12:37 yko there's an example: https://gist.github.com/743265 i can show the code to other developers and it's quite understandable
12:37 yko same in full app will require 4-5 files. it's a way to provide help, examples, to speak :)
12:38 yko I would say that we speak with ::Lite, slangish mumble with ojo and writing our apps as articles with Mojolicious :)
12:41 * yko trains to press tab key
12:46 crab what is this about pressing the tab key?
12:46 zipkid yko: that github example gives errors about } in the templates.....
12:47 yko maybe, i'm noth an author of that examples, any of one actually
12:47 zipkid anyway...
12:47 yko but fill free to send bug reports/issues to authors
12:48 yko oh, wait!
12:48 yko aqarrghhhhhh!
12:48 yko you mean that gist
12:48 zipkid yes :-)
12:48 * yko is crying
12:48 yko than you should bug me, ye
12:54 yko zipkid, fixed. you see what may happen if you don't learn from lite? :)
12:55 zipkid lol
12:55 yko btw, thanks for report
12:56 zipkid np :-)
12:56 yko oh, for those who are using vim and mojo.vim syntax highlightning - github version now support new indented perl code
12:57 sri about time!
12:58 yko I have to write tests for that syntax :)
13:35 marcus Shit
13:35 marcus My mojolicious slides are 70mb. Wonder if slideshare will handle it.
13:36 sri Oo
13:36 sri every slide a hand drawn original?
13:37 marcus Nah, but includes 2 minutes of video and an opening soundtrack.
13:37 marcus Being converted, according to slideshare.
13:40 perlrocks Twitter: "Slides from my presentation "Mojolicious - A new hope" held at LPW 2010 - http://slidesha.re/fSWMJg" --marcusramberg http://twitter.com/marcusramb​erg/status/16488107205459968
13:48 perlrocks Twitter: "RT @marcusramberg: Slides from my presentation "Mojolicious - A new hope" held at LPW 2010 - http://slidesha.re/fSWMJg" --kraih http://twitter.com/kraih/status/16490121704505344
13:52 * sri wonders if he should make http://mojolicio.us/perldoc work
14:11 marty *moinin
14:12 perlrocks Twitter: "RT @kraih: RT @marcusramberg: Slides from my presentation "Mojolicious - A new hope" held at LPW 2010 - http://slidesha.re/fSWMJg" --tempiretech http://twitter.com/tempirete​ch/status/16496141650624512
14:13 perlrocks Twitter: "@ Ntone baja here I sit in with Mojolicious play nice :-)" (nl) --zipkid http://twitter.com/zipkid/status/16496339433033728
14:22 zipkid lol, sucky translation!
14:23 yko sri: i have thought about that. that would be really cool...
14:25 weestrom joined #mojo
14:26 yko and ye, also it woul be gread if you don't remove named anchors... to be able point new adepts links like http://mojolicio.us/perldoc?Mojolicious#plugins
14:26 yko *great and other typos autofixe
14:26 sri yko: patches welcome!
14:30 sri btw. i think i'll release 1.0 on the 26th
14:31 yko hm. i thought you removed anchors at https://github.com/kraih/mojo/blob/master/​lib/Mojolicious/Plugin/PodRenderer.pm#L130 because you just don't like it
14:31 weestrom left #mojo
14:31 sri yko: nope, those settings just reliably produce sane html
14:33 yko i'm not sure i understand what do you mean unders 'sane'. No <a> inside of <h1> ?
14:33 yko ill try prepare patch and see if you like it
14:34 yko Just ignore me :)
14:36 macroz joined #mojo
14:39 sri ;p
14:59 perlrocks Twitter: "#slideshare Mojolicious - A new hope: My presentation of the Mojolicious framework for London Perl Workshop 2010. http://slidesha.re/fbfpDQ" --net_fjcapeletto http://twitter.com/net_fjcapel​etto/status/16507976374288385
15:12 kvorg joined #mojo
15:18 marty I found an incorrect example in the rendering guide...
15:18 marty <%= script '/script.js' %>   I think it should be <%= javascript '/script.js' %>
15:18 marty Also the example just below that one has the same issue
15:19 marty The example is correct in the tagHelpers guide
15:22 kvorg fcuk, the faboulous new (for me, I was MIA for a month) exception page is actually counterproductive at first
15:22 MojoGuest685 joined #mojo
15:22 kvorg I have been postponing the fixing of the bug so that I can enjoy it longer :-P
15:22 sri lol
15:23 sri marty: thanks, fixing
15:23 marty :p
15:23 kvorg also, I now need to update all my css so that the client is never faced with the exception page looking better than the page they are paying for ... bad, bad sri
15:24 sri lucky you, the page only shows in development mode ;)
15:24 * kvorg gets his hands on sri and rounds off some corners.
15:24 GitHub105 joined #mojo
15:24 GitHub105 mojo: master Sebastian Riedel * e811569 (1 files in 1 dirs): fixed typo - http://bit.ly/gA1Zex
15:24 GitHub105 left #mojo
15:24 kvorg yeah, good point, will be carefull about that :-P
15:25 kvorg the whole feeling of finish and polish in this time is just ama-zing!
15:25 kvorg and the hypnotoad (ALL HAIL THE HYPNOTOAD) rools so smoothly ...
15:25 sri try the new welcome page too (and perldoc browser)
15:26 kvorg ok, enough of this delayed worhipness, it must have some negative effects on your ego B-)
15:26 kvorg the welocome page was completely different from what i expected from the discussion, and I liked it a lot
15:26 sri \o/
15:26 kvorg i did not get to the perldoc browser yet ... all your fault (well, exception page's)
15:27 sri "plugin 'pod_renderer'" and go to "/perldoc"
15:27 sri newly generated apps have that plugin line now
15:28 kvorg xxx-nifty!!!
15:29 kvorg have too look into it, i could use it since an app i am working on actually needs built-in docs ...
15:30 kvorg on ego boosting: if we all go "oh sri, u are so big, so absolutely huge, that we are simply stunned', does that distract you from working or do you just pipe it to pointless feature request buckets and contine as usual?
15:31 sri motivates me a lot
15:31 zipkid oh sri, u are so big, so absolutely huge, that we are simply stunned
15:31 kvorg hehe, the pod alone viewer should be enough motivation to bundle a Mojolicious with perl ...
15:31 sri :D
15:31 kvorg oh sri, u are so big, so absolutely huge, that we are simply stunned
15:32 * sri blushes
15:32 kvorg actually, this is even funnier when the subject is an actual person ... or at least an AI/Robot/EvilAlienFromOuterSpace
15:33 * kvorg revises first impression from the MeaninOfLife scene.
15:33 zipkid Way back, i was absolutely stunned by the complexity of Catalyst, now by the simplicity of Mojolicious (true)
15:33 sri "Robots don't have any emotions, and sometimes that makes me very sad."
15:34 * kvorg nods violently in agreement with zipkid.
15:35 sri catalyst got too popular too fast
15:35 * zipkid actually gave up on Catalyst because it could not be installed via an automated system....
15:36 * zipkid uses puppet.
15:36 zipkid i'm confident installing Mojolicious with puppet will be much easier
15:39 kvorg hmm, damn, now i _have_ to fix my bug and make another error in a template to see the template compilation feature ...
15:39 und3f is now known as und3f[A]
15:40 sri maybe we should add "mojo generate faulty_app" that can trigger all exception types out of the box :)
15:41 kvorg lol, perhaps, and it would get used a lot in presentations
15:42 kvorg i am currently loosing my time trying to produce different exceptions in templates, see how that would help me? :-P
15:42 MojoGuest685 left #mojo
15:44 kvorg ahh, sweet niftiness ... exception pages and the hypnotoad are the kind of things you go "remember when we did not have that? crazy times ..."
15:45 kvorg "it will look horrible in internet explorer, but thats intentional ;p"
15:45 kvorg sri++
15:45 sri :D
15:48 perlrocks Twitter: "#mojolicious 1.0 is scheduled for december 26! #perl" --kraih http://twitter.com/kraih/status/16520232411602944
15:50 crab i keep clicking on this "Would you like to add a route for it?" but it doesn't fix my application. mojolicious is broken!!!
15:50 und3f[A] is now known as und3f
15:50 sri ;p
15:51 perlrocks Twitter: "RT @kraih: #mojolicious 1.0 is scheduled for december 26! #perl" --j3nnn1 http://twitter.com/j3nnn1/status/16520943543259136
15:54 kvorg is it normal to get "Argument "1.0_001" isn't numeric in numeric lt" when doing mojo version on  Perl  5.010001?
15:55 kvorg sorry, the remainder of the warinng was "at script/../lib/Mojolicious/Command/Version.pm line 39."
15:55 sri hmm
15:57 yko sri: i was talking about something like that for pod_renderer: https://github.com/yko/mojo/commit/58d​14c45cc48ab8694c607e5866639cc5b5a5ec7
15:58 kvorg no, seriously, i think the welcome,docs and exception pages make the whole package much more amenable to newcomers
15:58 kvorg so we should probably start hiding the IRC infor to avoid too many newbies B-)
15:59 yko lol
15:59 sri yko: you changed so much :S
15:59 yko sri, ye
15:59 yko you can just throw it out
15:59 und3f is now known as und3f[A]
15:59 yko i think we may start hiding sri on #mojo from newcomers :)
16:00 kvorg $sri->plugin('cloak');
16:00 * sri goes back into his cage
16:00 und3f[A] is now known as und3f
16:01 sri yko: ok, which line is actually relevant? ;p
16:01 yko actually first try was very small, but then i checked the tests: helper also needs to change hrefs
16:02 sri ah ok
16:02 sri actually seems sensible
16:02 yko actually, only lines 43, 50, and 56 of test have are relevant
16:03 yko :))
16:03 perlrocks Twitter: "RT @kraih: #mojolicious 1.0 is scheduled for december 26! #perl" --insurgentsoft http://twitter.com/insurgents​oft/status/16524090420494337
16:04 perlrocks Twitter: "RT @kraih: #mojolicious 1.0 is scheduled for december 26! #perl" --zipkid http://twitter.com/zipkid/status/16524197371052032
16:04 kvorg pointless feature request: perlrocks should support voting for funniest translated twitter post and keep a top-10 list. Reading through the log is just hilarious.
16:04 yko ouch...
16:04 und3f is now known as und3f[A]
16:04 und3f[A] is now known as und3f
16:04 sri perlrocks has a thing for japanese
16:05 yko sri, wait a minute
16:05 yko i forget tocommit cleanup :(
16:05 und3f is now known as und3f[A]
16:05 und3f[A] is now known as und3f
16:06 sri yko: it's ok, not gonna directly merge anyway
16:06 kvorg Yeah, it does. Current favourite: "PATH problem is solved, but something to Suspend the tea Mojolicious:: Lite it feels like there's been mad". It even elicted some responses, people asking what the PATH problems was :-P
16:06 kvorg me, i am more interested in suspending the tea in Mojolicious::Lite ...
16:07 yko uff. http://bit.ly/gZJlni that one please, if you would like at all
16:09 sri yko: i have to merge manually anyway, too many changes i'm unsure about, like "b("" . _pod_to_html(@_))"
16:09 und3f is now known as und3f[A]
16:09 und3f[A] is now known as und3f
16:09 perlrocks Twitter: "RT @kraih: #mojolicious 1.0 is scheduled for december 26! #perl" --brunobuss http://twitter.com/brunobus​s/status/16525660646277120
16:11 sri and the s/$self/$c/ renaming which doesn't fit into the naming scheme
16:11 yko sri: there was 2 or three $self that ovverrides each other. i found it very confusing
16:12 sri huh?
16:12 sri i only see one $self
16:13 sri and of course the outer one
16:13 sri all plugins use that naming scheme
16:14 yko https://github.com/kraih/mojo/blob/maste​r/lib/Mojolicious/Plugin/PodRenderer.pm => line 28, 53. ye, only two
16:14 yko ok, ill remember it for future
16:14 sri if i was going to change that it would have to be done consistently
16:14 sri as in all plugins and documentation
16:14 yko ok, ok. my fault
16:17 GitHub61 joined #mojo
16:17 GitHub61 mojo: master Sebastian Riedel * 627288e (1 files in 1 dirs): fixed version command - http://bit.ly/grk4OP
16:17 GitHub61 left #mojo
16:25 macroz left #mojo
16:25 perlrocks Twitter: "Damn, that Mojolicious development is going too fast... Had to install the 'latest' version at least 5 times in the last 24 hrs... :-)" --zipkid http://twitter.com/zipkid/status/16529659160170497
16:26 macroz joined #mojo
16:26 macroz left #mojo
16:26 macroz joined #mojo
16:35 * zipkid just crawled through Guides/Growing . It does make things clearer :-)
16:43 garu zipkid: splitting tweetylicious into more files is just a matter of moving the "Model" package to another file, typing "perl tweetylicious inflate" (to expand the templates) and then follow Guides::Growing to mode routes into sub startup and actions to their appropriate controllers
16:43 perlrocks Twitter: "RT @kraih: #mojolicious 1.0 is scheduled for december 26! #perl" --freekey http://twitter.com/freekey​/status/16534173053362176
16:44 garu same for bootylicious or any other example you may find, I guess :)
16:44 garu speaking of which... anyone seen vti?
16:45 sri he has taken a break
16:47 perlrocks Twitter: "RT @kraih: #mojolicious 1.0 is scheduled for december 26! #perl" --tempiretech http://twitter.com/tempirete​ch/status/16535181447929856
16:49 garu sri :(
16:49 garu but...but... I need to bitch about Text::Haml !! :P
16:53 GitHub63 joined #mojo
16:53 GitHub63 mojo: master Sebastian Riedel * 282d804 (2 files in 2 dirs): add anchors to perldoc - http://bit.ly/fglGBx
16:53 GitHub63 left #mojo
16:54 sri yko: a little simpler
16:55 * zipkid found the most usefull part in Growing the 'helper' module :-)
16:55 sri method
16:56 sri unless you are refering to the actual plugins
16:58 * zipkid has a git clone of Mojo... how do i instal;l that?
16:58 sri normal cpan module
16:58 sri perl Makefile.PL; make test; make install
16:59 zipkid ahja... ok thx
17:00 perlrocks Twitter: "RT @kraih: #mojolicious 1.0 is scheduled for december 26! #perl" --pau4o http://twitter.com/pau4o/status/16538350093606912
17:06 GitHub85 joined #mojo
17:06 GitHub85 mojo: master Sebastian Riedel * 7f57a5d (1 files in 1 dirs): perldoc tweaks - http://bit.ly/hNAfev
17:06 GitHub85 left #mojo
17:06 sri ok, that will make linking very easy
17:07 sri you tap on a header and you get the full url to it
17:09 yko hmm. sri: indeed, much simplier
17:09 yko but... have you seen /perldoc?Mojolicious output?
17:10 sri am i supposed to guess what you are refering to?
17:12 yko http://173.212.220.166:3030/perldoc?Mojolicious
17:13 yko links in ATTRIBUTES are generated wrong. i think ill write a test or so
17:14 sri it helps if say whats wrong
17:14 sri *+you
17:14 marcus Wow, slideshare sucks.
17:14 marcus It completely fucks up my keynote slides,
17:16 yko sri: http://korshak.name/pod.jpg
17:16 sri lol
17:17 sri drawing a picture is easier than a sentence?
17:17 yko for example in /perldoc?Mojolicious text inside <a> tag looks not as expected
17:17 yko sometimes yes
17:17 sri (not complaining)
17:17 perlrocks Twitter: "RT @kraih: #mojolicious 1.0 is scheduled for december 26! #perl" --perlninja http://twitter.com/perlninj​a/status/16542731908161536
17:22 GitHub8 joined #mojo
17:22 GitHub8 mojo: master Sebastian Riedel * 390bcaa (2 files in 2 dirs): fixed small perldoc bug - http://bit.ly/f22DQL
17:22 GitHub8 left #mojo
17:23 yko happy now
17:24 yko really looks much better
17:24 yko and intends for items are avesome
17:24 marcus Also, might mention that mode defaults to production on hypnotoad.
17:24 yko awesome :)
17:25 GitHub51 joined #mojo
17:25 GitHub51 mojo: master Sebastian Riedel * 0156e1c (1 files in 1 dirs): cleanup - http://bit.ly/g9F2Eq
17:25 GitHub51 left #mojo
17:25 yko sri++
17:25 sri yko++
17:28 * yko eagers to point somebody to http://mojolicio.us/perldoc?Mojo::DOM#attrs
17:28 yko or so...
17:28 sri soon
17:29 yko :D
17:29 sri refreshing the whole content of the site
17:29 zipkid yko: sri: http://localhost:3000/perldoc?Mojo::DOM#attrs  works fine :-)
17:29 yko i'm not trying to rush you, just eagerly waiting :)
17:30 yko zipkid: ye, last 3-4 commits was related to that
17:30 * yko uses tab key!
17:31 zipkid yko: yep, i've been following :-) http://cl.ly/243F3C1W0l453u2L140T
17:37 weestrom joined #mojo
17:50 zipkid Hmm... where did i read about how to create your App as a plugin ?
17:51 yko i'm sure somewhere at Mojolicious pod
17:51 yko like embedding apps :)
17:52 zipkid yes... but there are too many ... :-)
17:52 yko look at Routing guides
17:52 zipkid http://localhost:3000/perldoc?Mojolicious%​3A%3AGuides%3A%3ARouting#Condition_Plugins  :-) thx
18:05 perlrocks Twitter: "RT @kraih #mojolicious 1.0 is scheduled for december 26! #perl" --xomaa http://twitter.com/xomaa/status/16554814410326016
18:06 perlrocks Twitter: "RT: @kraih: #mojolicious 1.0 is scheduled for december 26! #perl" --sharifulin http://twitter.com/shariful​in/status/16555050763558912
18:14 kvorg garu: vti's boose has commits 1 day ago, so maybe he has only taken a break from us :-$
18:16 kvorg hmm, perldoc pod reader makes me revisit some docs ... did Mojolicious pod evolve massivley a some dark moment when i was not paying attention? damn.
18:17 yko i think that is what Mojolicious perldoc stands for :)
18:20 kvorg sri: lol, your aggressive reloading now reloads the whole of Mojolicious
18:20 kvorg which is lucky, otherwise it would be difficult to keep up-to-date with your productivity as of late ...
18:21 kvorg _oh sri, u are so big, so absolutely huge, that we are simply stunned_
18:22 sri are you calling me fat?
18:22 zipkid :-D
18:22 zipkid sri: Where are you in .de ?
18:23 sri north, above hamburg
18:23 * kvorg hides in yko's shadow.
18:24 zipkid You were not at Devopsdays in Hamburg by chance?
18:24 * kvorg whispers: %3A%3A is kinda nasty for ::
18:24 sri unlikely
18:25 zipkid sri: it was interesting. http://www.flickr.com/photos/z​ipkid/sets/72157625044047547/ http://www.devopsdays.org/2010-europe/
18:26 zipkid and Fun!
18:26 sri oh, "were"
18:26 sri nope i wasn;t
18:26 sri *'
18:27 zipkid Dinnertime! bbl
18:27 perlrocks Twitter: "RT @xomaa: RT @kraih #mojolicious 1.0 is scheduled for december 26! #perl" --Foxcool_ru http://twitter.com/Foxcool_​ru/status/16560333145505792
18:32 perlrocks Twitter: "RT @ kraih: # mojolicious 1.0 is scheduled for december 26! # Perl" (de) --2mad4milk http://twitter.com/2mad4mil​k/status/16561413099102208
18:33 perlrocks Twitter: "RT @ marcusramberg: Slides from my presentation "Mojolicious - A New Hope" held at LPW 2010 - http://slidesha.re/fSWMJg" (de) --2mad4milk http://twitter.com/2mad4mil​k/status/16561790997504000
18:36 yko marcus: lol!!
18:37 yko You included Romantially Mojolicious in your slides!
18:41 marcus Yko: of course.
18:47 GitHub2 joined #mojo
18:47 GitHub2 mojo: master Sebastian Riedel * 86e20c8 (1 files in 1 dirs): css tweaks - http://bit.ly/gE2JUs
18:47 GitHub2 left #mojo
18:47 weestrom hey all, thinking of my first refactor now that I've dipped my toes in, just curious what the opinion is on preferred style for adding attribs to my app class that has base Mojolicious
18:48 weestrom should I $self->{Attrib} or use the class constructor __PACKAGE__->attr('Attrib') from Mojo::Base?
18:48 sri accessors are rather popular
18:49 weestrom I've been $self->{Attrib}'ing in sub startup{}
18:49 marcus Ick
18:49 weestrom yeah, I noticed them when I used Base::Mojo for my Users class
18:50 sri $self->{Attrib} makes you look like a dinosaur basically :)
18:50 Kulag left #mojo
18:51 weestrom ahh, well, it IS my first OoP project, so I don't mink looking foolish to learn :)
18:51 weestrom *mind
18:51 Kulag joined #mojo
18:51 sri ah
18:51 weestrom started from perltoot and the mojolicious docs
18:52 weestrom I have like the syntactic sugar from Mojo::Base
18:52 sri we don't take oop very far, should be rather easy to follow
18:52 weestrom so, I think I will refactor to that as i go
18:52 weestrom *liked rather
18:52 sri you might also want to take a look at heavier modules like Moose
18:53 sri even if you don't use them, lots of good knowledge
18:53 weestrom I've got enough Oo background of hacking around in c++ and beating my head against different syntaxes that I'm having a much easier time this go round
18:53 weestrom keep kicking myself for getting an ME degree
18:53 weestrom I work as a dev, but in the embedded matlab space
18:54 weestrom thanks for the pointer to moose, when I feel like taking a break from this project I will check it out
18:55 weestrom fighting the desire to refactor against the need to get a first pass done on every piece of the project to flesh it out
18:55 weestrom hard internal argument
18:56 sri :)
19:02 macroz left #mojo
19:21 zipkid the $r->get/post/any are described as Lite routes in the Routing Guide but in the Growing Guide they are used in the finaml Mojolicious app ... ?
19:25 zipkid ok... now i read enough "and also part of the normal router."
19:31 perlrocks Twitter: "RT @kraih: #mojolicious 1.0 is scheduled for december 26! #perl" --dmitry_rpm http://twitter.com/dmitry_r​pm/status/16576448462594048
19:54 perlrocks Twitter: "RT @kraih: #mojolicious 1.0 is scheduled for december 26! #perl" --yunh http://twitter.com/yunh/status/16582244801974272
20:00 weestrom if I'm using __PACKAGE__->attr('name') instead of $self->{Name}, how do I do the equivalent of sub startup { $self->{Name} = Foo::Bar->new('option'); }
20:00 weestrom because sub startup { $self->name = Foo::Bar->new('option'); } didn't work
20:01 marcus $self->name(...);
20:01 weestrom ahh
20:01 weestrom what does $self->name; return?
20:02 weestrom I was expecting $self->name to return $name
20:07 marcus It returns whatever you set it to.
20:10 weestrom ok, that was my confusion, it was just different from how I was doing my methods manually
20:12 GitHub176 joined #mojo
20:12 GitHub176 mojo: master Sebastian Riedel * d08b33d (2 files in 2 dirs): made perldoc URLs prettier - http://bit.ly/h07wCG
20:12 GitHub176 left #mojo
20:12 sri http://127.0.0.1.:3000/perldoc?Mojolicious/Guides/Growing#Testing
20:12 sri that now works :)
20:13 zipkid sri: Only if you omit the ',' after the 127.0.0.1 :-)
20:13 zipkid oops
20:14 zipkid s/','/'.'/
20:14 sri :)
20:15 zipkid Darn... now i have to re-install AGAIN! :-)
20:15 sri there's a oneliner for that too
20:15 moritz panm .
20:16 zipkid piccolo:mojo root# perl Makefile.PL && make test && make install && make clean
20:16 moritz erm, cpanm .
20:16 zipkid works too :-)
20:16 sri curl -L cpanmin.us | perl - http://latest.mojolicio.us
20:16 zipkid -sh: panm: command not found
20:18 zipkid lol.. slight improvement  http://localhost:3000/perldoc?Mojolicious%​2FGuides%2FRouting#Embedding_Applications
20:18 sri hmm, your browser sucks then
20:18 zipkid sri: yes, but since i already have a local github clone....
20:19 zipkid sri: both Safari and FF do this...
20:19 sri umm
20:20 sri it just worked in safari
20:20 zipkid it works, yes
20:20 zipkid but then click on a link in the page...
20:20 sri thats what i mean when i say works
20:20 zipkid well..... sorry...
20:22 sri same for safari
20:23 sri just works
20:23 sri umm firefox
20:24 zipkid 5.0.3 & 3.6.13
20:25 zipkid Works in Chrome
20:25 sri works in every single browser here
20:25 sri 5.0.3, 3.6.13, 4beta....
20:26 zipkid on hover it shows the links with '/' but in the address bar i get %2F
20:27 sri operating system?
20:27 zipkid X
20:27 zipkid 10.6.5
20:29 sri then your box is screwed up somehow
20:43 weestrom hey sri, marcus, and moritz, I wanted to say thanks for smart answers to dumb questions over the last day or so, I know this is a dev channel and I appreciate the pointers!
20:44 weestrom I'm really happy with where my project is, all the major pieces are functioning (and I understand why) and now its down to design optimization and fleshing out. I never thought I'd be so (relatively) far along in just two weekends
20:44 weestrom Mojo/Mojolicious rocks!
20:45 perlrocks Twitter: "Mojolicious - Web framework for Perl http://www.findbestopensour​ce.com/product/mojolicious # FOSS" (no) --bestopensource http://twitter.com/bestopenso​urce/status/16594886136430592
20:46 weestrom I think I need to move my mysql over to localhost so that I can dev over the holiday break out of town.
20:47 weestrom is there someplace to donate to the project?
20:48 yko http://mojolicious.org/ has big paypal button
20:49 weestrom sweet, I expect I will be donating something out of gratitude after the 1st of the year. I definitely want to help make sure this project stays supported!
20:53 yko also a good way to support Mojolicious - to make a blog posts about it :)
20:54 marcus Or feeding sri's illegitimate children.
20:54 yko lol
20:58 daviddelikat1 left #mojo
21:01 daviddelikat joined #mojo
21:17 zipkid I find it not very clear where plugin files should be put...
21:19 yko as far as i remember, to have less hadache you may put plugin into myapp/lib/Mojolicious/MyPlugin.pm
21:20 yko ouch: myapp/lib/Mojolicious/Plugin/MyPlugin.pm
21:20 yko sorry
21:20 zipkid ah, nice, thx
21:21 yko or you may add your app to Plugin manager's namespace and put intio myapp/lib/MyApp/Plugin/MyPlugin.pm
21:21 zipkid $plugins       = $plugins->namespaces(['Mojolicious::Plugin']);   <-  with this..?
21:21 zipkid ok
21:22 zipkid set it to MyApp::Plugin ...
21:22 yko you are lite or mojolicious now?
21:22 zipkid Mojolicious
21:22 zipkid still reading and testing ...
21:23 zipkid I am certain Lite will not be what i need..
21:25 zipkid But now i have to leave you, Goodnight!
21:30 vel joined #mojo
21:39 weestrom left #mojo
21:40 vel left #mojo
22:18 kvorg left #mojo
22:33 GitHub45 joined #mojo
22:33 GitHub45 mojo: master Sebastian Riedel * 59191d1 (3 files in 2 dirs): added pinstripe effect - http://bit.ly/i33Vm2
22:33 GitHub45 left #mojo
22:34 sri code looks quite a bit cooler now :)
23:03 perlrocks left #mojo
23:07 kvorg joined #mojo
23:08 perlrocks joined #mojo
23:09 perlrocks left #mojo
23:09 perlrocks joined #mojo
23:11 GitHub120 joined #mojo
23:11 GitHub120 mojo: master Sebastian Riedel * 0013c08 (1 files in 1 dirs): fixed typo - http://bit.ly/e4PmCH
23:11 GitHub120 left #mojo
23:12 kvorg sri: yums, I like the new perldoc paths ... that was what I wanted, but was afraid to ask for
23:13 sri :)
23:13 kvorg btw, it looks like / in both 3* and 4* FF to mee
23:27 perlrocks left #mojo
23:28 kvorg aaaargh, perlrocks quit, we have a vacancy!
23:45 achromic_ joined #mojo
23:46 achromic left #mojo
23:58 vel joined #mojo

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