Camelia, the Perl 6 bug

IRC log for #mojo, 2012-03-08

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

All times shown according to UTC.

Time Nick Message
00:21 realrealworld joined #mojo
00:21 realrealworld just testing out moi..
00:29 DanceAway_chico joined #mojo
00:31 DanceAway_chico test
00:32 * DanceAway_chico tests
00:37 preflex_ joined #mojo
01:07 scott joined #mojo
01:27 d4rkie joined #mojo
01:37 mercutioviz joined #mojo
02:43 iskyee joined #mojo
02:43 mercutioviz joined #mojo
02:52 chuck joined #mojo
02:53 chuck Has anyone here gotten intermittent "502 Bad Gateway" with hypnotoad running behind Nginx?
03:01 chuck joined #mojo
03:01 chuck Has anyone here gotten intermittent "502 Bad Gateway" with hypnotoad running behind Nginx?
03:16 xaka joined #mojo
03:23 xaka joined #mojo
03:30 hshong joined #mojo
03:46 chuck Has anyone here gotten intermittent "502 Bad Gateway" with hypnotoad running behind Nginx?
03:57 crab sure.
03:58 crab it happens when your application doesn't send a response within nginx's proxy timeout
04:21 amirite joined #mojo
04:42 cfedde joined #mojo
04:43 cfedde How do I get the UTF in this channels topic to display properly in irssi/screen?
04:44 tempire lulz.  I had the same problem with colloquy
04:44 tempire solution: switch to limechat :)
04:44 cfedde heh.
04:45 cfedde also why is my test giving me this error? t/create.t .. Use of uninitialized value $host in concatenation (.) or string at /home/cfedde/perl5/perlbrew/perls/perl-5.1​4.1/lib/site_perl/5.14.1/Mojo/UserAgent.pm line 223.
04:46 tempire gist the line in create.t that it's coming from
04:49 cfedde https://gist.github.com/1998769 is the whole very simple test.
04:52 tempire don't know.  looks fine.  probably something to do with your deadman lite app.
04:52 tempire try it with a newly generated lite app
04:55 cfedde ratz. I was hoping I was missing something easy.
05:08 cfedde It appears to "work" under morbo.  somehow self test fails.
05:34 xaka joined #mojo
05:44 batman joined #mojo
05:45 cfedde Ok. the Mojolicious::Lite version self tests fine. I seem to have mucked up something when I inflated that script.
05:55 cfedde bah! the problem was that I was using the test as if I was doing Mojolicious::Lite.  the fix was to actualy follow the instructions in the growing guide.
05:58 d4rkie joined #mojo
06:11 tempire ah.  I had assumed you were using lite because of the require
06:11 tempire glad you figured it out :)
07:08 marcus morning
07:32 xaka joined #mojo
07:58 mire_ joined #mojo
07:59 CromeDome joined #mojo
08:00 marcus this is great - http://stdout.heyzap.com/2012/03/07/​how-to-write-a-self-documenting-api/
08:03 Foxcool joined #mojo
08:04 cosmincx joined #mojo
09:23 batman what does "Premature connection close" mean in mojo-useragent?
09:23 batman no reply from server? timeout..?
09:32 tempire batman: check the FAQ - references that error
09:48 migo_ joined #mojo
09:51 batman thanks
09:59 inokenty joined #mojo
10:00 avvkward joined #mojo
10:04 stephan48 i hate IE... is there a way to make session cookies temporately non httponly?
10:05 stephan48 i think i ran into a bug with XHR and POST, the session cookie doesnt pass along and so my app doesnt see the session
10:09 inokenty sri: http://rghost.ru/36909336
10:12 avvkward joined #mojo
10:14 berov joined #mojo
10:30 batman stephan48: you could pass on the session key to the actual request and the use that to look up the session data in backend
10:30 batman like <input type="hidden" name="session_key" value="<%= $session_key %>">
10:33 batman or %= hidden_field session_key => $session_key; #:)
10:37 batman is there a way i can increase inactivity_timeout globally? i'm proxying requests which may take 30 seconds before they respond with anything
10:38 batman Mojo::IOLoop->stream($self->t​x->connection)->timeout(300); # this works for the server i suppose, but what about the client?
10:40 stephan48 batman: signed sesion cookie..
10:41 stephan48 i dont keep the data in backend
10:41 batman ok
10:42 batman you know signed is not the same as encrypted?
10:42 marcus wtf, new textual
10:54 sri marcus: wtf
10:57 dpetrov_ joined #mojo
10:59 tempire srly
10:59 * tempire wonders what "Tight Integration with the ZNC Bouncer" means
11:05 marcus I switched back
11:05 marcus it looks great
11:05 marcus guess they aren't developing on the github repo...
11:17 stephan48 batman: i store userdata in a signed cookie(session cookie) and this cookie is not transfered to my app.
11:17 stephan48 userdata= twitter auth codes
11:18 tempire joined #mojo
11:20 tempire stephan48: keep in mind that cookies aren't rendered to the browser when you ->redirect_to
11:40 kanishka joined #mojo
11:43 sri oh, all orilly perl books are 50% off todat
11:45 marcus oi
11:46 Netfeed anyone that can be recommended?
11:47 Netfeed except the boring camel book
11:49 kanishka its there any web hosting which support mojolicious with a database (SQL preffered)
11:49 sri with the code 4UNEW you get another 40% off :o
11:50 * sri is a sucker for stacking coupon codes and buys almost everything
11:51 Netfeed kanishka: heroku?
11:51 purl heroku is deployment with git push, dotcloud with a custom upload command that just copies over directories recursively
11:53 sri Netfeed: PBP is a must have
11:53 kanishka Netfeed: I haven't figured out heroku works
11:53 sri depending on your level the learning, intermediate, mastering series is also very good
11:54 sri mastering regular expressions is a classic
11:54 Netfeed kanishka: i like linode, but that's kinda handson
11:54 sri algorithms with perl is fun
11:54 Psyche^ joined #mojo
11:55 kanishka Netfeed: I though of getting ec2 amazon but its bit of costly as seen
11:55 Netfeed 19 dollar or something for the smallest linode
11:55 kanishka yeah just saw the server
11:55 kanishka 512
11:56 sri first of all... why does it have to be a virtual server?
11:56 kanishka is there any alternative to build site rather a virtual server
11:56 Netfeed just said what i liked :)
11:56 sri you get pretty good deals for full servers over at hetzner
11:57 Netfeed sri: i get so easily bored with programming books, a lot of kinda boring extra text
11:57 Netfeed kinda liked zed shaws books
11:57 sri you'll like PBP
11:57 sri short recipes, straight to the point
11:57 dpetrov_ sri: is that for regular books or just for ebooks?
11:58 Netfeed sri: that sounds promising
11:58 sri http://shop.oreilly.com/category/deals/perl-​programming-power.do?imm_mid=0805c2&amp;cmp=​em-orm-books-videos-perl-owo-direct-splitB
11:59 dpetrov_ hmm so it's ebooks
11:59 sri mastering regular expressions and PBP being the must have ones
11:59 dpetrov_ PBP++
12:00 kanishka does orielly ship internationally ?
12:00 dpetrov_ why Damian didn't publish a second edition?
12:03 Netfeed the regexp book was kinda good from what i remember
12:19 stephan48 tempire: i dont
12:23 stephan48 Netfeed: which one?
12:24 Netfeed mastering regular expressions
12:24 purl mastering regular expressions is a very helpful book for Perl.
12:26 sri don't know much about the regex cookbook yet, but it looks interesting
12:27 * sri is also a sucker for cookbooks
12:34 stephan48 can i download all formats with oreilly or do i have to choose one?
12:34 sri all
12:34 stephan48 ah cool
12:34 stephan48 tempire: my problem is that on a ajax(Xhr) request the cookie tagged with httponly is not passed along
12:35 GitHub83 joined #mojo
12:35 GitHub83 [mojo] kraih pushed 1 new commit to master: http://git.io/LkWE3w
12:35 GitHub83 [mojo/master] modernize Makefile.PL - Sebastian Riedel
12:35 GitHub83 left #mojo
12:35 stephan48 thanks sri!
12:37 sri buying ebooks from oreilly is rather pleasant, they understand that they just have to make buying easier than stealing
12:37 daxim joined #mojo
12:44 abra joined #mojo
12:48 moritz joined #mojo
12:48 sri marcus: so, textual is really worth switching again? :S
12:48 marcus sri: dunno
12:48 marcus sri: haven't noticed much. it's a little nicer
12:49 marcus I'm glad to have the title back.
12:49 Netfeed screen+weechat <3
12:49 marcus http://nordaaker.com/docs/skitch/MA​Gnet_IRC_Network_%E2%80%94_%23mojo_​%28106_Users%29-20120308-134926.jpg
12:49 marcus If I used screen, I would use irsii
12:50 Netfeed i prefer weechat honestly, feels "faster", only thing that bugs me is that it breaks urls
12:51 Netfeed man, you're in a lot of channels
12:55 sri hmm
12:56 moritz I have some problem with Mojo::DOM and UTF-8 handling on bleadperl: https://gist.github.com/2000876
12:57 moritz a smoker alerted me to a test failure of a module of mine on the lastest release, and that gist is what it boils down to
12:57 moritz should I pester you or #p5p?
12:57 sri umm, why do you double decode?
12:57 moritz do I?
12:57 moritz where?
12:58 sri oh, my bad, it's STDOUT
12:59 moritz the same code seems to work fine on 5.14.1
12:59 moritz well, I haven't run the condensed code on 5.14.1, but the test of my module pass, so should amount to the same thing
13:04 sri hmm, the green dots in front of channels in the new textual are a little annoying
13:05 kokey joined #mojo
13:05 sri can someone say my name so i can test highlighting? :)
13:05 moritz fwiw http://www.cpantesters.org/cpan/report​/4bd899b6-617e-11e1-8ddd-3b73d9f05f36 was the report that alerted me to the problem. http://matrix.cpantesters.org​/?dist=WebService-Libris+0.04 seems to suggest that not all 5.15.{7,8} systems exhibit that problem
13:05 kokey in a perl ep template, is there a way to test if a value has been stashed?
13:06 kokey if I do a if($stashedthing) or if(defined($stashthing)) and it's not been stashed, it hates me
13:06 kokey hi sri
13:06 moritz iirc if (stash('name')) { }
13:06 moritz but it's been long since I used it
13:06 kokey ah, cool, thanks, I'll look it up
13:07 kokey I think I scanned the docs a bit quickly
13:07 sri thanks
13:07 sri hmmm
13:07 sri think i like limechat more with my own theme
13:19 mire_ joined #mojo
13:38 marty moin
13:39 marty oh my, leaking ops
13:40 marty If someone would have told me that writing an ecomerce app would be this difficult, I would have gone shopping instead.  :)
13:42 sri ecommerce is hard
13:43 * marty nods
13:43 moritz left #mojo
13:53 Netfeed what's the hardest part of ecommerce?
13:55 kokey there is always more to it than you can see initially
13:55 Netfeed but that's true for all apps?
13:57 kokey you think you just display some images with descriptions, in categories, have user sessions, do a shopping basket, and a check out with integration with a payment gateway, and shipping options...
13:58 kokey then you need a support system for customer queries, a way to populate the DB and track stock accurately, integration with a stock system if there was ever one, then an accounting back end
13:59 kokey in the end you should have just spent a number of weeks evaluation products to find something that covers your needs
14:01 Netfeed ofcourse, but then again, it's something you need to do for most apps isn't it?
14:01 Netfeed view stuff, track stuff, insert stuff
14:02 kitt_vl joined #mojo
14:03 marty Using Mojo with Mongo makes it fun however.  I friggin love the Mojo templating system and ease of creating helpers.  And a document store translates well into products.
14:10 marcus nice
14:17 iskyee joined #mojo
15:03 cosmincx joined #mojo
15:04 avvkward joined #mojo
15:18 skylos joined #mojo
15:18 skylos moi web client hmm.
15:19 memowe hmm!
15:19 memowe tempire: would it be possible to change the nick? I couldn't connect because my twitter nick is taken by myself
15:21 sri you may change your nick
15:27 skylos it doesn't list the people in the channel.
15:27 skylos that's... unexpected for an irc client.
15:28 irnetfeed joined #mojo
15:28 irnetfeed joined #mojo
15:35 crab there are hundreds of people watching you and laughing quietly to themselves at this very moment
15:44 skylos That's great.
15:50 Psyche^ joined #mojo
15:55 sri i can confirm this
15:55 xaka joined #mojo
15:56 jnap joined #mojo
15:58 kaare joined #mojo
15:59 rwstauner joined #mojo
15:59 batman joined #mojo
16:00 kanishka joined #mojo
16:00 batman left #mojo
16:11 cosmincx joined #mojo
16:42 skylos joined #mojo
16:56 Skylos_ joined #mojo
16:59 * skylos emotes
17:03 Skylos_ left #mojo
17:13 JasonCrome joined #mojo
17:16 xaka joined #mojo
17:28 inokenty joined #mojo
17:46 tempire That's why I said "minimalistic" :)
17:47 tempire At the moment, it's more for ease of access to #mojo than as a general purpose client
17:49 tempire especially for people for whom "logging into irc.perl.org so you can ask mojo questions" is a first time multi-hour project
17:51 tempire mewowe: I didn't support nick changing because I wanted to cut down on the spammyness of the xantus' client by enforcing identity
17:52 tempire maybe it wouldn't be a problem, since the login itself might already cut that out
17:53 tempire actually, it was mostly to understand eventsource, and to be just another pretty Mojolicious thing to showcase
17:53 tempire :)
18:33 jnap joined #mojo
19:06 batman joined #mojo
19:16 GabrielVieira joined #mojo
19:20 batman joined #mojo
19:20 batman left #mojo
19:22 batman joined #mojo
19:23 GitHub173 joined #mojo
19:23 GitHub173 [mojo] kraih pushed 1 new commit to master: http://git.io/an75aQ
19:23 GitHub173 [mojo/master] reduce boilerplate in Makefile.PL - Sebastian Riedel
19:23 GitHub173 left #mojo
19:33 GitHub175 joined #mojo
19:33 GitHub175 [mojo] kraih pushed 1 new commit to master: http://git.io/tMYxGA
19:33 GitHub175 [mojo/master] fixed param documentation - Sebastian Riedel
19:33 GitHub175 left #mojo
19:45 abra joined #mojo
19:50 * sri sneezes
20:06 black joined #mojo
20:07 * vervain passes sri a tissue
20:29 batman joined #mojo
20:48 lukep joined #mojo
21:04 lammel2 joined #mojo
21:14 jnap joined #mojo
21:37 baton8 joined #mojo
21:59 sri https://github.com/kraih/mojo/issues/299 # new "Future" idea
22:04 sri btw. "Future" tickets without comments might just vanish and never happen
22:04 sri they are just ideas, no definitive roadmap (that's what "Todo" is for)
22:04 * sri scratches head
22:05 sri perhaps a more descriptive name might be nice
22:05 sri something like "Maybe"
22:45 ereslibre joined #mojo
23:07 jnap_ joined #mojo
23:20 andrefs joined #mojo
23:22 vervain Idea, Proposal, Iffy?
23:43 jnap joined #mojo
23:51 kitt_vl joined #mojo

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