Camelia, the Perl 6 bug

IRC log for #mojo, 2011-07-01

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

All times shown according to UTC.

Time Nick Message
00:08 GitHub83 joined #mojo
00:08 GitHub83 [mojo] kraih pushed 1 new commit to master: http://bit.ly/jfHANF
00:08 GitHub83 [mojo/master] removed idle event from Mojo::IOLoop - Sebastian Riedel
00:08 GitHub83 left #mojo
00:10 sri makes the watcher layer quite a bit simpler
00:11 GitHub182 joined #mojo
00:11 GitHub182 [mojo] kraih pushed 1 new commit to master: http://bit.ly/mRyYtZ
00:11 GitHub182 [mojo/master] fixed typo - Sebastian Riedel
00:11 GitHub182 left #mojo
00:11 sri really doubt anyone will notice
00:13 sri i'd rather add some diagnostics api to ioloop
00:13 sri then you could add a 0 recurring timer and check some diagnostics
00:17 stephen left #mojo
00:24 plu left #mojo
00:27 stephen joined #mojo
00:33 Akron left #mojo
00:48 Alias joined #mojo
00:51 tempire sri, do you have the vector are for the mojolicious cloud logo?
00:51 tempire *art
00:51 sri of course
00:52 tempire or, more succinctly, can I have it?
00:52 sri they are not cleaned up and don't survive an export
00:52 sri there are also multiple versions
00:53 sri didn't i give you the glass cloud version some time ago?
00:53 tempire yes.  I seem to have misplaced it.
00:53 tempire it was a computer ago
00:54 tempire oh, you emailed it, I think
00:54 tempire I probably do still have it
00:54 * tempire searches
00:54 sri i prolly should prepare some official version for reuse
00:55 tempire \o/
00:55 tempire found it
00:55 sri since i don't feel very comfortable passing around prototypes that are not cleaned up
00:57 sri in fact i really hate giving away unfinished artwork
00:59 jwang joined #mojo
00:59 tempire this remains on my computer.  you'll get final approval before I do anything with it, promise
01:00 xantus[] please post the scalable logo somewhere
01:00 xantus[] the cloud with and without words
01:00 xantus[] :)
01:02 jwang left #mojo
01:02 jwang joined #mojo
01:03 jwang left #mojo
01:03 jwang joined #mojo
01:15 ispy__ left #mojo
01:16 alnewkirk joined #mojo
01:20 eXeC001er left #mojo
01:23 alnewkirk left #mojo
01:24 alnewkirk joined #mojo
02:42 Alias left #mojo
03:15 tempire is there any artwork that says viva la revolucion, or join the revolution?
03:22 Alias joined #mojo
04:19 ysyrota joined #mojo
04:44 arpadszasz joined #mojo
04:53 abra joined #mojo
05:33 koban joined #mojo
06:04 koban left #mojo
06:05 d4rkie joined #mojo
06:08 D4RK-PH0ENiX left #mojo
06:12 arpadszasz left #mojo
06:14 koban joined #mojo
06:30 cosmincx joined #mojo
06:31 D4RK-PH0ENiX joined #mojo
06:34 d4rkie left #mojo
06:38 Alias left #mojo
06:39 alnewkirk left #mojo
07:20 alnewkirk joined #mojo
07:31 d4rkie joined #mojo
07:34 D4RK-PH0ENiX left #mojo
07:36 eugen_ joined #mojo
07:38 sugar joined #mojo
07:42 spleenjack joined #mojo
07:43 D4RK-PH0ENiX joined #mojo
07:46 d4rkie left #mojo
07:57 MisterHatt left #mojo
07:58 eugen_ left #mojo
08:18 perlrocks Twitter: "layout of the template to be shared with other pages you will wonder mojolicious xslate not use a template ... # perl" (ja) --umeyuki http://twitter.com/umeyuki​/status/86710374145073152
08:19 eugen joined #mojo
08:34 marcus tempire: VIVA LAS VEGAS
08:35 * marcus cranks up ZZ Top
08:48 perlrocks Twitter: "/ Mojolicious reference that describes the source code of JavaScript - http://t.co/evBftf2 Introduction to Perl with sample code # perl # mojolicious" (ja) --perlcodesample http://twitter.com/perlcodesa​mple/status/86717905483476993
08:49 perlrocks Twitter: "Write JavaScript source code / Mojolicious Reference http://t.co/evBftf2 # perl # mojolicious" (ja) --perlcodesample http://twitter.com/perlcodesa​mple/status/86718078355914752
08:55 nephew joined #mojo
08:57 nephew left #mojo
09:09 perlrocks Twitter: "The best comments to me: "I tried # Mojolicious, almost finished:) So everything is simple convenient and fast, thanks for the promotion":)" (ru) --sharifulin http://twitter.com/shariful​in/status/86723197793337344
09:15 perlrocks Twitter: "Dang! Mojolicious moment. Re-dipping to" (nl) --bitman http://twitter.com/bitman/status/86724570052182016
09:35 perlrocks Twitter: "perlcodesample: / Mojolicious reference that describes the JavaScript source code http://bit.ly/kvn0gl" (ja) --perlironman http://twitter.com/perlironm​an/status/86729612108902400
09:36 sri good morning fellow bbq fans
09:38 marcus woot, I really like it when my ws has more tests than code
09:38 marcus TDD ftw
09:38 crab ws?
09:38 purl i think ws is short for "wrong server" or short for williams-sonoma, refuge for the culinarily challenged. or "work safe" or western samoa or more important in P& than P5
09:39 marcus actually, what I like is 'write skeleton', 'add tests until everything works'
09:39 marcus crab: web service
09:39 purl web service is just what contains all the logic involved for bundling stuff and etc.
09:40 sri that's true for mojolicious too
09:40 Foxcool joined #mojo
09:40 marcus http://paste.scsys.co.uk/117960
09:40 sri 1100 LoC more in t than in lib now :D
09:41 marcus debug mode on prove -lv is great too
09:45 cosmincx left #mojo
09:57 MisterHatt joined #mojo
10:00 sugar how to deparse mojo signed cookiie?
10:02 marcus sugar: just use the session?
10:03 sugar even if i got cookie from nginx log-file?
10:04 sri http://mojolicio.us/perldoc/Mojo​licious/Guides/Growing#Sessions
10:04 sri there's a description of how the cookies are built
10:05 sugar ерфтлы
10:05 sugar thanks
10:06 sugar json?
10:06 purl json is Javascript Object Notation, at http://www.json.org/ or a good carrier for data in ajax or an obscenity, and its existence is an affront to the will of Allah or hateful because obj.toSource() doesn't generate compliant JSON data. or unicode
10:07 sugar i suggested that it was storable
10:07 sri we switched a few versions ago
10:07 sri since json tended to take less space for the most common use cases
10:08 sugar ok, sounds good
10:08 sugar but i have 1.33
10:08 sri look at the changelog, switch would be mentioned
10:09 sri ah, we switched in 1.4
10:09 sri then it is storable
10:11 sri 5 days until os x lion :)
10:11 alnewkirk left #mojo
10:12 cosmincx joined #mojo
10:13 sh9 joined #mojo
10:15 Kulag joined #mojo
10:17 sugar ok thanks
10:20 GitHub68 joined #mojo
10:20 GitHub68 [mojo] kraih pushed 1 new commit to master: http://bit.ly/lfDGJn
10:20 GitHub68 [mojo/master] release preparation - Sebastian Riedel
10:20 GitHub68 left #mojo
10:21 sugar sri: what did you use freeze or nfreeze?
10:22 sri don't remember
10:22 purl Remember what?
10:22 sugar ok
10:22 sri could have been freeze
10:24 sugar yes it was freeze
10:26 perlrocks Twitter: "Mojolicious 1.50 by KRAIH - http://metacpan.org/releas​e/KRAIH/Mojolicious-1.50/" --cpan_new http://twitter.com/cpan_ne​w/status/86742543949242371
10:27 cosmincx1 joined #mojo
10:32 GitHub81 joined #mojo
10:32 GitHub81 [mojo] kraih pushed 1 new commit to master: http://bit.ly/kgwlA7
10:32 GitHub81 [mojo/master] fixed small timing issue in "morbo.t" - Sebastian Riedel
10:32 GitHub81 left #mojo
10:32 cosmincx left #mojo
10:37 philipp joined #mojo
10:46 philipp left #mojo
10:54 cosmincx joined #mojo
10:54 cosmincx1 left #mojo
11:10 AmeliePoulain left #mojo
11:22 AmeliePoulain joined #mojo
11:44 marcus sri: what's the order of before_dispatch?
11:45 marcus sri: as defined?
11:51 sri http://mojolicio.us/perldoc/Mojolicious#hook
11:52 * sri wonders if anyone is using the before_render hook
11:55 ispy_ joined #mojo
11:57 marcus sri: we're using it now, but I'd rather not
11:57 crab i think perlninja wanted it
11:57 tholen left #mojo
11:57 sri ye, it's still experimental though
11:58 marcus sri: the reason we're using it is because our defined before_dispatch hook is running before i18ns
11:59 sri i have no idea what you just said
12:01 marcus sri: we're trying to set $self->languages in a before_dispatch hook
12:01 marcus but the i18n plugin sets up the stash in a before_dispatch hook as well
12:01 marcus so it seems our hook is running before i18ns.
12:01 marcus Processing request failed: Can't call method "languages" on an undefined value at /Users/marcus/perl5/perlbrew/perls/perl-5.10.1/​lib/site_perl/5.10.1/Mojolicious/Plugin/I18n.pm line 46.
12:02 sri then load the i18n plugin first
12:11 marcus sri: yeah, works now. was calling $self->languages rather than $ctx->languages.
12:12 crab hum.
12:15 cosmincx left #mojo
12:16 sri wait, what?
12:16 purl yeah, seriously
12:16 cosmincx joined #mojo
12:17 sri helpers and hooks only get the controller instance
12:19 marcus sri: closure
12:20 sri ah, so just a typo
12:22 marcus right
12:23 tholen joined #mojo
12:28 marting left #mojo
12:29 tholen left #mojo
12:30 tholen joined #mojo
13:10 TheCritic left #mojo
13:13 sh9 left #mojo
13:36 GitHub185 joined #mojo
13:36 GitHub185 [mojo] kraih pushed 1 new commit to master: http://bit.ly/kv3dsi
13:36 GitHub185 [mojo/master] renamed build_url method in Test::Mojo to test_server and improved test_server method in Mojo::UserAgent - Sebastian Riedel
13:36 GitHub185 left #mojo
13:37 sri took some time, but i think that's how test_server should work
13:37 * sri is checking all experimental features again
13:40 sri switching between http and https for the test server is now as easy as "$t->test_server('https'); $t->test_server('http');"
13:41 sri no other setup required
13:41 ispy_ left #mojo
13:43 sugar left #mojo
13:45 sugar joined #mojo
13:46 sri crab: that migth affect you
13:46 sri i remember we added the feature originally for you
13:48 crab sri: i'll just test in a few minutes and update my test script to use the new way
13:49 sri i'll try to push a release quickly
13:50 sh9 joined #mojo
13:53 crab $t->ua->test_server('http');
13:53 crab and https... is what i'm using now.
13:53 crab and it still works fine, fwiw.
13:53 crab (tested against HEAD just now)
13:54 GitHub135 joined #mojo
13:54 GitHub135 [mojo] kraih pushed 1 new commit to master: http://bit.ly/kPVxoz
13:54 GitHub135 [mojo/master] mention hook order in documentation - Sebastian Riedel
13:54 GitHub135 left #mojo
13:54 crab now testing the new way
13:54 sri \o/
13:55 sri biggest change is that it now returns a Mojo::URL object
13:55 sri if you were not using that you're fine anyway
13:56 crab sri: new way works too, code became a bit simpler (no need to setup $ua separately)
13:56 crab so all is well
13:56 purl i already had it that way, crab.
14:00 perlrocks Twitter: "Mojolicious 1.51 by KRAIH - http://metacpan.org/releas​e/KRAIH/Mojolicious-1.51/" --cpan_new http://twitter.com/cpan_ne​w/status/86796308186275840
14:02 sri tests seem surprisingly stable, will be interesting to see the cpantesters results for this release
14:02 sri i think idle events might actually have caused some timing bugs
14:04 sri our test suite could be a lot faster if we didn't have to artifically slow it down ;p
14:06 sri but still just 48 seconds using a single process, 13-20 with multiple processes
14:09 crab artificially slow it down as in the long polling tests etc?
14:11 sri timers and sleep
14:11 sri to make sure events happen in the right order
14:12 sri morbo tests for example have to use sleep
14:17 Akron joined #mojo
14:23 crab morbo is how the word for "i will die" would be transcribed in bangla, btw.
14:24 nagual joined #mojo
14:34 marcus <3 the default 404
14:36 AmeliePoulain left #mojo
14:37 eugen left #mojo
14:40 sri crab: lol!
14:40 kaare joined #mojo
14:42 ispy_ joined #mojo
14:42 sri http://techcrunch.com/2011/07/01/apple​-microsoft-rim-google-nortel-patents/ # wow, patents rock...
14:47 dekimsey joined #mojo
14:52 dekimsey left #mojo
14:54 nagual hi how to change default favicon.ico in Mojolicious::Lite ?
14:54 koban left #mojo
14:56 pp left #mojo
15:00 metaperl joined #mojo
15:03 sri nagual: just add your own
15:03 sri http://mojolicio.us/perldoc/M​ojolicious/Lite#Static_Files
15:22 nagual im use @@ favicon.ico (base64) bat not work ...
15:33 ysyrota left #mojo
15:34 tempire how many tests in mojo now?
15:34 tempire round-a-bout
15:35 sri 5920
15:37 tempire wasn't there more lines of tests than there are code?
15:47 sugar left #mojo
15:58 sri yes
15:58 sri 12k in lib 13k in t
16:07 nagual sri: @@ favicon.ico (base64) not work
16:08 nagual sri: bat if im rename @@ favicon2.ico (base64) all work
16:08 nagual sri: problems from reserved name  favicon.ico
16:10 kaare left #mojo
16:33 sh9 left #mojo
16:38 cosmincx left #mojo
16:39 eXeC001er joined #mojo
16:39 eXeC001er Hi
16:39 purl hello, eXeC001er.
16:40 eXeC001er Can somebody help me with route conditions?
16:42 eXeC001er I need to add condition to all my routes ?
16:42 eXeC001er s/?/./
16:47 tempire eXeC001er: http://mojolicio.us/perldoc/Mojol​icious/Guides/Routing#Conditions
16:48 GitHub109 joined #mojo
16:48 GitHub109 [mojo] kraih pushed 1 new commit to master: https://github.com/kraih/mojo/commit/38​5565d9b2b95de317d7a6c1c0ff57eb447bde08
16:48 GitHub109 [mojo/master] less micro optimization and more maintainability - Sebastian Riedel
16:48 GitHub109 left #mojo
16:49 eXeC001er tempire:  yes, i read this. but i need to add condition to all routes by ONE line. Can i do it ?
16:49 tempire you probably want a bridge
16:49 tempire http://mojolicio.us/perldoc/Moj​olicious/Guides/Routing#Bridges
16:50 sri nested route should be enough
16:50 sri my $x = $r->route->over(...); $x->route(...)...
16:52 sri nagual: only a real file could redefine favicon
17:15 Akron left #mojo
17:16 sri nagual: i'll fix that
17:16 arpadszasz joined #mojo
17:18 nagual onli statik file in public/favicon.ico
17:23 spleenjack left #mojo
17:29 GitHub133 joined #mojo
17:29 GitHub133 [mojo] kraih pushed 1 new commit to master: https://github.com/kraih/mojo/commit/73​1e795acace847efc67f2cc859327445370bb3e
17:29 GitHub133 [mojo/master] fixed small static file in DATA section bug - Sebastian Riedel
17:29 GitHub133 left #mojo
17:29 sri nagual: and fixed
17:45 sh9 joined #mojo
17:49 perlrocks Twitter: "Mojolicious 1:52 by SRI - http://metacpan.org/release/SRI/Mojolicious-1.52/" (ms) --cpan_new http://twitter.com/cpan_ne​w/status/86853984412893185
17:56 alnewkirk joined #mojo
18:08 sugar joined #mojo
18:22 eXeC001er left #mojo
18:29 nagual sri: how to use mojo agent from socks server?
18:32 nagual sri: sorry? how to use Mojo::UserAgent from socks server &
18:32 qq- joined #mojo
18:42 nagual sri: I need so many requests that everyone has his socks server, and so that dns queries passed through the same socks server
18:45 xantus[] oh crap, I totally forgot about the thing I was going to do last night
18:45 xantus[] :(
18:49 alnewkirk left #mojo
19:18 qq- left #mojo
19:20 sh7 joined #mojo
19:23 sh9 left #mojo
19:47 sh7 left #mojo
20:32 sri xantus[]: aww :(
20:55 nagual sri:  how to use Mojo::UserAgent from socks server ?
21:03 sri nagual: asking me directly is not the best idea, it discourages everyone else here that might be able to answer the question too
21:03 sri nagual: anyway, the question has been answered a few weeks ago on the mailing list
21:04 sri mojolicious does not support socks, but there are a few hacks on the list to make it work
21:07 sugar left #mojo
21:14 stephan48 mojolicious::plugin:paramsauth++ tempire++ # migrated from http auth to form based auth just took a few min
21:15 tempire :)
21:25 sri ok... it's officially futurama time now
21:26 sri and bec... ALL GLORY TO THE HYPNOTOAD!
21:32 stephan48 is there a way for a application to provide additional commands like ./app somecommand?
21:33 ispy_ left #mojo
21:34 ispy_ joined #mojo
21:36 xantus[] stephan48: yes
21:36 marcus sri: more futurama out?
21:37 sri new episode!
21:37 xantus[] create a Mojolicious::Command::MyCustomCommand
21:37 marcus ooh
21:37 stephan48 ah cool
21:37 marcus so great
21:37 marcus ooh, sickbeard already downloaded it and put in in my plex library
21:37 marcus internets++
21:38 xantus[] sickbeard is cool
21:39 xantus[] I wish it was integrated with rifftrax
21:40 xantus[] so I could buy and collect
21:43 sri impressive
21:44 * sri wants a sick beard too
21:45 kom whew
21:56 Foxcool left #mojo
22:02 eugen joined #mojo
22:21 tempire dump app store means apple no longer provides trial copies
22:29 eugen left #mojo
22:32 eugen joined #mojo
22:37 eugen left #mojo
22:37 eugen joined #mojo
22:43 sri 4 days till lion!!!
22:43 eugen left #mojo
22:46 sri http://osxdaily.com/2011/05/23/terminal-in-ma​c-os-x-lion-gets-full-screen-mode-eye-candy/ # drool
22:55 metaperl left #mojo
23:02 nagual left #mojo
23:11 sri lol, godaddy gets bought by silver lake
23:11 sri they so deserve each other
23:11 tempire 2 weeks ago I had no idea who silver lake was
23:11 tempire now I know I'm supposed to hate them
23:11 sri neither did i
23:26 stephen left #mojo
23:27 eugen joined #mojo
23:36 sri AN INFINITE LOOP? I DON'T HAVE TIME FOR THAT!
23:52 GitHub11 joined #mojo
23:52 GitHub11 [mojo] kraih pushed 1 new commit to master: http://bit.ly/jbUiWK
23:52 GitHub11 [mojo/master] fixed underscore key - Sebastian Riedel
23:52 GitHub11 left #mojo
23:53 GitHub191 joined #mojo
23:53 GitHub191 [mojo] kraih pushed 1 new commit to master: http://bit.ly/kbr11u
23:53 GitHub191 [mojo/master] updated changes - Sebastian Riedel
23:53 GitHub191 left #mojo

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