Camelia, the Perl 6 bug

IRC log for #mojo, 2010-09-22

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

All times shown according to UTC.

Time Nick Message
00:09 bedi left #mojo
00:09 bedi joined #mojo
00:31 fifo left #mojo
00:48 MojoGuest611 joined #mojo
00:48 MojoGuest611 From: http://www.google.com/url?sa=t&source=we​b&cd=3&ved=0CCQQFjAC&url=http%3A​%2F%2Fdev.xantus.org%2F&rct=j&q=webs​ockets%20demo&ei=q1GZTI7fBYq4vQPS9LiJDQ&​amp;usg=AFQjCNGw6nZv0wO42uzUnHhWcD0vcKNULg (1 hits)
00:49 mogo28478347 joined #mojo
00:49 mogo28478347 From: http://www.google.com/url?sa=t&source=we​b&cd=3&ved=0CCQQFjAC&url=http%3A​%2F%2Fdev.xantus.org%2F&rct=j&q=webs​ockets%20demo&ei=q1GZTI7fBYq4vQPS9LiJDQ&​amp;usg=AFQjCNGw6nZv0wO42uzUnHhWcD0vcKNULg (3 hits)
00:50 MojoGuest611 left #mojo
00:50 mogo28478347 left #mojo
01:06 niros joined #mojo
01:06 niros hi
01:11 MojoGuest202 joined #mojo
01:11 MojoGuest202 From: http://www.google.com/url?sa=t&source=we​b&cd=3&ved=0CCQQFjAC&url=http%3A​%2F%2Fdev.xantus.org%2F&rct=j&q=webs​ockets%20demo&ei=q1GZTI7fBYq4vQPS9LiJDQ&​amp;usg=AFQjCNGw6nZv0wO42uzUnHhWcD0vcKNULg (6 hits)
01:11 MojoGuest202 left #mojo
01:12 MojoGuest742 joined #mojo
01:12 MojoGuest742 From: http://www.google.com/url?sa=t&source=we​b&cd=3&ved=0CCQQFjAC&url=http%3A​%2F%2Fdev.xantus.org%2F&rct=j&q=webs​ockets%20demo&ei=q1GZTI7fBYq4vQPS9LiJDQ&​amp;usg=AFQjCNGw6nZv0wO42uzUnHhWcD0vcKNULg (7 hits)
01:13 MojoGuest742 left #mojo
01:16 tempire hu
01:35 MojoGuest969 joined #mojo
01:35 MojoGuest969 From: http://www.google.de/url?sa=t&source=web​&cd=1&ved=0CB8QFjAA&url=http%3A%​2F%2Fdev.xantus.org%2F&rct=j&q=webso​cket%20demo&ei=dl2ZTK7FEpDJswbukKm0DA&am​p;usg=AFQjCNGw6nZv0wO42uzUnHhWcD0vcKNULg (1 hits)
01:36 MojoGuest969 left #mojo
01:37 moreume joined #mojo
01:57 Drossel joined #mojo
01:57 Kulag left #mojo
02:22 maettu joined #mojo
02:35 janus left #mojo
02:48 ash_ left #mojo
02:52 dotan left #mojo
02:54 janus joined #mojo
02:54 moreume left #mojo
03:25 arpadszasz joined #mojo
03:55 xantus_ hi
03:55 sri moin
04:03 sri oh, six apart is no more
04:04 tholen42 joined #mojo
04:06 tl left #mojo
04:18 xantus_ oh wow
04:22 Alias wtf?
04:23 Alias sri: URL... I see nothing on their website
04:23 xantus_ videoegg is aquiring them
04:23 sri ye
04:24 Alias oh, not a shutdown
04:24 sri http://everything.typepad.com/blog/20​10/09/six-apart-and-videoegg-create-s​ay-media-a-modern-media-company.html
04:37 perlrocks joined #mojo
04:39 arpadszasz left #mojo
04:45 perlrocks Twitter: "mojolicious let your little anxious when working properly updated. Glad it fixed soon. The time was late but I promise complete security ! ! !" (ja) --hisaichi5518 http://twitter.com/hisaichi5518/status/25184652031
04:49 maettu left #mojo
04:51 omega say whaaat? :p
04:59 dotan joined #mojo
05:07 esskar_ moin
05:12 und3f[A] is now known as und3f
05:28 sri whaaaaat?
05:46 perlrocks Twitter: "Mojolicious, 'framework' for Perl web Minimalist: Sebastian Riedel is the creator of Catalyst, one of the 'frameworks' ... http://bit.ly/aOAiSe" (pt) --anderson_jose51 http://twitter.com/anderson​_jose51/status/25187713314
06:05 perlrocks Twitter: "Mojolicious, 'framework' minimalist Perl web http://twurl.nl/go3hin" (es) --herbertramires http://twitter.com/herbert​ramires/status/25188551459
06:08 perlrocks Twitter: "Mojolicious, 'framework' for Perl web Minimalist: Sebastian Riedel is the creator of Catalyst, one of the 'frameworks' ... http://bit.ly/aMNTBY" (pt) --fossbr http://twitter.com/fossbr/status/25188695226
06:20 perlrocks Twitter: "# Linux News: Mojolicious, 'framework' for Perl web minimalist http://tinyurl.com/2en5558" (pt) --arlesophia http://twitter.com/arlesophia/status/25189204348
06:21 kvorg left #mojo
06:21 und3f is now known as und3f[A]
06:23 perlrocks Twitter: "Mojolicious, 'framework' for Perl web minimalist - Sebastian Riedel is the creator of Catalyst, one of the 'frameworks' w. .. http://ow.ly/196NhT" (pt) --flisoldf http://twitter.com/flisoldf/status/25189331617
06:23 perlrocks Twitter: "Mojolicious, 'framework' for Perl web minimalist - Sebastian Riedel is the creator of Catalyst, one of the 'frameworks' w. .. http://ow.ly/196NhS" (pt) --mendesbsb http://twitter.com/mendesbsb/status/25189331625
06:24 sri hmm, maybe a retweet filter would be a good idea at some point
06:32 tholen42 left #mojo
06:41 tholen42 joined #mojo
06:54 perlrocks Twitter: "Mojolicious Web Framework - Join the revolution! - A next generation web framework for the Perl programming... http://tumblr.com/xe4ja8sps" --estebansaiz http://twitter.com/estebansaiz/status/25190580007
06:55 kvorg joined #mojo
07:04 perlrocks Twitter: "Mojolicious Web Framework - Join the revolution! - A next generation web framework for the Perl programming... http://tumblr.com…" --arturogogalinks http://twitter.com/arturogo​galinks/status/25191012953
07:05 perlrocks Twitter: "Mojolicious, 'framework' for Perl web Minimalist: Sebastian Riedel is the creator of Catalyst, one of the 'frameworks' ... http://bit.ly/aMNTBY" (pt) --planetagnulinux http://twitter.com/planetag​nulinux/status/25191048536
07:08 perlrocks Twitter: "Todo today: 1. Sort utility bills 2. Unpack 3. Make a better www.sheffieldhelpyourself.org.uk with #Mojolicious and #DBIx::Class. #perl" --doubious_code http://twitter.com/doubiou​s_code/status/25191155667
07:19 niros hello
07:33 ltriant left #mojo
07:43 maettu joined #mojo
07:50 koban joined #mojo
07:56 perlrocks Twitter: "Mojolicious Web Framework - Join the revolution! - A next generation web framework for the Perl programming... htt... http://bit.ly/9F1REx" --arturogogalinks http://twitter.com/arturogo​galinks/status/25193115419
07:58 perlrocks Twitter: "Mojolicious, 'framework' for Perl web Minimalist: Sebastian Riedel is the creator of Catalyst, one of the 'frameworks' ... http://bit.ly/aOAiSe" (pt) --HomemLivre http://twitter.com/HomemLivre/status/25193184147
08:03 niros left #mojo
08:09 perlrocks Twitter: "Lot's of funny meetings today, note to self: Make sure to take your laptop to the meetings, update your #mojolicious checkout before! #perl" --rabenfeder http://twitter.com/rabenfeder/status/25193628830
08:10 Rhaen good morning channel!
08:10 vti moin
08:10 Rhaen moin vti!
08:14 tab joined #mojo
08:23 Rhaen opthx
08:23 Rhaen *bows*
08:31 murata left #mojo
08:31 memememomo left #mojo
08:32 memememomo joined #mojo
08:32 ka2u left #mojo
08:32 ka2u joined #mojo
08:32 und3f[A] is now known as und3f
08:46 memowe joined #mojo
09:02 spleenjack joined #mojo
09:07 arthas joined #mojo
09:21 tab left #mojo
09:21 marcus_ moin
09:21 marcus_ *boinks*
09:21 maettu moin?!
09:21 maettu where do you live?
09:22 maettu :-)
09:29 sri moin
09:30 sri the moin thing is a very old tradition back from the early catalyst days i think
09:30 sri one morning i accidentally said "moin", and suddenly everybody did
09:33 sri it's a nice greeting, totally deserves a revival here :)
09:34 * esskar joins the revolutionary talk
09:35 sri this whole project has been started to spread the word "moin" across the world!
09:36 esskar does Mojo has a cache to share date between requests?
09:36 esskar s/has/have/
09:36 sri nope
09:36 esskar macht nix
09:36 sri pretty sure someone made a Cache::Cache plugin though
09:36 Drossel left #mojo
09:36 Kulag joined #mojo
09:37 sri with the latest mojolicious that should be really trivial
09:40 sri reminds me to rename the cache helper
09:40 sri the name is better used for a general purpose cache helper
09:41 sri memoize might be a better name for the current one
09:42 sri or actually memoRize
09:42 esskar brain
09:42 sri <%= memorize begin %><%= time %><% end %>
09:43 sri makes more sense than <%= cache begin %>
09:51 GitHub63 joined #mojo
09:51 GitHub63 mojo: master Sebastian Riedel * c022d08 (4 files in 4 dirs): renamed cache helper to memorize - http://bit.ly/9RGeuU
09:51 GitHub63 left #mojo
09:51 sri thats better
09:51 sri now real cache plugins can use the name cache
09:54 fish__ is anyone already writing a nice mojo/ajax mail-client?
09:55 sri not heard anyone mention one
09:55 sri but i think xantus_ is working on something that involves imap
09:56 fish__ well.. i don't really want to start writing one.. i think thats a huge project to have it compete with roundcubemail for example..
09:58 maettu left #mojo
10:13 jest joined #mojo
11:12 Rhaen sri?
11:12 sri Rhaen?
11:13 Rhaen uhm, I suggest to exchange the text of the initial webpage which is generated by mojolicious
11:13 sri already planned
11:13 Rhaen Yay funky is a little bit. hm. ....more something for develociraptors
11:14 Rhaen and not for real smart asses like we are.
11:14 vti how about jumping bears?
11:14 Rhaen Should I suggest something and send you a pull up?
11:14 Rhaen oh my god.
11:14 sri redesigning the test apps, error pages and mojolicious.org is the last step for 1.0
11:15 sri it's not about the text, i want real designs
11:16 vti http://www.furrytalk.com/wp-content/uploads​/2010/02/tumblr_ku9qknVvMs1qzvqipo1_400.jpg
11:16 Alias__ Dear god that's a scary looking url
11:16 sri oh my god.
11:16 Rhaen is that worksafe?
11:17 vti ye
11:17 Rhaen nice :)
11:18 sri http://bigfourza.com/blog/wp-co​ntent/uploads/2010/09/bear.jpg
11:19 vti :D
11:19 Rhaen What about a simple: Welcome to Mojolicious::Lite?
11:19 sri Rhaen: sounds very boring
11:19 sri it migth work
11:19 Rhaen hm. What might work?
11:20 sri Welcome...
11:20 Rhaen congratulation, just've just put Perl on eels.
11:21 sri Mojo on Perls
11:21 Rhaen That's something really nice in Catalyst. Once you have generated an application it presents you a nice starting webpage
11:21 sri i made that page :)
11:21 Rhaen sri: come on! We need some Mojo grafx.
11:22 Rhaen for T-shirts, underwear, banners, etc.
11:23 sri http://s3.amazonaws.com/files.posterous.com/kraih​/VK6eEW7wxNFsYWXj5z7NdnLqz0RYIAqWkeVoqgyJStTrAoup​ZpcZHEtUnGxp/mojolicious-brochure.jpeg?AWSAccessK​eyId=1C9REJR1EMRZ83Q7QRG2&amp;Expires=1285154874&​amp;Signature=pc3%2FDEptuHos7cdHDKmntJNY7k4%3D
11:23 sri something for the meantime
11:23 sri i've already redrawn the cloud for new artwork, when the time comes we'll have cool stuff
11:24 Rhaen maybe it would be nice to include a base64 encoded favicon into the sample application.
11:24 vti Rhaen++
11:24 sri all planned
11:24 Rhaen What does mojolicious looks look like? Like a small cloud?
11:24 Rhaen sri: come on - spread the word, we all want to help!
11:24 sri the mojolicious logo is the cloud, yes
11:25 Rhaen awesome, lets have a white mojo cloud as favicon.
11:25 Rhaen *hides*
11:25 Rhaen uh-oh, salesforce has a cloud, too
11:25 Rhaen http://www.salesforce.com/de/
11:25 sri clouds are used a lot
11:26 Rhaen who cares. :) We are free as in beer
11:26 Rhaen or freedom?
11:26 sri freedom
11:26 Rhaen Can I haz the beer first?
11:26 sri design won't be a problem at all, we just need to get the code ready for 1.0 ;)
11:27 sri ideas for t-shirt designs would be nice too
11:27 Rhaen come on - what's missing?
11:27 sri i want something funny
11:27 sri documentation is always missing
11:27 Rhaen just a our VERSION = 1.0;
11:27 Rhaen ah.
11:27 Rhaen what do you look for?
11:27 sri hypnotoad
11:27 sri also missing
11:28 sri small tutorials
11:28 sri i would like to spread small tutorials like perldoc Mojo::Template/Mojolicious::Lite all over the place
11:28 Rhaen ugh. ok.
11:29 Rhaen Sounds like alot of work :)
11:29 sri it is :)
11:29 sri those are not a 1.0 requirement though
11:29 sri code wise hypnotoad is the last big building block
11:30 sri otherwise the api just needs to settle
11:30 MojoGuest781 joined #mojo
11:30 MojoGuest781 From: http://www.reddit.com/r/html​5/comments/bt76k/irc_client/ (1 hits)
11:30 Rhaen hypnotoad? the futurama thingy?
11:30 sri it's a replacement for Mojo::Server::Daemon::Prefork
11:30 MojoGuest781 left #mojo
11:31 sri hot deployment for the rest of us
11:31 Rhaen oh. There is nothing I can help :)
11:31 sri update your perl at runtime
11:31 Rhaen I can do some documentation if needed :)
11:31 sri :)
11:32 Rhaen oh, and I can do the breakage tests.
11:32 sri hypnotoad is like 90% finished anyway
11:32 sri small doc patches of all kinds are always appreciated btw
11:32 sri when you see a topic missing just add a section to a guide
11:34 sri hmm, i think we really have nothing interesting left on the todo list
11:35 Rhaen speaking of favicons - yeah, you can do them yourself, or look at those: http://www.favicon.cc/?acti​on=icon&amp;file_id=128729 or http://www.favicon.cc/?acti​on=icon&amp;file_id=218048
11:35 Rhaen I like the first one - and it's cc
11:35 sri i just make one :)
11:36 Rhaen oh ;)
11:37 sri ideas would be cool though for artwork
11:39 Rhaen artwork?
11:39 Rhaen use Mojolicious::Artwork;
11:40 sri t-shirts, posters, site banners, favicons...
11:44 Rhaen yes, 1 T-Shirt please.
11:45 sri you could work on the text for the welcome page though
11:46 sri it needs to be really clever and concise :)
11:46 sri and how to integrate it in the different generated default apps
11:46 a|newkirk[assoc] left #mojo
11:47 sri (ok, i guess thats rather simple...just replace the current root page...)
11:47 sri but the text needs some serious thought
11:49 sri it should contain pointers to the documentation, maybe mention a few first steps directly
11:49 Rhaen hm, true. What about a default pod to html application to read the manpages.
11:49 Rhaen give me a few thoughts about it
11:49 sri the generated normal app could point to lite, so people learn in the right order
11:50 sri that migth be a bit over the top
11:50 Rhaen ...point to light? You are the light!
11:50 Rhaen ok, time for my git studies.
11:50 Rhaen One day I will be able to use that system in the way that it was designed for.
11:50 sri we have a pod renderer though
11:51 sri making a pod browser should be trivial
11:51 Rhaen yup.
11:51 sri hmm
11:51 sri that could be a cool default app if it was elegant
11:51 sri any takers? :)
11:51 Rhaen the "rhaen will learn git" application?
11:52 Rhaen Nah, I will look into it.
11:52 sri pod browser of course
11:52 * sri cracks the whip
11:52 Rhaen and have some thinking about it.
11:52 sri but it would have be ridiculously sleek
11:52 sri since every user will dissect it
11:53 sri really like that idea
11:54 snearch joined #mojo
11:55 sri Pod::Simple::Search could possibly integrated into the pod renderer plugin
11:56 sri so the gory details can be hidden
11:57 sri oh noes...
11:57 sri 5.10 requirement
11:58 sri there's the showstopper
12:01 sri it could be *one* example app, but not *the* example app :/
12:02 sri maybe once we can bump the requirement to 5.10
12:09 maettu joined #mojo
12:26 kvorg left #mojo
12:30 maettu1 joined #mojo
12:35 maettu left #mojo
12:55 snearch left #mojo
12:57 kvorg joined #mojo
13:02 Rhaen Hm, 5.10 would be too high. Redhat 5.5 still ships with 5.88
13:03 Rhaen 5.8.8 hahahaha - it makes me complaining every time.
13:04 Rhaen hahahha. 5.8.8
13:04 * Rhaen whiens.
13:04 Rhaen err.
13:04 * Rhaen whines.
13:04 sri redhat is the reason we are still 5.8.7+
13:05 Rhaen awesome. Thank you :)
13:25 su-bzero joined #mojo
13:29 su-bzero_ left #mojo
13:32 forwardever joined #mojo
13:36 und3f left #mojo
13:47 su-bzero How to get to http://-some.domain.com ?
13:47 su-bzero Google indexes this page, but with browser I couldn't go to this address.
13:48 su-bzero http://-kol.deviantart.com I try.
13:53 su-bzero Weird.
14:13 koban left #mojo
14:14 siltyx joined #mojo
14:22 perlrocks Twitter: "Thinking in perl by Mojolicious remember. http://mojolicious.org/" (es) --guillermooo http://twitter.com/guillermooo/status/25215600818
14:33 esskar sri, is this a bug or a feature: http://perlpunks.de/paste/show/4c9a13a3.4e59.2e0
14:34 phillipadsmith joined #mojo
14:34 jest left #mojo
14:35 siltyx left #mojo
14:45 zecrazytux hey
14:45 zecrazytux routes such as /(.placeholder1)/fixedstring/(*placeholder2) are not supported ?
14:46 esskar su-bzero: just works with FF
14:48 esskar nslookup domain=-kol.deviantart.com
14:56 zecrazytux well, looks like it is not supported or buggy
14:59 zecrazytux hmm
15:00 sri that route looks ok to me
15:00 zecrazytux oooor... 'app' should not be used as a placeholder
15:00 sri ding ding ding
15:00 zecrazytux it might be used internaly
15:00 sri thats correct
15:02 sri esskar: why would it be a ref?
15:03 sri esskar: i don't understand the question
15:05 sri safari doesn't support "-" domains
15:06 sri umm...no wait
15:06 sri it does
15:06 sri the mojo client does too
15:11 esskar sri, my @authorization = $req->headers->authorization; => @authorization is an array of array
15:11 esskar should not be like that!?!
15:12 sri hmm
15:12 esskar just run the script
15:12 sri ah ok, i guess it should be like that
15:13 sri first array is headers second is lines
15:15 sri now that i look at the pod a single array wouldn't be consistent
15:16 sri makes sense
15:18 sri for parsing you would always take the single string anyway
15:20 GabrielVieira left #mojo
15:21 GabrielVieira joined #mojo
15:25 GabrielVieira left #mojo
15:25 GabrielVieira joined #mojo
15:26 esskar sri, ok, but how would i achieve multiple headers with same name, like WWW-Authenticate: Negotiate
15:26 esskar WWW-Authenticate: NTLM
15:26 esskar WWW-Authenticate: Basic realm="foo.bar"
15:31 sri just add them
15:31 sri $headers->add(...)
15:32 sri it's all in the pod
15:33 esskar i know the add function
15:33 sri call it twice and you've got it
15:34 esskar ah
15:35 esskar i was confused
15:35 esskar ok, thanks
15:35 sri :)
15:36 esskar because print '' . $headers->header( 'name' )
15:36 esskar combined it with commas
15:36 sri stringified
15:37 sri $headers->to_string
15:37 sri that will show the real result
15:37 sri all are valid alternatives that parsers handle equal though
15:38 sri comma separated is equal to multiple headers
15:38 sri according to spec
16:12 arpadszasz joined #mojo
16:23 sri looks like i can finally kick IO::Socket::INET6
16:24 sri IO::Socket::IP looks like a good alternative
16:24 kvorg left #mojo
16:28 maettu1 left #mojo
16:56 forwardever left #mojo
16:57 spleenjack left #mojo
17:19 MojoGuest70 joined #mojo
17:19 MojoGuest70 From: http://www.google.co.uk/url?sa=t&amp;source=​web&amp;cd=4&amp;sqi=2&amp;ved=0CCwQFjAD&amp​;url=http%3A%2F%2Fdev.xantus.org%2F&amp;rct=​j&amp;q=websocket%20demo&amp;ei=WDqaTNTPG4_4​sAPpuMSpAw&amp;usg=AFQjCNGw6nZv0wO42uzUnHhWc​D0vcKNULg&amp;sig2=uBTN5aO8dTnFajbvLyEcjw (3 hits)
17:19 MojoGuest70 hello!
17:20 MojoGuest70 left #mojo
18:07 spleenjack joined #mojo
18:20 perlrocks left #mojo
18:21 perlrocks joined #mojo
18:37 kvorg joined #mojo
18:40 GitHub35 joined #mojo
18:40 GitHub35 mojo: master Sebastian Riedel * 2f94a64 (6 files in 5 dirs): replaced IO::Socket::INET6 with IO::Socket::IP for IPv6 support - http://bit.ly/bCPKcC
18:40 GitHub35 left #mojo
19:04 kvorg left #mojo
19:13 GabrielVieira left #mojo
19:13 GabrielVieira joined #mojo
19:18 kvorg joined #mojo
19:21 ash_ joined #mojo
19:22 maettu joined #mojo
19:37 maettu left #mojo
19:41 Rhaen_ joined #mojo
19:46 Rhaen left #mojo
19:46 Rhaen_ is now known as Rhaen
19:58 und3f joined #mojo
20:17 esskar_ current github client.t broken on windows
20:20 esskar_ http://perlpunks.de/paste/show/4c9a64e6.34f.ce
20:20 a|newkirk[assoc] joined #mojo
20:25 esskar_ left #mojo
20:36 a|newkirk[assoc] left #mojo
20:37 a|newkirk[assoc] joined #mojo
20:49 alnewkirk|com joined #mojo
20:49 a|newkirk[assoc] left #mojo
20:51 Rhaen sri!
20:51 Rhaen esskar!
20:52 Rhaen you guys are just awesome!
20:53 janus speaking of awesome... i'm considering to give lightning talks about liteningapps with mojolicious
20:54 janus ... because the one-file-webapp is just to awesome not to do it :)
20:54 Rhaen is that worth it?
20:54 janus definitel
20:54 janus y
20:54 Rhaen It's just: <mojolicious generate lite_app awesome.pl>
20:54 Rhaen ./awesome.pl daemon --reload
20:54 Rhaen end of talk
20:54 janus not if you want to show the power
20:55 Rhaen ah :)
20:55 ash_ left #mojo
20:55 Rhaen I was trying to pull your legs, nm :)
20:55 janus adding templates and images to __DATA__ for example
20:56 janus i know lots of people doing php shit just because of simplicity... and the know perl pretty well
20:56 janus *they
20:56 janus it's just that other frameworks aren't exactly that easy
20:56 Rhaen giving talks about a project is always a great thing
20:57 janus (in perl, that is and in my oppinion of course)
20:57 Rhaen you really should do that - that's a great way to encourage other people to look into it
20:57 alnewkirk|com janus++
20:57 Rhaen maybe the will contributing one day - mabye not
20:58 Rhaen so, go for it, that would be really awesome
20:59 Rhaen Starting now means starting a revolution, it feels to be part of something great
20:59 janus i'd already be happy to know they use something that i like too... gives a greater chance for nice discussions ;)
20:59 Rhaen something which is just starting - not any old brew stuff.
20:59 ash_ joined #mojo
21:00 Rhaen it's not talking about an old legavy module, it's about talking to one the shiniest and fanciest module on CPAN
21:00 janus cpans sweetest candy so to say :)
21:00 Rhaen Talking mojolicious means talking 2.0 and behind.
21:01 Rhaen make sure to get all those 2.0 people with you, the 1.0 who still use CGI.pm are part of a new expericene
21:01 Rhaen *you*
21:01 * Rhaen points at janus.
21:01 Rhaen are being part of it. Go, spread the word and share the code.
21:02 alnewkirk|com does Mojolicious have a DBIx-Class Plugin yet?
21:03 janus i'm already spreading the word like mad... those few that ask me about my catalyst past show funny reactions when i tell them what's new ;)
21:04 Rhaen alnewkirk|com: not that I am aware of.
21:04 Rhaen alnewkirk|com: It is something reasonable to go for
21:05 Rhaen alnewkirk|com: I've used ORLite for my database stuff so far
21:05 alnewkirk|com if not, i plan to port a DBIC Dancer-Plugin i wrote over to Mojolicious soon as I figure out the Plugin ins-and-outs
21:05 janus isn't even it's name already saying that you can just plug it in (class based, thus just use it?)
21:05 Rhaen right now I am starting in the worlds of CouchDB/Redis
21:05 janus ah, that kind of plugin :)
21:05 Rhaen I haven't decided so far.
21:06 alnewkirk|com Rhaen, i'd love to follow along with you, I've heard the hype but havent seen anyone really prevail yet
21:06 janus that's what i like about mojolicious (and other i spoke to too), that its not yet another mvc implementation
21:06 Rhaen yup. :(
21:06 Rhaen Guys, I am off to bed now. I am feeling somehow ill.
21:07 Rhaen cya tomorrow.
21:07 janus sleep well
21:07 * Rhaen pulls the idle switch.
21:07 yakudza joined #mojo
21:08 alnewkirk|com I did something like ORLite, Dancer-Plugin-ORMesque
21:11 perlite left #mojo
21:11 perlite joined #mojo
21:22 GabrielVieira left #mojo
21:29 ash__ joined #mojo
21:29 ash_ left #mojo
21:29 ash__ is now known as ash_
21:33 ltriant joined #mojo
21:38 xantus_ yo you yo
21:38 xantus_ lol
21:41 xantus joined #mojo
21:44 perlrocks left #mojo
21:46 tempire_ joined #mojo
21:52 tempire_ There's no method to send a form via get, it seems
21:52 tempire_ It seems odd to create a method called get_form
21:59 xantus_ because get uses params
22:00 tempire_ right, but I don't want to manually build that url
22:00 tempire_ or have to construct a Mojo::URL with Mojo::Parameters
22:00 xantus_ if you use Mojo::Params it will stringify
22:01 xantus_ Mojo::Parameters
22:01 xantus_ ah
22:01 xantus_ helper func
22:02 tempire_ I want it for Test::Mojo as well
22:03 tempire_ I guess $t->get_ok( $url . Mojo::Parameters() ) is ok
22:03 tempire_ the stringification helps
22:03 xantus_ .'?'.
22:06 xantus left #mojo
22:08 arpadszasz left #mojo
22:22 und3f is now known as und3f[A]
22:33 tempire_ left #mojo
23:00 polvo anybody knows a nicer solution for this? http://pastebin.com/xG5w7912 And no, templates are not worth using in this case. :)
23:13 spleenjack left #mojo
23:18 zecrazytux left #mojo
23:18 alnewkirk|com polvo, whats wrong with that?
23:19 yakudza left #mojo
23:31 tempire polvo: use the tag helpers
23:32 tempire http://github.com/kraih/mojo/blob/master/​lib/Mojolicious/Plugin/TagHelpers.pm#L452
23:34 ash_ left #mojo
23:40 mvuets joined #mojo
23:40 mvuets Howdy \o
23:41 mvuets Question on Mojo::DOM. I have <div><div id="a">A</div><div id="b">B</div></div>
23:42 mvuets I need to extract first div's content as raw text, namely: <div id="a">A</div><div id="b">B</div>
23:43 mvuets $dom->at('div')->to_xml includes containers '<div>...</div>' which i don't need.
23:43 mvuets So how? (:
23:43 tempire_1 joined #mojo
23:50 mvuets $content .= $_->to_xml foreach $dom->at('div')->children does not work too.
23:50 tempire_1 left #mojo
23:52 tempire mvuets: ->text
23:53 ash_ joined #mojo
23:55 mvuets tempire: it extracts first text element only.
23:55 mvuets all_text extracts all text elements, but ommits <tags>
23:56 tempire $dom->find('div') will give you an arrayref of the tags it finds
23:57 tempire so, print $_->text foreach @{$dom->find('div')};
23:57 tempire or, you can use the ->each helper
23:57 polvo alnewkirk|com, not nice -)
23:57 tempire $dom->find('div')->each( sub { print shift->text } );

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