Camelia, the Perl 6 bug

IRC log for #mojo, 2011-06-20

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

All times shown according to UTC.

Time Nick Message
00:08 d4rkie left #mojo
00:10 d4rkie joined #mojo
00:18 GitHub155 joined #mojo
00:18 GitHub155 [mojo] kraih pushed 1 new commit to master: http://bit.ly/lE3X4i
00:18 GitHub155 [mojo/master] fixed an exception with layout rendering bug - Sebastian Riedel
00:18 GitHub155 left #mojo
00:19 D4RK-PH0ENiX joined #mojo
00:21 GitHub117 joined #mojo
00:21 GitHub117 [mojo] kraih pushed 1 new commit to master: http://bit.ly/jXRWVO
00:21 GitHub117 [mojo/master] simplified test case - Sebastian Riedel
00:21 GitHub117 left #mojo
00:22 d4rkie left #mojo
00:26 perlrocks Twitter: "Mojolicious 1.45 by KRAIH - http://metacpan.org/releas​e/KRAIH/Mojolicious-1.45/" --cpan_new http://twitter.com/cpan_ne​w/status/82605154091798529
00:28 d4rkie joined #mojo
00:30 arpadszasz left #mojo
00:34 D4RK-PH0ENiX left #mojo
00:46 d4rkie left #mojo
00:49 d4rkie joined #mojo
00:56 shonorio joined #mojo
00:58 D4RK-PH0ENiX joined #mojo
01:00 d4rkie left #mojo
01:01 perlrocks Twitter: "/ Mojolicious reference to install the Mojolicious: Mojolicious is so simple Perl module can be installed just like any other module installed. W. .. http://bit.ly/lQUtjA" (ja) --t77y7gy http://twitter.com/t77y7gy​/status/82614018015117312
02:05 GabrielVieira2 left #mojo
02:09 Alias joined #mojo
03:37 shonorio left #mojo
03:45 d4rkie joined #mojo
03:48 D4RK-PH0ENiX left #mojo
03:51 lee7 left #mojo
03:52 D4RK-PH0ENiX joined #mojo
03:54 d4rkie left #mojo
04:06 batman joined #mojo
04:06 batman hi
04:11 batman i suggested to use Mojo::UserAgent to this guy, and he comes back complaining later that it does do the right thing: Mojo::UserAgent->new->get(get('http://www.datakjeden.no/CBC.aspx?q=c​:36376;pfd:pvk-e2993v732403v1521819v1​521823v1521822e3045v732396;ps:1000'); modifies the query string.
04:12 batman so i argue that the query string is messed up because of the semicolons, while he argue that mojo shouldn't alter the query string at all
04:17 batman mojo thinks this is a four part query string, so when it puts it back togeter it turns into q=c%3A36376;pfd%3Apvk-.....=;ps%3A1000=
04:21 batman i also argue that it works as expected if ; is replaced with %3b, but he still thinks it's wrong
04:21 batman what do you think?
04:21 purl I think batman should try flossing more often!
04:21 batman i agree purl...
04:21 batman :)
04:22 D4RK-PH0ENiX left #mojo
04:23 d4rkie joined #mojo
04:39 Foxcool joined #mojo
04:56 d4rkie left #mojo
04:58 d4rkie joined #mojo
05:10 batman left #mojo
05:11 koban joined #mojo
05:13 D4RK-PH0ENiX joined #mojo
05:15 d4rkie left #mojo
05:16 sri batman: yea, that query string is messed up
05:18 sri you can actually argue both ways
05:19 sri we could theoretically support both, raw untouched query string by default and parsed if modified using higher level Mojo::Parameters methods, but so far nobody seemed to like that approach enough to send patches
05:22 d4rkie joined #mojo
05:24 D4RK-PH0ENiX left #mojo
05:26 chansen joined #mojo
05:31 arpadszasz joined #mojo
05:37 kaare_ joined #mojo
05:39 D4RK-PH0ENiX joined #mojo
05:42 d4rkie left #mojo
05:45 batman joined #mojo
05:54 sherr_ joined #mojo
06:12 GitHub46 joined #mojo
06:12 GitHub46 [mojo] kraih pushed 1 new commit to master: http://bit.ly/kat3JY
06:12 GitHub46 [mojo/master] improved tests - Sebastian Riedel
06:12 GitHub46 left #mojo
06:12 sri batman: i'll consider this the right behavior until someone finds a better solution
06:13 batman sri: you could cache the original string and then use it when mojo.... nononono! :)
06:14 d4rkie joined #mojo
06:14 sri yes, but then you have a dwim problem
06:14 batman good to hear sri :) i was afraid i was far off
06:14 sri because people will give you urls with characters in the query string that need to be escaped
06:14 sri like i said before, you can argue both ways
06:15 sri ; is a valid pair separator, so parsing or keeping the raw string could both be right
06:15 batman oh. maybe i lost part of the response... disconnected 06:21:38 CEST
06:16 sri that's why we have a channel log
06:16 D4RK-PH0ENiX left #mojo
06:17 sri i actually  wouldn't mind a patch that keeps the original string as long as possible
06:17 batman ah. nice
06:17 sri but it would have to handle cases like this one http://sharifulin.ru/привет/?q=шарифулин
06:20 batman another thing... is ; a valid separator despite of the document type? i see it is mentioned in the html 4.01 spec, but i'm not sure if that's the only place or if it's a general rule
06:20 batman though i cannot see how the server can know the document type from the referer...
06:20 sri document type has nothing to do with it
06:20 batman good
06:23 D4RK-PH0ENiX joined #mojo
06:25 d4rkie left #mojo
06:27 trone_ is now known as trone
06:57 koban hi all
06:58 tabbi joined #mojo
07:00 d4rkie joined #mojo
07:03 D4RK-PH0ENiX left #mojo
07:03 tabbi left #mojo
07:12 Foxcool left #mojo
07:17 Foxcool joined #mojo
07:18 D4RK-PH0ENiX joined #mojo
07:18 fhelmber_ joined #mojo
07:20 d4rkie left #mojo
07:23 cosmincx joined #mojo
07:36 bosphorus joined #mojo
07:44 cosmincx left #mojo
07:48 sushi-foo joined #mojo
07:49 d4rkie joined #mojo
07:52 D4RK-PH0ENiX left #mojo
07:52 AmeliePoulain joined #mojo
07:55 GitHub145 joined #mojo
07:55 GitHub145 [mojo] kraih pushed 1 new commit to master: http://bit.ly/lPLAvu
07:55 GitHub145 [mojo/master] improved query string support in Mojo::Parameters - Sebastian Riedel
07:55 GitHub145 left #mojo
07:55 sri batman: should work now
07:56 sri i think this is the most dwim solution
07:57 sri should also be faster
07:58 yko joined #mojo
07:58 sri since we now only parse on demand
07:58 sri it's the patch i wanted yko to write ;p
07:58 yko oh noes
07:58 D4RK-PH0ENiX joined #mojo
07:58 yko left #mojo
07:58 sri lol
07:59 cosmincx joined #mojo
08:01 d4rkie left #mojo
08:04 bosphorus left #mojo
08:08 bosphorus joined #mojo
08:13 jwang joined #mojo
08:14 sushi-foo left #mojo
08:18 Alias left #mojo
08:23 spleenjack joined #mojo
08:24 d4rkie joined #mojo
08:27 D4RK-PH0ENiX left #mojo
08:32 bosphoru_ joined #mojo
08:35 yko joined #mojo
08:35 * yko looking around if there's no 'patches'
08:36 bosphor__ joined #mojo
08:36 yko sri, let's remove 'return' from here https://github.com/kraih/mojo/b​lob/master/lib/Mojo/Base.pm#L49 ?
08:36 bosphorus left #mojo
08:37 yko another 0.3% optimization :P
08:37 moritz you can also remove the shift
08:38 yko and whole sub new!
08:38 moritz hm, not so easy
08:38 yko :D
08:39 moritz exists $_[1] ? exists $_[2] ? {@_[1..$#_]} : {}, ref $_[0] || $_[0]
08:39 moritz but that's getting ugly :-)
08:39 D4RK-PH0ENiX joined #mojo
08:39 yko and commend above: # bite mortiz if you have any questions about this code
08:41 crab poor mortiz
08:41 bosphoru_ left #mojo
08:42 yko shift if damn fast but return is a bit slow. since almost all Mojo* packages isa Mojo::Base and we create new objects well, fast enough that could make sense
08:42 d4rkie left #mojo
08:42 yko but it's just an offer
08:43 yko s/fast/often/
08:45 batman sri: thanks. i've given the information on. no problem for me really. i prefer giving correct input (using %xx instead of ;)
08:45 batman correct as in "correct" ...
08:48 sri wait, return costs extra?
08:48 d4rkie joined #mojo
08:48 moritz yes
08:48 yko exactly
08:48 moritz sub { 1 }  is faster than sub { return 1 }
08:49 sri ok, that's because of optimization
08:49 sri sub { 1 } becomes a constant
08:49 moritz only sub () { 1 } iirc
08:50 moritz hm, seems that perl-5.14.1 optimizes out the 'return'
08:50 yko woot?
08:50 purl yko:   - updated daily at midnight CST.  See also woot.com, and "woot history".
08:50 * yko goes benchmarking
08:50 moritz yko: I've just looked at it with perl -MO=Concise
08:51 D4RK-PH0ENiX left #mojo
08:51 moritz yko: both with and without return produce the same optree
08:52 sri is it different in earlier versions?
08:53 moritz I remember that it made a difference earlier
08:53 * moritz checks
08:53 sri looks the same in 5.8.9
08:53 bosphor__ left #mojo
08:56 yko https://gist.github.com/1035329
08:56 yko dunno about optree
08:56 yko in 5.14 it's almost the same (9% difference)
08:57 moritz yko++ # benchmarking stuff
08:57 yko but in 5.10.1 w/o return is a bit faster (not critical though)
08:57 bosphorus joined #mojo
08:57 sri optree looks equal, weird
08:58 yko maybe optree is processed in different way? )
08:58 sri anyway, i can confirm the benchmark result
08:59 moritz 27% difference on perl-5.14.1 here
08:59 moritz and 25% von perl-5.10.1
08:59 moritz (I've changed the repetition count to -2)
08:59 yko i have 5.14.0 here, only 9%. strange
08:59 moritz which means "run for 2 seconds"
09:03 moritz I'll perlbrew a 5.14.0 and will compare
09:12 d4rkie left #mojo
09:14 d4rkie joined #mojo
09:20 perlite joined #mojo
09:29 sri interesting
09:29 jwang left #mojo
09:30 sri i've just run a script across mojolicious to remove all unnecessary returns
09:30 sri and it got slower
09:30 sri by almost 100 rps
09:30 moritz WTF?
09:30 moritz did you manually review the diff?
09:33 moritz fwiw on 5.14.0 the results vary quite a bit
09:33 moritz I've done three runs now, and got 12%, 16% and 20%
09:34 moritz now 8%
09:34 sri ok, my benchmark was not clean
09:35 sri i have a small gain now, around 3%
09:35 crab i really would suggest not to make "optimisations" like that.
09:36 moritz if readability doesn't suffer, why not?
09:36 crab i think readability suffers greatly.
09:37 moritz your mileage varies
09:37 sri actually i don't think so
09:37 cosmincx left #mojo
09:37 sri i already don't use return consistently
09:37 moritz (now 2% speed difference on the benchmark... it seems the difference is so small that it's hard to measure reliably)
09:37 crab moritz: *your* mileage might vary.
09:38 cosmincx joined #mojo
09:38 moritz crab: it sure does too :-)
09:38 GitHub24 joined #mojo
09:38 GitHub24 [mojo] kraih pushed 1 new commit to master: http://bit.ly/kWpyDA
09:38 GitHub24 [mojo/master] improved overall performance by about 3% with many small optimizations - Sebastian Riedel
09:38 GitHub24 left #mojo
09:39 sri i would never sacrifice maintainability for performance, but this is not a bad change
09:42 yko sri++
09:46 jwang joined #mojo
09:47 crab i've lost count of the changes i've seen in code i reviewed that inadvertently broke functions that used implicit return.
09:47 crab anyway, whatever.
09:48 sri i think the real cause was lack of tests
10:02 crab you find the bugs you test for.
10:04 moritz if you don't test for the return value of your subroutines, what *do* you test?
10:06 sri https://github.com/kraih/mojo/pull/166 # thoughts?
10:07 sri no tests is of course a total deal breaker, but the feature itself
10:09 * moritz doesn't see why not
10:10 sri the pod renderer is a big hack
10:10 sri the question is if we really want others to depend on it
10:11 moritz is it marked as experimenta?
10:11 sri no
10:11 sri why would it?
10:12 sri it's not like we could make the code much better
10:12 sri the code is really damn good for a hack
10:12 sri but it will always stay one
10:12 sri because pod to html rendering sucks mostly
10:20 D4RK-PH0ENiX joined #mojo
10:22 d4rkie left #mojo
10:38 arpadszasz left #mojo
10:40 d4rkie joined #mojo
10:43 D4RK-PH0ENiX left #mojo
10:45 crab why is it in core?
10:46 D4RK-PH0ENiX joined #mojo
10:49 d4rkie left #mojo
10:59 crab (that's a serious question; i imagine the answer is only "to serve up nice-looking docs in the default install" or so, which rather points towards not trying to make it a general-purpose pod renderer for people to use)
11:03 fmerges joined #mojo
11:07 sri crab: exactly
11:37 sri crab: you did the windows tests for morbo right?
11:37 sri crab: what Perl version did you use?
11:51 crab sri: i haven't used windows since ~1995
11:52 d4rkie joined #mojo
11:52 sri oh, it was rhaen
11:52 crab (i said that to someone the other day, and he said "wow, so long ago. must have been windows 98 back then?")
11:55 D4RK-PH0ENiX left #mojo
12:09 bosphoru_ joined #mojo
12:10 D4RK-PH0ENiX joined #mojo
12:10 bosphorus left #mojo
12:12 d4rkie left #mojo
12:18 Akron joined #mojo
12:30 sri windows is annoying
12:32 elb0w Do what I do, dont use it
12:36 sri well, we have windows users
12:36 sri and they are now asking for --reload to come back xD
12:44 sri i hate email
12:45 Foxcool left #mojo
12:58 kaare_ is now known as kaare
12:58 d4rkie joined #mojo
13:01 D4RK-PH0ENiX left #mojo
13:04 elb0w lol
13:04 D4RK-PH0ENiX joined #mojo
13:07 d4rkie left #mojo
13:10 elb0w I couldnt fathom wanting to run a server using perl on windows
13:10 elb0w What do you use strawberry?
13:10 * moritz wouldn't run *any* server on windows
13:15 elb0w What about SQLServer?
13:16 mattastrophe left #mojo
13:16 d4rkie joined #mojo
13:19 D4RK-PH0ENiX left #mojo
13:25 mattp left #mojo
13:25 D4RK-PH0ENiX joined #mojo
13:31 d4rkie left #mojo
13:39 Foxcool joined #mojo
13:40 d4rkie joined #mojo
13:43 D4RK-PH0ENiX left #mojo
13:43 D4RK-PH0ENiX joined #mojo
13:46 d4rkie left #mojo
13:47 sri hmm, no idea what we should be doing about win32
13:47 tardisx a) buy a mac b) download virtualbox and linux iso
13:47 tardisx :)
13:49 tardisx I do have access to a bunch of machines with cygwin - is it a useful test or is cygwin completely unsupported?
13:50 sri strawberry is cygwin no?
13:50 moritz no
13:50 sri hmm, maybe we could use a temporary file instead of signals
13:51 sri if the file gets deleted the worker commits suicide
13:51 sri and for each worker there's a new temporary file
13:52 sri i fucking hate windows...
13:52 alnewkirk|com im a windows user
13:52 sri perl already has fork emulation and it just doesn't work
13:53 sri why would a stupid sigkill take down the whole process?
13:53 sri umm sigterm
13:53 sri KILL KILL KILL
13:53 purl Thou shalt not kill.
13:55 sri can someone else please try morbo on win32
13:55 d4rkie joined #mojo
13:55 metaperl joined #mojo
13:56 Foxcool left #mojo
13:58 D4RK-PH0ENiX left #mojo
13:58 alnewkirk|com morbo?
13:58 purl rumour has it morbo is not pleased
13:59 D4RK-PH0ENiX joined #mojo
13:59 moritz purl: no, morbo is the new, reloading development server for mojolicious
13:59 purl okay, moritz.
13:59 alnewkirk|com ah
13:59 alnewkirk|com brb
14:00 yko sri: perl -MMojo::Loader -e 'print Mojo::Loader->load("ICanHasSomeModules")'
14:01 bosphorus joined #mojo
14:01 gshank left #mojo
14:01 yko it shouldn't print 1. am i wrong?
14:01 sri yko: you're wrong
14:01 * yko is wrong
14:01 d4rkie left #mojo
14:01 alnewkirk|com Successfully installed Mojolicious-1.45 (upgraded from 1.34)
14:01 sri he's wrong
14:02 sri bit weird there is nobody using activeperl
14:02 alnewkirk|com ummm, ctrl+c isnt killing it :/
14:03 stephan48 now every server gets a name?
14:03 sri stephan48: only the cool ones
14:03 stephan48 ah
14:03 yko sri, ok, i'm wrong. but why perl -Mojo -e 'a->plugin("can_i_has_plugin")' prints ...
14:03 yko Can't locate object method "new" via package "Mojolicious::Plugin::CanIHasPlugin"
14:04 alnewkirk|com C:\Tmp\mojome>morbo script\mojome
14:04 yko i thought it supposed to print something like Plugin "$name" missing, maybe you need to install it?
14:04 alnewkirk|com works as expected
14:04 alnewkirk|com gota go buy a car, cyall
14:04 sri alnewkirk|com: but does it reload when you make changes?
14:05 alnewkirk|com one sec
14:05 sri if it does Perl and Windows version please
14:05 bosphoru_ left #mojo
14:06 alnewkirk|com sri, on file update, server was terminated
14:06 alnewkirk|com Terminating on signal SIGTERM(15)
14:06 sri yko: because i made a typo :(
14:07 alnewkirk|com i'll hit it again when i come baCK, MAYBE CONTRIBUTE SOME CODE
14:07 alnewkirk|com sorry for cpas
14:08 d4rkie joined #mojo
14:08 Akron I'll try morbo + win32 (strawberry) in a couple of hours.
14:09 Akron stephan48: You wanted to make an OpenID- and OAuth-Provider-Plugin for Mojo - do I remember correctly?
14:09 GitHub6 joined #mojo
14:09 GitHub6 [mojo] kraih pushed 1 new commit to master: http://bit.ly/mE0w8Z
14:09 GitHub6 [mojo/master] fixed typo - Sebastian Riedel
14:09 GitHub6 left #mojo
14:09 sh9 joined #mojo
14:09 sri yko: fixed
14:09 stephan48 yes, but i didnt continue so far
14:09 yko \щ/
14:09 Foxcool joined #mojo
14:10 Akron stephan48: Is it still on your list?
14:10 stephan48 sure, but not hight prio
14:10 Akron Okay - great! did you start a repo for that?
14:10 D4RK-PH0ENiX left #mojo
14:11 Akron I would like to help.
14:11 stephan48 mh
14:11 stephan48 the answer would be no i guess
14:13 stephan48 but this cant be solved i guess ;)
14:13 GitHub194 joined #mojo
14:13 GitHub194 [mojo] kraih pushed 1 new commit to master: https://github.com/kraih/mojo/commit/59​f48f72250d979dd961efb3286194fbfb073d99
14:13 GitHub194 [mojo/master] added test for missing plugin error message - Sebastian Riedel
14:13 GitHub194 left #mojo
14:14 sri https://github.com/kraih/mojo/blo​b/master/lib/Mojo/Server/Morbo.pm
14:14 sri that cute little 70 line module needs windows love
14:14 sri MAKE IT WORK!
14:14 D4RK-PH0ENiX joined #mojo
14:15 sri with as little changes a spossible, and no unit tests necessary
14:15 AmeliePoulain left #mojo
14:17 d4rkie left #mojo
14:17 d4rkie joined #mojo
14:18 Akron stephan48 - No to what? Help or repo?
14:19 stephan48 repo
14:20 D4RK-PH0ENiX left #mojo
14:23 stephan48 where the fucking hell is the create repo button on github?
14:23 moritz stephan48: on the home page
14:23 stephan48 ah on the damn dashboard
14:23 Akron http://help.github.com/create-a-repo/
14:23 D4RK-PH0ENiX joined #mojo
14:24 moritz but not on https://github.com/<username>/
14:24 moritz that's the most unintuitive part of the github UI
14:25 stephan48 i dislike the whole ui
14:26 moritz my previous experience was sf.net
14:26 moritz compared to that, github is heaven :-)
14:26 stephan48 https://github.com/stephan48​/mojo-plugin-openid-provider @ Akron please dont complain about eyecancer :)
14:26 stephan48 sry
14:26 d4rkie left #mojo
14:26 moritz though I could live with fewer rounded corners and shades of grey
14:27 Foxcool left #mojo
14:31 Foxcool joined #mojo
14:34 bosphorus left #mojo
14:41 kaare_ joined #mojo
14:43 kaare left #mojo
14:43 gizzlon_ is now known as gizzlon
14:50 koban left #mojo
14:52 d4rkie joined #mojo
14:55 D4RK-PH0ENiX left #mojo
14:59 Akron stephan48++
15:00 stephan48 Akron: i dont know how much of the openid process it can finish already
15:01 Akron I'll have a look (unfortunately not today ...)! Did you have a look into OpenID Connect?
15:01 D4RK-PH0ENiX joined #mojo
15:02 stephan48 cool :)
15:02 stephan48 i didnt know about it till today thanks
15:03 Akron The Problem with the old OpenID stack is, that there are so many specs that are not supported/maintained anymore. XRDS for example.
15:04 d4rkie left #mojo
15:05 Akron Unfortunately the next OpenID version may not support Webfinger and the Hammer stack at all ... so ... again not a really good approach. (I would like to have a XRD API spec or something for doing what SWD now does. Maybe Hammer will introduce this in a couple of weeks.)
15:08 batman left #mojo
15:09 Foxcool left #mojo
15:17 metaperl left #mojo
15:18 mattastrophe joined #mojo
15:19 d4rkie joined #mojo
15:19 cosmincx left #mojo
15:23 alnewkirk|com im on winxp + strawberry
15:24 ph1g joined #mojo
15:24 D4RK-PH0ENiX left #mojo
15:28 D4RK-PH0ENiX joined #mojo
15:31 d4rkie left #mojo
15:34 mattp joined #mojo
15:38 kaare_ is now known as kaare
15:46 sh9 left #mojo
15:51 D4RK-PH0ENiX left #mojo
15:53 trone_ joined #mojo
15:54 d4rkie joined #mojo
15:58 metaperl joined #mojo
15:58 trone left #mojo
16:07 alnewkirk|com what would really be cool is a web application framework that ships with its on production-ready web-server and document-database (key/value store)
16:09 moritz like, uhm, Mojolicious
16:09 moritz there are some key/value storage things in core perl
16:10 moritz DBM or whatever it's call
16:10 * moritz grins, ducks and runs
16:13 GitHub131 joined #mojo
16:13 GitHub131 [mojo] kraih pushed 1 new commit to master: http://bit.ly/l9E70Q
16:13 GitHub131 [mojo/master] fixed Windows restart issues in Mojo::Server::Morbo - Sebastian Riedel
16:13 GitHub131 left #mojo
16:14 sri please test! URGENT!
16:14 sri (on windows)
16:23 D4RK-PH0ENiX joined #mojo
16:24 d4rkie left #mojo
16:30 alnewkirk|com ... cloning
16:30 sri wait
16:30 sri doesn't work
16:30 purl Look buddy, doesn't work is a strong statement. Does it sit on the couch all day? Is it making faces at you? Does it want more money? Is it sleeping with your girlfriend? Please be specific!
16:30 alnewkirk|com ... ummm k
16:32 d4rkie joined #mojo
16:35 D4RK-PH0ENiX left #mojo
16:35 alnewkirk|com moritz, uhm, not like DBM lol, plus that doesn't ship with Mojolicious, etc
16:36 moritz well, but if you use Mojolicious, you have perl available
16:36 moritz so it should be enough if they ship with perl, no?
16:36 alnewkirk|com KiokuDB is nice, ..., but doesn't comply because its only an interface to various bckends, etc
16:37 alnewkirk|com yes and no, when i say "ships-with" ... I mean part of the framework .... which means it benefits from the frameworks structure, etc
16:37 alnewkirk|com every class in Mojo is coded the same, ... follows similar design patterns, conventions, etc
16:38 GitHub158 joined #mojo
16:38 GitHub158 [mojo] kraih pushed 1 new commit to master: http://bit.ly/mUHgRv
16:38 GitHub158 [mojo/master] fixed another small windows bug - Sebastian Riedel
16:38 GitHub158 left #mojo
16:38 sri alnewkirk|com: now please
16:38 purl now is probably the time for the Kwisatz Haderach to arise and conquer America on a sandworm army
16:38 alnewkirk|com pu;;ed one change, ... doing it now
16:39 alnewkirk|com purl is referencing Dune?
16:40 alnewkirk|com sri, Building and testing . ... FAIL
16:40 alnewkirk|com log file on da way
16:41 sri don't care about tests
16:41 sri just morbo example runs
16:42 alnewkirk|com that sucks
16:42 purl The rock is now off.
16:42 sri all i need is one little piece of information, does morbo restart on change
16:42 alnewkirk|com on it way
16:44 mattastrophe left #mojo
16:46 preflex left #mojo
16:47 alnewkirk|com sri, seems to work
16:47 alnewkirk|com cudos
16:47 sri \o/
16:47 alnewkirk|com .. and its super fast ta-boot
16:48 alnewkirk|com i <3 Mojolicious
16:48 sri what Perl and Windows version?
16:48 alnewkirk|com This is perl, v5.10.1 (*) built for MSWin32-x86-multi-thread
16:48 alnewkirk|com Windows XP
16:49 preflex joined #mojo
16:49 GitHub128 joined #mojo
16:49 GitHub128 [mojo] kraih pushed 1 new commit to master: http://bit.ly/jdWqSI
16:49 GitHub128 [mojo/master] clean signals - Sebastian Riedel
16:49 GitHub128 left #mojo
16:52 sh9 joined #mojo
16:54 sri fingers crossed
16:56 bosphorus joined #mojo
17:03 fmerges left #mojo
17:10 GabrielVieira joined #mojo
17:11 marcus bah, I am bored with irccloud now.
17:12 marcus going back to textual I guess.
17:16 curtis_ joined #mojo
17:18 curtis_ I'm moving some code from Mojolicious::Lite to Mojoliocious, one of the routes I have in lite was this: "get '/history/:tti_unique_id' => [ tti_unique_id => qr/\d+/ ] => sub {" and now that I'm putting it into Mojolicious I can't find the documentation that shows me how to check input like that. I imagine its somewhere, I'm just failing at finding it ...
17:19 sri it's almost equal
17:19 sri ->get('.../:tti...', tti_... => qr//)
17:22 curtis_ oh, didn't realize get() was an actual method ... I assume its just combining route() and via() into one call? If I was to use route then: route('.../:tti...', tti_... => qr//)  ?
17:23 sri ye
17:23 curtis_ thanks :)
17:33 sh9 left #mojo
17:33 sri yay, latest morbo is confirmed working on the list too! :)
17:34 sri new release will follow tomorrow i think
17:44 kaare left #mojo
17:45 stephen joined #mojo
17:49 d4rkie left #mojo
17:52 d4rkie joined #mojo
17:55 D4RK-PH0ENiX joined #mojo
17:58 spleenjack left #mojo
18:01 d4rkie left #mojo
18:12 alnewkirk|com i haven't heard of irccloud til now
18:14 ph1g sri: are there any gotchas when using your UserAgent with proxies?
18:14 sri ph1g: like?
18:17 ph1g noticing it's not behaving as expected through my proxy. curl works, but the get request from UA, provided in mojo, are somewhat curious, IE the full URL being passed after the GET in the request. I get no response
18:17 fhelmber_ left #mojo
18:17 ph1g I haven't done any digging or am I prepared to say its a bug, it just looked a bit queer
18:18 sri nopaste the messages
18:18 * ph1g sighs
18:18 D4RK-PH0ENiX left #mojo
18:18 ph1g cant'. sensitive stuff. I'd have to sanitize the shit out of it. No worries man. I'll figure it out
18:18 ph1g if I find a bug i'll submit a patch
18:21 d4rkie joined #mojo
18:21 Foxcool joined #mojo
18:38 sri that's the spirit
18:42 D4RK-PH0ENiX joined #mojo
18:44 Akron left #mojo
18:45 d4rkie_ joined #mojo
18:47 d4rkie left #mojo
18:48 D4RK-PH0ENiX left #mojo
18:59 bosphorus left #mojo
19:08 amoore joined #mojo
19:11 d4rkie joined #mojo
19:17 d4rkie_ left #mojo
19:34 bosphorus joined #mojo
19:36 perlrocks Twitter: "f*ck! #mojolicious + use Method::Signatures -> "filter_del can only delete in reverse order (currently)" why any improve is so f*cking hard?" --meettya http://twitter.com/meettya​/status/82894547918663680
19:55 amoore left #mojo
20:11 D4RK-PH0ENiX joined #mojo
20:13 d4rkie left #mojo
20:15 perlrocks Twitter: "Right. I’m going to try and write this #mojolicious app without the aid of the Internetz. Wish me luck" --purinkle http://twitter.com/purinkl​e/status/82904485655089153
20:45 mattastrophe joined #mojo
20:46 d4rkie joined #mojo
20:48 D4RK-PH0ENiX left #mojo
22:18 ph1g left #mojo
22:20 D4RK-PH0ENiX joined #mojo
22:22 d4rkie left #mojo
22:26 Akron joined #mojo
22:29 curtis_ hmm, where is the data sent on a post suppose to end up? I can't seem to pull it out of $self->param, which is the stash as I understand, does it get stuck somewhere else?  (this bit of code worked fine when it was in Mojo::Lite if that helps...)
22:31 alnewkirk|com sri, PASS (24)   FAIL (3) :/
22:39 curtis_ nm, apparently the uncgi script we have in use is butting in in front of my mojolciious app
23:04 GabrielVieira left #mojo
23:04 GabrielVieira joined #mojo
23:10 fmerges joined #mojo
23:11 d4rkie joined #mojo
23:14 D4RK-PH0ENiX left #mojo
23:18 jwang left #mojo
23:29 metaperl left #mojo
23:41 jamesw left #mojo
23:42 alnewkirk|com curtis_, huh?
23:43 D4RK-PH0ENiX joined #mojo
23:44 alnewkirk|com i'll help you
23:46 d4rkie left #mojo
23:52 jwang joined #mojo
23:57 Akron I can confiirm: morbo works and reloads hapily with WinXP (Strawberry Perl v5.12.2, MSWin32-x86-multi-thread). We are so dooooomed. sri++
23:57 d4rkie joined #mojo

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