Camelia, the Perl 6 bug

IRC log for #mojo, 2013-02-15

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

All times shown according to UTC.

Time Nick Message
00:16 Molaf_ joined #mojo
00:20 good_news_everyone joined #mojo
00:20 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/MAKZzA
00:20 good_news_everyone mojo/master 75d27a4 Sebastian Riedel: fixed a few typos
00:20 good_news_everyone left #mojo
00:40 berov joined #mojo
00:41 berov sri: this was fast :) - the correction of the typos  :) a fiew minutes ago
00:46 sri berov: next time you should say what is actually missing, took me some time to actuallt spot it :)
00:46 sri s/t/y/
00:47 berov ok, will be more clear
00:50 tm joined #mojo
00:50 tm evening all
00:56 egopro joined #mojo
00:59 diegok o/
00:59 diegok Since version 3.40 (Fixed FindBin support in Mojolicious applications) I have problems to run resque jobs using Mojo::UserAgent :-/
01:01 diegok Resque changes proccess name and it looks UA uses Mojo::Server which try to detect script name and dies with "Cannot find current script 'resque-0.11: Pro..."
01:02 diegok Not sure what to do since changing this is part of Resque "features" and I would like to be able to update Mojo :(
01:05 diegok Is there something I can do from Resque to keep this feature but allow FindBin to work properly?
01:05 diegok And, why the UA need to know the file running? :-)
01:06 sri the server only starts for "local" requests with relative urls
01:07 diegok I'm pretty sure this is not happening... this dies before any request... But I'll try to reproduce this in a simple case :)
01:08 sri perl -E '$0 = "foobar"; use Mojo::UserAgent; my $ua = Mojo::UserAgent->new; say $ua->get("mojolicio.us")->res->code;'
01:11 berov left #mojo
01:11 diegok I see.. :-/
01:12 diegok What the hell I'm doing? :-?
01:12 diegok thanks.
01:15 tm Guys is anybody here using Mojo as http proxy (proxy as in squid, tinyproxy, etc)? Curiosity more than anything :D
01:18 zaltekk joined #mojo
01:19 moltar joined #mojo
01:19 ka2u joined #mojo
01:19 sri to my surprise yes
01:20 sri this was posted here just a few days ago https://github.com/DCIT/mojo-mitm
01:21 tm please excuse my French... f***ng awesome! :D
01:22 egopro joined #mojo
01:24 tm I need to tap into server responses at the proxy of some kind and process the data browser will get
01:24 tm HTTP::Proxy is bit cumbersome and fails has tendency to fail if client closes connection before it serves the answer
01:25 tm thanks sri for the link, by the sound of it it's almost what I need + a ton more :D
01:25 sri it's pretty advanced (just so you know what you're getting into)
01:26 mire joined #mojo
01:27 sri as in... it's not just a mojolicious app, but a whole new server based on the lower level libraries mojolicious is based on
01:28 tm sri: all I need is to trigger function on specific URLs (API endpoints), gunzip data and pass to another process
01:29 tm I'm aware of that, still this is closer to what I need than messing around with squid or similar proxies... or fixing HTTP::Proxy :)
02:00 d4rkie joined #mojo
02:09 egopro joined #mojo
02:10 jpn left #mojo
02:12 knight joined #mojo
02:35 phillipadsmith Where can I find the docs on the whole production mode/development mode settings?
02:36 GabrielVieira joined #mojo
02:36 phillipadsmith nevermind… found it
02:37 sawtooth http://mojolicio.us/perldoc/Mojolicious#mode
02:37 sawtooth i'm too slow obviously. :)
02:43 jberger_ joined #mojo
02:59 GabrielVieira joined #mojo
03:03 bluescreen joined #mojo
03:05 xaka joined #mojo
03:07 phillipadsmith Hrmmmm… any idea on how to pass the MOJO_MODE to plackup?
03:08 phillipadsmith I'd like to have a development and production version of the app running on the same server, but different ports, one doing reloads and with Plack debug panel, the other just running the latest release of the code.
03:08 phillipadsmith oh, maybe I found the answer...
03:11 phillipadsmith Hrm… this does not seem to work, MOJO_MODE='production' plackup -E production mojo_app.pl
03:15 phillipadsmith Doh. It's *amazing* what a 'git pull' will do! :)
03:33 phillipadsmith And what's the trick with the mojo_app.json? Something like mojo_app.development.json and mojo_app.production.json ?
03:39 phillipadsmith Hrmmm… "You can extend the normal config file myapp.json with mode specific ones like myapp.$mode.json." Okay, but how does that work?
03:40 phillipadsmith If I use mojo_app.development.json the app->mode will be 'development' ?
03:40 phillipadsmith If so, that's pretty neat...
03:43 phillipadsmith Just renaming my mojo_app.json doesn't seem to do the trick
03:43 phillipadsmith That would be too easy, I guess...
03:48 jberger phillipadsmith, no thats the configuration that will be loaded if you are in development mode
03:48 egopro joined #mojo
03:50 jberger phillipadsmith, what is it you are trying to do? start in production mode
03:50 jberger setting the environment should do it
03:51 phillipadsmith jberger: well, yep, I'm trying to run two versions of the same app, one in production and one in development, which I'm now doing successfully by setting the MOJO_MODE before I call plackup
03:51 phillipadsmith But I was thinking it would also be nice to have a mojo_app.$mode.json for each
03:52 phillipadsmith So, what you're saying is that if I pass the MOJO_MODE='development' then it should automagically look for mojo_app.development.json?
03:52 jberger yep thats the idea
03:54 phillipadsmith k, going to try that
03:56 phillipadsmith Oh, yah, that works… lovely! :)
03:56 phillipadsmith jberger++
04:01 jberger you basically had it
04:01 jberger enjoy!
04:18 tempire where in the world is the widely accepted jstidy that should exist?
04:21 phillipadsmith tempire: never heard of it
04:35 ka2u joined #mojo
04:36 jberger tempire, I assume its missing because its easier to parse the "unparsable language" than javascript?
04:42 _slipknot joined #mojo
04:50 preflex_ joined #mojo
05:18 miniCruzer joined #mojo
05:59 spleenjack joined #mojo
06:17 _visu joined #mojo
06:32 dpetrov_ joined #mojo
06:38 yakudza joined #mojo
07:04 jzawodn joined #mojo
07:09 Mike-PerlRecruiter_ joined #mojo
07:11 * bizam_ configurable Mojolicious::Plugin::ConfigRoutes
07:14 ver joined #mojo
07:21 Vandal joined #mojo
07:40 arpadszasz joined #mojo
07:44 dod joined #mojo
08:08 dhg joined #mojo
08:26 dod joined #mojo
08:29 rem_lex| joined #mojo
08:30 mire joined #mojo
08:33 dod joined #mojo
08:36 fhelmber_ joined #mojo
08:50 daxim joined #mojo
08:59 suy joined #mojo
09:02 bobishh joined #mojo
09:04 jpn joined #mojo
09:06 jpn joined #mojo
09:09 bizam hello, I am set $app->log->level('warn') but in log file I see [debug] messages. Why?
09:10 crab where do you set the level?
09:11 bizam in Config plugin file
09:12 jpn joined #mojo
09:22 bizam I am check the level is right warn on controllers actions
09:22 berov joined #mojo
09:27 hrupp joined #mojo
09:31 Polarn left #mojo
09:32 nicomen joined #mojo
09:37 mugenken joined #mojo
09:44 _visu joined #mojo
10:10 egopro joined #mojo
10:12 jpn joined #mojo
10:14 ObseLeTe joined #mojo
10:19 jpn joined #mojo
10:21 mire joined #mojo
10:37 bizam okay, in startup $app->log->level( $app->config('log_level')); did work
10:55 suy joined #mojo
10:55 ObseLeTe joined #mojo
10:59 maxhq joined #mojo
11:01 Polarn joined #mojo
11:02 dhg joined #mojo
12:33 mattastrophe joined #mojo
13:05 Kulag joined #mojo
13:25 maxhq joined #mojo
13:29 jpn joined #mojo
13:37 moltar joined #mojo
13:50 Britzel joined #mojo
14:00 inokenty joined #mojo
14:13 bluescreen joined #mojo
14:23 ryozi joined #mojo
14:37 steveo_mich joined #mojo
14:40 maxhq1 joined #mojo
14:45 ka2u joined #mojo
14:45 maxhq joined #mojo
14:54 mst if anybody's got a moment to do a little reading, I'd very much appreciate the mojo community's thoughts on
14:54 mst http://shadow.cat/blog/matt​-s-trout/names-and-numbers/
14:54 mst and http://shadow.cat/blog/matt-​s-trout/pumpkin-perl-redux/
14:56 gryphon joined #mojo
14:59 Guest-quest joined #mojo
15:02 asarch joined #mojo
15:12 Molaf__ joined #mojo
15:23 knight joined #mojo
15:38 ka2u joined #mojo
15:39 cfedde reading
15:49 Akron joined #mojo
16:03 berov shared on LinkedIn
16:10 hrupp left #mojo
16:11 labrown joined #mojo
16:13 ka2u joined #mojo
16:21 egopro joined #mojo
16:41 yakudza joined #mojo
16:58 inokenty joined #mojo
16:59 hrupp joined #mojo
17:08 xaka joined #mojo
17:14 ka2u joined #mojo
17:18 spleenjack joined #mojo
17:19 tempire mst: I think you'll find mojo people in general to be in support of it.  We're all about branding here.
17:21 tempire I think it's VITAL that whatever new brand has a solid and attractive presentation, though.  The logo has to look great.  Not ok.  Great.
17:22 tempire and orange is good.
17:22 tempire http://mojocasts.com/images/perl5.png
17:34 egopro joined #mojo
17:45 ka2u joined #mojo
17:56 ka2u joined #mojo
18:00 berov tempire++ :)
18:01 berov left #mojo
18:05 al joined #mojo
18:08 knight joined #mojo
18:23 d4rkie joined #mojo
18:26 * sri has been thinking a bit about a pumpkin perl logo
18:27 sri it's very easy to look too halloween or pumpkin festival
18:29 mst tempire: given pretty much all of the raptor stuff has been a mixture of sri and mdk after I coined the term, I have faith :)
18:31 mst sri: buggered if I know
18:32 nelio joined #mojo
18:33 sri http://twitpic.com/c410vk/full # that's the direction i've been doodling into
18:36 sri friendly robot head that looks a bit like a pumpkin
18:40 dod joined #mojo
18:41 avenj that's cute
19:01 egopro joined #mojo
19:08 Mike-PerlRecruiter_ joined #mojo
19:16 mst sri: also consider the Tim Burton influence
19:16 mst sri: after all, we are talking about the pumpking's perl
19:16 mst sri: and for the people who wanted perl6 to be the only future
19:16 mst sri: we're definitely the nightmare before christmas ...
19:20 dhg joined #mojo
19:30 dpetrov_ joined #mojo
19:35 Revlin joined #mojo
19:36 _xaka_ joined #mojo
19:40 tempire oh snap
19:48 * sri doesn't want a grim logo
19:54 Pizentios joined #mojo
19:55 xaka joined #mojo
20:01 BeDa joined #mojo
20:05 sri maybe i'll pass this time
20:07 jberger_ joined #mojo
20:16 marcus i agree, a grim logo seems like a mistake.
20:29 basic6 joined #mojo
20:31 mst I don't really see the pumpkin king out of that as grim
20:31 mst but I've spent too much time hanging out with goths
20:31 mst sri: sticking a crown on the pumpkin might work really well though
20:31 mst anyway
20:32 * mst shuts up and leaves the 'making things pretty' to the people who know how to do that
20:36 jberger_ mst we need some crazy perl knowledge in #pdl, do you have a minute?
20:38 jberger_ just happened to see you here
20:53 rem_lex|pivo joined #mojo
21:12 sherr joined #mojo
21:23 sri oh wow, http://russian.rt.com/-1
21:26 marty double wow.  that
21:26 marty that's a pretty big site
21:38 sri RT is rank 958 on alexa
21:39 phillipadsmith sri: whoa… RT? Seriously?
21:39 phillipadsmith *Amazing*
21:41 steveo_mich left #mojo
21:42 phillipadsmith On another note, I've developed a little Mojo::Lite app that is pulling data from a Google Spreadsheet using Net::Google::Spreadsheet and I'm wondering about performance issues, i.e., every request creating a new Net::Google::Spreadsheets object and what the implications of that are… Any thoughts appreciated.
22:15 sri damn, i need a new blog :( http://blog.posterous.com/thanks-from-posterous
22:20 jberger > We’d like to thank the millions of Posterous users who have supported us on our incredible journey
22:20 jberger with millions of supporters you'd think they could host a little blog engnie
22:20 jberger engine
22:21 jberger where do you host mojolicio.us
22:22 sri dedicated server
22:22 jberger I'm sure it could handle a little static blog
22:22 sri i'm not interested in hosting my own blog though
22:22 jberger oh well thats a different story
22:26 DaTa github-pages then?
22:26 sri tumblr i guess
22:28 sri hopefully someone will release a migration tool in the next few days
22:32 sri or maybe wordpress.com... they have an importer
22:36 sri oh, wordpress.com also supports gist
22:39 Akron joined #mojo
22:41 sri oh, subdomain mapping costs extra though :S
22:42 xaka joined #mojo
22:49 mire joined #mojo
23:05 phillipadsmith sri: git-hub pages dude
23:06 memowe_ joined #mojo
23:06 phillipadsmith plus http://jekyllbootstrap.com/les​sons/jekyll-introduction.html
23:06 sri i kind of don't want to spend the next week importing old blog posts...
23:06 phillipadsmith sri: as you said, someone will come up with an importer
23:07 phillipadsmith it's just static files, so it's not much of an "import"
23:07 sri looking through the hackernews thread, i'm starting to doubt that, i'm one of the last to leave :(
23:07 phillipadsmith and you're working w/ git all day anyway
23:19 sri jekyllbootstrap is really easy to setup though
23:24 Akron If i remember correctly, you wanted to leave right after the announcement of the twitter purchase. ;)
23:24 sri sooo, why has nobody built a jakyll clone with mojolicious yet?
23:24 * sri is disappoint
23:27 mire joined #mojo
23:29 sri oh, jekyll has a posterous migration tool :o
23:38 jberger sri: oddly I was just thinking about something like that
23:38 jberger I don't have time now
23:38 jberger but it seems rather obvious
23:38 * sri is also considering octopress now
23:38 jberger I use octopress for perl4science.github.com
23:39 jberger its ok
23:39 jberger its a kinda strange workflow
23:39 jberger but part of that is because of the way github renders the page from the master branch and so the source is in another
23:40 jberger once you get used to it, its very helpful
23:50 Akron Awww - the octopress is really cute!
23:50 Akron The mascot I mean.

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