Camelia, the Perl 6 bug

IRC log for #mojo, 2012-08-09

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

All times shown according to UTC.

Time Nick Message
00:32 tm guys... I'm trying mojo in fastcgi in lighttpd... following https://github.com/kraih/mojo/wiki/​Deploying-on-Lighttpd-with-FastCGI but it can't start process... when I run the process manually ./script/my_app fastcgi I get "Unknown command "fastcgi", maybe you need to install it?" but libfcgi-perl is installed
00:33 tm anybody kind enough to stick a finger in my eye and say 'here, fool - that's how you do it'? :-)
00:44 tm never mind - sorted
01:02 laouji joined #mojo
01:18 zhutingting joined #mojo
01:40 xaka joined #mojo
01:40 zhutingting hi~
01:41 zhutingting i use b($post->{content})->html_unescape, it show error Undefined subroutine &Mojo::Template::SandBox::b
01:41 zhutingting so I must use as &Mojo::ByteStream::b($post-​>{content})->html_unescape to do that?
01:41 zhutingting any other good method?
02:25 d4rkie joined #mojo
02:38 Psyche^ joined #mojo
02:38 daniel_ joined #mojo
02:39 amirite joined #mojo
02:58 noganex_ joined #mojo
03:34 GitHub148 joined #mojo
03:34 GitHub148 [mojo] kraih pushed 1 new commit to master: http://git.io/gUnsvw
03:34 GitHub148 [mojo/master] better WebSocket tests and proxy example - Sebastian Riedel
03:34 GitHub148 left #mojo
03:36 woremacx joined #mojo
04:10 GitHub18 joined #mojo
04:10 GitHub18 [mojo] kraih pushed 1 new commit to master: http://git.io/OhzcLg
04:10 GitHub18 [mojo/master] a few more MIME type detection tests - Sebastian Riedel
04:10 GitHub18 left #mojo
04:15 zhutingting joined #mojo
04:21 tempire false promises are the devil
04:22 tempire given that there's no guarantee now, I vote for removing the guarantee completely.  especially since very few people are familiar with the differences between async backends.
04:23 tempire I'd say in the Perl community, there's probably: 1) sri 2) The AnyEvent author 3) maybe 3 other people.
04:24 amirite joined #mojo
04:34 sri dngor and LeoNerd know more than me about event loops
04:35 sri tempire: http://mojolicio.us/perldoc/Mojo/IOLoop#start # you ok with the latest version?
04:36 tempire well that's 2 out of the 3 other people :)
04:37 sri only the actual reactor classes make more specific guarantees now
04:37 sri http://mojolicio.us/perldo​c/Mojo/Reactor/Poll#start
04:40 tempire the only thing that pops out at me is "my $id = $loop->stream($stream)" seems weird, given "my $stream = $loop->stream($id)"
04:40 sri set and get
04:42 sri not sure how that's weird, what am i missing?
04:42 sri you only put in a stream if you make your own
04:43 tempire and it returns a newly generated id
04:43 sri yes, and the stream is in the system
04:43 tempire that makes sense given the explanation
04:44 sri ->client and ->server do that automatically for you
04:44 tempire IOLoop isn't meant as a end-user api anyway, it's fine.
04:44 * sri nods
04:45 * tempire wants to create cool stuff with event loops
04:45 * tempire cries and continues to study
04:45 * sri would like to play more with threads :S
04:46 tempire I'm excited to explore such topics with haskell
04:46 sri i give it maybe 2-3 more years and ruby/python implementations with real threads will take over from the reference implementations
04:47 * sri shakes perl6
05:25 GitHub156 joined #mojo
05:25 GitHub156 [mojo] kraih pushed 1 new commit to master: http://git.io/Xj8MGw
05:25 GitHub156 [mojo/master] better connect proxy example - Sebastian Riedel
05:25 GitHub156 left #mojo
05:27 sri should be pretty readable now https://github.com/kraih/mojo/blob​/master/examples/connect-proxy.pl
05:39 zhutingting joined #mojo
05:42 spleenjack joined #mojo
05:48 mire joined #mojo
06:00 Britzel joined #mojo
06:07 ovnimancer joined #mojo
06:39 ovnimancer joined #mojo
06:40 laouji joined #mojo
06:54 espent joined #mojo
07:02 taryk joined #mojo
07:09 y0j_ joined #mojo
07:10 y0j_ left #mojo
07:24 Vandal joined #mojo
07:37 yko joined #mojo
07:41 cosmincx joined #mojo
07:46 fhelmber_ joined #mojo
07:55 Leandr joined #mojo
07:59 zhutingting joined #mojo
08:01 fhelmber_ joined #mojo
08:09 davido joined #mojo
08:14 mike_ joined #mojo
08:16 migo joined #mojo
08:18 davido I've put an HTML version of the slides from my Perl Mongers presentation about using Perl with dotCloud (some Mojolicious content) on http://perldotcloud-daoswald.dotcloud.com  The examples will set up a lite app and push it to dotCloud.  The slides were reviewed by one of dotCloud's developers.
08:20 pau4o joined #mojo
08:32 diegok davido: do you know tempire deploy command?
08:33 diegok davido: would be really nice if deploy to dotcloud works the same as deploy to heroku :)
08:34 rem_lex|pivo joined #mojo
08:34 davido I haven't used heroku.
08:35 davido So, it's a "deploy in one step" tool?
08:36 davido With dC you initialize the namespace (dotcloud create myapp), and then push (dotcloud push myapp).
08:37 zhutingting how to update records using ORLite?
08:40 davido diegok: I found this: http://tempire.github.com/mojo​licious-command-deploy-heroku/
08:41 diegok davido: yep, it's on cpan
08:41 diegok davido: but yes, it's that
08:41 davido Cool.  I'll check it out.  Nice to learn another alternative.
08:42 diegok davido: what I mean is that you can talk to him to add dotcloud support to deploy command :)
08:42 diegok would be fantastic!
08:42 davido Oh, good idea.  I'll send him an email tomorrow when I'm less sleepy. :)
08:43 diegok davido++ :)
08:43 zhutingting davido++:)
08:43 davido I know dC is actively working on adding features to their Perl services as well.  It's becoming a nice platform.
08:49 diegok davido: yes, it's nice. Only problem for mojolicious is it's not running on hypnotoad nor using a PSGI.async without nginx to allow websockets..
08:49 diegok davido: but yes it is.
08:50 mjy joined #mojo
08:50 davido http://docs.dotcloud.com/guides/websockets/   <<<----- Is that applicable?
08:51 davido Anyway, they're working on a new "Custom" service that affords greater flexibility.  I suspect it will open up a lot of doors when it's available.  I've got beta access to it but haven't had time to tinker yet.
08:56 davido This too: http://blog.dotcloud.com/dotcloud-a​nnounces-native-support-for-websock
09:05 berov joined #mojo
09:09 davido hmm.... it's an interesting puzzle.
09:10 marcus_ joined #mojo
09:28 davido joined #mojo
09:33 daxim joined #mojo
09:40 amirite joined #mojo
09:43 omega joined #mojo
09:47 edenc joined #mojo
09:47 alnewkirk joined #mojo
10:39 Coff joined #mojo
11:39 jnap joined #mojo
11:45 baton8 joined #mojo
11:52 marcus_ sri: the only think I've found which makes threads remotely fun is http://libdispatch.macosforge.org/
11:53 marcus_ wonder if you could get gcd into p5 somehow
11:53 marcus_ considered production-worthy on freebsd 8.1 and later.
12:05 mike_ joined #mojo
12:07 zhutingting left #mojo
12:26 Lucas1 joined #mojo
12:46 jnap joined #mojo
12:50 ruz joined #mojo
13:25 CromeDome joined #mojo
13:34 gryphon joined #mojo
13:35 berov left #mojo
13:41 inokenty joined #mojo
14:45 sri marcus_: i think consensus is that real threads in perl are impossible as long as it uses ref counting
14:46 marcus_ sri: ios isn't even using any gc :)
14:46 marcus_ they resolve it at compile time.
14:46 sri perl is dynamic
14:46 marcus_ so is obj-c
14:47 marcus_ obj-c is a dynamic runtime on top of c
14:52 mire joined #mojo
14:53 ZadYree but so ugly
14:55 kmx joined #mojo
15:05 memowe_ joined #mojo
15:25 ruz joined #mojo
15:25 labrown joined #mojo
15:30 alester joined #mojo
15:39 JasonCrome joined #mojo
15:47 Britzel joined #mojo
15:52 berov joined #mojo
15:52 berov left #mojo
15:57 xaka joined #mojo
16:16 rwstauner joined #mojo
16:20 sri textmate is now open source :o
16:23 pau4o left #mojo
16:23 vervain joined #mojo
16:29 Netfeed oO
16:30 GabrielVieira joined #mojo
16:32 GabrielVieira Hey, can I get the request URL from the template? Or should I create a helper/stash key?
16:36 Leandr joined #mojo
16:43 d4rkie joined #mojo
16:48 sri pretty nice move, they will keep selling a commercial version, but the source will be open and people can contribute
16:48 sri hope it works out
17:11 CromeDome joined #mojo
17:49 sri oh neat, marcus perltidy patch for st2 has been merged
17:52 mire joined #mojo
18:22 fhelmber_ joined #mojo
18:56 GabrielVieira Hey, can I get the request URL from the template? Or should I create a helper/stash key?
19:00 xaka GabrielVieira: isn't it in stash already?
19:00 xaka i mean the request object
19:23 GabrielVieira joined #mojo
19:57 GabrielVieira xaka: I didnt find in stash
20:01 fhelmber_ joined #mojo
20:04 jnap_ joined #mojo
20:05 xaka joined #mojo
20:10 fhelmber_ joined #mojo
20:17 GabrielVieira I'm using url_for helper with no arguments :)
20:55 jnap joined #mojo
21:00 jnap_ joined #mojo
21:47 amirite_ joined #mojo
21:52 lukep joined #mojo
22:37 batman joined #mojo
22:51 amirite joined #mojo
22:51 gryphon joined #mojo
22:53 GitHub2 joined #mojo
22:53 GitHub2 [mojo] kraih pushed 1 new commit to master: http://git.io/Qt8Vkw
22:53 GitHub2 [mojo/master] updated jQuery to version 1.8 - Sebastian Riedel
22:53 GitHub2 left #mojo
23:08 davido joined #mojo
23:10 davido left #mojo

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