Camelia, the Perl 6 bug

IRC log for #mojo, 2012-07-08

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

All times shown according to UTC.

Time Nick Message
00:17 benthumb joined #mojo
00:34 drift joined #mojo
00:54 dog_chocolate_ joined #mojo
01:51 Liam`` joined #mojo
02:10 noganex_ joined #mojo
02:10 jamadam joined #mojo
04:44 inokenty joined #mojo
05:07 zombie-tan joined #mojo
05:17 rem_lex| joined #mojo
07:07 Vandal joined #mojo
08:24 vishwanathms joined #mojo
08:24 vishwanathms_ joined #mojo
08:34 memowe O HAI
08:47 tempire hai
08:50 memowe https://twitter.com/memowe‚Äč/status/221888726287134722
09:00 Foxcool joined #mojo
09:33 mire joined #mojo
09:36 ilbot2 joined #mojo
09:36 Topic for #mojo is now Mojolicious real-time web framework 3.0 ūüĆą http://mojolicio.us ūüĆą http://irclog.perlgeek.de/mojo/today
09:47 * sri yawns
10:02 d4rkie joined #mojo
10:20 Psyche^ joined #mojo
10:31 zombie-tan left #mojo
10:33 ryozi joined #mojo
10:39 spaceships joined #mojo
11:00 sri oooh, soda theme has been updated with square tabs for the dark version :o
11:13 batman joined #mojo
11:53 batman joined #mojo
12:22 zombie-tan joined #mojo
12:44 marcus memowe is a #Dancer mole. :-)
12:44 marcus sri: thought you gave up on sublime.
12:45 sri marcus: only until the bugs are fixed
12:54 marcus sri: what's the blockers for you?
12:54 marcus sri: the perltidy placement?
12:55 sri yea, and find in project
13:01 marcus https://github.com/jsantell/dancer.js
13:03 sri http://jsantell.github.com/dancer.js/#
13:03 marcus mm
13:04 marcus was watching that too :)
13:04 marcus very cool
13:08 marcus change indicator looks better on the dark theme
13:09 marcus actually, seems they fixed it on the light one too
13:09 vervain joined #mojo
13:13 batman insane :)
13:13 batman eats my cpu though...
13:15 marcus it's not like you need it for other stuff while watching that.
13:16 marcus I just realized my new laptop has 4 cores rather than the 2 cores in the previous one
13:16 batman true, hehe
13:16 marcus so I guess it's faster anyways.
13:16 batman i also have four cores x2.40GHz
13:16 * sri only has two cores :(
13:17 marcus four cores and seven years ago.
13:23 batman how was the burger marcus?
13:23 marcus batman: not great.
13:23 marcus better than mcdonalds.
13:23 batman ok. good to know
13:24 batman haha
13:24 batman i've been to mcdonalds twice the six last years
13:24 batman i've been to burger king more though :P
13:27 marcus yeah, it's not my favorite choice of food either :)
13:28 marcus I've found a crepes place near the office tho, will try it for lunch this week.
13:28 marcus hmm, cloudflare says I had 60.000 pageviews in the last 6 hours.
13:28 marcus and that it has saved me 2 gb of bandwidth.
13:29 marcus http://nordaaker.no/docs/skitch/Analytic‚Äčs_%7C_CloudFlare_%7C_The_web_performance‚Äč___security_company-20120708-152922.jpg
13:29 marcus kinda pretty
13:29 marcus wonder why it's at 0 at 12:00 tho
13:30 marcus batman: do you use and of the cloudflare apps?
13:32 marcus any of the
13:36 batman :)
13:36 batman let me see...
13:36 batman i'm using the google analytics app
13:37 batman and A Better Browser :P
13:37 batman i alos paid Zoompf  check my performance
13:37 batman *to chekc
13:37 batman ******to check
13:38 batman would like to use clicky, but i haven't gotten that far yet
13:39 batman SnapEngage would be cool, if i had more money
13:39 batman most of the stuff i use is core cloudflare stuff
13:40 marcus I already have google analytics set up on the site tho
13:40 batman yeah, but i like it better when cloudflare make sure it's on all my pages (including error pages from nginx)
13:41 batman like page rules, auto minify and mirage
13:41 batman i would like to make rocket loader work as well, but i've had some issues :/
13:42 batman the "like page rules, ..." was copy/paste: what i meant was "i use core cloudflare features like..."
13:42 marcus I've enabled rocket loader for now.
13:42 marcus but I think it might be freaking out safari 6
13:42 batman :)
13:43 batman i alos like forcing ssl on. but i only have ssl to cloudflare. i haven't set it up on dotcloud
13:44 marcus yeah, would be nice if cloudflare could tunnel ssl over http from the host
13:44 batman it looks from my typing that i need something to eat...
13:44 batman what do you mean?
13:44 marcus I mean, accept https and then pass it as http
13:44 batman that's what i do
13:44 marcus it doesn't seem to work for me?
13:44 marcus do you have to configure it somehow?
13:44 batman client -> https -> cloudflare -> http -> dotcloud
13:45 batman https://www.cloudflare.com/clou‚Äčdflare-settings?z=whatever.com
13:45 batman look in the bottom: SSL and choose "Flexible SSL"
13:46 sri http://hastebin.com/raw/qijunigumu # hmmmmm
13:46 marcus batman: yay
13:46 batman marcus: pretty cool ey? ;)
13:47 marcus batman: yepp
13:47 batman and then i've set up page rules to redirect from http to https
13:47 marcus sri: what the heck?
13:47 sri marcus: an experiment
13:47 marcus sri: is it your own syntax?
13:48 sri i let Mojo::Template tokenize the template and then filter the raw text token and transform them to html before letting Mojo::Template render the whole thing
13:48 sri yea
13:48 marcus batman: guess I'll redirect login to https now.
13:48 marcus and make my users happy.
13:49 batman marcus: i'm forcing everything to be https to prevent my session cookies from been read
13:49 sri i'll prolly never finish it, but wanted to know if it's possible :)
13:50 sri basically preprocessing EP templates without interfering with % tags
13:50 batman *food*
13:50 marcus batman: fett
13:51 batman i don't think dotcloud support naked domains...?
13:52 batman can i post images somewhere?
13:53 batman hm...keep forgetting about food :P
13:53 mattastrophe joined #mojo
13:53 batman left #mojo
13:54 marcus batman: heroku does tho.
13:54 marcus http://quotedby.net is hosted there.
14:06 batman joined #mojo
14:06 batman <3 internet
14:06 batman :P
14:09 mire joined #mojo
14:12 marcus the internet is for porn!
14:12 marcus http://www.youtube.com/watch?v=T-TA57L0kuc
14:16 batman is it for anything else..?
14:16 batman oh. maybe betting...
14:16 GitHub84 joined #mojo
14:16 GitHub84 [mojo] kraih pushed 1 new commit to master: http://git.io/0303rA
14:16 GitHub84 [mojo/master] better EPRenderer plugin tests - Sebastian Riedel
14:16 GitHub84 left #mojo
14:17 batman marcus: i like "aggressive caching" in cloudflare.
14:18 batman allows me to do %= stylesheet "/combined.css?v=$VERSION";
14:18 vishwanathms joined #mojo
14:18 vishwanathms_ joined #mojo
14:19 batman i might make it shorter and drop v= :)
14:22 batman i'm curious about my css show/hide trick: https://www.getbetsy.com/show-hide.css ... is that a good idea?
14:23 batman enables me to serve the same pages all over but toggle links and friends dependent if you're logged in
14:23 marcus why does it need a separate css file?
14:24 batman to enable caching of the html
14:26 marcus hmm, I actually realized that getting rid of some of the web spammers would be awesome.
14:26 marcus so cloudflare++ for the security features.
14:28 batman https://www.cloudflare.com/apps/browserblaster <-- i think this is a killer app :)
14:28 batman i think i should just enable it on my 500 page :)
14:37 batman GoSquared looks cool
14:37 sri hmm
14:37 sri looks like perl will get "my sub foo {...}"
14:37 batman why?
14:37 * sri wonders what that coukd be used for
14:37 sri s/k/l/
14:38 sri saw it on p5p
14:38 batman ok
14:38 sri it's actually a perl6 feature
14:40 batman have you looked into cloudinary marcus?
14:40 sri oooooooooh
14:41 sri monkeypatching of course
14:41 batman instead of local?
14:41 batman i haven't understood my $_; either :P
14:41 sri my sub Mojo::UserAgent::whatever { shift->get(@_) }
14:42 marcus batman: just a bit, but I plan to use it for $client project
14:42 marcus batman: it looks useful.
14:42 batman marcus: ok. looking forward to potensial feedback on my module
14:42 sri batman: local is hackish
14:42 batman sri: how is that different than *Mojo::UserAgent::whatever = sub { shift->get(@_) }; ?
14:43 marcus batman: btw, when you use the https support, how do you deal with asset loading? just relative urls?
14:43 batman marcus: when i use flexible ssl?
14:43 marcus yes
14:44 marcus batman: https://osx.iusethis.com/login <- chrome complains that some assets are not secure.
14:44 batman marcus: $self->hook(before_dispatch => sub { shift->req->url->base->scheme('https') });
14:44 batman and i put that inside sub production_mode {}
14:44 sri batman: i suspect there are semantic differences too, no idea though
14:45 batman sri: how is local hackish..? local() is just another tool in the perl toolbox :)
14:45 batman ok
14:45 sri my sub soo {} is much cleaner than hacking globs
14:49 batman i agree that it looks nicer
14:49 sri it also has a name that shows up in a trace, but i'm sure there are more advantages
14:50 batman so you don't need to use Sub::Name to set the name?
14:54 sri ah
14:55 sri sub foo { my sub bar { say 'works!' } return sub { bar() } }
14:55 sri that does not work with local
14:57 batman my $bar = sub {}; # so i guess the difference is that it has a proper name i stacktraces then
14:57 batman that is nice
14:57 sri ye, i believe it is about clean syntax
14:57 batman +1
14:57 batman :)
14:57 sri also perl -E 'my sub foo {}' already produces a warning
14:58 batman something else... any idea if there's any way to upload images from iphone/android using html5 ?
15:01 asarch joined #mojo
15:01 Foxcool joined #mojo
15:04 batman free anti virus software for osx? didn't know it was an issue...
16:05 marcus batman: I believe ios 6 will support image upload directly
16:05 marcus batman: it's not
16:05 batman ok
16:05 batman i'm most curious about the android file/image api (if it exists) since we're launching a native ios app
16:06 marcus batman: seems it works. http://stackoverflow.com/questions/6569‚Äč919/does-the-android-web-browser-allow-‚Äčuploading-photos-just-taken-from-camera
16:07 batman that was fast :) my search skills suck...
16:07 marcus 80% of my $work queries end up at SO.
16:08 batman yeah. it's great
16:10 * marcus throws some meat on the barbeque.
16:22 ZadYree Dang wheter I try to install MongoX::Helper using cpan or cpanminus, it's failing
16:23 * ZadYree likes these days, where friends are going to the beach while he's getting bashed by some perl modules.
16:23 ZadYree s/where/when/
16:28 asarch joined #mojo
16:41 CromeDome joined #mojo
17:11 d4rkie joined #mojo
17:24 Foxcool joined #mojo
17:24 d4rkie joined #mojo
17:54 marty ZadYree: ¬†Why not use http://search.cpan.org/~kristina/MongoDB/ ¬† ¬†and ¬† ¬†http://search.cpan.org/~madcat/Mojolicious-Plugi‚Äčn-Mongodb-1.05/lib/Mojolicious/Plugin/Mongodb.pm
17:59 ZadYree nice, didn't know
17:59 ZadYree well, actually my aim is to be able to call mongod's shutdown using a perl script
18:00 ZadYree That's why I was attracted by MongoX::Helper, who contains the procedural admin_shutdown_server() function
18:01 marty I think you might be able to do it with drivers run_command. ¬† ¬†http://search.cpan.org/dist/MongoDB/lib‚Äč/MongoDB/Tutorial.pod#Database_Commands
18:02 ZadYree hum yeah maybe lemme see
18:02 ZadYree thanks you
18:04 ZadYree seems quite obscure :P
18:14 ZadYree nope doesn't seem to work, as I do it
18:14 ZadYree # perl -E 'use MongoDB; my $db = MongoDB::Connection->new(host => 'localhost', port => 27017)->admin; $db->run_command({shutdownServer});'
18:23 marty # perl -E 'use MongoDB; my $db = MongoDB::Connection->new(host => 'localhost', port => 27017)->admin; $db->run_command({ shutdown => 1 });'
18:23 marty Not sure. But that might work.
18:24 ZadYree nope
18:25 marty Oh well.  was worth a try.  :)
18:25 ZadYree hehe yap
18:26 mire joined #mojo
18:34 ZadYree ok it was shutdown => 1
18:34 ZadYree I was wrong :D
18:34 ZadYree shutdownServer was the bad one
18:43 batman mocking external rest api suck :P
18:44 batman marcus: i think i will submit a patch to your auth2 module which allows for a basic auth locally
18:45 batman basic as in some embedded html which can display a connect page...
19:28 spaceships joined #mojo
20:17 lammel2 joined #mojo
20:24 rhaen joined #mojo
20:25 rhaen hep
20:25 marcus batman: I don't quite understand. Why does this need to be part of the plugin?
20:28 lammel2 left #mojo
20:28 lammel2 joined #mojo
20:41 batman marcus: so people don't have to write the same test data over-and-over-again
21:06 sri marcus: vico is now open source :o http://blog.vicoapp.com/2012/0‚Äč7/Vico-is-dead-Long-live-Vico
21:12 marcus wow
21:12 marcus will be very interesting indeed
21:31 * marcus is compiling
21:32 * marcus gets an error :(
21:32 * sri just wants a vim that looks like vico!
21:33 marcus seems my llvm is too old
21:33 sri you dinosaur
21:34 marcus it's weird, I have the latest stable xcode
21:46 lukep joined #mojo
21:47 marcus yeah, had a crappy clang in brew
21:48 marcus unlinking that makes vico compile moar better
21:51 marcus sri: vico is still quite pretty :)
21:51 lukep joined #mojo
21:59 marcus hrmf, when I save a new file as foo.html.ep in sublime, it decides it should add another .html after that
22:38 jontaylor joined #mojo
23:04 noganex mh... is there a method which dumps the default configuration to Mojolicious::Plugin::Config's filename?

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