Camelia, the Perl 6 bug

IRC log for #mojo, 2011-12-26

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

All times shown according to UTC.

Time Nick Message
00:44 marty joined #mojo
01:05 d4rkie joined #mojo
01:25 tempire marcus: do you have some sort of asset pipeline already developed in your company toolkit?
01:49 j3nnn1 left #mojo
02:11 xaka joined #mojo
02:18 alnewkirk joined #mojo
02:44 MojoGuest990 joined #mojo
02:44 MojoGuest990 From: http://atom/mediawiki/index.php/ToDo (1 hits)
03:00 alnewkirk joined #mojo
03:37 Psyche^ joined #mojo
03:47 xxtjaxx joined #mojo
03:49 xxtjaxx Hi! o I deployed this application with CGI and when it requests a file from the public folder it prepends /app.pl/ for example /app.pl/css/style.css. Can I avoid this?
03:51 xaka joined #mojo
05:21 rsimoes rewrite rules
05:21 purl rewrite rules are pretty sipmle
05:53 osprey joined #mojo
06:35 Topic for #mojo is now Mojolicious real-time web framework ūüéÖ ¬†http://mojolicio.us/ ūüéÖ http://irclog.perlgeek.de/mojo/today ūüéÖ ¬†Prepare for Mojocalypse
06:56 sugar joined #mojo
07:00 koban joined #mojo
08:00 Vandal joined #mojo
08:07 tempire marcus, crab, sri
08:07 tempire anyone home?
08:07 tempire echo echo echo
08:13 ysyrota joined #mojo
08:13 Vandal joined #mojo
08:56 sugar_ joined #mojo
09:25 marcus Hello, tempire
09:25 tempire Hello!
09:26 tempire I wanted a reviewer.  But I got anxious.
09:26 marcus For what?
09:26 purl for fun.
09:26 tempire mojocasts.com/e5
09:27 marcus I have been overeating and drinking for the past few days
09:28 tempire figured as much.  I never really celebrated Christmas, so the world seems dead to me.
09:28 spleenjack joined #mojo
09:37 marcus Tempire: e5 is great.
09:44 kaare joined #mojo
09:51 rsimoes omg
09:51 rsimoes omgomgomg
09:51 rsimoes who's awake
09:51 purl awake is one thing.  Still most of us need a reasonable ammount of down time to keep functional.
09:51 rsimoes I did a trick
09:51 rsimoes a tricky trick
10:03 tempire marcus: thanks :)
10:08 marcus Rsimoes: what?
10:09 sri good morning
10:09 purl Lies!
10:10 rsimoes my %hash = ( Ľfoo "bar");
10:10 rsimoes say keys %hash; # foo
10:10 sri overeating and drinking sums up yesterday for me pretty well too
10:11 sri oh my, a mojocast, that's exactly what i wanted for xmas \o/
10:14 rsimoes https://github.com/rsimoes/oddcla‚Äčm/blob/master/t/quote/01-basic.t
10:20 sri tempire: looks great
10:21 sri tempire: got a title image i can blog?
10:46 sri oh  know, i'm just gonna quote tempires blog post
10:46 sri *+i
10:53 tempire sri: emailz
10:56 tempire or http://empireenterprises.com/skitch//m‚Äčojocast_5b_splash-20111226-025543.jpg
11:01 sri image is a little big, but added it :)
11:01 sri tempire++
11:03 tempire this one was a doozy
11:03 tempire ran into the upper limits of imovie
11:03 tempire time to move to final cut
11:05 sri hmm, should my blog link to your blog or the cast?
11:05 tempire cast
11:05 tempire I only create the blog entry for formality and exposure
11:05 sri hmm, does the quote make sense then?
11:06 tempire yeah, why not.  it's a quote from somewhere.
11:19 batman joined #mojo
11:22 sri oh, missed the perl weekly newsletter by a day
11:24 tempire I released it hours ago in order to get in the weekly
11:24 sri judging by twitter activity, i think this mojocast will start very very slow
11:24 tempire oh wells
11:24 sri think you have to send him a link
11:26 sri the screencast is great though :)
11:27 sri bet if you wanted to reach also people from outside the perl community you could make a followup just covering the selectors
11:28 tempire I've been thinking about that (reaching people outside the community)
11:28 tempire It feels like everyone knows about mojolicious/mojocasts in the community
11:28 sri would be a guaranteed hackernews frontpage i bet
11:29 sri just selectors, some html, and highlighting what selectors match what :)
11:29 sri applies for everyone doing anything on the web
11:30 sri oh, i have to go and eat way too much again now
11:30 tempire really want a syntax highlighter for the shell
12:13 spleenjack joined #mojo
12:20 memowe tempire: excellent work! :) #mojocast
12:20 memowe tempire++
13:38 koban left #mojo
14:11 Akron joined #mojo
14:13 Akron tempire++ E5 is great!
14:16 mattastrophe joined #mojo
14:35 marty tempire++   e5 looks really polished and very informative. great work.
14:38 alnewkirk joined #mojo
14:41 inokenty joined #mojo
14:46 sri oh
14:46 sri do we celebrate mojolicious 1st birthday today? :o
14:46 sri it is one year since 1.0
14:47 * sri pokes marcus and tempire
14:55 alnewkirk joined #mojo
14:56 inokenty Happy Birthday, Mojolicious! =)
14:58 inokenty Yoohooo! Released a new mojocast
14:58 inokenty Awesome
14:59 GitHub192 joined #mojo
14:59 GitHub192 [mojo] kraih pushed 1 new commit to master: http://git.io/tNeOQw
14:59 GitHub192 [mojo/master] added example for error event of user agent - Sebastian Riedel
14:59 GitHub192 left #mojo
15:03 sri perl's birthday is also based on 1.0
15:03 purl okay, sri.
15:08 sri yea, i think we should
15:08 sri happy 1st birthday mojolicious!
15:14 marty Yea, I think today should me Mojolicious's birthday.   Yeeee hawwww!
15:15 marty I cannot believe it has been a whole year since the 1.0 release.
15:15 sri seriously
15:15 purl is that for real?
15:16 sri but when you look at the changelog… it seems so much longer away
15:16 * marty nods
15:45 d4rkie joined #mojo
16:18 cstamas joined #mojo
16:46 noganex_ joined #mojo
17:11 rsimoes Does Mojolicious honor PLACK_ENV the same way it does MOJO_MODE?
17:12 sri no
17:12 rsimoes https://metacpan.org/module/plackup#ARGUMENTS -E/--env
17:13 * tempire pats mojolicious on the head and gives it a birthday cookie
17:13 tempire http://www.etsy.com/listing/61632315/turtle-cookie
17:14 sri turtle-cookies are a lie
17:15 tempire a sweet, sweet lie
17:17 * sri wonders if Mojo::JSON::Pointer should be merged into Mojo::Utils
17:17 sri s/s//
17:20 sri hmm, guess it makes no sense
17:21 sri we've so fal kept everything that works on data structures out of Mojo::Util
17:21 sri s/l/r/
17:31 tempire google analytics says 44% of visits to mojocasts have a screen resolution of 768x1024
17:31 tempire ?
17:35 tempire more and more, I'm thinking google analytics is really not helpful for much
17:47 rsimoes http://mojocasts.com/e5 is giving me a solid white page on ubuntu 11.10/chromium 15
17:48 sri stable chrome is version 16
17:49 sri works perfect with chrome 16 and os x
17:50 inokenty rsimoes: Hmm, I have the some trouble too, but I watched the mojocasts a few hours ago and it worked
17:50 inokenty Arch Linux, Google Chrome 16
17:51 inokenty So strange
17:52 cstamas tempire: for me it did not work on my slower laptop
17:52 inokenty s/some/same/
17:52 tempire cstamas: what, the mojocast?
17:52 cstamas tempire: the iphone mp4 version worked fine
17:52 cstamas yup
17:52 tempire define did not work
17:53 cstamas tempire: video lagged
17:53 tempire where are you located?
17:53 cstamas .hu
17:53 tempire hungary?
17:53 purl hmmm... hungary is .HU
17:53 cstamas yes
17:54 cstamas it gave me the .ru mirror
17:54 tempire gotta be the internet connection.  the videos are hosted in moscow, so you're right down the street.
17:54 rsimoes comes up okay in firefox!
17:54 cstamas I think it overloaded my PC's slow cpu
17:54 tempire if anything, it's the us visitors that have the worst lag
17:55 tempire time for a mac!
17:55 inokenty =)
17:55 sri or something fast enought to decode modern video codecs… like a smartphone ;p
17:55 tempire cstamas: if it takes more than several seconds to play, the site will pop up with a flash link
17:58 cstamas tempire: my Nexus One played it fine
17:58 tempire good
17:58 tempire each episode has 5 encoded files for maximum playage
17:58 cstamas tempire: several friends reported problems, just wanted you to know
17:59 tempire same lagging in hungary?  with slow computers?
17:59 cstamas tempire: from the content perspective it was awesome
17:59 cstamas just wanted to let you know the technical problems
18:00 cstamas tempire: no, they have high end gear (mostly) and yes, .hu
18:00 tempire hmm
18:01 tempire don't know what it could be.  you guys are the closest (besides russia) possible, and the videos are all encoded ok.  maybe hungary fails at the internet today
18:02 tempire cstamas: for future ref: http://mojocasts.com/e5?hint=problems
18:02 cstamas then, I will do some (basic) test and report back to you
18:03 tempire there's always a flash version available
18:03 cstamas ok, noted
18:17 cstamas tempire: ok, so on my better Core2 duo laptop the video stops at 35sec and the audio playback continues
18:17 cstamas I can dl the mp4 file with 10Mbit/sec
18:17 tempire I think that just may be the nature of h264 on a 5 year old laptop
18:18 cstamas this is a thinkpad t500
18:19 cstamas http://www.thinkwiki.org/wiki/Category:T500
18:20 cstamas so this is not that old (with firefox 9)
18:20 tempire did you try with chrome?
18:20 cstamas now another frame appeared at 6:45
18:21 cstamas trying now...
18:22 cstamas it seems to work fine
18:23 tempire if it's firefox, it's trying with webm
18:23 tempire firefox support of html5 video is bobo.
18:23 sri can always be a glitch with the browser/os combination… accelerated rendering and whatnot
18:24 cstamas chromium is ok
18:24 sri oh… browser/os/codec combination
18:25 sri prolly even graphics card
18:27 sri tempire: maybe just have a download link for the unfortunate?
18:27 * cstamas thinking the same
18:27 tempire yeah.  although you can already do that by right clicking
18:27 tempire guess I should be explicit
18:28 * sri did not know that :o
18:28 * cstamas used force^Wsource to get the right version
18:28 sri actually, in safari it does not work with right click
18:29 cstamas only works in chrome afaik
18:29 tempire firefox too
18:29 tempire not opera, strangely enough
18:33 xaka joined #mojo
18:33 tempire strange.  firefox is lagging on my i7 now.
18:34 sri safari is lagging a little at the start
18:34 sri in fact, the whole window freezes a few seconds
18:36 tempire could be the html5 player as well.  should probably switch to sublime now that it's free
18:36 tempire oh, interesting.  same lagg issue with sublime on railscasts
18:36 sri hmm
18:37 tempire anyone still using firefox 8?
18:37 sri confirmed, slightly smaller but noticeable lag with sublime
18:38 sri (safari)
18:38 tempire if this process has taught me anything, it's that there's a reason youtube is still using flash.
18:39 tempire if I was running a commercial operator, I wouldn't bother with html5
18:39 tempire *video
18:39 tempire *operation
18:40 sri marcus: http://railscasts.com/episode‚Äčs/308-oh-my-zsh?autoplay=true # good zshell summary btw.
18:41 * tempire installs ohmyzsh
18:43 sri interesting how he now covers so many different topicsbesides rails
18:44 sri just saw elastic search
18:44 tempire makes sense for trying to get a paying clientelle
18:44 sri indeed
18:45 sri regular small casts about hot topics that give a good overview is something i would totally subscribe for
18:45 tempire "ls -" doesn't work for me
18:47 cstamas when it cames to zsh http://grml.org/zsh/ <-- this also worth to take a look
19:17 alnewkir1 joined #mojo
19:18 inokenty I prefer bash
19:25 xxtjaxx It really is a mystery for me why this is happening. why would my script if run by apache prepend its name to the cgi url to get a css from /public??
19:26 xxtjaxx BUT when I execute ./app.pl cgi I get the correct URL (/css/style.css)
19:29 Akron joined #mojo
19:31 Akron xxtjaxx: Did you check https://github.com/kraih/mojo/wiki‚Äč/Apache-deployment#wiki-Apache/CGI ?
19:31 xxtjaxx Akron: I did it using that.
19:31 xxtjaxx but I have the issue..
19:33 inokenty xxtjaxx: Why do you use cgi mode?
19:35 xxtjaxx inokenty: because I don't need anything fancier I just have a simple set of templates rendering to a nice html which is what I wanted. Plus the beautifully simple urls
19:36 inokenty But it is sloooow )
19:37 xxtjaxx ENOARGMENT :)
19:37 tempire xxtjaxx: cgi is more troublesome than it is simple.  you can use the built-in daemon, and it will be faster, more supported, and your current problem will disappear
19:37 tempire *cgi mode
19:38 xxtjaxx thnks. But i do like to host a few more things than just *that* site on my box (gitweb)
19:41 xxtjaxx illogically running ./app.pl cgi from the command line brings the proper url format /css/style.css running it via apache not. wtf?
19:41 tempire it's an apache configuration issue.
19:44 Akron I know that I once made a plugin for this issue ... it's abaout stripping everything in the path until the app name comes.
19:47 sri someone please take over this thread http://groups.google.com/group/mojolicio‚Äčus/browse_thread/thread/7ec6bcc7e4049ea
19:48 sri i'd only end up yelling
19:48 xxtjaxx http://paste.debian.net/150224/ <<<< this is a diff of the index between the apache and the cli cgi version
19:49 alnewkirk joined #mojo
19:50 Akron Oh - and happy first mojoversary!
19:51 Akron xxtjaxx: What's in your template? Do you use relative paths? stylesheet helper?
19:51 xxtjaxx sri: it's ecause he doesn't get that its either  an object or a reference o an object ey?
19:52 xxtjaxx Akron: I use the tag helpers yes.
19:53 xxtjaxx Akron: mojoversary?
19:53 Akron xxtjaxx: Mojo is now 1 year old! Do you use an absolute path or a reltive path to your stylesheet?
19:58 xxtjaxx Akron: a relative path
19:58 purl a relative path is wrong
20:01 Akron xxtjaxx: As purl says. It's gone with an absolute path?
20:02 xxtjaxx %= stylesheet '/css/style.css'; like this
20:02 Akron Right. Does it work?
20:03 xxtjaxx or was that an 'abs' path in this case? I mean I deployed script and content just as I ran them in my dir with daemon yes that funnily works but prepends /app.pl/ when run through apache
20:06 Akron In Apache with your mod_rewrite the scriptname (and maybe other parts before) is the first part in the request path. That's all.
20:09 tempire it's amazing how everything thinks their opinion is important before they've established any social presence.
20:09 tempire basic social economic understanding doesn't seem to be very common
20:10 xxtjaxx tempire: what are you referring to?
20:10 tempire don't worry, not you xxtjaxx :)
20:13 Akron tempire: Sorry.
20:13 sri marty++
20:16 tempire Akron: ?
20:17 sri xxtjaxx: basically the proposal of an overall performance reduction of 10% in mojolicious to address a problem caused by ignoring the documentation
20:19 Akron tempire: Oh, it wasn't about me, too?  Good ...
20:20 * tempire sprinkles glitter on xxtjaxx and Akron
20:21 tempire :)
20:24 * tempire reminisces of the days of 20+ comments for a mojocast
20:27 xxtjaxx sri: grr *shudder*
20:31 xxtjaxx empire: I still don't reall get how to fix it :/  additionally this popped up: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace
20:33 xxtjaxx this is what m onfig looks like http://paste.debian.net/150226/
20:35 tempire unfortunately, I haven't used apache or cgi in a very long time
20:35 tempire I'm not very familiar with its quirks.  maybe someone else in the channel...
20:40 mire__ joined #mojo
20:41 xxtjaxx Akron sri purl ^
20:49 Akron xxtjaxx: The recursion may origin from line 21 and line 34.
20:50 Akron Just call the app directly in line 34, as it is done in the deployment recipe.
20:55 mattastrophe joined #mojo
21:00 xxtjaxx Akron: huh? which deployment recipe?
21:02 Akron xxtjaxx: https://github.com/kraih/mojo/wiki‚Äč/Apache-deployment#wiki-Apache/CGI
21:17 xxtjaxx ah that I did that but it didn't work...
21:18 xxtjaxx whats interesting: I use link_to the same way as stylesheet yet link_to points to the right place like /impress as I wrote it in the template
21:20 Akron You didn't say if it's working with an absolute path.
21:20 Akron So you still had recursion with the github deployment recipe?
21:22 GitHub103 joined #mojo
21:22 GitHub103 [mojo] kraih pushed 1 new commit to master: http://git.io/fRx4Xw
21:22 GitHub103 [mojo/master] updated Mojo::Base examples a little - Sebastian Riedel
21:22 GitHub103 left #mojo
21:43 marty sri: Do you think that last commit might help our message board guy?
21:43 sri marty: he won't get it
21:43 marty ok
21:44 sri hmm
21:44 sri what's the right word for attributes that are *not* class attributes?
21:45 sri accessors are always class based, but storage limited to instances
21:45 xxtjaxx this is basically it. http://privatepaste.com/download/1299ff03fb but why this isn't working (path ways)
21:45 sri when i say instance attributes it sounds like the accessor would be instance based :S
21:47 sri just "attributes" sounds a but vague
21:47 sri s/u/i/
21:51 netfeed you mean class variables like javas static? Class.SOME_VAR?
21:51 sri or rubys @@foo, yes
21:52 marcus Attributes are for instances.
21:52 netfeed i'd call that class variable and an @var in ruby would be an instance variable
21:52 mire__ joined #mojo
21:52 ruz sri: do you want submit_form method in Test::M? I have one that can be brushed up for core
21:52 sri netfeed: those are class attributes, i'm looking for the opposite ;p
21:53 marcus Sri: your SomeSubClass example makes it look like attr works on classes too.
21:53 sri as in a more qualified term for attribute
21:53 sri marcus: it does
21:54 sri ruz: not really
21:54 marcus Sri: doh, right. I meant the actual generated attributes, but it doesnt.
21:54 sri ruz: but you can open an issue and convince other core devs
21:55 ruz k
21:55 sri btw. there are two open issues i commented on that could use more input
22:04 sri *crickets*
22:05 * marcus goes to bed.
22:07 mxey joined #mojo
22:08 mxey Hi. I want to use Mojolicious inside an AnyEvent::IRC-powered bot and I am unsure how to integrate the event loops and what to call.
22:09 mxey I call prepare_eventloop, and Mojolicious listen on the socket, but apparently events are not handled.
22:09 sri see my blog
22:10 mxey When I call app->start it will run the event loop there, but my web interface is just the plugin - I start the event loop from a different part of the application.
22:10 sri then i doubt anyone here will be able to help you
22:11 sri that's new territory
22:11 mxey hmm
22:11 mxey When I use EV, Mojolicious add its handlers to the global EV loop, right?
22:58 tempire someone in germany: mojo get mojocasts.com/e5 'video source' attr src
22:59 tempire and somewhere else in europe, if you please
23:00 sri tempire: elbowrage.com
23:01 sri from the biggest german provider
23:01 cstamas from hungary
23:01 cstamas http://mojo.elbowrage.com/e5/mojocast e5.iphone.mp4
23:01 cstamas http://mojo.elbowrage.com/e5/mojocast e5.mp4
23:01 cstamas http://mojo.elbowrage.com/e5/mojocast e5.webm
23:01 cstamas http://mojo.elbowrage.com/e5/mojocast e5.ogg
23:01 sri no pasting into the channel please
23:02 cstamas oh, ok sorry
23:02 tempire ok, once more
23:03 sri aumi.ru now
23:03 cstamas d1.fenrirko.aumi.ru here
23:07 netfeed same
23:13 tempire one last time, should be fenrirko still for the lot of you
23:14 netfeed aye
23:15 sri confirmed
23:16 tempire \o/
23:17 cstamas it is
23:56 j3nnn1 joined #mojo
23:57 j3nnn1 left #mojo

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