Camelia, the Perl 6 bug

IRC log for #mojo, 2012-01-25

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

All times shown according to UTC.

Time Nick Message
00:00 elb0w joined #mojo
00:05 tempire haste bin is really nice.  they just need more color schemes.
00:05 tempire or really, just twilight.  that's all I care about.
00:10 sri yay, i have found a way to test the new request_timeout feature rather portably
00:19 elb0w joined #mojo
00:20 GitHub68 joined #mojo
00:20 GitHub68 [mojo] kraih pushed 1 new commit to master: http://git.io/aN25Mg
00:20 GitHub68 [mojo/master] added timeout tests for Mojo::UserAgent - Sebastian Riedel
00:20 GitHub68 left #mojo
00:20 sri testing would be appreciated
00:21 sri chances of it being used in a private network and that person running online tests seem rather small
00:24 sri i'm open for suggestions about reducing the odds further though
00:26 mire joined #mojo
00:51 hshong joined #mojo
01:15 GitHub166 joined #mojo
01:15 GitHub166 [mojo] kraih pushed 1 new commit to master: http://git.io/Y0sh8w
01:15 GitHub166 [mojo/master] better address for timeout tests - Sebastian Riedel
01:15 GitHub166 left #mojo
01:34 jnap joined #mojo
02:15 alnewkirk joined #mojo
03:02 xaka joined #mojo
03:38 Psyche^ joined #mojo
03:52 noganex joined #mojo
05:33 koban joined #mojo
06:07 mire joined #mojo
06:35 mire joined #mojo
06:56 batman joined #mojo
06:56 batman joined #mojo
07:08 alnewkirk joined #mojo
07:09 alnewkir1 joined #mojo
07:15 Vandal joined #mojo
07:23 spleenjack joined #mojo
07:24 dpetrov_ joined #mojo
07:31 Vandal joined #mojo
07:34 mire joined #mojo
07:48 alnewkirk joined #mojo
07:54 Foxcool joined #mojo
08:07 random joined #mojo
08:37 AmeliePoulain joined #mojo
08:48 berov joined #mojo
08:51 robinsmidsrod joined #mojo
08:54 ccushing joined #mojo
09:03 random joined #mojo
09:08 AmeliePoulain joined #mojo
09:08 cosmincx joined #mojo
09:14 judofyr joined #mojo
09:47 marcus sri: https://gist.github.com/1675673
09:47 marcus this is on startsiden's effed up network :)
10:00 judofyr I think sri is trying to sneak into my life… http://d.pr/YsaQ
10:05 marcus muhaha
10:05 marcus "I'm afraid I can't do that, Magnus'.
10:12 marcus hmm
10:13 marcus for some reason, this app gets unicode double encoding on version 2.45, but works fine on 1.94
10:13 marcus with the TT renderer
10:13 * marcus wonders what changed
10:20 marcus broke with 1.97
10:21 marcus 'Improved unicode handling to be more correct and less forgiving.'  seems likely to be the issue for me.
10:23 marcus now to figure out how we are doing unicode wrong..
10:26 marcus seems TTRenderer is broken with utf8 literals in template since 1.97
10:26 marcus tried making a very simple TT layout and it breaks.
10:45 crab oh, test_server disappeared?
10:50 crab ah. $t->ua->app_url('https'). ok.
10:52 marcus OOOH
10:52 marcus renderer->encoding(undef);
10:52 marcus damn you, <git blame>
10:55 crab require.js is complicated, but good.
11:15 mire joined #mojo
11:16 aghbas joined #mojo
11:26 abstract joined #mojo
11:32 baton8 joined #mojo
11:39 y0j_ joined #mojo
11:44 Alias__ joined #mojo
12:02 briang joined #mojo
12:10 diegok marcus: bootstrap2?, you mean this branch https://github.com/twitter/bootstrap/tree/2.0-wip or there is some examples to look at the changes?
12:10 marcus diegok: yes, that branch, and there's docs.
12:11 marcus diegok: http://www.markdotto.com/2012/01/24/boot​strap-2-ready-for-testing-and-feedback/
12:11 diegok marcus: thanks!
12:35 cosmincx joined #mojo
12:40 hshong joined #mojo
12:57 olav joined #mojo
12:59 kitt_vl joined #mojo
13:00 diegok marcus: it look great, besides the grid change that will make migration harder, I'm sure to be migrating my stuff to it as it looks GREAT!, love all the new butons/icons stuff :)
13:00 marcus agree
13:01 marcus the grid change makes sense for responsive layouts tho
13:02 diegok marcus: yes, I should experiment with this new responsive layout stuff also :)
13:32 sri marcus: got a better address that works i your screwed up network?
13:33 sri like 10.255.255.1?
13:33 marcus sri: I think there's some reserved addresses for testing?
13:33 sri marcus: i'm using one in the test
13:33 sri TESTNET-1
13:34 marcus RFC 3330
13:35 sri " 192.0.2.0/24         Test-Net" *cough*
13:35 kitt_vl joined #mojo
13:35 marcus hmm yes
13:37 sri rfc 5735 has more test nets
13:37 sri 198.51.100.0/24     TEST-NET-2
13:37 sri 203.0.113.0/24      TEST-NET-3
13:37 marcus sri: weird, telnet 192.0.2.1 80 times out
13:37 sri try those
13:37 marcus don't understand why the test gets connection refused
13:37 * sri shrugs
13:39 marcus actually, the test that fails isn't that one
13:39 marcus it's the telnet localhost 99999
13:40 sri Oo
13:40 marcus you are testing for Couldn't connect. but I get 'Connection refused'.
13:41 sri personal firewall?
13:41 marcus none
13:41 sri well, that test exists like forever
13:45 * marcus shrugs
13:47 sri well, the test could be relaxed if necessary, but i'd like more test results first
13:48 marcus sri: given that we use the same os, it is strange that the message should differ.
13:48 sri yes
13:48 sri and it used to work for you too
13:48 sri when you changed all the urls
13:49 Vandal joined #mojo
13:51 marcus true
13:52 sri i'm just glad the new tests work even in your screwed up network :)
13:57 marcus yupp
13:58 jnap joined #mojo
14:00 r0b3rt Has there been discussion on stash management / stash lifecycle?  If I want something in the stash for only a particular render_partial() but not for subsequence calls to render_partial().  Or is this all just "case by case" basis.
14:02 marcus r0b3rt: pass it as an argument to render_partial instead of using the stash?
14:02 marcus r0b3rt: $self->render(partial=>1, foo=>'bar') ?
14:02 r0b3rt I think args to render_partial get merged into the stash
14:03 sri http://mojolicio.us/perldoc/Mojolicious/Gu​ides/Rendering#Including_partial_templates
14:04 marcus ah, so use include instead of partial?
14:05 * marcus wasn't aware that args to render was merged into the stash automagically.
14:05 sri some get consumed by the renderer, but most get merged, yes
14:06 marcus yeah, I read the code and got enlightened
14:07 r0b3rt I think the partial template include would work but it would take some work get to the point of using it.  Thanks.
14:08 inokenty joined #mojo
14:08 dmn001 joined #mojo
14:08 kitt_vl joined #mojo
14:08 r0b3rt Not sure if "include" helper works with Mojolicious::Plugin::AlloyRenderer
14:09 marcus it should, it works with the tt renderer afaik
14:09 marcus at least there's tests for it
14:10 r0b3rt thanks, I will try it
14:11 batman marcus: i hope it's ok that i'm coming at the nordaaker party this friday
14:11 batman is it? :)
14:12 marcus batman: I think I invited you? ;-)
14:12 marcus batman: of course you're welcome.
14:13 sri PARTY!
14:14 marcus sri: are you coming as well? :)
14:14 marcus I have a guest room :p
14:15 * sri does wonder how norwegians party
14:15 marcus just sent a pull request to ask to store TT renderer cache in tmpdir by default, rather than in $home/tmp
14:15 marcus which is mighty annoying
14:16 marcus sri: come to Oslo and find out =)
14:18 Netfeed sri: well, they have to spend all that oil money on something :)
14:19 marcus Netfeed: svensk?
14:20 Netfeed aye
14:20 * marcus stalks Netfeed on github
14:21 Netfeed not that much fantastic stuff there :)
14:21 marcus coxify
14:21 marcus COCKS!
14:22 marcus I mean...
14:22 marcus purl: jerk it!
14:22 purl couldn't get the headlines: http://www.irc.perl.org/bin/jerkcity.cgi wasn't successful
14:22 marcus oh noes :'(
14:22 crab bootstrap 2.0 is in testing now
14:22 marcus someone call the irc gods, jerk city is down
14:22 Netfeed marcus: there's one or two cocks on that website :)
14:22 marcus crab: I already said that.
14:23 marcus :)
14:23 crab marcus: but it was some time ago, someone might have forgotten by now
14:23 Netfeed i want to see an example of bootstrap 2 without having to download the whole thing and test it myself
14:23 marcus Netfeed: they do have some docs and stuff for it
14:24 * marcus Netfeed: http://markdotto.com/bs2/docs/index.html
14:25 Netfeed hmm, nice
14:25 Netfeed spanks
14:26 marcus Netfeed: you're welcome, now help claes arrange the next NPW.
14:26 marcus ;-)
14:26 marcus hmm, wait, you guys had it last time already
14:26 batman marcus: sorry... got occupied :/
14:26 batman marcus: should i bring anything?
14:26 marcus batman: yeah, strippers.
14:26 marcus :)
14:26 batman what else?
14:26 purl } else { print "BAD batman! NO COOKIE!" }
14:27 marcus batman: good mood.
14:27 batman shit. guess i won't be coming then :/
14:27 crab "i brought the strippers, jfk and stalin"?
14:27 marcus we have the booze and the eats
14:27 Netfeed marcus: who and arrange what?
14:27 marcus Netfeed: http://conferences.yapceurope.org/npw2011/
14:28 marcus Netfeed: I'm not sure who's arranging it this year, but I guess it won't be the swedes :)
14:28 marcus must be the danes
14:28 sri crab: http://www.verbicidemagazine.com/wp-co​ntent/uploads/2011/09/Oxford-Comma.jpg # ;p
14:28 Netfeed heh, i highly doubt that the company i work for would send me to something like that
14:28 marcus 2010 was iceland, 2009 Oslo.
14:29 Netfeed sadly
14:29 marcus Netfeed: it's usually a weekend happening.
14:29 marcus Netfeed: aren't they paying you to do perl?
14:30 Netfeed well, tehy are technically paying me for java, but i do more work in perl the java nowdays :)
14:32 crab (sri: of course, you know that's what i was referring to)
14:32 * sri HATES THE OXFORD COMMA!
14:33 crab or "i would like to thank my parents, ayn rand and god."
14:34 Netfeed i thought there where a rule that there should never be a comma before and, and always one before but
14:34 hshong joined #mojo
14:35 sri the oxford comma does not actually change the meaning of the sentence, and is entirely optional
14:36 crab it does too change the meaning of the sentence!
14:36 sri nope, doesn't
14:36 koban left #mojo
14:36 sri meaning comes from context
14:36 sri you can't hear the oxford comma when someone says the sentence either
14:37 kitt_vl joined #mojo
14:37 Netfeed depends if you make a noticeable pause between "jfk" and "and"
14:38 sri http://gravityfalls.wordpress.com/201​1/09/22/the-oxford-comma-is-bullshit/
14:38 crab oh, a blog post on the internet. i must be wrong then.
14:39 sri :D
14:39 Netfeed everything on the internet is true
14:39 purl i already had it that way, Netfeed.
14:42 amoore joined #mojo
14:43 Netfeed doesn't the oxford comma give some clarity in some cases though? "i came to the party with the strippers, jfk and stalin, and had a blast" or "i came to the party with the strippers, jfk, and stalin and had a blast"
14:44 Netfeed hmm, not really the same sentences though
14:45 crab netfeed: i suggest we stop talking about commas now, oxford or otherwise
14:46 Netfeed awh :(
14:47 marcus sri: ask jester, I think he's a oxford comma fan.
14:53 Netfeed boostrap 2.0 seems really sweet
14:56 vel joined #mojo
15:12 mattastrophe joined #mojo
15:23 abstract joined #mojo
15:33 aghbas joined #mojo
15:38 kaare joined #mojo
16:28 jnap_ joined #mojo
16:29 jnap joined #mojo
16:30 judofyr joined #mojo
16:40 cosmincx joined #mojo
16:45 hshong joined #mojo
16:53 xaka joined #mojo
17:10 grim_fandango joined #mojo
17:22 sri i think a release would make sense soonish
17:22 sri quite a few small test improvements i'd like to see on cpantesters
17:23 crab shall i?
17:24 jnap_ joined #mojo
17:25 jnap joined #mojo
17:35 crab no?
17:35 purl or a built-in
17:35 crab ok, a built-in then.
18:04 vel joined #mojo
18:04 judofyr joined #mojo
18:14 xaocon joined #mojo
18:15 sri crab: sure
18:17 * crab does.
18:20 Foxcool joined #mojo
18:21 GitHub12 joined #mojo
18:21 GitHub12 [mojo] amenonsen pushed 1 new commit to master: http://git.io/r35lYg
18:21 GitHub12 [mojo/master] Bump VERSION after release - Abhijit Menon-Sen
18:21 GitHub12 left #mojo
18:26 marcus Yay.
18:30 sri don't forget the tweet
18:37 * sri sneezes
18:40 crab done.
18:40 sri crab++
18:45 memowe \o/
18:57 mire joined #mojo
19:05 GitHub118 joined #mojo
19:05 GitHub118 [mojo] kraih pushed 1 new commit to master: http://git.io/XiZKpg
19:05 GitHub118 [mojo/master] more dots - Sebastian Riedel
19:05 GitHub118 left #mojo
19:31 sri marcus: looks like there are patches for EV again
19:32 sri http://lists.schmorp.de/piper​mail/libev/2012q1/001721.html
19:35 sri and confirmed
19:35 buu joined #mojo
19:35 sri the first patch to libev makes it work
19:36 sri and i get a few more rps with 4.10 :)
19:37 sri from 1760 to 1830
19:37 jnap_ joined #mojo
19:47 batman joined #mojo
20:06 marcus sri: will be interesting to see what marc says.
20:07 sri yea, i find it especially interesting that the second patch makes it compile with clang
20:09 sri marcus: open webos in september btw
20:09 marcus Sri: so far away :-/
20:35 kitt_vl joined #mojo
20:36 batman joined #mojo
20:37 batman joined #mojo
21:05 jnap joined #mojo
21:26 briang joined #mojo
21:31 jnap joined #mojo
21:36 mire joined #mojo
21:38 batman joined #mojo
22:07 vel joined #mojo
22:08 GabrielVieira joined #mojo
22:09 batman joined #mojo
22:34 GabrielVieira I'm trying "plugin Mount => { '/search' => 'lib/App/Search.pm' };" where Search.pm is a mojolicious::lite app (once these was the only solution I found to have mojolicious::lite routes in another file) but nothing happens
22:41 GabrielVieira also tried detour, no success
22:43 Alias__ joined #mojo
22:50 GabrielVieira Got working following these instructions: http://search.cpan.org/~ams/Mojoliciou​s-2.46/lib/Mojolicious/Lite.pm#Growing
22:50 GabrielVieira thanks
23:00 kitt_vl joined #mojo
23:06 Mojo-padawan joined #mojo
23:09 Alias joined #mojo
23:09 Mojo-padawan I'm trying to interpolate a string into a mojo template with a table. The problem is that the tr and td tags are rendered as "&lt;tr&gt" and "&lt;td&gt" respectively. Has anyone else encountered this?
23:10 vel joined #mojo
23:10 GabrielVieira Why route('/search/:action')->to('search#index') routes to searchaction and gives me 404 and route('/search/:actionx')->to('search#index') routes to searchactionx and works?
23:14 elb0w joined #mojo
23:17 GabrielVieira Mojo-padawan: <%== "<tr>" %>
23:18 GabrielVieira use double =
23:25 grim_fandango joined #mojo
23:55 vel joined #mojo

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