Camelia, the Perl 6 bug

IRC log for #mojo, 2011-12-29

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

All times shown according to UTC.

Time Nick Message
00:16 GitHub185 joined #mojo
00:16 GitHub185 [mojo] kraih pushed 1 new commit to master: http://git.io/1FFDvA
00:16 GitHub185 [mojo/master] fixed bug that prevented sessions without expiration - Sebastian Riedel
00:16 GitHub185 left #mojo
00:16 sri ok, that should fix and simplify it
00:18 wheelnotkiss nice, thanks.
00:56 MojoGuest656 joined #mojo
00:56 MojoGuest656 left #mojo
01:04 marty joined #mojo
01:05 xaka joined #mojo
01:17 mire__ joined #mojo
01:21 j3nnn1 joined #mojo
01:55 sri https://metacpan.org/favorite/leaderboard # looks like someone started manipulating the leaderboard
02:07 abra joined #mojo
02:12 MojoGuest544 joined #mojo
02:13 MojoGuest544 /n
02:24 MojoGuest419 joined #mojo
02:37 jmhgtx joined #mojo
02:39 jmhgtx Is there something in Mojolicious that is similar to the $self->status_created(), $self->status_bad_line() in Catalyst?
02:40 sri isn't that a plugin?
02:42 jmhgtx It's from Catalyst::Controller:REST
02:42 sri don't think such a plugin exists yet for mojolicious, but it's trivial
02:44 sri and we do have some cooler concepts, like $self->respond_to
02:44 sri if you're into true REST
02:51 jmhgtx Thanks.
02:57 jmhgtx From the docs is looks like I should be able to $self->respond_to(  get => { data => 'Unauthorized', status => 401} );  ?
03:11 bvierra joined #mojo
03:28 hshong joined #mojo
03:37 keedi joined #mojo
03:37 Psyche^ joined #mojo
04:03 tempire some of the metacpan entries are pretty rough
04:03 tempire this is probably the best one thus far: http://entries.contest.metacpan.org/​2011/12/mark-jubenville-stamped.html
04:04 tempire 2nd is http://entries.contest.metacpan.org/2011/12/vi​acheslav-tykhanovskyi-cpan-and-beyond_19.html
05:43 mire__ joined #mojo
06:15 Vandal joined #mojo
06:41 koban joined #mojo
07:37 d4rkie joined #mojo
07:49 batman joined #mojo
07:59 sugar joined #mojo
08:08 MojoGuest176 joined #mojo
08:08 MojoGuest176 From: http://networkedblogs.com/33Knp (33 hits)
08:09 spleenjack joined #mojo
08:10 MojoGuest176 left #mojo
08:12 kaare joined #mojo
08:15 jzawodn joined #mojo
08:18 judofyr joined #mojo
08:24 marcus want to see sri's posted there!
09:04 plu :)
09:29 bvierra joined #mojo
09:31 kaare joined #mojo
09:42 kaare joined #mojo
10:01 jzawodn joined #mojo
10:56 batman joined #mojo
11:16 MojoGuest367 joined #mojo
11:16 MojoGuest367 From: http://networkedblogs.com/33Knp (34 hits)
11:24 batman joined #mojo
11:25 marcus meh
11:46 judofyr meh?
11:46 purl i think meh is 'unexciting or unappealing' or http://www.youtube.com/watch?v=zSDj7bjAv2s
11:55 marcus yes
11:56 batman joined #mojo
12:00 sri marcus: don't think it's wise to post them too early
12:16 marcus sri: you might be right.
13:49 abra joined #mojo
13:50 nightmare joined #mojo
14:06 ispy_ joined #mojo
14:10 amoore joined #mojo
15:34 inokenty joined #mojo
15:47 kpg joined #mojo
15:52 sri yay, upgraded the macbook to 8gb ram :)
16:25 inokenty1 joined #mojo
16:27 ZadYree joined #mojo
16:27 xaka joined #mojo
16:33 ZadYree greetings
16:35 MojoGuest861 joined #mojo
16:35 MojoGuest861 From: http://networkedblogs.com/33Knp (35 hits)
16:37 MojoGuest837 joined #mojo
16:37 MojoGuest837 From: http://networkedblogs.com/33Knp (36 hits)
16:37 ZadYree I am having a little understanding problem, concerning mojo rendering. I tried ths, but it won't render the layout: $self->render(layout => 'member', text => "Cette note vient d'être effacée.");    Any idea where I am doing it wrong?
16:38 ZadYree I only get the text
16:39 sri mojo version?
16:41 ZadYree How can I get it?
16:41 sri you type "mojo version"
16:41 ZadYree Mojolicious (1.64, Smiling Face With Sunglasses)
16:41 sri lol
16:41 ZadYree 0ld?
16:41 sri that's like ancient
16:41 ZadYree dang :D
16:42 sri we are now at 2.41
16:42 ZadYree wow
16:42 ZadYree no more sunglasses
16:43 ZadYree should I upgrade it through CPAN or is there a better way?
16:44 sri first of all… you should read the changelog
16:44 ZadYree okay
16:44 sri your version is so old that deprecated features have already been removed
16:46 ZadYree hehehe
16:46 noganex joined #mojo
16:49 ZadYree Well, I don't think I'm using deprecated features, since my uses are quite light and following current documentation
16:51 sri btw. text with layout works in the latest version
16:51 ZadYree nice
16:51 ZadYree cpan[3]> install Mojo
16:51 ZadYree Mojo is up to date (undef).
16:52 ZadYree blast this cpan
16:52 sri eww
16:52 sri cpanm Mojolicious
16:52 ZadYree ah, yeah
16:54 MojoGuest38 joined #mojo
16:54 MojoGuest38 From: http://www.google.com/url?sa=t&rct=j&q=&a​mp;esrc=s&source=web&cd=4&ved=0CD4QFj​AD&url=http%3A%2F%2Fdev.xantus.org%2F&ei=​EJv8TovpHefn0QHo3vGpAg&usg=AFQjCNGw6nZv0wO42u​zUnHhWcD0vcKNULg&sig2=q1GyMr4FPJqLWFQgIy1Gfg (1 hits)
17:01 ZadYree Same issue after updating
17:02 ZadYree For sure I must be doing something wrong, but dunno what
17:03 ZadYree Nothing in the .log
17:15 rhaen KRAIH!
17:15 sri RHAEN!
17:16 rhaen uhm, do you know of any other tool which uses CSS selectors for parsing/navigating to elements?
17:16 rhaen like we can do with Mojo::DOM?
17:16 marty ZadYree:  Does member.html.ep exists in the layouts directory?
17:16 sri jquery
17:16 sri nokogiri, hpricot
17:17 ZadYree marty: Yes.
17:17 rhaen right, but all those tools are usually not accessible from the command line
17:17 sri that's correct i guess
17:19 rhaen k, just writing an article about it.
17:19 sri i've not seen a command line interface to an xml parser with css selectors yet, if that's what you're after
17:19 rhaen right. And this is just awesome!
17:20 sri :D
17:20 rhaen I am a heavy Mojo user these days. Nearly everything at work is implemented using Mjo these days
17:21 rhaen really.
17:21 sri neat
17:21 inokenty1 rhaen: You're on the right way )
17:21 rhaen I am training the younger sysadmins and developer to use it, even if it's their first perl experience
17:22 rhaen sri: and they seem to like it. Especially the way of "training"
17:22 rhaen We start with Mojo::UserAgent to get a basic understanding of HTTP communication
17:23 marty ZadYree:  I would suggest trying to call a template with the % layout helper and see what you get.
17:23 rhaen like req/res interaction - looking into headers, etc.
17:23 sri rhaen: interesting, always wondered if starting with the client side would be a better start to get into web development
17:23 ZadYree Ah, I managed to make it work, it was indeed a typo :S  Thanks men for helping so much!
17:24 rhaen sri: after that a few lessons in Test::Mojo follow
17:24 rhaen Then we look into Mojo::DOM - and finally we start coding Mojolicious::Lite applications
17:24 rhaen Maybe I should start with a free ebook one day.
17:25 rhaen I've found "the little MongoDB book" and I like it.
17:25 rhaen That's a goal for 2012!
17:25 sri or a non-free one ;)
17:25 sri small beginner books with > 100 pages are very much in fashion
17:26 rhaen sri: I like the idea of free for the source and $0.99 for the kindle ebook version :)
17:27 rhaen ok. back to the article :)
17:27 rhaen oh, and I will provide a yum repo with the current version of Mojo :)
17:27 rhaen also something for 2012 :)
17:29 sri hmm, maybe a mojolicious beginner guide should really start with user agent and explain http with it
17:30 rhaen well, it's so useful. Being a manager for a sysadmin team I need something which provides an easy start
17:30 sri could start with "mojo get" and html, then move on to http and how mojo get was built using Mojo::UserAgent
17:30 rhaen like: let's write a nagios plugin which checks for http headers
17:31 rhaen right - or start by doing plain html req, like everyone does with curl
17:34 nightmare "Mojo for SysAdmins" and "Mojolicious for Web App Developers" should be 2 books.
17:34 sri http://riakhandbook.com # i like this self publishing style
17:34 rhaen nightmare: true. I will change my employer by Feb. Let's see how to get started :)
17:35 sri nightmare: not necessarily, the sysadmin part is a good start for beginner web app developers too imo
17:36 marcus I'm already planning a 'Mojolicious for system administrators' presentation.
17:36 rhaen hm, the borders doesn't exist anymore btw. A 2.0 sysadmin is able to speak XPath fluently.
17:36 marcus figured it would be a good way to break out of the perl bubble.
17:36 rhaen so we are up-to-date!
17:37 marcus startsiden sysadmin were excited about the idea.
17:37 marcus sysadmins even
17:37 rhaen me, too :)
17:38 marcus btw, did you see one of the gsoc students are making a sqlite webadmin tool?
17:38 rhaen New(tm) sysadmins don't know Perl anymore. Sad but true
17:38 inokenty1 rhaen: They know python
17:39 rhaen they say so, right. However, usually they don't know Python well enough to do their work with it.
17:39 marcus lots of sysadmins I know never got past bash :)
17:39 rhaen Mojo is easy to get into - later they will recognize that they are on their way to learn Perl
17:40 inokenty1 Python is so hard to write oneliners )
17:40 marcus one of the GCI students asked if he could do the 'write a simple mojolicious wiki' in php and mysql :D
17:41 rhaen marcus: that could have been interesting
17:41 sri lol
17:41 marcus rhaen: I told him mysql was fine but he would have to use perl.
17:41 rhaen MongoDB!
17:41 purl i heard mongodb was about as much fun as sticking my dick in a pickle slicer
17:42 marcus pickles! \o/
17:42 rhaen We should prepare the community for webscale applications!
17:42 marcus wonder if HP is actually going to get the source out there and publish the license some time.
17:42 marcus for webos I mean
17:43 marcus Hmm
17:43 marcus judofyr++ # Made Capybara for Mojolicious
17:43 marcus now I just hve to make him put it on cpan :)
17:44 marcus Maybe I could help by writing some docs.
17:46 sri HP Y U NO RELEASE?
17:49 sri maybe nbody told them that they actually have to release the source to make it open source
17:50 cstamas lol :)
17:50 sri "WHAT DO YOU MEAN FREE OF CHARGE?"
17:52 marcus sri++
18:00 bvierra joined #mojo
18:04 sri marcus: the whole capybara?
18:05 marcus sri: no.
18:05 marcus sri: mostly the mech parts
18:05 sri ah, still nice
18:08 batman joined #mojo
18:11 tempire rhaen: do you find the mojocasts to be of any use in your training regimen?
18:17 batman joined #mojo
18:22 ZadYree Ah, by curiosity, has anyone started making a CMS based on Mojolicious?
18:28 sri multiple i think
19:04 ccushing $r->route('/:name', name => qr/*/) is equivalent to $r->route('/*name') ?
19:05 inokenty1 I guess no
19:05 inokenty1 And your regexp is wrong
19:22 plu what is capybara? Besides largest living rodent?
19:23 plu something like that for perl/mojolicious? https://github.com/jnicklas/capybara
19:51 marcus plu: yea
19:52 ccushing the stash is an in memory hash per request basically? is it what I should use to pass a variable from a bridge-> to the final endpoint?
19:53 ccushing just trying to figure out the best way to pass something from one to another
19:54 marcus ccushing: yes
19:54 ccushing ok, thanks
20:03 MojoGuest979 joined #mojo
20:03 MojoGuest979 From: http://www.google.com/url?sa=t&rct=j&amp​;q=extjs%20websockets&source=web&cd=​10&ved=0CGoQFjAJ&url=http%3A%2F%2Fde​v.xantus.org%2F&ei=Ccf8Tti0I6re2AWKt-2lA​g&usg=AFQjCNGw6nZv0wO42uzUnHhWcD0vcKNULg (1 hits)
20:45 tempire where is the capybara clone on github?
20:46 tempire and what was the settled name - hamster or guineapig?
20:47 marcus tempire: it's in our private repo so far, and named capybara
20:47 tempire it wants to be free!
20:49 sri FREE CAPYBARA!
20:52 marcus aka rat plague?
20:53 marcus I'll talk to judofyr about it.
20:53 tempire I demand a pretty webpage
20:53 tempire with a arbitrary mascot
20:57 marcus tempire: starting to think we should keep it private.
20:57 tempire for some internal business reason?
20:59 marcus tempire: no, to avoid having to write docs and make pretty webpage with a arbitrary mascot
20:59 tempire :(
21:00 tempire you can drop the pretty webpage and arbitrary mascot and just do something like this: http://plackperl.org/
21:00 tempire it's still hip
21:01 tempire but I'll settle for the github repo if that's all I get
21:01 * tempire cries
21:14 grim_fandango joined #mojo
21:19 xaka joined #mojo
21:23 mattastrophe joined #mojo
21:38 DaTa sri: do you participate in the metacpan logo contest?
21:38 sri i will yes
21:39 sri actually my logo is done, but i'm waiting with submitting it
21:41 tempire timing is everything in terms of supervillainry
21:41 tempire after all, what would dr horrible be if he had tried to destroy captain hammer in the first episode?
21:45 rhaen omg! This Mojo::DOM is so crazy!
21:46 tempire rhaen: did you see my question from earlier?
21:46 rhaen sometimes it takes some time to get it working - especially all those crazy mojo get stuff.
21:46 rhaen tempire: uhm. let me backscroll
21:47 rhaen tempire: what was the question?
21:47 tempire do you find the mojocasts to be of use in your training regimen?
21:47 rhaen tempire: they do work well as course material.
21:48 rhaen They are good to follow, however you won't learn very much if you are just consuming them.
21:48 rhaen I like to point to the episodes when we've finished a section.
21:49 rhaen you've started server side - my training started client side.
21:49 mire__ joined #mojo
21:49 rhaen So we had some lessons before the casts became useful for us.
21:49 DaTa sri: i'm curious about it. until now, 2 or 3 are nice, but not really satisfying to me
21:49 rhaen Now they are taken as "reference" material. And people tend to watch them frequently.
21:50 sri mine is very retro
21:50 rhaen tempire: good stuff. Keep up the good work!
21:50 sri you'll see nex year ;p
21:51 tempire if you're getting results, you might want to think about posting your outline, or even course material online
21:52 rhaen tempire: true - I am thinking about assembling a short ebook - like the "little mongodb book"
21:52 rhaen tempire: do you know it?
21:52 purl i guess it is now very bad.
21:52 tempire I've seen it
21:52 tempire learnyouamojo.com
21:53 rhaen hm. interesting. "mojo get" doesn't follow redirects by default?
21:53 tempire --redirects
21:53 tempire er, --redirect
21:53 rhaen tempire: true :)
21:57 rhaen I need a "I <3 Mojo::DOM" t-shirt.
21:58 cstamas metoo
21:58 rhaen cstamas: you mean aol?
21:58 sri I <3/> Mojo::DOM
21:58 cstamas :)
21:58 rhaen sri: yeah, could be.
21:59 sri oh i know
21:59 sri I <♥> Mojo::DOM
22:00 rhaen hm, "I <♥ /> Mojo::DOM"
22:00 sri https://metacpan.org/favorite/leaderboard # looks like we have new competition :)
22:00 tempire lulz
22:00 tempire I was thinking about doing the same thing for the M module
22:01 rhaen I still can understand the dancer people. It might be nice, however it pulls tons of dependencies.
22:01 rhaen When I am asked about the best thing about Mojo - it's that.
22:01 rhaen followed by "mojo get"...
22:01 rhaen then Mojo::DOM
22:01 rhaen and Test::Mojo
22:01 purl Test::Mojo is missing
22:02 rhaen nah. :)
22:08 sri is someone from here playing with the leaderboard by any chance? :)
22:09 sri would be fun if it was a mojo script
22:10 rhaen nah, you can only vote when signed it
22:10 rhaen err signed in.
22:11 rhaen and you can only vote once
22:11 sri it's bugged
22:11 rhaen and it would be unfair
22:11 rhaen and we don't need it actually :)
22:11 mattastrophe joined #mojo
22:13 sri if it's using the bug i tweeted then it creates a new github account for every upvote
22:13 sri would have to automate the whole oauth process though, would really like to see the code
22:14 gshank joined #mojo
22:17 kaare joined #mojo
22:31 tempire could be twitter as well
22:31 tempire I knew it was only a matter of time before we were crushed by AnyEvent::Kanye
22:32 sri i think twitter has a captcha
22:33 sri i made two votes with github yesterday, so i think it should work for more too
22:38 * ashleydev votes
22:40 preflex_ joined #mojo
22:44 MojoGuest515 joined #mojo

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