Camelia, the Perl 6 bug

IRC log for #mojo, 2011-10-15

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

All times shown according to UTC.

Time Nick Message
00:23 noganex joined #mojo
00:35 andrefs joined #mojo
01:00 noganex joined #mojo
01:23 abra joined #mojo
02:13 esskar joined #mojo
02:16 blabos joined #mojo
02:29 mercutioviz joined #mojo
03:14 noganex joined #mojo
03:45 MojoGuest444 joined #mojo
03:45 MojoGuest444 From: http://www.google.com.tw/search?q=websocke​t+demo&hl=zh-CN&newwindow=1&pr​md=imvns&ei=TQGZTuM06I6IB4KjpKwC&s​tart=10&sa=N&biw=1366&bih=643 (1 hits)
03:47 MojoGuest444 sdfsdf
03:47 MojoGuest444 dsfsdf
03:48 MojoGuest893 joined #mojo
03:48 MojoGuest893 From: http://www.google.com.tw/search?q=websocke​t+demo&hl=zh-CN&newwindow=1&pr​md=imvns&ei=TQGZTuM06I6IB4KjpKwC&s​tart=10&sa=N&biw=1366&bih=643 (2 hits)
03:48 MojoGuest893 sdfsdfsdfsdfs
03:49 MojoGuest893 hello,anyone can see this?
04:00 MojoGuest170 joined #mojo
04:00 MojoGuest170 From: http://www.google.com.tw/search?q=websocke​t+demo&hl=zh-CN&newwindow=1&pr​md=imvns&ei=TQGZTuM06I6IB4KjpKwC&s​tart=10&sa=N&biw=1366&bih=643 (3 hits)
04:37 grim_fandango joined #mojo
04:42 MojoGuest243 joined #mojo
04:42 MojoGuest243 From: http://www.google.com.tw/search?q=websocke​t+demo&hl=zh-CN&newwindow=1&pr​md=imvns&ei=TQGZTuM06I6IB4KjpKwC&s​tart=10&sa=N&biw=1366&bih=643 (6 hits)
04:56 black joined #mojo
05:09 grim_fandango I want to redirect with a parameter but $self->redirect_to('here', 'my' => 'param') does not appear to work.  Shouldn't it?
05:16 grim_fandango Ah, got it.
05:26 chansen joined #mojo
05:29 chansen_ joined #mojo
05:47 sri http://groups.google.com/group/mojolicio​us/browse_thread/thread/e9cf996af4f62b34
05:47 sri is this fixable?
05:54 Vandal joined #mojo
05:57 sherr joined #mojo
06:09 marcus sri: yeah, just mv Mojo Molo
06:09 marcus :p
06:09 sri Oo
06:11 marcus no idea about non utf8 non ascii source code, sounds like an abomination :)
06:27 minimalist joined #mojo
06:28 minimalist how do you render_text with different content/type?
06:29 sri marcus: yea :)
06:34 minimalist left #mojo
06:47 Trosha joined #mojo
07:01 MojoGuest243 test......
07:01 purl test is not there :-/
07:02 MojoGuest243 anyone can see my text?
07:02 Trosha joined #mojo
07:33 MojoGuest243 sdfsdfsdf
07:37 D4RK-PH0ENiX joined #mojo
07:45 Eugene joined #mojo
07:56 elb0w_ joined #mojo
07:59 Trosha joined #mojo
08:21 perlrocks Twitter: "What tool to analyze the yapcasia # bounces. Apparently often used by popular sites. The next version will use Coro; use Mojolicious; etc." (ja) --matsuu http://twitter.com/matsuu/​status/125124037725786112
08:23 Eugene joined #mojo
09:02 perlrocks Twitter: "# Yapcasia Catalyst + DBIx:: Mojolicious + DBI from Class:: To Skinny" (ja) --matsuu http://twitter.com/matsuu/​status/125134539327684610
09:05 perlrocks Twitter: "This is why i have no interest in maintaining an #anyevent backend for #mojolicious (see last changes entry). http://t.co/aDudu57k #perl" --kraih http://twitter.com/kraih/status/125135285263679488
09:14 perlrocks Twitter: "We will keep supporting #anyevent through #ev though, as long as it stays free of politics. #mojolicious #perl" --kraih http://twitter.com/kraih/status/125137425050763265
09:26 crab that sounds intriguing.
09:28 crab oh, heh
09:28 sromanov joined #mojo
09:33 sri people bugging me about anyevent support mostly don't seem to know about its dark side
09:35 sugar joined #mojo
09:35 sri that's why i've always been calling it a hoax
09:47 crab it works pretty well, on the whole. you have to hold your nose sometimes.
09:47 Trosha joined #mojo
09:58 marcus I thought we were the dark side :-/
09:58 sri there is always someone darker :(
09:58 * marcus just spent 1500 euro on winter tires.
10:00 sri don't you mean chains for your snow plow?
10:01 marcus no, we actually have infrastructure for handling snow over here
10:01 sri at leat that's how i imagine norway
10:01 sri :o
10:01 marcus so we don't get stranded when there's 10 cm of snow
10:01 marcus government snow plows start running at once
10:02 marcus which is why oslo airport stays open while the british ones are closed =)
10:02 sri :D
10:25 kaare joined #mojo
10:45 diegok sri: hello, is there something weird happening in some tests i'm doing with delete method in not lite app -> http://pastebin.com/HgzGTBAc
10:45 diegok is there a bug or I am the bug?
10:52 crab what do you actually get?
11:15 diegok crab: 404
11:15 diegok crab: sorry, forgot to paste the error. Letme fix it :)
11:17 diegok ^ http://pastebin.com/ETsvHeKt
11:24 sri DEL, seriously? :)
11:32 diegok sri: well, I'm playing around it... but that should work, right?
11:32 diegok sri: most probable I'll implement it as POST to /item/delete instead of DEL /item (not sure)
11:33 sri DEL is not a valid http method
11:33 sri well.. technically it is, but it's unused
11:33 sri you might be thinking of DELETE
11:34 diegok sri: yes, I thing I tried via('delete') first... will try.
11:34 sri delete_ok surely does not generate a DEL request
11:35 diegok sri: ok, it works now :)
11:36 diegok sri: I got confused because of the lite 'del' helper I guess.
11:36 diegok ^ so, I was the bug :)
11:37 sri there is no del helper
11:37 sri oh wait
11:37 sri there is Oo
11:38 sri the description is pretty clear though "Generate route matching only C<DELETE> requests."
11:39 diegok sri: https://github.com/kraih/mojo/blob/m​aster/t/mojolicious/lite_app.t#L113
11:39 diegok sri: yes, my bad :)
11:40 sri hmm, wonder if the Mojo::UserAgent and Test::Mojo methods should be renamed
11:40 sri del_ok
11:54 diegok sri: why?, delete_ok() is fine I think...
11:55 sri consistency
11:55 purl consistency is a problem. or highly overrated or the hobgoblin of small minds or (see FOOLISH consistency) or apparently beyond the orthographical faculties of the vulgar USian vernacular
11:55 diegok consistency with the lite helper?
11:56 diegok but still ->via('delete') on non lite?
11:57 diegok if so, there should be possible to say ->via('del') I think...
12:04 sri i think you're misunderstanding something
12:04 sri via works with literal http methods
12:04 sri ->del is just a method
12:05 sri ->via('del') makes no sense at all
12:08 Foxcool joined #mojo
12:15 diegok sri: ok, I've switched to using methods instead of ->via(), looks nicer.
12:18 GitHub32 joined #mojo
12:18 GitHub32 [mojo] kraih pushed 1 new commit to master: http://git.io/33tLaw
12:18 GitHub32 [mojo/master] deprecated Mojolicious::Routes del method in favor of the delete method - Sebastian Riedel
12:18 GitHub32 left #mojo
12:20 sri keeping as much as possible pretty is better than consistency i think
13:02 sri not entirely sure yet though
13:02 sri the alternatives are to keep it consistent with Mojo::UserAgent or Mojolicious::Lite
13:17 marcus using delete all over the place seems smart
13:22 sri well, with the exceptions of Mojolicious::Lite, for obvious reasons
13:22 sri s/s//
14:30 Foxcool joined #mojo
14:38 Eugene1 joined #mojo
14:42 Foxcool_ joined #mojo
15:48 Eugene joined #mojo
15:57 mantovani joined #mojo
16:14 sjn joined #mojo
16:16 sjn o/
16:16 * sjn is having trouble with a test
16:17 mantovani hi I did a application using mojo
16:17 mantovani and now does't work more
16:17 mantovani because version imcompatiblity
16:17 * mantovani thinks sri should do a perlbrew_mojo
16:17 mantovani "have how many versions of mojo do you want!"
16:18 sjn prove -v -Ilib t/mojolicious/websocket_lite_app.t hangs at test 34, with the following error:
16:18 sjn Event "close" failed: Can't locate object method "on_message" via package "Mojo::Transaction::HTTP" at /home/sjn/.local/share/.cpan/build/Moj​olicious-1.99-vYD6hS/lib/Test/Mojo.pm line 325.
16:18 sri sjn: already fixed in master
16:18 sjn sri: ah, cool
16:19 sri mantovani: what incompatibility? do you want to report a bug?
16:25 mantovani sri: I already fixed
16:25 mantovani thank you very much sri
17:16 Eugene joined #mojo
17:35 bhankins joined #mojo
17:37 bhankins pretty new to mojolicious, I think I am running up against this problem on the install of 1.99 http://groups.google.com/group/mojolicio​us/browse_thread/thread/990a730db107d993
17:37 bhankins Do I need to install from git or something?
17:38 sri or wait for the next release
17:38 sri or of cource force install
17:39 sri *course
17:39 bhankins Ok thanks. Can I force it to install 1.98 maybe?
17:40 bhankins I am using the cpanminus meethod.
17:40 sri sure, all releases are tagged on github
17:40 bhankins ok
17:40 sri or use backpan
17:41 sri cpanm can install tarballs, it's really easy
17:41 bhankins haha backpan, I hadn't head of that. I'll go with github first, thanks.
17:50 bhankins Well, that was easier than I thought.
21:20 mattastrophe joined #mojo
22:05 lammel2 joined #mojo
22:32 batman left #mojo
22:33 batman joined #mojo
22:46 MojoGuest669 joined #mojo
22:46 MojoGuest669 From: http://www.google.ch/search?gcx=w&amp;source​id=chrome&amp;ie=UTF-8&amp;q=websockets+demo (1 hits)
22:46 MojoGuest669 hm

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