Camelia, the Perl 6 bug

IRC log for #mojo, 2011-06-01

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

All times shown according to UTC.

Time Nick Message
00:00 GitHub196 joined #mojo
00:00 GitHub196 mojo: master Nils Diewald * ecb6067 (1 files in 1 dirs): Windows line endings
00:00 GitHub196 mojo: master Sebastian Riedel * 5d28abc (1 files in 1 dirs): Merge pull request #156 from Akron/windows-lineendings ...
00:00 GitHub196 mojo: master commits a25b6a2...5d28abc - http://bit.ly/mleOB6
00:00 GitHub196 left #mojo
00:03 arpadszasz left #mojo
00:15 GitHub48 joined #mojo
00:15 GitHub48 mojo: master Sebastian Riedel * 01f8a52 (3 files in 3 dirs): improved command tests and updated changes - http://bit.ly/k07CDF
00:15 GitHub48 left #mojo
01:10 Alias joined #mojo
02:50 tty234 left #mojo
02:51 perlrocks Twitter: "url fancy term coined by the Mojolicious not seem so, but I do not have to write specifications. - Google Search http://t.co/Joot5iZ" (ja) --purasiibo http://twitter.com/purasiib​o/status/75756283185201153
03:23 j3nnn1 left #mojo
03:25 tempire I did write an app for listing static files
03:25 tempire like python's httpsimpleserver
03:25 tempire or whatever it's called
03:25 tempire https://github.com/tempire/app-dirserve
03:26 tempire I suppose it would be easy enough to turn into a plugin
03:40 D4RK-PH0ENiX left #mojo
03:43 d4rkie joined #mojo
03:49 tempire metaperl: how are you wanting the static file serving to work?
03:51 tempire plugin 'dirserve';  get '/' => sub { shift->dirserve( dir => '/my/directory' ) }
03:52 tempire maybe a template option
03:52 tempire eh, I don't like that.  to side-effecty.
03:52 tempire *too
03:52 D4RK-PH0ENiX joined #mojo
03:55 d4rkie left #mojo
03:55 tempire shift->render_dir( '/my/dir' );
03:56 * tempire pokes sri for input
03:56 tempire render_dir makes sense, I think.  Works like the other specialized render methods
03:57 tempire http://www.youtube.com/watch?v=PSXQfYn​drRU&feature=youtube_gdata_player
04:00 tempire http://www.nyancatfly.com/
04:11 d4rkie joined #mojo
04:13 D4RK-PH0ENiX left #mojo
04:24 ysyrota joined #mojo
04:41 GitHub70 joined #mojo
04:41 GitHub70 mojo: master Sebastian Riedel * 0f44830 (10 files in 8 dirs): improved long poll support - http://bit.ly/kJElju
04:41 GitHub70 left #mojo
04:42 sri exactly 5500 unit tests now :D
04:47 sri been playign a bit with server sent events (that's what triggered the long poll improvements)
04:48 sri really simple to use
04:59 tempire \o/
05:01 sri render_dir seems to make sense
05:02 D4RK-PH0ENiX joined #mojo
05:02 sri i guess you could do something like get '/(*directory)' => sub { my $self = shift; $self->render_dir($self->param('directory')) };
05:03 sri and it would then link to static files that the static dispatcher can serve
05:05 d4rkie left #mojo
05:43 koban` joined #mojo
05:45 d4rkie joined #mojo
05:47 D4RK-PH0ENiX left #mojo
05:49 d4rkie left #mojo
06:46 cosmincx joined #mojo
07:12 perlrocks Twitter: "#mojolicious hack of the day: "mojo get www.reddit.com/r/perl/ 'p.title > a.title' text" #perl" --kraih http://twitter.com/kraih/status/75822019907829760
07:16 tholen42 left #mojo
07:16 tholen42 joined #mojo
07:16 arthas joined #mojo
07:38 d4rkie joined #mojo
07:52 abra left #mojo
07:58 ajgb joined #mojo
08:00 marcus isn't that an old hack, sri? :)
08:02 sri ?
08:02 marcus the reddit scraping?
08:03 marcus pretty sweet tho
08:03 abra joined #mojo
08:06 * marcus wonders about all the unicode hype lately
08:08 sri i wrote it yesterday
08:14 arpadszasz joined #mojo
08:15 GitHub13 joined #mojo
08:15 GitHub13 mojo: master Sebastian Riedel * da90267 (2 files in 2 dirs): made long polling a little more fun by extending the finish method of Mojolicious::Controller - http://bit.ly/jOLiKs
08:15 GitHub13 left #mojo
08:16 sri not 100% sure about this one
08:16 sri but i guess ->finish is better than ->write('') and ->write_chunk('')
08:27 * sri compiles macvim with file drawer
08:29 arthas left #mojo
08:41 perlrocks Twitter: "MacVim with file drawer is really quite nice. #mojolicious #perl http://t.co/O0Wyawo" --kraih http://twitter.com/kraih/status/75844442828967936
08:45 arthas joined #mojo
08:45 sri it's awesome, you can make it open files in tabs
08:45 sri no more stupid buffer management :)
08:49 arthas left #mojo
08:51 * yko uses project.tar.gz in that purposes
08:51 sri UGLY!
08:51 yko but i'm sure it's not so handy as file drawer
08:52 yko i'd disagree. but i'm lazy and busy :p
08:53 arthas joined #mojo
08:55 sri jeez... what's up with all the slackers here...
09:02 marcus sri: do you also have cmd-t?
09:02 marcus Guess I might switch back to vim with that folder and something like cmd-t
09:03 sri ye, but not using it much
09:04 sri then again, i've not used macvim in quite some time, just console one for single file editing from time to time
09:10 ysyrota left #mojo
09:10 ysyrota joined #mojo
09:14 spleenjack joined #mojo
09:21 sri guess i'll release 1.4 soon
09:24 * marcus brew installs macvim
09:26 sri doesn't include the file drawer
09:26 sri https://github.com/alloy/macvim
09:27 sri that's the one
09:34 Akron joined #mojo
10:04 arpadszasz left #mojo
10:22 Akron sri: Thanks for merge pulling the fix - and sanitizing the test suite.
10:22 Akron sri: Did you get my mail?
10:31 marcus sri: hod do I actually use it, once I've built it?
10:36 hziSot left #mojo
10:45 mmcleric left #mojo
10:46 mmcleric joined #mojo
10:53 Foxcool joined #mojo
10:54 dotan joined #mojo
10:57 sh9 joined #mojo
11:15 mikemagowan joined #mojo
11:20 arthas left #mojo
11:20 arthas joined #mojo
11:43 sri Akron: don't think so
11:43 sri marcus: use the .app luke
11:44 metaperl I wanted to submit a doc patch about how to get the physical path of "/public" but I noticed the FAQ is rather non-technical and the Cheatsheet doesnt have such a section
11:44 Akron sri: I tried kraihx at gmail dot com ...
11:45 sri metaperl: if in doubt... wiki
11:45 metaperl sri - should the FAQ have sections
11:45 metaperl sri - there is no FAQ page at the wiki
11:46 sri it's a wiki ;p
11:46 sri it's what you make of it :)
11:46 sri the FAQ is for questions that really get asked frequently
11:48 sri there are many cookbook recipe like mini pages in the wiki
11:48 Kulag joined #mojo
11:49 metaperl ok I'll look on there
11:49 Akron left #mojo
11:50 sri don't think i;ve been asked more than once how to find the physical location of public so far
11:50 sri most people just look at the reference and find the attribute
11:51 metaperl sri by reference you mean "Mojolicious::Guides::Cheatsheet" ?
11:51 sri http://mojolicio.us/perldo​c?Mojolicious/Static#root
11:52 sri api reference
11:52 sri didn't we talk about the 3 layers of documentation a few days ago already? :)
11:52 metaperl sri - yes we did and that's why I combed the guides and tutorial
11:53 metaperl now one thing about the ref material and why I failed to find $self->app->static->root
11:53 metaperl I actually went and read the code
11:53 metaperl but I tried $self->static->root ... I didnt know I needed ->app in there....
11:56 metaperl even so, I dont know what class $self is instanced from for the actions of routes   ... so thinking out loud, I need to look at the reference for routes... but I dont see a class with that name, so I will look in the routing guide and if no answer, expect links to references from the guide for that .... here we go
11:57 metaperl it's not there ( http://search.cpan.org/~kraih/Mojolicious-1​.34/lib/Mojolicious/Guides/Routing.pod#MORE ) ... the "MORE" section links to Guides but not the relevant reference APIs
11:57 sri http://mojolicio.us/perldo​c?Mojolicious/Lite#Routes
11:57 sri seriously, i don't know how to make it more obvious
11:58 metaperl I just told you. You told me about the 3 levels of docs.
11:58 metaperl logically the guide should point to the relevant reference sections.
11:59 metaperl so here ( http://search.cpan.org/~kraih/Mojolicious-1​.34/lib/Mojolicious/Guides/Routing.pod#MORE ) we need links to Mojolicious::Controller and Mojolicious::Lite#Routes
11:59 moritz so, send a doc patch
11:59 sri then it would be scattered with links and pretty much unreadable
11:59 metaperl sri no, just put the relevant links the "MORE" section
11:59 metaperl moritz - we are organizing our thoughts on this right now
11:59 sri seriously, i don't think 50 links in the more section would do any good
12:00 sri and that's what it comes down to
12:00 sri the guides cover *A LOT*
12:01 metaperl the tutorial does too ... somehow I missed this - http://mojolicio.us/perldoc?Mojolicious/Lite ... but I will read the whole thing before asking any more questions
12:02 sri well, you could prove me wrong with a wiki page collecting followup links for the guides :)
12:02 metaperl Mark Overmeer had some doc method of allowing you to navigate the whole inheritance tree
12:02 sri study guide thingy
12:03 sri our inheritance tree is linked
12:03 sri in every class
12:03 sri http://mojolicio.us/perldoc?M​ojolicious/Controller#METHODS
12:06 sri i think a wiki page with followup links for the guides could be great
12:11 sri if it was linked from the more sections it would encourage early participation
12:11 marcus sri: uhm, I tried mbook:macvim marcus$ open /Users/marcus/Source/macvim/src/​MacVim/build/Release/MacVim.app ~/Source/iusethis
12:11 marcus but it didn't do much
12:12 sri worked for me
12:15 sri wonder if adding disqus to the documentation would be fun
12:21 marcus sri: facebook comments are better :)
12:21 sri why?
12:22 marcus "everybody" has a facebook account, and it's fun to like comments.
12:22 sri hmm
12:22 stephan48 sri: the company who steals your data is known by all!
12:22 stephan48 marcus: so has everybody? /me has none
12:24 marcus facebook comments generates traffic tho
12:29 sri hmm, could be fun
12:32 chansen marcus: BTW: if you come by train, jump off at the Triangeln Station and take the escalator to the city mall (hotel is in the same building)
12:32 marcus chansen: good stuff
12:32 purl good stuff is probably at the end
12:33 chansen =)
12:33 perlrocks Twitter: "Thinking about adding #facebook comments to the #mojolicious documentation, thoughts? :) http://t.co/s9h8Zxi #perl" --kraih http://twitter.com/kraih/status/75902906422919170
12:35 stephan48 sri: dont do it!
12:36 sri you don't have an account, you won't see them anyway ;p
12:36 Akron joined #mojo
12:37 stephan48 ;)
12:41 Akron Please use disqus!
12:42 mikegrb Mojolicious article in july linux article \o/
12:42 fish_ stumbled across disqus a few days ago and it really looks great
12:42 mikegrb er
12:42 mikegrb linux journal
12:42 purl linux journal is, like, at http://www.ssc.com/lj/index.html
12:42 sri \o/
12:43 Akron sri: Is kraihx not the best mail ad?
12:43 sri it should be
12:43 Akron Hmmm ... Okay. Will retry from a gmail-ad.
12:44 sri i like that people are unlikely to spam and troll facebook comments
12:49 baton8 left #mojo
12:50 baton8 joined #mojo
12:56 sri Akron: why send a mail and not ask here? Oo
12:57 Akron SEDO is watching you.
12:58 sri Akron: don't think it will cause much confusion, just go for it
12:59 Akron Thanks!
12:59 sri i'm often wrong though ;p
12:59 * stephan48 is confused!
12:59 sri see
13:03 sri hangover 2 is quite good btw
13:10 D4RK-PH0ENiX joined #mojo
13:12 arpadszasz joined #mojo
13:14 d4rkie left #mojo
13:14 Akron Is there a mojolicious logo in svg anywhere (for "powered by" usage)?
13:15 sri nope
13:16 Akron Okay.
13:17 sri powered by is very old fashioned
13:18 Akron Like in the http header? ;)
13:19 sri the little logo at the bottom of http://mojolicio.us is our powered by
13:19 d4rkie joined #mojo
13:21 Akron I will use it.
13:21 sri don't think i'll ever release a vector version of the mojolicious logo before i have a trademark on it
13:21 sri since i really don't want to see butchered versions of it making mojolicious look bad
13:22 sri i've seen it way too often :)
13:22 D4RK-PH0ENiX left #mojo
13:24 Akron Hehe ... okay. So I shouldn't use it?
13:25 sri the original sure
13:25 sri the little one should be pretty hard to ruin :;p
13:25 sri s/://
13:40 arpadszasz left #mojo
13:41 Akron Okay.
13:50 GitHub12 joined #mojo
13:50 GitHub12 mojo: master Sebastian Riedel * 1907c83 (1 files in 1 dirs): better perldoc links - http://bit.ly/iJO36u
13:50 GitHub12 left #mojo
13:58 amoore joined #mojo
13:59 Foxcool left #mojo
14:06 GitHub74 joined #mojo
14:06 GitHub74 mojo: master Sebastian Riedel * 3f9449d (2 files in 2 dirs): made Mojolicious::Plugin::PodRenderer a bit easier to extend - http://bit.ly/j9hOmX
14:06 GitHub74 left #mojo
14:08 GitHub123 joined #mojo
14:08 GitHub123 mojo: master Sebastian Riedel * 1ff54b8 (1 files in 1 dirs): fixed test - http://bit.ly/m8fwtj
14:08 GitHub123 left #mojo
14:09 sri https://github.com/kraih/mojolicio​.us/blob/master/mojolicious.pl#L12
14:10 sri actually a good example for how to make apps extendable
14:10 marcus shit
14:10 marcus we just recieved 300 kilos worth of ipad 1 covers
14:10 sri shit
14:10 marcus at oslo airport
14:13 sri can you really sell that many?
14:14 sri 300 kilos should be like... enough for every norwegian, no? :)
14:15 marcus it's only like 1000 covers
14:17 sri wow, that's quite heavy
14:17 Foxcool joined #mojo
14:17 marcus yeah, I don't understand why it's so much either
14:17 marcus maybe they stuffed them with newspapers or somethign
14:18 sri spiders
14:18 marcus or ipads
14:19 sri panda bears
14:24 marty left #mojo
14:32 marty joined #mojo
14:34 metaperl shouldnt this link work - http://mojolicio.us/perldoc/Mojo/Controller
14:36 perlrocks Twitter: "@kraih Wouldn't some forum-like platform for posting #mojolicious examples/Q&A be more useful than facebook comments? That would be my vote." --dginev http://twitter.com/dginev/status/75933653636624384
14:37 sri metaperl: Mojolicious, not Mojo
14:39 koban` left #mojo
14:47 metaperl i agree wit hthat tweet - facebook is a very ephemeral way to document things
14:48 stephan48 jap cool idea
14:48 sri since when are comments for documenting?
14:49 stephan48 i think he ment it like: document howto do it howto mess with fb comments
14:49 sri they are about feedback and exchanging ideas
14:54 dekimsey joined #mojo
14:56 sri i guess it's not such a good idea then
14:58 GitHub136 joined #mojo
14:58 GitHub136 mojo: master Sebastian Riedel * cccb15d (1 files in 1 dirs): removed unnecessary template hook - http://bit.ly/lAqlUA
14:58 GitHub136 left #mojo
15:03 kaare joined #mojo
15:07 ysyrota left #mojo
15:12 d4rkie left #mojo
15:13 crab hi
15:17 kaare left #mojo
15:19 kaare joined #mojo
15:26 cosmincx left #mojo
15:29 Foxcool left #mojo
15:33 kaare_ joined #mojo
15:35 kaare left #mojo
15:42 alnewkirk left #mojo
15:43 kaare_ left #mojo
15:43 kaare_ joined #mojo
15:43 alnewkirk joined #mojo
15:48 Foxcool joined #mojo
15:54 sri yo yo yo
15:54 * purl walks the dog
15:58 kaare_ left #mojo
16:08 fmerges joined #mojo
16:11 d4rkie joined #mojo
16:14 dotan left #mojo
16:18 Foxcool left #mojo
16:19 Foxcool joined #mojo
16:26 * crab replaces the dead disk in his laptop and prepares to install perlbrew.
16:26 sri ssd?
16:26 purl somebody said ssd was Solid State Disk or Submarine Signal Division
16:27 crab the one that died? no, 160gb sata wd.
16:27 crab not the new one either. ssds are just too expensive.
16:27 * sri is really scared of sudden ssd death
16:28 sri it's a whole different experience
16:28 crab sri: i keep my laptop always backed up to the desktop, so i'm not scared. it's just hideously inconvenient.
16:29 sri ssd was the most important upgrade for me in years
16:29 crab so in that sense i would have liked to get an ssd. but oh well, maybe in a year or two.
16:31 sri prices really have to go down
16:31 sri now they are starting to add small (10gb) ssd caches to mainboards...
16:32 sri caching the most frequently accessed files transparently
16:34 ajgb left #mojo
16:35 d4rkie left #mojo
16:36 d4rkie joined #mojo
16:38 d4rkie left #mojo
17:09 elb0w Anyone used MySQL::Slurp?
17:11 tempire left #mojo
17:20 metaperl http://pastebin.com/BagY5Meq  --- why are the not_found.html.ep ever found? is the developer supposed to make them?
17:23 sh9 left #mojo
17:33 crab metaperl: sort of
17:33 crab it's basically saying "you didn't provide one, so i'll use the built-in one". it's just a debug message.
17:35 spleenjack left #mojo
17:35 sri this is kinda becoming an faq
17:37 crab yeah
17:43 metaperl My inline template is not found ... here is my source code: http://pastebin.com/DyfK9VqX  ... and here is the exact error log: http://pastebin.com/wvGwsmjZ
17:44 metaperl oh enver mind
17:45 crab i haven't looked at your pastebins, but do you need to say template_class => __PACKAGE__ in your call to render?
17:45 metaperl I need the "@@"
17:45 crab well, yes.
17:46 fhelmber_ left #mojo
17:50 metaperl should a debug message be issued when the daemon decides to reload?
17:50 metaperl It would make me certain that the file I just saved actually caused a reload
17:51 sri that's not how it works
17:51 sri it *always* reloads
17:51 metaperl oh you mean on each request?
17:51 metaperl kind of like CGI?
17:52 sri nope, something entirely different
17:55 GitHub87 joined #mojo
17:55 GitHub87 mojo: master Sebastian Riedel * a28e42c (8 files in 5 dirs): fixed a few typos - http://bit.ly/k30s7o
17:55 GitHub87 left #mojo
17:59 Foxcool left #mojo
18:03 alnewkirk left #mojo
18:10 sugar joined #mojo
18:10 sri damn, there is already a whole book about coffeescript
18:10 metaperl sri what's wrong with that?
18:11 metaperl Personally I have enough problems getting plain javascript to work to try coffeescript
18:11 sri can't imagine there is so much to say about it
18:17 stephen left #mojo
18:18 Foxcool joined #mojo
18:22 stephen joined #mojo
18:25 Akron left #mojo
18:45 crab people write books about all sorts of unlikely nonsense about which there's not much to say
19:40 maluco joined #mojo
19:59 dekimsey left #mojo
20:33 tempire joined #mojo
20:37 moritz https://gist.github.com/1003258 any idea why I get warnings when running the code?
20:38 tempire wall of text
20:38 moritz oh wait, I'm stupid
20:38 moritz find->('li')
20:38 moritz instead of
20:38 moritz find('li')
20:38 moritz nevermind
20:38 Foxcool left #mojo
20:56 Foxcool joined #mojo
20:59 sugar left #mojo
20:59 Akron joined #mojo
21:08 alnewkirk joined #mojo
21:15 tabbi joined #mojo
21:32 tabbi left #mojo
21:47 amoore left #mojo
21:48 perlrocks Twitter: "@edenc mojolicious ? :P" --pac_man http://twitter.com/pac_man​/status/76042329101844480
22:09 Foxcool left #mojo
22:12 perlrocks Twitter: "My cousin is learning schelfhoutm @ # perl: twitpic.com/55lovb you have the true power of perl have not seen! Emacs # # # pleadings mojo" (nl) --hannesvdvreken http://twitter.com/hannesvdvr​eken/status/76048591394836480
22:20 Foxcool joined #mojo
22:50 Foxcool left #mojo
23:05 fmerges left #mojo
23:46 tty234 joined #mojo

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