Camelia, the Perl 6 bug

IRC log for #mojo, 2011-04-01

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

All times shown according to UTC.

Time Nick Message
00:40 alyx left #mojo
00:41 alyx joined #mojo
00:42 alyx left #mojo
01:08 dku Is it possible to use Hypnotoad as a Plack server?
02:09 TheCritic left #mojo
02:12 tjfontaine left #mojo
02:12 tjfontaine joined #mojo
02:55 perlrocks Twitter: "Mojolicious-Plugin-Authentication v0.03 by MADCAT - http://frepan.org/~madcat/Mojolic​ious-Plugin-Authentication-v0.03/" --cpan_new http://twitter.com/cpan_ne​w/status/53651672475508736
02:55 perlrocks Twitter: "Mojolicious-Plugin-Mongodb v0.04 by MADCAT - http://frepan.org/~madcat/Mojo​licious-Plugin-Mongodb-v0.04/" --cpan_new http://twitter.com/cpan_ne​w/status/53651684475404289
03:12 MisterHatt anyone ever speedtested mojo lite against dancer?
03:18 tardisx I'm not sure it would be very meaningful
03:18 MisterHatt probably not
03:28 perlrocks Twitter: "Life going back to normal so, updated a few of my Mojolicious plugins and back to "normal" work, as it were." --perlninja http://twitter.com/perlninj​a/status/53659885967130625
04:24 alnewkirk left #mojo
04:47 alnewkirk joined #mojo
05:02 kaare joined #mojo
05:09 koban joined #mojo
05:22 kaare left #mojo
05:23 kaare joined #mojo
05:26 ysyrota joined #mojo
05:32 metaperl left #mojo
05:56 kvorg left #mojo
06:19 Christian joined #mojo
06:19 koban left #mojo
06:19 koban joined #mojo
06:19 Christian morning
06:22 AmeliePoulain joined #mojo
06:46 kvorg joined #mojo
06:49 kvorg good morning
06:49 purl For you maybe.
06:53 yakudzo Hello ppl.
06:53 prank left #mojo
06:54 yakudzo When I try to store some information to session I lose it right after refirection in the same controller. What could it be?
06:54 yakudzo sessions I mean $c->session(name=> value)
07:01 trone_ is now known as trone
07:12 kvorg yakudzo: and you use $c->redirect_to ?
07:13 yakudzo yes
07:13 yakudzo it is not ok to use it ?
07:15 kvorg it is ok. first you should run ./yourappnamehere get --verbose url to see the actual output - the headers are displayed with --verbose and you can check if the cookie is in there
07:16 kvorg it is "HMAC-MD5" signed, so you won't be able to read it, but you can see that it is there
07:16 kvorg if that seems ok, try posting the relevant code to a pastebin and give us the link
07:16 moritz storing thing in a session and then redirecting works finei for me
07:17 kvorg moritz: it is the usual way logins work, even example in the Growing guide.
07:17 kvorg then some more informed person my spot your problem
07:28 cosmincx joined #mojo
07:34 fhelmber_ joined #mojo
07:35 maettu joined #mojo
07:35 maettu moin
07:36 maettu suggestion for very small addition to Test::Mojo docu: json_content_is: add a hash example:
07:37 maettu ->json_content_is({id=>1,result=>1},' successful!')
07:54 ok22 joined #mojo
08:15 perlrocks Twitter: "Looks like #Mojolicious merges with #Dancer! #perl" --vtivti http://twitter.com/vtivti/status/53732228471066624
08:19 koban left #mojo
08:19 koban joined #mojo
08:22 metaperl joined #mojo
08:23 maettu evidence?
08:23 purl somebody said evidence was not the same as testimony, Fluff.
08:32 yko joined #mojo
08:33 * yko waves
08:35 arpadszasz joined #mojo
08:35 ComLock joined #mojo
08:41 marcus morning
08:41 marcus sup yko
08:42 yko sup? yum yum!
08:42 marcus no soup for you! </soupnazi>
08:42 koban left #mojo
08:43 kvorg looks like vtivti is on shrooms.
08:44 kvorg btw, can anyone point me to that nice russian apocalyptic comic people used to refer to in #mojo?
08:45 marcus kvorg: guess he's trying to make an april's fools joke
08:47 * kvorg realizes he forgot about that after pulling several early in the morning.
08:48 kvorg anyway, i have a client demo today and need that cartoon for the error page due to the date ... B-)
08:48 marcus vti made that one
08:49 kvorg kinda reminds me how parrot started - one should be careful with what one wishes for.
08:50 marcus kvorg: it exists in my keynote presentation at least
08:50 moritz checkout out debian.org for comparison :-)
08:51 marcus kvorg: http://www.slideshare.net/marcu​sramberg/mojolicious-a-new-hope just download the slides
08:51 marcus it's almost at the end
08:53 kvorg thanks
08:53 yko kvorg: i think you mean romanticall yapocalyptic
08:53 yko but why do you think it's russian i don't know
08:54 yko oh. cookies. sorry
08:55 kvorg yko: yes, i do. hmm, the name of vitaly must have tricked me.
09:00 kvorg also reminded me of Vitaly Chernobyl and The Meltdowns, so i should have thought ukraine ... my mind rarely works in a sensible way
09:03 yko kvorg: i mixed it with romantically apocalyptic comix that is definitely not russian
09:34 spleenjack joined #mojo
09:36 ComLock left #mojo
10:03 maettu left #mojo
10:12 ok22 left #mojo
10:17 kvorg left #mojo
10:21 ok22 joined #mojo
10:41 fmerges joined #mojo
10:49 koban joined #mojo
10:56 sri good morning fellow lolcats
10:56 sri oh, yko is finally back \o/
10:57 sri looks like crab is now on vacation
11:02 yko :)
11:11 jamesw left #mojo
11:11 GitHub12 joined #mojo
11:11 GitHub12 mojo: master Sebastian Riedel * b384b72 (1 files in 1 dirs): small pod tweak - http://bit.ly/gX46VR
11:11 GitHub12 left #mojo
11:22 jamesw joined #mojo
11:23 jamesw left #mojo
11:24 jamesw joined #mojo
11:40 koban left #mojo
11:41 koban joined #mojo
11:42 koban left #mojo
11:44 maettu joined #mojo
11:44 ispy_ left #mojo
11:45 marcus I'll be leaving on vacation in 1 week
11:45 marcus for NYC and Bahamas
11:48 TheCritic joined #mojo
11:48 koban joined #mojo
11:57 mattastrophe left #mojo
11:59 sri slackers
11:59 purl slackers is a film which features the female drummer from the Butthole Surfers discussing Madonna's pubic hair
12:38 sri http://www.thinkgeek.com/interests/looflirpa/e8bd/ # mmmm...tastes like winning
12:44 maettu left #mojo
12:45 cosmincx left #mojo
12:48 cosmincx joined #mojo
12:59 TheCritic left #mojo
13:03 TheCritic joined #mojo
13:03 Akron joined #mojo
13:09 perlrocks Twitter: "[Webapp] [markdown] [preview] Oh! This is good! / Mojolicious:: Lite Markdown tried to use real-time preview - Ali http://htn.to/NPs2nQ" (ja) --__gfx__ http://twitter.com/__gfx__​/status/53806120917151744
13:27 maettu joined #mojo
13:28 perlrocks Twitter: "Mojolicious:: Lite Markdown tried to use real-time preview - Ali http://bit.ly/ev84av" (ja) --hatena_b http://twitter.com/hatena_​b/status/53810940570898433
13:31 perlrocks Twitter: "[H] Mojolicious:: Lite Markdown tried to use real-time preview - Ali http://bit.ly/dPXOpz" (ja) --bb_auto http://twitter.com/bb_auto​/status/53811638805069825
13:51 RenatoCRON left #mojo
14:12 perlrocks Twitter: "Mojolicious:: Lite Markdown tried to use real-time preview - Ali http://bit.ly/f6nP9x" (ja) --wPerlnews http://twitter.com/wPerlnew​s/status/53821918670880768
14:18 ispy_ joined #mojo
14:21 sri http://www.google.com/search?q=helvetica # oh my
14:27 arpadszasz left #mojo
14:30 perlrocks Twitter: "Mojolicious:: Lite Markdown tried to use real-time preview - Ali (5) http://j.mp/eft7iV" (ja) --HateBoo http://twitter.com/HateBoo​/status/53826566857297920
14:35 Christian left #mojo
14:45 koban left #mojo
14:47 ysyrota left #mojo
14:55 tjfontaine left #mojo
15:03 perlrocks Twitter: "[Perl] [mojolicious] / Mojolicious:: Lite Markdown tried to use real-time preview - Ali http://htn.to/p8Zhaa" (ja) --hide_o_55 http://twitter.com/hide_o_5​5/status/53834851228450816
15:06 mateu left #mojo
15:11 perlrocks Twitter: "Mojolicious:: Lite Markdown tried to use real-time preview - Ali http://dlvr.it/M8ZTS" (ja) --HiroshiNTCS http://twitter.com/HiroshiNT​CS/status/53836767845040128
15:11 perlrocks Twitter: "The article I mentioned yesterday are happy to gfx or bookmarks to friends:) "Mojolicious:: Lite Markdown tried to use real-time preview - Ali" http://j.mp/dN4WKs" (ja) --akiym http://twitter.com/akiym/status/53836889198821376
15:24 AmeliePoulain left #mojo
15:27 mateu joined #mojo
15:28 perlrocks Twitter: "Mojolicious:: Lite Markdown tried to use real-time preview - Ali http://dlvr.it/M8g3b" (ja) --yotasurf2 http://twitter.com/yotasurf​2/status/53841104562438145
15:28 stephan48 how could i get current uri?
15:29 dku $self->req->url?
15:30 ok22 left #mojo
15:31 perlrocks Twitter: "Mojolicious:: Lite Markdown tried to use real-time preview - Ali http://dlvr.it/M8hYc" (ja) --htnb_hot http://twitter.com/htnb_ho​t/status/53842043247656960
15:32 stephan48 ye works ;)
15:33 cosmincx left #mojo
15:39 arpadszasz joined #mojo
15:40 ok22 joined #mojo
15:58 Akron left #mojo
16:02 fhelmber_ left #mojo
16:06 baton8 left #mojo
16:11 baton8 joined #mojo
16:15 kaare left #mojo
16:21 fmerges left #mojo
16:26 perlrocks Twitter: "Rearranging my #mojolicious talk for #maresmedev. First time I'll give it to non perl people :-)" --freekey http://twitter.com/freekey​/status/53855774694322177
16:34 dku left #mojo
16:38 stephen left #mojo
16:40 stephen joined #mojo
16:58 arpadszasz left #mojo
16:58 perlrocks Twitter: "Mojolicious:: Lite Markdown tried to use real-time preview - Ali: 9 users http://bit.ly/ev84av" (ja) --tk0451 http://twitter.com/tk0451/status/53863858946842624
17:00 dku joined #mojo
17:11 bosphorus joined #mojo
17:13 dku can I use hypnotoad with psgi?
17:30 mateu dku: I'll believe hypnotoad would need some type of adapter to do so, and I'm not aware of one.
17:30 mateu somebody correct me if I'm wrong.
17:31 dku mateu, that's what i thought, trying to throw one together now
17:37 arpadszasz joined #mojo
17:42 sri dku: what would you use a psgi binding for?
17:45 dku sri, because i want to start any web app via a psgi file, and i really like hypnotoad ;)
17:45 sherr left #mojo
17:50 sherr joined #mojo
17:55 baton8 left #mojo
17:57 maettu left #mojo
18:03 sri dku: the price of a real adapter would be too high
18:04 dku sri, why's that?
18:06 sri you would have to parse twice
18:06 sri the big problem with psgi is the input stream
18:07 sri we parse the body right away and turn it into a friendlier format
18:07 sri which is higher level than psgi
18:07 sri you have to reverse that
18:07 sri and parse again
18:07 dku i see
18:08 arpadszasz left #mojo
18:09 dku hmm i might have to rethink my app-launching strategy
18:09 sri i'm not sure you really want hypnotoad support
18:09 sri the big gain would be zero downtime
18:10 dku and websocket support?
18:10 sri ok, that too
18:11 sri and long polling...
18:11 baton8 joined #mojo
18:13 dku sri, do websockets still work with frontend servers (haproxy and whatnot) in front of app servers?
18:14 sri nope
18:15 dku hmm
18:15 sri theoretically they could, but it will take quite some time for support to arrive i guess
18:15 dku yeah
18:15 sri nginx doesn't even do keep alive to backend servers
18:16 trone Eya! A really serious question: where is my failraptor? :) I started to use mojolicious today and I don't get the failraptor with 404 or 500... (in develop mode)
18:16 sri it's hidden in production mode ;p
18:16 dku sri, i guess we'll run mojo apps via starman for now ;)
18:16 trone damnit! :) I'll go in mode --production! Wanna my failraptor
18:16 sri dku: prolly best
18:17 trone sri (and staff): thanks for mojo. Really nice.
18:17 sri dku: instances run behind a load balancer anyway?
18:17 sri reverse proxy even...
18:17 sri trone: glad you like it :)
18:17 trone oh yes! I can back to work! :)
18:17 trone (I get my failraptor!)
18:18 dku sri, haproxy (global) -> haproxy (your app) -> (appinstance1 | appinstance2 | appinstance3)
18:18 * sri nods
18:18 spleenjack left #mojo
18:19 trone ahaha. Raptor not found. So cool. Sorry. Now I stop with flattery. Back in my silent corner.
18:22 perlrocks Twitter: "Meetup starts with a good vibe, yeah! To see mojolicious such." (es) --mpursals http://twitter.com/mpursal​s/status/53884951040495616
18:24 stephan48 does Mojo have some way to generate random strings?
18:25 sri md5_hex(rand(9999999999) . time. $$)?
18:27 perlrocks Twitter: "mojolicious talk at # maresmedev" (ja) --jordiv http://twitter.com/jordiv/status/53886218533998593
18:28 dotan_ joined #mojo
18:29 perlrocks Twitter: "Get my first failraptor (500) and not fond raptor (404). Can back to hardwork. :-P # + + mojolicious" (it) --azhraan http://twitter.com/azhraan​/status/53886595752927233
18:30 ispy_ left #mojo
18:31 sri dku: actually it might be possible with haproxy :)
18:31 dku sri, really?
18:31 sri http://www.mail-archive.com/hap​roxy@formilux.org/msg02756.html
18:32 sri you can check headers and switch to socket backend
18:32 dku very cool :)
18:35 dku basically, if we detect a websocket header, increase the backend timeout to an extremely large number
18:36 perlrocks Twitter: "mojolicious is born from a developer fight # maresmedev" (ja) --jordiv http://twitter.com/jordiv/status/53888389799354368
18:36 sri the thread is from a year ago, maybe there are even smarter options now
18:39 josh joined #mojo
18:48 sri dku: you also need to switch to tcp
18:49 dku sri, why wouldn't it be in tcp already? ;)
18:49 sri ignore me if it is ;p
18:57 stephan48 does anyone know some nice openid test implementation i could test my openid provider against?
18:58 dku stephan48: http://stackoverflow.com/questions/8159​51/compliance-test-for-openid-providers
19:01 stephan48 i biw that already :(
19:01 stephan48 i know*
19:12 * moritz is in wheel reinvention mood
19:13 moritz I'm about to reinvent XML::Amazon, but based on Mojo, maybe async, and returning all info, not just some
19:14 stephan48 :)
19:30 perlrocks Twitter: "BRUTAL @ Freekey explaining the # # mojolicious maresmedev" (es) --ibelmonte http://twitter.com/ibelmont​e/status/53901984343924736
19:36 ispy_ joined #mojo
19:57 dotan_ left #mojo
20:14 josh left #mojo
20:15 perlite_ joined #mojo
20:18 perlite left #mojo
20:18 perlite_ is now known as perlite
20:55 TheCritic left #mojo
21:01 JonChisciotte joined #mojo
21:19 JonChisciotte hi, I use render command to print a json from an object retrieved from a sqlite db. In the object I have  àèùò characters that I can see correctly if I dump them in a file with Data::Dumper. In the browser they are shown as they have been converted to latin1 (something like èò...) Do you know why? Firefox shows the page as utf8 but in the header as Content-Type I can see only "application/json" without any other infos... tnx
21:34 perlrocks Twitter: "[Drive Hatena: IT] Mojolicious:: Lite tried to use real-time preview Markdown - Ali http://dlvr.it/MBHxZ" (ja) --news01_feed http://twitter.com/news01_fe​ed/status/53933184680865792
21:48 fhelmber_ joined #mojo
21:52 fhelmber_ left #mojo
22:02 JonChisciotte left #mojo
22:23 marty_ left #mojo
22:32 TheCritic joined #mojo
22:36 TheCritic_ joined #mojo
22:40 TheCritic left #mojo
22:40 TheCritic_ is now known as TheCritic
22:44 TheCritic_ joined #mojo
22:48 TheCritic left #mojo
22:48 TheCritic_ is now known as TheCritic
22:56 TheCritic_ joined #mojo
23:00 TheCritic left #mojo
23:00 TheCritic_ is now known as TheCritic
23:15 ok22 left #mojo
23:51 TheCritic_ joined #mojo
23:54 TheCritic left #mojo
23:54 TheCritic_ is now known as TheCritic
23:55 TheCritic left #mojo

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