Camelia, the Perl 6 bug

IRC log for #mojo, 2011-09-12

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

All times shown according to UTC.

Time Nick Message
00:00 GitHub132 joined #mojo
00:00 GitHub132 [mojo] kraih pushed 1 new commit to master: http://git.io/kZX6xg
00:00 GitHub132 [mojo/master] fixed indentation - Sebastian Riedel
00:00 GitHub132 left #mojo
00:02 sri lets hope
00:03 rwstauner :-)  it is exactly what i thought might work, so that's good... brighter people than me should figure it out much faster
00:07 sri it is a bit weird that we are removing native fastcgi support due to lack of tests and in turn basically recommend FCGI, a module that doesn't have any tests at all
00:07 rwstauner ha
00:08 sri but i have to admit that it feels really great finally having awesome tests for all library code
00:08 rwstauner does Mojo::Server::FCGI have a lot of outstanding bugs?
00:08 rwstauner that is a great feeling
00:08 sri no known bugs, just lack of tests
00:08 rwstauner ok
00:09 rwstauner oh, just noticed that when running in plack (like the example you posted) i lose the X-Powered-By header
00:09 sri that one should still be there
00:10 sri Server should be gone
00:10 rwstauner oops, hold on
00:12 rwstauner that's better
00:12 rwstauner my mistake
00:13 rwstauner can't hear that phrase 'my mistake' without hearing the question in my mind: "John Smith 1882?"
00:15 sri :)
00:16 rwstauner i was glad to see some simpsons comments in recent code... i never got to see futurama so those jokes don't mean as much to me
00:17 sri :O
00:17 sri futurama is the better show
00:17 sri WATCH IT!
00:17 purl I sense a great disturbance in the Force.
00:17 sri like… NOW! :)
00:18 rwstauner i missed the last 10 seasons of simpsons, too... it's mostly the treehouse of horror episodes i remember... used to have those memorized
00:19 sri simpsons got pretty bad
00:19 rwstauner i think it's pretty hard to remain good when you last that long... you've got to run out of material at some point
00:20 sri not if you get new writers every now and then
00:20 rwstauner i suppose that's true... i was thinking when the writers got bored and left the show would go down hill
00:21 rwstauner but perhaps the opposite is true
00:21 rwstauner fresh minds might freshen the show
00:21 sri but watch futurama, seriously, it's just awesome
00:23 rwstauner so that psgi file is pretty simple... probably the simplest/quickest answer i've seen for running something under apache
00:23 rwstauner it's just the #!plackup part that needs to be made prominent
00:23 rwstauner i'm planning on doing a write-up soon on modern perl web frameworks on shared hosting
00:23 rwstauner i have kind of a weird setup with my current hosting plan
00:24 rwstauner so i want to make it work and then post it to their forums
00:24 rwstauner but i'll copy it to blogs.perl, too
00:24 rwstauner are you planning on releasing Mojo::Server::FCGI separately or are you waiting for someone else to step up and take it over?
00:25 sri waiting for someone
00:26 sri if nobody steps up it's pretty safe to assume nobody would miss it i think
00:26 rwstauner i suppose
00:27 rwstauner what would be your suggested alternative for something like a shared hosting environment?  i was never interested in learning to use mod_perl, so i thought fastcgi was pretty much the only option
00:28 sri old school shared hosting is mostly dead i think
00:28 sri now we have dotcloud and friends
00:28 sri which is psgi hosting
00:28 rwstauner i've set up proxypass from apache to starman before but don't think i'd want to try that (or recommend it) for an "old school shared hosting" like i'm currently on
00:29 sri and wsgi, and rack...
00:29 rwstauner right
00:29 rwstauner yeah i have dotcloud in mind for one project i'd like to do
00:29 rwstauner but i have a handful of old sites on an old shared plan that i don't know what i'd do with
00:30 rwstauner but i guess that's a concise way to say it... psgi is the emerging way to go
00:30 rwstauner and plack's apache options are mod_perl or fastcgi
00:30 sri fastcgi used to be the most popular option, but it lost to reverse proxy setups and language specific cloud hosting
00:30 rwstauner right
00:30 sri professionals are all over reverse proxy setups, and for good reason
00:31 rwstauner yeah i've been thinking about that at $work
00:32 rwstauner but since i have this hosting plan for a while yet i wanted to be able to say "hey, if you're on an old shared hosting provider who still thinks perl is for cgi, you can still use a modern, awesome framework like mojolicious"
00:33 sri the good thing about psgi is that we can support all legacy setups without any effort and concentrate on making the fun setups better
00:33 rwstauner exactly
00:35 GabrielVieira joined #mojo
00:36 alnewkirk joined #mojo
00:37 perlrocks Twitter: "Here is a new #mojolicious recipe for those wondering how #fastcgi with #plack can look like. http://t.co/nmc3i1t #perl" --kraih http://twitter.com/kraih/status/113048431639015425
00:39 perlrocks Twitter: "@kraih assuming http://t.co/XDpbm4C is still relevant, async fastcgi engine like FCGI::EV and AnyEvent::FCGI will work as well." --miyagawa http://twitter.com/miyagawa​/status/113049140052770818
00:43 rwstauner that last tweet reminds me, i was trying the "use middleware right in your application" and it wasn't working for me...
00:43 rwstauner is it assumed that that code block is being run through plackup like the new example?
00:44 sri yes
00:44 sri that's why external wrapper is a much better solution
00:45 rwstauner ok.  morbo dies, and ./app doesn't use the middleware, but plackup ./app works
00:45 rwstauner agreed
00:46 sri i like the clean separation between deployment and app logic
00:46 rwstauner absolutely
00:46 purl Quite so.
00:46 * sri pats purl
00:46 purl how condescending
00:52 mattastrophe joined #mojo
00:55 Kulag joined #mojo
01:07 perlrocks Twitter: "Mojolicious and anyevent - GitHub http://t.co/sbf7sEJ" (ja) --RtestR http://twitter.com/RtestR/​status/113056010784088064
01:15 gshank joined #mojo
02:03 alnewkirk joined #mojo
02:12 GabrielVieira joined #mojo
02:33 GitHub1 joined #mojo
02:33 GitHub1 [mojo] kraih pushed 1 new commit to master: http://git.io/PSbh_A
02:33 GitHub1 [mojo/master] recommend wrapper scripts - Sebastian Riedel
02:33 GitHub1 left #mojo
02:37 vel joined #mojo
03:10 tempire autoloading a video, but not playing it.  evil?
03:24 sri a little maybe
03:26 rwstauner "that doll is evil i tell ya, evil, EEEEVVVIIILLLLLL...", "Grandpa you said that about all the presents", "I just want attention"
03:38 GitHub186 joined #mojo
03:38 GitHub186 [mojo] kraih pushed 1 new commit to master: http://git.io/9ZVN8A
03:38 GitHub186 [mojo/master] fixed small CGI bug - Sebastian Riedel
03:38 GitHub186 left #mojo
03:44 j3nnn1 joined #mojo
03:50 Alias_ joined #mojo
03:59 kaare joined #mojo
04:37 perlrocks Twitter: "Mojolicious Web Framework - Join the revolution! Http://t.co/k4WZXvI" (ja) --suzu_v http://twitter.com/suzu_v/​status/113108920054190080
05:02 bzero joined #mojo
05:07 newbie joined #mojo
05:44 perlrocks Twitter: "Just blog – Mojolicious::Plugin::AuthHelper http://t.co/okyao1N" --geekspot_ru http://twitter.com/geekspot_​ru/status/113125786457878528
05:47 perlrocks Twitter: "Mojolicious::Plugin::AuthHelper http://t.co/w812KbH #perl #mojolicious #mojo" (ru) --xomaa http://twitter.com/xomaa/status/113126418354933760
05:53 j3nnn1 joined #mojo
05:57 AmeliePoulain joined #mojo
06:19 * sri yawns
06:23 Firkin joined #mojo
06:34 koban joined #mojo
06:35 perlrocks Twitter: "@kraih with this #mojolicious fastcgi removal seems "ok"." --ttyS1 http://twitter.com/ttyS1/status/113138665441591296
06:38 tabbi joined #mojo
06:38 tabbi left #mojo
06:51 perlrocks Twitter: "Issue #7 of the Perl Weekly went out http://t.co/QwDXAMx #perl #doccloud #parrot #rakudo #dancer #mojolicious #IDE" --szabgab http://twitter.com/szabgab​/status/113142722013036544
07:14 esskar joined #mojo
07:17 cosmincx joined #mojo
07:32 eugen joined #mojo
07:32 Eugene joined #mojo
07:32 Grauwolf Akron, thanks for commiting. i'll take a look at it at evening (gmt+1)
07:34 marcus goood morning
07:36 tempire morning!!!!!!!!
07:36 tempire 1
07:37 marcus tempire: isn't it like late am @ your localtime? :)
07:37 tempire yep
07:37 tempire that's morning
07:40 marcus I guess :9
07:42 Grauwolf does anybody have an idea? http://paste.geekosphere.org/5u3j
07:43 Grauwolf i want to keep the author of the changes
07:43 Grauwolf i'm not all to familiar with github
07:56 Eugene joined #mojo
07:57 sugar joined #mojo
07:58 arthas joined #mojo
08:02 anaio joined #mojo
08:21 arpadszasz joined #mojo
08:27 spleenjack joined #mojo
08:31 arpadszasz hello
08:33 arpadszasz so did anyone volunteer for mojo-fastcgi?
08:43 marcus arpadszasz: not yet
08:46 arpadszasz marcus: apart from maintaining a CPAN distribution updated to latest Mojolicious changes and improving tests, what other requirements are there?
08:47 marcus arpadszasz: none.
08:47 marcus arpadszasz: sounds like you're volunteering? :-) sri?
08:48 arpadszasz marcus: i think Mojolicious should just run on an any deployment situation
08:50 ajgb joined #mojo
08:51 arpadszasz i personally have no problem switching over to plack/psgi but beginners/non-Perl sysadmins might need the simplicity of a Apache/FastCGI setup
08:51 marcus arpadszasz: true.
08:58 omega does plack/psgi make it that much harder?
09:01 arpadszasz omega: there's a difference between uploading your app + 1 CPAN dependency (Mojolicious) to a webserver where You have no shell access vs. uploading 26 CPAN dependencies (Mojolicious + Plack)
09:02 arpadszasz i'm thinking about the beginners here
09:02 omega ahh, I see that
09:02 omega I was wondering if the configuration was the problem
09:03 devogon joined #mojo
09:04 arpadszasz granted Plack is pure-Perl, so maybe we only need better docs for beginners :)
09:04 arpadszasz but the problem with beginners is that they easily give up
09:05 arpadszasz so if no one else is willing to take over Mojo::Server::FastCGI i want to do it
09:16 eugen left #mojo
09:49 cosmincx joined #mojo
09:49 Sjors arpadszasz: that would be awesome. :)
09:50 Sjors (disclaimer: I'm a Mojo user, not part of the project in any way)
09:53 baton8 joined #mojo
10:02 noganex i wish i would have known about psgi five years ago. would have saved me an awful lot of trouble...
10:06 arpadszasz noganex: i think we all agree that PSGI is the way to go, but the reality is that there is still a lot of cheap Apache/FastCGI web hosting that clients prefer :(
10:08 * noganex had to patch webmin for $company. i've seen crappy code, but webmin is really terrible ;)
10:27 vel joined #mojo
11:06 DaniBunny joined #mojo
11:37 noganex_ joined #mojo
11:42 crab noganex: did psgi exist five years ago?
11:45 noganex_ crab: i don't think so. ;)
11:51 DaniBunny can hypnotoad do strong ssl authentication/authorization?
11:52 DaniBunny just like that pacthy webserver we all love...
11:53 [R] joined #mojo
12:00 tabbi joined #mojo
12:00 tabbi left #mojo
12:12 metaperl if you're writing a mojolicious::lite app and it needs to prompt the user for database connection info the first time it runs, how would you write such a thing?
12:18 stephan48 DaniBunny: you can fetch the ssl info from the transaction i believe
12:18 stephan48 DaniBunny: and it can play as ssl webserver
12:18 stephan48 DaniBunny: i use it that way
12:25 metaperl I think I'll just go with a Perl module for storing such config info. And if the module can be loaded, build it after the user fills in the form.
12:25 Skylos hm.
12:26 Skylos That doesn't sound right.  Shouldn't it be YAML or something
12:27 metaperl well, I want to maybe obfuscate it ...
12:28 metaperl and I allways like programming over static config files so that they can add more business logic later if needed
12:28 metaperl I dont have to obfuscate it, I just want that option later
12:31 metaperl but I think the key is being sure of where you are on the file system in any type of webserver environment. 99% will be on plain cgi shared hosting, so I would just write the file to their local file system with no problem.. but it might be hard to find that under modperl or other technologies
12:31 judofyr joined #mojo
12:35 Skylos hm.   applications are technically configuration of a sort.
12:36 metaperl Well, I lean toward Bread::Board style configuratoin moreso than Config::INIFiles... put it that way
12:36 judofyr sri: have you thought more about the asset pipeline?
12:40 SmokeMachine joined #mojo
13:03 rwstauner joined #mojo
13:05 vel joined #mojo
13:05 judofyr joined #mojo
13:18 shonorio joined #mojo
13:31 dekimsey joined #mojo
13:31 DaniBunny stephan48: thx
13:32 trone_ joined #mojo
13:35 mattastrophe joined #mojo
13:53 elb0w Mojo is non blocking right?
13:53 sugar sri: is this finished decision to remove Mojo::Server::FastCGI?
14:00 marcus elb0w: yes - For instance you can do sub foo { $self->render_later; $foo->get($url,sub { .. ; $self->render}) }
14:00 marcus sugar: arpadszasz has volunteered to take it over
14:01 elb0w ah cool
14:06 amoore joined #mojo
14:13 Skylos joined #mojo
14:25 sugar marcus: cool, tnx
14:25 sugar *thx
14:25 Skylos left #mojo
14:28 d4rkie joined #mojo
14:30 spleenjack joined #mojo
14:38 metaperl joined #mojo
14:53 abra joined #mojo
14:53 koban left #mojo
15:00 metaperl Thank God for local::lib ... enter next phase of writing cgi programs to be distributed to webhosts I know nothing about
15:03 Skylos joined #mojo
15:03 Skylos left #mojo
15:06 esskar2 joined #mojo
15:11 sri arpadszasz++
15:12 HSlayer joined #mojo
15:13 tempire Ok kids, it's about that time.
15:13 tempire "What time is it, tempire?"
15:13 tempire UPVOTE TIME!
15:14 sri what time is it tempire?
15:14 purl sri: It's nearly quarter past three in the afternoon where I am.
15:14 tempire who's ready?
15:14 spleenjack joined #mojo
15:15 tempire *crickets*
15:16 sri oh great, twitter has hiccups
15:17 tempire "Mojocast #3: Authentication, Helpers, and Plugins with Perl's Mojolicious web framework"
15:18 tempire too long for a hacker news post title?
15:18 sri "TodoMVC - A common demo application for popular JavaScript MVC frameworks " is one of the current stories on the frontpage
15:28 tempire oh, it's 5:30 in central europe.
15:28 * sri nods
15:41 newbie joined #mojo
15:47 DaniBunny tempire: yay!
16:01 marcus nothing to vote on yet?
16:01 * marcus goes back offline to eat pizza.
16:01 tempire waiting on some folks…will be in the next 10 mins
16:01 marcus ok, back in 30
16:11 tempire and posting...
16:13 tempire crap, max 80 chars
16:14 fmerges joined #mojo
16:14 tempire changing mojolicious to mojo, I guess
16:15 tempire go! http://hackerne.ws/item?id=2987819
16:17 perlrocks Twitter: "Mojocast #3: Authentication, Helpers, and Plugins http://t.co/A2YBtjT #perl #mojolicious" --mojocasts http://twitter.com/mojocast​s/status/113285005828030465
16:17 shonorio joined #mojo
16:19 perlrocks Twitter: "Mojocast #3: Authentication, Helpers, and Plugins with Perl's Mojo web framework http://t.co/Ac7iEOl" --phwd http://twitter.com/phwd/status/113285649280401408
16:20 perlrocks Twitter: "Mojocast #3: Authentication, Helpers, and Plugins with Perl's Mojo web framework: http://t.co/jgJIWGu Comments: http://t.co/zBsltgs" --HNTweets http://twitter.com/HNTweets​/status/113285769866653696
16:21 sri retweeted
16:21 tempire on the front page, but need more up votes!
16:22 sri vote people!
16:22 tempire poke crab, alnewkirk elb0w
16:23 sri don't forget marcus
16:23 sri and yko
16:23 tempire marcus!
16:23 tempire put down your pizza!
16:23 sri or rhaen
16:23 tempire pokes yko
16:23 sri maybe gabb_
16:23 sri or garu
16:23 sri DaTa too
16:24 tempire dernit.  I  had 10 people lined up, and suddenly everyone's having problems.
16:24 * sri has twitter problems
16:24 tempire looks like some people have -2 karma.  maybe it's cause they've only up voted on thing.
16:25 grim_fandango joined #mojo
16:25 alnewkirk will check it out soon
16:25 tempire 3 more up votes, up to #16
16:25 tempire alnewkirk: timing is important, do it as soon as  you can
16:25 SmokeMachine joined #mojo
16:26 alnewkirk ok
16:26 sri how come you don't link back to mojolicio.us btw?
16:26 sri increases rank of both sides
16:27 tempire I have it at the bottom…wasn't sure where to put a link
16:28 tempire There's also a link in the "First time visitor" thing
16:28 sri next to ponycorns, seriously? Oo
16:28 tempire lulz
16:28 tempire I can make it bigger and remove the pony corns if you like.
16:28 tempire or give me a better idea of where to put it
16:28 sri i  think the small black logo would look good on blue
16:28 tempire ah
16:28 tempire that's good
16:30 * sri goes to get some pizza
16:30 DaTa done
16:30 tempire shnikies
16:30 tempire something happened
16:30 tempire just dropped to #52
16:38 cosmincx joined #mojo
16:48 sri how weird
16:48 tempire last time, there were 16 up votes within the first time minutes
16:48 tempire but I suspect it's because at least two of the people I lined up had -2 karma
16:49 tempire *first ten minutes
16:50 sri that could be
16:55 Akron joined #mojo
17:01 HSlayer|2 joined #mojo
17:08 marcus huh, I cannot see it on the newest list
17:09 marcus mongodb 2.0 and postgresql 9.1 are pretty huge news tho
17:10 tempire it got dropped pretty quickly
17:10 marcus from the newest list?
17:10 marcus that's not the frontpage even
17:10 marcus is it on reddit?
17:11 tempire not sure.  suspect it's due to some of the up voters having negative karma.
17:11 tempire it's #46 on newest
17:11 marcus my link sucks so much
17:12 marcus I can only see the 30 first of the newest list :-/
17:12 marcus aah, more link appeared
17:12 sri tempire: is linking to chapters broken?
17:12 tempire it works
17:13 sri http://blog.kraih.com/mojocast-3-a​uthentication-helpers-and-plugins
17:13 sri the link does not appear to work in safari
17:13 marcus should make a cool mojolicious mojocast app
17:13 * marcus cranks his internet harder
17:13 tempire works
17:14 marcus with my 14th point, it's now #41
17:14 tempire woo hoo!
17:15 marcus is twitter dead too?
17:16 marcus tempire: should have used type="password" on the password field :p
17:17 tempire I originally used a text field in the first episodes to make it easier to understand what data was being passed
17:17 tempire I figured I'd stay consistent
17:17 marcus I also dislike using auth as the example for the helper, since it's obviously something you would do in a bridge
17:18 marcus sorry for giving non-useful feedback after the thing has been posted :)
17:18 tempire it's ok
17:18 sri i think the example is good
17:18 sri the way it evolves makes perfect sense
17:18 tempire yeah, the purpose is to evolve
17:18 tempire the separate concepts are hard to get across without being clunky
17:19 marcus well, what's the point of using a helper in under? it doesn't make the code more useful.
17:19 marty tempire++  Mojocast #3 is very good.
17:19 marcus just another layer of redirection
17:19 tempire it introduces the concept of having functions/subs that are of single concern
17:19 marcus apart from that, it's a good podcast tho.
17:20 marcus tempire: the under is already of single concern tho
17:20 tempire most beginners that I've seen put er'thing in the controller, so it seemed a good thing to present
17:20 tempire but really, it's mostly about leading into plugins
17:20 marcus I agree, it is.
17:20 marty Single concern subs, I sense some lispness.  :)
17:21 tempire (refuses-to-acknowledge marty)
17:21 marcus fun!
17:21 * marty likes lisp
17:21 marcus I mean defun!
17:22 sri fun!
17:22 tempire macro!
17:22 Akron Very educational! tempire++
17:22 tempire oh.  that doesn't quite transfer, does it :)
17:22 marcus tempire++ cpanmin.us
17:23 sri imo the best mojocast yet
17:23 marcus now that it's hosted on dyndns, it even resolves reliably :)
17:23 tempire how has the video startup time been for everyone?
17:23 preflex_ joined #mojo
17:24 tempire did you get the "HTML5 video is loading, Flash version is available message" at all?
17:24 tempire it shows up after 10 seconds if the video isn't playing
17:24 marcus tempire: worked great for me on a shitty link on a shitty wifi in sicilly
17:24 marty Quick for me.  (google chrome on linux.  13.0.7)
17:24 marcus no loading message
17:24 tempire marty: what's your location?
17:24 * marcus is down to 2 % battery and goes back inside.
17:25 marty Medford, Oregon
17:25 tempire huh
17:25 tempire well that's good
17:25 marcus tempire++ # maker of great screencasts
17:25 sri http://www.reddit.com/r/perl/comments/kd6ye/m​ojocast_3_authentication_helpers_and_plugins/
17:25 sri already on reddit
17:26 tempire of course!  I coordinated it!
17:26 * tempire is on the ball
17:26 sri tempire: you should use Mojolicious instead of Mojo on your site though
17:26 sri tempire++
17:26 tempire I was trying to keep it the same as the hacker news post
17:26 tempire doesn't matter now, though.
17:26 * tempire changes it
17:26 sri not like they can change it ;p
17:27 perlrocks Twitter: "#mojocast 3 is available: http://t.co/2prYrnU #mojo #perl #mojolicious" --gracnar http://twitter.com/gracnar​/status/113302779405139968
17:29 sri wait, does it load the whole movie before starting to play when i link to a chapter?
17:30 tempire no
17:30 tempire but sometimes the browser takes time to initialize it
17:30 tempire html5 video is weird
17:30 tempire I've found there's a reason that youtube has it in beta
17:31 tempire browsers aren't consistent in their performance
17:31 sri it's better in chrome than safari
17:31 tempire much better
17:31 shonorio joined #mojo
17:31 DaniBunny yay to flash video!! ( sarcasm will eventually will ruin our society :-) )
17:32 tempire firefox isn't bad either
17:32 tempire we're hip with mojocasts - webm, ogg, and mp4, with flash fallback
17:32 sri firefox is weird
17:32 sri i can't scroll down
17:32 sri video starts very quickly though
17:33 tempire that's 'cause you're 50ms away from the source
17:33 sri neat
17:33 * tempire curses germany for its prime location
17:34 tempire the inconsistencies are why I added the hints: http://mojocasts.com/e3?hint=loading
17:35 tempire the not scrolling down, you're talking about firefox?
17:36 shonorio_ joined #mojo
17:37 sri ye
17:38 sri it jumps back to the top
17:38 sri http://mojocasts.com/e3#Under%20directive
17:38 perlrocks Twitter: "It should be said that I love the Mojocasts!  Want more, faster, now!!! (great work) http://j.mp/qKGUwm #perl #mojo" --qh_murphy http://twitter.com/qh_murph​y/status/113305617422221312
18:04 * sri wonders where arpadszasz is hiding
18:05 metaperl Authentication - http://mojocasts.com/e3#  ... just what I was wondering about. Thanks for putting this together
18:07 sri tempire: http://mojocasts.com/mojolicious-black.png
18:09 Firkin left #mojo
18:10 * marty just picked some fresh blackberries and is having a yummy lunch.
18:10 tempire done
18:11 tempire I'm really digging google's job of indexing mojocasts
18:12 tempire given the existing sub links, it will have links to both the current, the previous, and next one straight from the search results
18:13 tempire marcus' calling it a podcast is interesting
18:13 tempire I wonder if I should submit it to iTunes as a video podcast
18:23 perlrocks Twitter: "Mojocast #3: Authentication, Helpers, and Plugins #perl #mojolicious http://t.co/PUHDXFI" --cyraxjoe http://twitter.com/cyraxjoe​/status/113316776841977856
18:25 sri tempire: looks good, just the clicky button doesn't look so nice there
18:26 tempire gone
18:26 sri \o/
18:26 elb0w sri who designed mojolicio.us
18:26 elb0w you/
18:26 sri ye
18:27 elb0w Do you do sites normally? or no?
18:27 * sri is a wannabe designer
18:27 sri not professionally no
18:27 elb0w gonna need a site for this mobile app were doing
18:27 elb0w its powered by mojo
18:28 elb0w as3 and mojo
18:28 elb0w any interest?
18:29 sri nope, you should get a professional
18:29 elb0w haha ok
18:30 tempire http://www.imdb.com/title/tt0110413/
18:30 elb0w you should make a powered by mojolicious with a vomiting uniraptor icon though imo
18:30 sri !
18:30 tempire sri: Have you seen ke$ha's latest video?
18:30 sri hell no
18:30 tempire lots of rainbows
18:31 tempire http://www.youtube.com/watch?v=CFWX0hWCb​ng&feature=player_detailpage#t=199s
18:32 sri lol, "not available in your geographic region"
18:32 tempire no unicorns for you
18:32 sri :(
18:52 marcus tempire: do submit it to itunes!
18:54 marcus strangelyy, it works in my region
18:54 marcus why would it be allowed in italy and banned in germany?
18:54 marcus poor unicorns!
18:59 stephan48 marcus: cause we have the GEMA, which wants to safe us from such videos!
19:00 stephan48 save*
19:00 stephan48 or want to make money out of youtube
19:00 stephan48 or are just a bunch of idiots(sry to all potential gema workers here)
19:03 marcus stephan48: I'm very often blocked in norway as well tho
19:04 marcus I really can't see how it benefits anyone if I'm denied access to music videos on youtube
19:04 stephan48 whats written there?
19:04 stephan48 "Unfortunately, this video is not available in Germany because it may contain music for which GEMA has not granted the respective music rights."
19:04 stephan48 i get
19:05 stephan48 but there are also a message which says a specific label has requested block
19:05 marcus I just get 'Not available in your region' usually
19:05 marcus but right now I'm not in Norway
19:05 stephan48 i just use tor then
19:05 stephan48 e
19:05 stephan48 ye
19:06 elb0w can you search wildcard text with Mojo::DOM?
19:06 marcus elb0w: elaborate.
19:06 marcus elb0w: res->dom('*') # wildcard text ? :)
19:07 elb0w Well I want to get some data from <td's>
19:07 elb0w but there is no id associated with them
19:07 elb0w and its pretty much a big table
19:07 elb0w I can grep it out, but want to use mojo dom never used it
19:08 sri be creative
19:09 sri find('td')->map(sub { $_->all_text })grep(sub { $_ =~ /whatever/ })->join("\n")->say
19:09 marcus elb0w: $res->dom('td')->grep(sub { $_->text => // }) or something?
19:09 sri ->grep
19:10 marcus more like what sri said, but yeah
19:10 elb0w ya thats pretty cool
19:11 marcus sri: $res->dom('td') returns a Mojo::Collection object now?
19:11 sri ye
19:11 elb0w wait res->dom is if im using this on a webapp no?
19:12 elb0w dont I need to use find?
19:12 shonorio joined #mojo
19:13 elb0w oh
19:13 elb0w saw sri's
19:13 * elb0w <- l2read
19:14 elb0w god mojo is so sick
19:14 elb0w lol
19:23 marcus elb0w: perl -Mojo -E'say g("http://reddit.com")->dom("p")->size'
19:23 marcus sri++ # mojo
19:23 marcus no idea why people are still using LWP
19:23 marcus frigging wifi connection at this place is pretty screwy
19:23 marcus tempted to help them set up a repeater to get coverage inside my apartment
19:24 tempire indeed.  lwp is just kind of sad in comparison
19:26 sugar joined #mojo
19:26 sri lwp does have its advantages too though
19:26 marcus sri: like what?
19:27 sri blocking io makes it easier to hook into the connection process, for socks support and the like
19:30 marcus I suppose, but you can do blocking with Mojo::UserAgent as well?
19:31 marcus the oneliner I did above is blocking, even :)
19:31 sri not truly blocking, we emulate it ;)
19:32 sri with a fresh ioloop and automatic ->start ->stop
19:32 elb0w weird why would UserAgent timeout to somethign I can ping and wget?
19:34 elb0w very odd
19:34 perlrocks Twitter: "Mojocast #3: Authentication, Helpers, and Plugins #perl #mojolicious http://t.co/9hkRljz" --jhthorsen http://twitter.com/jhthorse​n/status/113334784150867969
19:45 GabrielVieira joined #mojo
19:48 perlrocks Twitter: "watching a #mojocast is almost as comfortable  as watching an ad from #apple. #mojolicious #perl" --heggak http://twitter.com/heggak/​status/113338273870520320
19:51 tempire I really need a us location to host mojocasts in addition to the current host
19:51 tempire latency gets up towards 900ms at times
19:53 elb0w tempire: you can use elbowrage.com
19:53 elb0w its a dreamhost acct
19:53 elb0w unlimited bandwidth
19:54 lammel2 joined #mojo
19:55 tempire ssh/sftp access?
19:55 elb0w What do you need?
19:55 elb0w just a place to store the vid?
19:55 tempire yes
19:55 tempire left #mojo
19:56 tempire joined #mojo
19:56 elb0w ok, I store some personal stuff there but I can right something up for you if you are cool with that
19:56 elb0w rig*
19:56 tempire sure
19:56 perlrocks Twitter: "Mojolicious и Dancerhttp://post.ly/3BZBo  #dancer #mojolicious #perl #plack" --sharifulin http://twitter.com/sharifuli​n/status/113340294346440704
19:57 mattastrophe joined #mojo
19:59 elb0w hmm how do I host subdomains when dreamhost isnt my dns
20:00 sri i would always keep dns and server providers separated
20:01 sri dns providers let you edit zone files
20:01 elb0w yeah not sure how to hit subdomains though on dreamhost
20:01 elb0w if they use apache I guess it detects the url you took the ip huh
20:09 elb0w tempire: got you shell access
20:09 perlrocks Twitter: "“@sharifulin: Mojolicious и Dancer http://t.co/tLCZRDH  #dancer #mojolicious #perl #plack”" --sharifulin http://twitter.com/sharifuli​n/status/113343571209363456
20:09 elb0w just gettin the webserver workin
20:11 elb0w tempire: did you get that pm?
20:13 perlite joined #mojo
20:18 elb0w what am I doing wrong here? http://pastie.org/2522865
20:18 elb0w selectors is just another Mojo::DOM
20:24 GabrielVieira joined #mojo
20:37 Skylos_ joined #mojo
20:38 Skylos_ left #mojo
20:43 elb0w tempire: looks like its up now
20:43 elb0w yep its up
20:48 D4RK-PH0ENiX joined #mojo
20:58 perlrocks Twitter: "шарифулин хорошо написал. mojolicious vs dancer. http://t.co/d4jCqsO" --dolbanavt http://twitter.com/dolbanav​t/status/113355858762670080
21:03 tempire sri, marcus: ping time for mojo.elbowrage.com?
21:04 sri 252.221 ms
21:05 tempire ok, stephan48, you're up.
21:05 tempire http redirect based on location is now officially necessary
21:10 rwstauner joined #mojo
21:13 arpadszasz joined #mojo
21:17 shonorio joined #mojo
21:22 metaperl joined #mojo
21:30 vel joined #mojo
21:32 shonorio joined #mojo
21:44 lammel2 joined #mojo
21:48 kaare joined #mojo
21:53 amoore joined #mojo
21:55 lammel2 joined #mojo
22:00 perlrocks Twitter: "I was a bit worried about the #fastcgi changes in #mojolicious, but having great unit tests for all library code feels really good. :) #perl" --kraih http://twitter.com/kraih/status/113371379247747072
22:02 rwstauner i think that was a sensible move... it's so easy to use plack to get fastcgi, why duplicate that effort
22:03 rwstauner besides, all the cool kids are doing reverse proxy setups these days
22:03 sri it was a little bit simpler, which mattered when fastcgi was still number one target
22:03 rwstauner sure
22:13 shonorio joined #mojo
22:22 three18ti joined #mojo
22:33 metaperl joined #mojo
23:05 GabrielVieira joined #mojo
23:55 shonorio joined #mojo

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