Camelia, the Perl 6 bug

IRC log for #mojo, 2012-02-20

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

All times shown according to UTC.

Time Nick Message
00:19 Alias joined #mojo
00:52 briang joined #mojo
01:02 d4rkie joined #mojo
01:07 Mad_Dud joined #mojo
01:18 scott joined #mojo
02:10 d4rkie joined #mojo
02:11 tempire test
02:16 tempire iPad test
02:17 tempire \o/
02:18 sri pass
02:18 sri \o/
02:18 tempire ok, I'm sold on limechat for the desktop and ipad now
02:19 tempire colloquy always messes up unicode in the status
02:19 tempire what's the next holiday coming up?
02:22 sri http://twitpic.com/8m88nv/full # my limechat setup now
02:22 tempire oooh, embedded image display
02:22 tempire I don't particularly care for the look of the separators.
02:22 tempire but that's the only thing.
02:22 tempire where's that theme?
02:23 sri yea, wish i could theme the separators
02:23 sri i've not shared the theme yet
02:24 tempire all I care about is antialiasing the sidebars
02:25 tempire oh, just css.
02:25 tempire well hell.  no wonder everyone loves css.
02:25 tempire s/css/limechat/
02:25 sri https://gist.github.com/1867328
02:25 sri there it is
02:26 sri <3 Consolas
02:28 tempire that theme has light background sidebars for me.
02:28 sri reload
02:28 sri or restart
02:28 tempire tried that
02:29 alnewkirk joined #mojo
02:33 sri i just switched between multiple themes, works perfect here
02:34 tempire lies
02:39 tempire oh
02:39 tempire I didn't see the yaml file
03:05 Elraraniel joined #mojo
03:07 Elraraniel left #mojo
03:20 d4rkie joined #mojo
04:22 ki0 joined #mojo
04:56 Foxcool joined #mojo
05:03 jamesw joined #mojo
06:08 spleenjack joined #mojo
06:25 lammel2 joined #mojo
06:36 migo joined #mojo
07:31 kitt_vl joined #mojo
07:43 batman joined #mojo
07:51 keedi joined #mojo
07:54 alnewkirk joined #mojo
07:55 berov joined #mojo
07:56 AmeliePoulain joined #mojo
08:05 ki0_ joined #mojo
08:30 black joined #mojo
08:33 AmeliePoulain joined #mojo
08:41 marcus good morning, fellow mojos
08:45 berov good is it really :)
08:58 marcus no
09:01 AmeliePoulain joined #mojo
09:15 cosmincx joined #mojo
09:24 ki0_ joined #mojo
09:44 black joined #mojo
09:46 trek1s joined #mojo
10:38 daxim joined #mojo
10:50 trek1s joined #mojo
10:53 * sri yawns
11:01 judofyr joined #mojo
11:05 mdom joined #mojo
11:05 Drossel joined #mojo
11:29 mdom Hi, i'm using DBIx::Connector with Mojo, and sometimes user submit crazy query that take so long that http timeouts before that ... but my mojo process has still a lock on the database ... any way to run some code in that case to kill that query?
11:53 black joined #mojo
12:04 briang joined #mojo
12:16 sri http://blog.kraih.com/mojolicious​-hack-of-the-day-more-anyevent-oh # new hack
12:18 marcus https://github.com/seedifferently/the​-great-web-framework-shootout/pull/11
12:19 marcus I guess we're happy to stay out of this one.
12:19 sri indeed :D
12:19 marcus The only interesting thing there is how incredibly slow php frameworks are
12:19 marcus but then they don't have startup-phase
12:20 marcus and you can probably use a php accelerator to speed them up.
12:20 sri not interesting, prolly misleading
12:20 marcus yeah
12:20 marcus http://en.wikipedia.org/wiki/PHP_accelerator - probably not using this
12:21 sri needs meme
12:21 sri "one does not simply scale"
12:22 marcus fastly
12:25 Netfeed wouldn't it be better to fix the language then to write accelerators?
12:25 sri the language is a lost cause
12:25 Netfeed kinda like facebooks "let's compile oour php to c for greater good"
12:25 sri http://www.reddit.com/r/lolphp/
12:25 marcus wat
12:27 Netfeed well, you can't get too much out of a language created by a guy who hates programming
12:30 judofyr that's a seriously terrible benchmark
12:30 noganex joined #mojo
12:30 judofyr not only doesn't it have a distinction of server vs framework
12:31 judofyr but it also uses plain req/s without showing *how* those requests are done. in serial? concurrent? keep-alive?
12:33 sri BUT SENSIBLE BENCHMARKS ARE HARD!
12:34 marcus loving how some use DBI-like directly, while others use an ORM
12:34 marcus really fair
12:35 marcus the go one doesn't even have a database request. guess they are testing 404.
12:36 marcus I see the catalyst one uses DBIC...
12:37 Netfeed well, do you have any other choice then using an ORM in rails for example?
12:37 marcus yes.
12:38 marcus I would say this is a textbook example of how to not do benchmarks.
12:38 marcus sri: one does not simply scale into mordor?
12:38 judofyr I mean, it fails on so many levels
12:38 judofyr I'm impressed
12:40 d4rkie joined #mojo
12:47 * sri updates blog post with reference to catalyst
12:50 crab why do people do such stupid shit?
12:50 d4rkie joined #mojo
12:51 marcus sri: catalyst supports non-blocking now?
12:51 d4rkie joined #mojo
12:51 sri at least that's what i've heard
12:52 marcus sri: seems more like they are working on it.
12:53 marcus This change is as a prequel to full asynchronous support inside Catalyst  for AnyEvent and IO::Async backends, which allow highly scaleable streaming  (for applications such as multi-part XML HTTPRequests, and Websockets).
12:53 alnewkirk joined #mojo
12:53 marcus that's the last mention of async in their changes file
12:54 sri t0m said they do in #catalyst
12:56 sri the example only requires vry limited capabilities
12:56 marcus right.
12:56 marcus good stuff.
12:56 purl good stuff. are you writing tests for euler_bench :)
12:56 sri psgi.streaming, that's pretty much it
12:57 judofyr hehehe, PHP parses "echo(1) and print(2);" aa "echo(a and print(2));"
12:57 marcus lols
12:57 dpetrov_ joined #mojo
12:57 marcus php is such a wtfbbq
12:58 sri PHP HAS CHARACTER!
12:59 judofyr sri: btw, I'm tempted to try to build something on JRuby + actors. there's quite a lot of fibers/coro stuff on the JVM…
12:59 sri Akka! *drool*
13:00 marcus fiber coros
13:00 judofyr there's Akka, Kilim, Jetlang, Actors Guild, Actor Foundry at least
13:02 judofyr Kilim is probably the fastest, but require bytecode weaving (which isn't that good for JRuby)
13:02 judofyr Jetlang seems interesting
13:03 noganex_ joined #mojo
13:03 black joined #mojo
13:09 d4rkie joined #mojo
13:24 d4rkie joined #mojo
13:37 smpb joined #mojo
13:44 ki0 joined #mojo
13:50 GabrielVieira joined #mojo
13:53 GitHub66 joined #mojo
13:53 GitHub66 [mojo] kraih pushed 1 new commit to master: http://git.io/n2BRpw
13:53 GitHub66 [mojo/master] fixed bug that prevented Mojo::IOLoop from dying when started twice - Sebastian Riedel
13:53 GitHub66 left #mojo
13:54 sri i accidentally the marcus protection
14:04 inokenty joined #mojo
14:06 marcus oh nos
14:10 hshong joined #mojo
14:17 Kulag joined #mojo
14:19 mdom Isn't it possible to call app->config in Mojolicious::Lite?
14:19 amoore joined #mojo
14:19 mdom http://search.cpan.org/dist/Mojolicious/lib​/Mojolicious/Guides/Cookbook.pod#Hypnotoad
14:19 marcus mdom: my $config=plugin 'config'; ?
14:20 marcus oh, but you should be able to call app->config
14:21 mdom My copy of mojolicious::lite does not even mention config... :)
14:21 marcus mdom: '$ mojo version' ?
14:22 mdom Mojolicious (2.46, Leaf Fluttering In Wind)
14:23 marcus mdom: ->config was added in 2.47 ;)
14:24 mdom arg
14:24 mdom I just tries to cpanm Mojo ... but the dist is called Mojolicious... :)
14:25 marcus yes
14:25 marcus (note that 2.47 is also the version that deprecates hypnotoad.conf)
14:27 * sjn just found this: https://github.com/seedifferently​/the-great-web-framework-shootout
14:27 Netfeed marcus: it's deprecated?
14:29 marcus Netfeed: yes. there is now a $app->config->{hypnotoad} section.
14:29 marcus sjn: yes, we've been laughing at that one all morning.
14:31 Netfeed i had no idea, thank you for pointing this out
14:31 mdom Is it possible to use hypnotoad with daemonizing?
14:31 Netfeed isn't that default?
14:32 mdom At least not here
14:33 mdom Ah $ENV{HYPNOTOAD_FOREGROUND}
14:34 marcus Netfeed: it warns when you start it.
14:34 * sjn reads backlog
14:35 GitHub15 joined #mojo
14:35 GitHub15 [mojo] kraih pushed 1 new commit to master: http://git.io/-aDCsw
14:35 GitHub15 [mojo/master] removed experimental status from config method in Mojo - Sebastian Riedel
14:35 GitHub15 left #mojo
14:35 sri no point keeping it experimental, it will get used heavily
14:36 Netfeed marcus: ah, i'm using 2.38 :)
14:36 Netfeed live
14:38 sri you're missing out on a lot of cool stuff
14:39 sri https://github.com/kraih/mo​jo/blob/master/Changes#L204
14:39 Netfeed i have the newest version on the dev box
14:39 sri you're 200 lines behind!
14:39 Netfeed and it worked nicely to update live too :)
14:40 Netfeed (thank god for that, i wouldn't be able to fix anything at work anyway:)
14:41 sri 2.38 is still within the minimum deprecation period, so i wouldn't expect anything else ;)
14:41 Netfeed heh :)
14:42 Netfeed is mojolicious one of the perl libs which is released most often?
14:42 sri prolly
14:42 sri we are slowing down though
14:43 sri at least we're trying :D
14:43 Netfeed i wouldn't call two releases the same day for slowing down :P
14:44 sri well, that was special, i wanted a bugfix to get out
14:45 Netfeed i understand that, was just joking :)
14:47 sri :)
14:52 marcus Netfeed: sri is "special" ;-)
14:53 Netfeed i've come to understand this :)
14:53 sri -.-
15:06 sri oh, i think the FILENO warning during TLS tests might be gone in the latest IO::Socket::SSL version
15:07 sri no it's not :/
15:07 sri little less often maybe
15:13 spleenjack joined #mojo
15:13 marcus sri: $self->req->params does not get uploads?
15:13 sri nope
15:26 kaare joined #mojo
15:45 sh4 joined #mojo
15:48 briang joined #mojo
15:55 cosmincx joined #mojo
15:57 ki0 joined #mojo
16:05 marcus my $values = { map { $_ => $this->param($_) } $this->param }; # there I fixed it.
16:07 trek1s joined #mojo
16:08 sh4 joined #mojo
16:39 mojobot5762 joined #mojo
16:45 cosmincx joined #mojo
16:48 briang joined #mojo
16:53 * tempire cold boots
16:56 sh4 joined #mojo
16:59 marcus tempire: good morning.
16:59 purl For you maybe.
16:59 * tempire shines
17:00 marcus tempire: I put on my robe and wizard hat.
17:00 tempire I don't know what that means.  But it sounds kinky.
17:01 marcus tempire: http://www.albinoblacksheep.com/text/bloodninja
17:02 marcus it's a classic!
17:03 tempire "I gotta write down your names or something"
17:03 tempire lulz.
17:42 marcus hmpf
17:43 marcus tempire: booting?
17:43 purl i heard booting was not a problem; darkuncle is just confused on how to use OBSD fdisk and disklabel to fix darkuncle's problem
17:51 tempire cold booting: waking up from a night's sleep
17:52 batman joined #mojo
18:15 mdom left #mojo
18:20 fibo joined #mojo
18:20 batman left #mojo
18:26 batman joined #mojo
18:50 Mad_Dud joined #mojo
19:08 mattastrophe joined #mojo
19:11 briang joined #mojo
19:13 Mad_Dud joined #mojo
19:16 bobkare joined #mojo
19:24 ccushing I want to simulate an inbound request for a test, specifically named url parameters, how would I add the parameters to the request object?
19:32 batman $t->get_ok('/foo?bar=123') ?
19:34 batman maybe i don't get "inbound" :/
19:35 briang joined #mojo
19:46 ccushing I'm composing a request object by hand, so that some other API I write can accept a request object
19:46 ccushing but I need to test giving it one
19:47 ccushing I have one currently but it doesn't have named parameters
19:51 ccushing http://privatepaste.com/682e3a67d5
19:51 ccushing that's what I've done so far
19:53 ccushing but trying to figure out what I should do to make the req object seem as if it hand been created while handling this route
19:53 ccushing $a->get   ('/user/:user_id/alt_email/(.ema​il)')->to('User#get_alt_email');
20:08 briang joined #mojo
20:10 Kulag joined #mojo
20:20 Drossel joined #mojo
20:30 vel joined #mojo
20:38 lukep joined #mojo
20:44 paul interesting hack of the day
20:44 ccushing http://privatepaste.com/cb906d406c
20:44 ccushing further attempt
20:44 ccushing but not for some reason the params still aren't being populated in the request object
20:48 ccushing there might be another way to do it completely
20:59 Netfeed what's the best way to get the current pages full url?
21:09 gabriel joined #mojo
21:09 d4rkie joined #mojo
21:20 batman Netfeed: $url->to_abs; ?
21:22 Netfeed ah, sorry, im within a template
21:24 batman $self->tx->req->url->to_abs; ?
21:24 Netfeed i'll try that
21:25 batman btw: it will also contain basic auth if you use that...
21:25 batman like http://user:pass@...
21:26 Netfeed awesomesauce
21:26 Netfeed it worked nicely, thank you
21:27 Netfeed stupid facebook like-buttons requires an og:url
21:28 batman :)
21:29 bobkare joined #mojo
21:45 d4rkie joined #mojo
21:57 * tempire hearts marcus and arne
22:02 sri sup?
22:02 purl Yo dawg
22:46 Mad_Dud joined #mojo
22:53 trek1s joined #mojo
22:54 tempire I wish limechat had the ability to notify keywords per channel
22:55 tempire I want to get notified when mojolicious is mentioned, but not in this channel
22:55 sri mojo mojo mojo
23:20 Alias joined #mojo
23:34 Alias_ joined #mojo
23:42 * chansen is bored

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