Camelia, the Perl 6 bug

IRC log for #mojo, 2012-11-16

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

All times shown according to UTC.

Time Nick Message
00:17 jayallen joined #mojo
00:46 mattastrophe joined #mojo
01:07 xaka joined #mojo
01:10 hlin joined #mojo
01:11 laouji joined #mojo
01:16 zoo-zed joined #mojo
01:18 Mike-PerlRecruiter_ joined #mojo
01:37 xaka joined #mojo
01:50 d4rkie joined #mojo
01:55 kongelaks_ can anybody determine the validity of this chunked multipart response test? http://pastebin.com/XUZKwfyw
02:51 hlin joined #mojo
03:27 noganex joined #mojo
03:33 dvinciguerra joined #mojo
03:37 jayallen joined #mojo
04:01 hlin joined #mojo
04:14 mattastrophe joined #mojo
04:52 Molaf joined #mojo
04:56 gryphon joined #mojo
04:57 hlin joined #mojo
04:57 Elraraniel Is there a way to transfer arbitrary variables between a template and a layout? There's the default "title" helper, but I'd like to pass multiple values / content-blocks to a layout. (I know you can do this with ->render params).
05:00 Elraraniel Nevermind, found the "content_for" helper and I think it does what I need :)
05:35 Vandal joined #mojo
05:44 laouji joined #mojo
05:53 ver joined #mojo
06:15 duncanthrax joined #mojo
06:27 Foxcool joined #mojo
06:31 rem_lex|pivo joined #mojo
06:36 spleenjack joined #mojo
06:48 dpetrov_ joined #mojo
08:26 memowe_ joined #mojo
08:29 tempire joined #mojo
08:36 dod joined #mojo
08:37 fhelmber_ joined #mojo
08:38 kitt_vl joined #mojo
08:46 yakudza joined #mojo
09:05 mire__ joined #mojo
09:06 dod joined #mojo
09:21 Kulag joined #mojo
09:22 banana joined #mojo
09:34 Kulag joined #mojo
09:41 banana hello
09:43 banana I want my controllers to have some extra methods, so I made this " package PWX::Controller::BaseAppController; use Mojo::Base 'Mojolicious::Controller'; "
09:44 banana and my apps controllers use the BaseAppController like this : " package DatasetExplorer::App; use Mojo::Base 'PWX::Controller::BaseAppController'; "
09:44 banana but when I call a route to a method set in the base controller, it doesn't work .. (404 not found) .. any idea why ?
09:45 Britzel joined #mojo
09:47 banana is it a namespace problem ?
09:49 banana in fact, all i want is to subclass Mojolicious::Controller to define some methods and one attribute
10:30 dabudabu joined #mojo
10:34 cosmincx joined #mojo
10:51 baton8 joined #mojo
10:51 d4rkie joined #mojo
11:07 sri kongelaks_: i could find a multipart bug with your test case, but i don't think it is your bug
11:24 sri kongelaks_: ok, i can confirm that your response is in fact invalid
11:25 sri since your boundaries don't start with "\x0d\x0a"
11:27 sri oops, my bad, missed something
11:38 batman joined #mojo
12:10 tempire joined #mojo
12:12 good_news_everyone joined #mojo
12:12 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/VUo6Qw
12:12 good_news_everyone mojo/master be13816 Sebastian Riedel: fixed state bug in Mojo::Content::MultiPart
12:12 good_news_everyone left #mojo
12:13 sri kongelaks_: i don't see anything wrong with your test case i'm afraid
12:13 sri it helped track down another bug though :)
12:15 sri kongelaks_: perhaps i missed something and you can modify that test case
12:23 ZadYree sri, I can trigger some strange behaviors in the dev/prod logs
12:24 sri ZadYree: so?
12:25 ZadYree lemme paste some
12:26 ZadYree http://pastebin.com/CHgKEjrG
12:27 sri ZadYree: and how is that interesting?
12:27 ZadYree I'm always thinking as an attacker, and here, an attacker could manipulate logs
12:28 ZadYree that's of course not critical, but slightly bothering
12:28 sri don't think i care
12:29 sri not unless there's a real exploit
12:31 ZadYree okay!
12:32 ZadYree fixing opcode injection would anyway be atleast an esthetical improvement
12:33 sri then propose a patch and have a vote
12:37 ZadYree I will, if I manage to make a good reliable exploit
12:37 ZadYree otherwise I know the bug will be interpreted as a mistake in my side ^^
12:37 sri likely :)
12:39 sri i wouldn't really care about filtering log messages, if there wasn't a performance and maintenance cost
12:42 ZadYree hehe
12:42 ZadYree hum btw I'm having an issue on my mojo app: when typing an url like /.boo
12:43 ZadYree it's loading indefinitly
12:43 ZadYree oo same issue on mojolicio.us
12:43 ZadYree http://www.mojolicio.us/.a
12:51 sri kongelaks_: think i found your bug now :)
12:57 dog_chocolate joined #mojo
12:58 zpmorgan joined #mojo
12:58 ZadYree sri, any clue on what is causing this?
12:59 sri ZadYree: it's a feature
13:00 sri if you dig deeper you'll understand
13:00 ZadYree ah nice
13:00 ZadYree I guess I'll hve to look at packets
13:03 good_news_everyone joined #mojo
13:03 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/O3hVtw
13:03 good_news_everyone mojo/master b91f4d4 Sebastian Riedel: fixed another state bug in Mojo::Content::MultiPart
13:03 good_news_everyone left #mojo
13:04 sri kongelaks_: that should fix it
13:05 ZadYree sri, well, I assume it kinda "cancels" the request by sending an ACK packet?
13:05 sri ZadYree: i have no clue what you're talking about
13:05 ZadYree haha ok :P
13:05 ZadYree when I sent the GET /.a
13:06 sri see format detection and auto rendering
13:06 sri i'm certain there are very informative log messages
13:06 ZadYree instead of receiving an HTTP response, I just got a TCP ACK packet... So no answer
13:06 ZadYree ok :)
13:07 ZadYree ah ya it's directly template related
13:15 sri if you want to change that behavior too, you're welcome to make a proposal and have a vote there as well
13:16 sri but i highly recommend you understand what's going on first, because there will be a heated discussion about backwards compatibility
13:18 Mike-PerlRecruiter_ joined #mojo
13:36 memowe \\o
13:37 good_news_everyone joined #mojo
13:37 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/zSDDmw
13:37 good_news_everyone mojo/master 9210a0a Sebastian Riedel: small optimizations
13:37 good_news_everyone left #mojo
13:45 good_news_everyone joined #mojo
13:45 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/i7Kgzw
13:45 good_news_everyone mojo/master c985d81 Sebastian Riedel: better build_boundary description
13:45 good_news_everyone left #mojo
14:01 spleenjack joined #mojo
14:26 lammel2 joined #mojo
14:34 kongelaks_ sri: the update fixed both my small test case and the large response containing images (i didn't know whether or not they would be related). thank you
14:37 jayallen joined #mojo
14:42 dpetrov_ joined #mojo
14:58 Foxcool joined #mojo
14:59 dpetrov_ does Mojo::UserAgent follow redirects by default?
15:05 sh4 joined #mojo
15:08 tadamo_ joined #mojo
15:27 jayallen joined #mojo
15:28 cassis joined #mojo
15:28 cassis hi
15:29 cassis resolved my previous problem about Controller subclassing
15:29 cassis but now that i'm working with a mounted app, i would like to render a template from the main/father controller
15:29 cassis but, of course, it only renders what's in the sub app's directory
15:30 cassis how can I render something from my main controller/app ? i tried "render->(namespace=>'MyMain', template=>'myTemplate') but it doesn't work
15:44 mire__ joined #mojo
15:46 marty joined #mojo
15:47 gryphon joined #mojo
15:49 sri kongelaks_: \o/
16:17 inokenty joined #mojo
16:21 knshaum joined #mojo
16:27 jayallen joined #mojo
16:35 alester joined #mojo
16:50 tadamo_ joined #mojo
16:51 Elraraniel joined #mojo
17:08 cstamas joined #mojo
17:08 jayallen joined #mojo
17:22 d4rkie joined #mojo
17:26 yakudza joined #mojo
17:27 xaka joined #mojo
17:30 sh4|2 joined #mojo
17:37 Topic for #mojo is now Mojolicious real-time web framework 3.0 ūüĆą http://mojolicio.us ūüĆą http://irclog.perlgeek.de/mojo/today ūüĆą Now with 50% more refracted light!
17:57 labrown joined #mojo
17:58 kongelaks_ the github wiki has a dead link to some coding guidelines: http://mojolicio.us/perldoc/Mojo‚Äčlicious/Guides/CodingGuidelines
18:01 dpetrov_ joined #mojo
18:14 sri everybody can edit the wiki ;)
18:16 * sri wonders which one is better these days, vlc or mplayer... now that perian is dead i'm gonna need a new video player
18:37 Kulag joined #mojo
18:49 batman joined #mojo
18:51 tempire mplayer!
18:51 tempire haven't used that in decades
18:52 tempire I figure quicktime will be fine for a while, nothing has been updated much since perian announced its death
18:52 tempire but I use VLC whenever I need more volume
18:52 tempire it's pretty enough on the mac these days
18:52 * sri is confused
18:53 sri did you just vote for all three?
18:53 tempire mplayer! <- exclamation of surprise that anyone is using it
18:53 sri ah!
18:53 * tempire uses quicktime, but will gradually move to vlc as necessary
18:54 sri yay for pylon icons
18:54 tempire there's also niceplayer
18:55 tempire seems kind of neat with its script support
18:56 tempire I love that it floats above other windows
18:56 sri hmmm
18:56 sri vlc it is then :)
18:57 * sri mentioned mplayer since http://mplayerx.org looks pretty good
18:57 tempire ooh
18:57 tempire that does look nice
18:57 * tempire downloads
19:01 tempire interesting
19:01 tempire they all have flutter support
19:01 batman what happens with Mojo::IOLoop::Stream if i suspend my computer? i was hoping "close" would be emitted either right before i suspend or when i turn it back on...
19:01 batman but i can't see the event get fired
19:01 Adurah You get a letter from the board of education
19:03 sri batman: haha, you have the weirdest problems
19:04 batman sri: i'm trying to challenge you!
19:04 batman hehe
19:04 batman does it work?:)
19:04 sri depends entirely on the os i guess, we can't do anything special to support it
19:05 batman got linux...
19:05 sri handle should become readable and give us an error, as usual, nothing special
19:05 batman but... what happens if i try to write to the stream once i open it up again? should that fire an error event?
19:05 batman sweet
19:05 batman i will (a)buse that then :)
19:06 sri no clue
19:06 Adurah Just buse it.
19:06 * batman will test
19:06 batman too bad i have to offline to test it :P
19:06 sri depends entirely on the state of the socket
19:06 sri you should get a znc
19:07 batman znc?
19:07 sri a bouncer
19:07 * sri uses that to stay on irc all the time
19:07 batman ah
19:07 sri http://wiki.znc.in/ZNC
19:08 batman me and marcus is making our own :)
19:12 sh4 joined #mojo
19:18 vel joined #mojo
19:31 batman joined #mojo
20:16 sh4|2 joined #mojo
20:25 mussur joined #mojo
20:39 mussur joined #mojo
21:04 sinkovsky joined #mojo
21:09 Antisoche joined #mojo
21:11 mire__ joined #mojo
21:11 xaka joined #mojo
21:37 zpmorgan joined #mojo
21:42 sinkovsky joined #mojo
21:50 Adura joined #mojo
21:54 sinkovsky joined #mojo
22:59 jzawodn joined #mojo
23:00 memowe_ joined #mojo
23:04 sinkovsky joined #mojo
23:31 sinkovsky joined #mojo

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