Camelia, the Perl 6 bug

IRC log for #mojo, 2013-03-13

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

All times shown according to UTC.

Time Nick Message
00:15 tagg joined #mojo
00:16 tempire hm
00:22 MeierM joined #mojo
00:38 shmuel joined #mojo
00:41 tagg joined #mojo
01:00 freman probably wouldn't be sane to run resque and mojo in the same app huh :D
01:02 egopro joined #mojo
01:06 bpmedley_ joined #mojo
01:07 bpmedley_ left #mojo
01:13 hlin joined #mojo
01:15 bpmedley joined #mojo
01:15 ka2u joined #mojo
01:36 d4rkie joined #mojo
01:38 drift joined #mojo
01:45 mattastrophe joined #mojo
02:16 freman ah I get it
02:16 freman my $home = PhotoShow->home(); doesn't work, my $app = new PhotoShow(); $app->home() does
02:19 Averna joined #mojo
02:28 mattastrophe joined #mojo
02:35 asarch joined #mojo
02:54 KindOne joined #mojo
03:06 mattastrophe joined #mojo
03:58 xaka joined #mojo
04:48 preflex_ joined #mojo
05:03 ka2u joined #mojo
05:30 tempire freman: PhotoShow->new->home;
05:44 basiliscos joined #mojo
06:30 lukep joined #mojo
06:38 toebu joined #mojo
06:40 toebu_ joined #mojo
06:50 yakudza joined #mojo
06:56 wk joined #mojo
06:58 d4rkie joined #mojo
07:19 dod joined #mojo
07:19 Vandal joined #mojo
07:22 dpetrov_ joined #mojo
07:28 jzawodn joined #mojo
07:30 dod joined #mojo
07:52 hydrauligsepp joined #mojo
07:52 hydrauligsepp left #mojo
08:20 suy joined #mojo
08:21 fhelmber_ joined #mojo
08:32 keedi joined #mojo
08:45 alnewkirk joined #mojo
08:52 wk joined #mojo
09:11 hrupp joined #mojo
09:16 ver joined #mojo
09:39 jpn joined #mojo
09:48 Fremean joined #mojo
09:57 nelio joined #mojo
10:09 mire joined #mojo
10:11 mattastrophe joined #mojo
10:31 n0n joined #mojo
10:34 n0n hi. today I came across the ajax xhr 401 problem. *grml*.... anyway after much reading, I think 403 could be a solution. sadly I've to patch M:P:BasicAuth therefore.... any ideas?
10:47 bowtie_ joined #mojo
10:58 mugenken joined #mojo
10:59 mire joined #mojo
11:03 mattastrophe joined #mojo
11:13 mattastrophe joined #mojo
11:51 n0n joined #mojo
11:53 SmokeMachine joined #mojo
12:01 n0n 401 opens those ugly auth dialogs...
12:01 mattastrophe joined #mojo
12:03 bowtie_ joined #mojo
12:08 yakudza Hello ppl I want to run some parallel task with Mojolicious that use Anyevent XMPP and in infinty loop. Is there any way to add it as a plugin?
12:12 mire joined #mojo
12:17 yakudza seems like I should add some IO stream to mojo io loop
12:17 yakudza am I right ?
12:39 bowtie joined #mojo
12:41 dotan joined #mojo
13:02 snuffles joined #mojo
13:11 hrupp yakudza: Mojo::IOLoop->recurring(15 => sub {...}); in your startup maybe
13:15 yakudza hrupp, in mojolicious sub startup ??
13:15 hrupp yes there
13:15 yakudza thanks
13:16 hrupp you're welcome
13:17 gargamel joined #mojo
13:22 bluescreen joined #mojo
13:29 gargamel hi - (how) can i just process a template with stash values and save it in a variable, without outputting anything? everyting i tried until now sends the result straight to the browser ...
13:30 crab render_partial(...)
13:36 gargamel so  my $html = $self->render_partial('foo');  ... yadda;  $self->render(text => $html);
13:36 gargamel seems to work
13:36 btyler joined #mojo
13:36 gargamel is it correct, too? :)
13:37 crab yes.
13:37 gargamel cool
13:37 gargamel thanks crab!
13:38 moltar joined #mojo
13:40 crab you're welcome.
13:54 gryphon joined #mojo
13:59 maxhq joined #mojo
14:03 Flibble2736 joined #mojo
14:07 alester joined #mojo
14:13 d4rkie joined #mojo
14:20 sh4 joined #mojo
14:23 mire joined #mojo
14:39 mugenken_ joined #mojo
14:55 lammel2 joined #mojo
15:02 bd hmpf, forgot the "state" in my model lazy initializer helper and was wondering why the heck it did open a new ldap connection every request ;)
15:05 GabrielVieira joined #mojo
15:07 arthas joined #mojo
15:17 Molaf__ joined #mojo
15:21 maxhq joined #mojo
15:34 suy Do the embedded templates require something special to work (if they work) on Perl 5.10?
15:35 suy yesterday I deployed the default output of `mojo generate lite_app` to openshift (that uses 5.10 and CGI as I understood), and it was complaining that could not find index.html.ep
15:35 btyler joined #mojo
16:01 basiliscos joined #mojo
16:05 nic suy: It has to be 5.10.1 or higher
16:07 suy nic: it seems to be that, 5.10.1
16:09 xaka joined #mojo
16:10 nicky joined #mojo
16:11 mire joined #mojo
16:13 gargamel left #mojo
16:26 labrown joined #mojo
16:27 suy Is possible that some additional module is needed? I had to install Time::HiRes to make it work.
16:27 sri that means your perl is broken
16:27 sri Time::HiRes is a core module
16:29 suy was it on 5.10? (totally ignorant)
16:29 sri "corelist Time::HiRes"
16:30 suy I'm totally new to Perl and OpenShift. I assumed they probably had an old version of Perl since they use RHEL, and is probably released a long while ago. But it would surprise me they have a broken Perl.
16:31 sri RHEL is known to ship broken perls you have to fix first
16:31 crab RHEL having a broken perl is the least surprising thing i can think of right now
16:32 suy ouch :-)
16:33 suy It's a pity then. OpenShift looks very nice, and it gave me confidence that they support Perl explicitly.
16:34 nicomen nothing can be very nice if it uses RHEL
16:34 snuffles joined #mojo
16:35 sri most linux distros ship old busted perls, the lesson here is not to depend on the system perl
16:36 suy Wow. That surprises me. I've been using Debian for a while, and I wasn't aware of such things.
16:36 crab suy: it's easy to install a nice non-system perl of a recent vintage using perlbrew
16:37 Vandal what can I use like bridge but after main action?
16:37 suy crab: thank you. I thought so, but I wanted to avoid having to learn yet another thing. I will try it ASAP.
16:38 Vandal or at least after any action
16:38 nicomen https://github.com/kraih/mojo/wiki/T​he-way-to-install-newer-version-perl
16:38 suy "Time::HiRes was first released with perl 5.007003" # On OpenShift. Weird...
16:39 sri RedHat breaks up perl into smaller packages, and doesn't install some of them by default
16:39 sri it's pretty bad
16:40 sri nothing beats Android though... where they completely ripped out Encode
16:41 newbie joined #mojo
16:44 newbie11 joined #mojo
16:48 newbie joined #mojo
17:02 wk joined #mojo
17:04 yakudza joined #mojo
17:05 inokenty joined #mojo
17:12 SmokeMachine joined #mojo
17:20 komodo joined #mojo
17:37 snuffles joined #mojo
18:07 fhelmber_ joined #mojo
18:11 tempire marcus: know anything about running an oauth2 server?
18:24 snuffles joined #mojo
18:29 mattastrophe joined #mojo
18:30 suy joined #mojo
18:32 snuffles joined #mojo
18:36 snuffles joined #mojo
18:43 fhelmber_ joined #mojo
18:49 jnbek^dt joined #mojo
18:52 bluescreen joined #mojo
19:08 sivoais joined #mojo
19:11 jnbek^dt joined #mojo
19:19 priodev joined #mojo
19:19 jnbek^dt joined #mojo
19:24 batman joined #mojo
19:24 rafl_ joined #mojo
19:28 sivoais joined #mojo
19:31 mattastrophe joined #mojo
19:35 mire joined #mojo
19:41 sivoais joined #mojo
19:41 jberger_atwork joined #mojo
19:41 jberger_atwork o/
19:42 jberger_atwork read the backlog and saw the link to the perlbrew page on our wiki
19:42 jberger_atwork it was looking a little stale, so I updated
19:42 jberger_atwork enjoy!
19:42 jberger_atwork https://github.com/kraih/mojo/wiki/T​he-way-to-install-newer-version-perl
19:43 sri \o
19:45 jberger_atwork and now I added a note about -j :-)
19:45 jberger_atwork sri, its been quiet lately
19:46 sri jberger++
19:46 sri my irc has been quiet in general recently
19:47 jberger_atwork I suspect there is lots of traffic but the IRC gnomes are eating more than their usual share of it
19:47 sri it will get even more quiet during the summer
19:47 sri winter is usually irc season ;)
19:47 jberger_atwork I'm liking the quiet now honestly
19:47 jberger_atwork my thesis defense is coming up fast! :O
19:48 jberger_atwork anyway, off to the rare interesting sounding colloquium
19:48 jberger_atwork o/
19:49 sri Bender: trust jberger_atwork
19:49 Bender OK, sri
19:49 sri oh, it works again \o/
19:51 * jberger_atwork slaps Bender with a fish
19:52 sivoais joined #mojo
19:55 maxhq1 joined #mojo
19:56 basiliscos joined #mojo
20:00 wk_ joined #mojo
20:02 _t[R]oll joined #mojo
20:02 TitanOfO1d joined #mojo
20:02 rakshasa joined #mojo
20:02 janliese1dahl_de joined #mojo
20:03 jnbek_ joined #mojo
20:03 good_news_everyone joined #mojo
20:03 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/pjhAhg
20:03 good_news_everyone mojo/master 4034235 Sebastian Riedel: a few more references
20:03 good_news_everyone left #mojo
20:03 robins joined #mojo
20:04 preaction_ joined #mojo
20:04 lucs_ joined #mojo
20:04 andrefs_ joined #mojo
20:04 geck_ joined #mojo
20:05 rwstaune` joined #mojo
20:05 Fatalnix_ joined #mojo
20:05 jmmills_ joined #mojo
20:05 tardisx` joined #mojo
20:05 DaTa_ joined #mojo
20:05 janus` joined #mojo
20:07 bjoernfan joined #mojo
20:09 ZadYree joined #mojo
20:22 gabiruh joined #mojo
20:28 JiYu joined #mojo
20:29 basiliscos joined #mojo
20:29 chansen joined #mojo
20:35 nic joined #mojo
20:35 SmokeMachine joined #mojo
20:35 gryphon joined #mojo
20:35 bowtie joined #mojo
20:35 alnewkirk joined #mojo
20:35 keedi joined #mojo
20:35 Adura joined #mojo
20:35 marty joined #mojo
20:35 al joined #mojo
20:35 charsbar__ joined #mojo
20:35 tokuhirom joined #mojo
20:35 priodev joined #mojo
20:35 augensalat joined #mojo
20:35 dotan joined #mojo
20:37 phillipadsmith joined #mojo
20:40 lukep joined #mojo
20:41 marty starcraft 2 graphics are insane
20:42 marty 2560x1440 on my thunderbolt display and they are crystal clear.  fun fun fun
20:43 jnbek joined #mojo
20:43 sri :)
20:46 Akron joined #mojo
20:48 Akron Why is Mojo::Headers->header('foobar') returning an array of array references? I don't understand the references.
20:50 sri a header value can span multiple lines
20:50 Akron Yes, but I tried to parse it and it returns everything as a single line ...
20:51 sri now i don't understand
20:54 Akron sri: There are multiple lines and they are interpreted as one line ... https://gist.github.com/Akron/bf5405eabae8d3e590da
20:58 sri maybe it's broken
21:00 sri oh yea, it's not actually supported in the parser
21:00 Akron But - is it even useful?
21:00 sri return value must be legacy then
21:00 Akron Okay.
21:01 Akron Something to get rid off with 4.0. ;)
21:01 sri hmm
21:01 sri wonder how much code it would break
21:02 berov joined #mojo
21:04 Akron It's hard to deprecate it and I think from all the Mojo::Headers methods, 'header' should be used quite often - especially for the X-Stuff.
21:05 Akron s/it //;
21:07 sri it might be in use for building messages
21:07 nelio joined #mojo
21:11 Akron On another topic: Is support for Web Linking on the road map? https://tools.ietf.org/html/rfc5988
21:12 sri nope
21:13 Akron Okay.
21:14 Akron Thanks for your clarification regarding header() - I will simply ignore the rest of the array references.
21:18 BeDa joined #mojo
21:24 sri hmm, breaking it seems to have no performance benefit, so might as well just fix it
21:26 sri it is entirely untested though :o
21:47 perlite_ joined #mojo
21:49 good_news_everyone joined #mojo
21:49 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/FuZb2w
21:49 good_news_everyone mojo/master f43d247 Sebastian Riedel: fixed bug in Mojo::Headers that prevented multiline headers from being parsed correctly
21:49 good_news_everyone left #mojo
21:49 sri ok, that should be fixed
21:55 sri hmmm
21:55 sri to_hash seems broken too
21:55 sri not sure what to do about that though
21:55 gabiruh joined #mojo
21:56 sri documentation says to_hash(1) should enable nested arrays for multiline values, but to_hash() also uses nested arrays for multiline values
22:03 freman joined #mojo
22:10 good_news_everyone joined #mojo
22:10 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/1AvwSQ
22:10 good_news_everyone mojo/master f57a325 Sebastian Riedel: fixed multiline header support in hash representation of Mojo::Headers
22:10 good_news_everyone left #mojo
22:10 sri i suppose multiline headers are so rare that nobody ever noticed it
22:11 freman hehe I fixed a bug like that here yesterday, the testers, management, everyone has always operated in the quickest of the two ways to do the testing, no-one noticed if you first went the quick way, then the normal way it changed the outcome
22:25 ka2u joined #mojo
22:37 cstamas joined #mojo
22:44 jzawodn joined #mojo
22:49 Akron joined #mojo
22:52 Akron sri: Thanks. At least it's now tested. :)
22:57 Meiermann joined #mojo
23:03 good_news_everyone joined #mojo
23:03 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/i0ci3w
23:03 good_news_everyone mojo/master 49fddaf Sebastian Riedel: fixed cloning bug in Mojo::Headers
23:03 good_news_everyone left #mojo
23:04 sri Mojo::Headers tests were really lacking
23:05 jnbek joined #mojo
23:09 jnbek joined #mojo
23:12 jpn joined #mojo
23:18 rem_lex|pivo joined #mojo
23:24 sri WTF?!!!
23:24 sri google reader is shutting down :o
23:30 Akron I'm using rssLounge for months now and I'm pretty happy. But shutting it down is a damn stupid idea - if there is one service on the web used by all journalists around the globe, it's google reader. That will result in a lot of bad press.
23:37 Akron The new cloning method looks a lot better.
23:38 sri it will make a lot of people realize that depending on free google services is a really bad idea
23:38 rakshasa sri++
23:42 Akron Fortunately Dave Winer not only invented RSS but also gave us OPML - so we can easily transfer to other services. :)
23:53 Akron joined #mojo
23:55 Akron But it's funny how bad this company - that made its fortune with the open web - became in supporting it, since they try to be more like Facebook.

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