Camelia, the Perl 6 bug

IRC log for #mojo, 2012-03-18

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

All times shown according to UTC.

Time Nick Message
00:13 abra joined #mojo
01:01 GitHub65 joined #mojo
01:01 GitHub65 [mojo] kraih pushed 1 new commit to master: http://git.io/L8MfHw
01:01 GitHub65 [mojo/master] updated command reference with new commands - Sebastian Riedel
01:01 GitHub65 left #mojo
01:12 xxtjaxx_ joined #mojo
01:31 alnewkirk joined #mojo
01:47 ispy_ Hey everyone.
01:47 purl i think everyone is asleep
01:47 ispy_ haha
01:48 ispy_ I've been trying to put some finishing touches on beta.after5detroit.com ... some web applications are just never finished it seems...
02:48 GitHub193 joined #mojo
02:48 GitHub193 [mojo] kraih pushed 1 new commit to master: http://git.io/Y8EM4g
02:48 GitHub193 [mojo/master] simplify cpanify command a bit - Sebastian Riedel
02:48 GitHub193 left #mojo
02:55 GitHub85 joined #mojo
02:55 GitHub85 [mojo] kraih pushed 1 new commit to master: http://git.io/0d3a8w
02:55 GitHub85 [mojo/master] a few more command examples - Sebastian Riedel
02:55 GitHub85 left #mojo
03:29 newbie1 joined #mojo
04:25 preflex_ joined #mojo
05:03 Foxcool joined #mojo
05:51 tholen_ joined #mojo
06:00 adrianchongmy joined #mojo
06:20 lammel2 joined #mojo
07:19 binaryking joined #mojo
07:19 binaryking hi
07:20 binaryking I'm new to Perl
07:20 binaryking I have to make a site for a contest and I thought of using Mojolicious
07:20 binaryking how do i start with?
07:20 binaryking I wanna make a CGI website
07:21 inokenty binaryking: Hi
07:21 inokenty binaryking: http://mojolicio.us/perldoc/Mojolicious/Lite
07:21 inokenty You can start here
07:21 binaryking ah.......actually I've got all the docs printed
07:21 binaryking :)
07:23 binaryking http://pastebin.com/a5bFPgJR
07:23 binaryking plz. help
07:24 binaryking the title isn't showing when I'm running my cgi script
07:24 binaryking its just showing - 302 found Mojo::UserAgent=HASH[blah.......blah]
07:24 inokenty Oh, you need to use templates
07:25 binaryking how do i do that?
07:25 binaryking like.. for eg?
07:25 inokenty http://mojolicio.us/perldoc/Mojolicious/Lite - have you read this?
07:26 binaryking nope.
07:26 inokenty You don't have to use CGI.pm at all
07:26 inokenty It is evlil
07:26 inokenty *evil
07:27 binaryking oh........ so stupid of me............ ;)
07:27 inokenty Just read the article and then start coding =)
07:27 binaryking so how to go about................as in I need to make a template?
07:27 binaryking oh..........alright.
07:27 binaryking thanks
07:28 binaryking if i want to read one word at a time in a given sentence...............how do i do that?
07:29 binaryking and.yes - all HTML is generated using templates?
07:29 inokenty Yep
07:29 inokenty No html in perl code
07:29 inokenty Only in templates
07:29 binaryking oh...........alright! :)
07:30 binaryking if i want to read one word at a time in a given sentence...............how do i do that?
07:31 binaryking any idea?
07:31 purl any idea is welcomed.
07:32 binaryking is there any sort of book available on Mojolicious?
07:32 inokenty binaryking: All the documentation is here http://mojolicio.us/
07:33 binaryking okay
07:33 abra joined #mojo
07:33 binaryking my frnds use PHP but I thought of using smthing really diff.
07:33 binaryking they are telling that Perl is vanishing?
07:34 inokenty They are wrong )
07:34 binaryking PHP is now the real BOSS
07:34 binaryking ^^ they say
07:34 binaryking I live in india
07:34 inokenty They knows nothing about Mojolicious
07:34 binaryking all the sites use PHP
07:34 binaryking and no Perl
07:34 inokenty Perl is the future
07:34 binaryking so maybe that's why it is believed that Perl is nothing
07:35 binaryking yeah! i agree
07:35 binaryking the coding is really very simple
07:35 binaryking :)
07:35 binaryking is mojolicious supported on all web servers?
07:36 inokenty Mojolicious has it's own web server called Hypnotoad
07:36 inokenty For use in production
07:36 inokenty And you can set up nginx or apache
07:37 binaryking actually I've registered a domain from a local domain registrar
07:37 jamesw anywhere plack can go
07:37 purl any is probably being done as a particular language feature
07:37 binaryking bigrock.in
07:37 binaryking ^^
07:37 binaryking I've bought hosting, too with Perl support
07:37 binaryking is it enough?
07:38 jamesw 'perl support' can mean lots of things
07:38 binaryking means that it supports CGI
07:38 binaryking is it okay?
07:39 jamesw its not ideal, it works, but slowly
07:39 inokenty And uses a lot of CPU
07:40 binaryking see the details here -> http://www.bigrock.in/web-hosting/index.php
07:41 binaryking what should i do now?
07:41 jamesw perhaps it has mod_perl
07:43 binaryking is it alright?
07:43 binaryking bigrock offers an Apache server
07:46 binaryking tempire: can u help me with this?
07:46 jamesw ask if it supports mod_perl otherwise you're stuck with cgi
07:47 binaryking alright.
07:47 purl alright. is there any way to make a new perl filehandle without it doing the fstat?
07:48 jamesw yeah, sorry you didn't choose a good hoster
08:01 inokenty binaryking: http://pastebin.com/AA0Jv6md
08:02 inokenty oh he is out
08:02 jamesw yeah
08:09 abra joined #mojo
08:11 abra joined #mojo
08:33 abra joined #mojo
08:40 kaare joined #mojo
08:42 Properler joined #mojo
08:50 hshong joined #mojo
09:04 danger joined #mojo
09:10 danger Using Mojolicious::Lite, is there a way to conditionally rewrite static links for a site using proxypass for both app.site.com and site.com/app so that links for static content and urls are generated as site.com/app1/css.css conditionally, or is it best to do with htaccess? Cheers.
09:12 OpossumPetya joined #mojo
09:28 danger joined #mojo
09:50 danger joined #mojo
10:00 OpossumPetya joined #mojo
10:01 RussianSpy joined #mojo
10:02 OpossumPetya joined #mojo
10:03 RussianSpy joined #mojo
10:09 danger joined #mojo
10:11 batman joined #mojo
10:18 binaryking joined #mojo
10:19 binaryking hey again!
10:20 binaryking inokenty: can u suggest me any domain registrar which supports Mojolicious wholly?
10:22 binaryking maybe any1 else? ^^
10:24 inokenty binaryking: http://pastebin.com/AA0Jv6md - this is how your app can look like
10:26 binaryking inokenty: hey..........you're so gr8!! thanks a lot!! :)
10:26 binaryking can u help me decide a domain registrar?
10:26 binaryking GoDaddy?
10:26 purl GoDaddy is a registrar.
10:26 binaryking it supports Mojo?
10:27 inokenty I dunno about registrar, ask someone more competent
10:27 binaryking purl^^?
10:28 inokenty Despite the fact that he is a bot )
10:30 binaryking oh! he...........he :)
10:30 preflex_ joined #mojo
10:32 binaryking any registrar suggestion which supports Mojolicious fully??
10:34 inokenty binaryking: maybe http://www.heroku.com/
10:34 binaryking lemme check :)
10:36 inokenty https://github.com/judofyr/perloku - the deployment howto
10:37 danger joined #mojo
10:39 binaryking inokenty: you're so cool! thanks once again.
10:39 binaryking :)
10:43 RussianSpy тест
10:43 inokenty Тест пройден
10:43 RussianSpy :))
10:44 binaryking inokenty: in the languages portion, it doesn't list Perl
10:44 binaryking http://devcenter.heroku.com/
11:05 danger joined #mojo
11:09 d4rkie joined #mojo
11:11 * sri yawns
11:22 jamesw that's a shock
11:23 d4rkie joined #mojo
11:29 jamesw there's also https://github.com/miyagawa/heroku-buildpack-perl
11:29 jamesw oh they left
11:30 inokenty junkpiano: Do you know how to restart app on heroku?
11:41 inokenty Oh, cool. It restarts automatically after git push
12:10 mire_ joined #mojo
13:35 mire_ joined #mojo
13:37 Properler joined #mojo
13:49 lammel2 joined #mojo
14:15 binaryking joined #mojo
14:16 binaryking inokenty: heroku is really difficult to understand
14:16 binaryking and if i upload my app onto heroku how do i specify a particular domain?
14:19 binaryking can any1 suggest me a web registrar which supports Mijilicious?
14:19 binaryking *Mojolicious
14:22 inokenty binaryking: I've tried heroku a few hours ago and it is really simple
14:22 inokenty by this howto https://github.com/judofyr/perloku
14:22 binaryking I've uploaded the eg app and it isn't working
14:23 inokenty Mine works flawlessly http://peredreifus.herokuapp.com/
14:26 GitHub144 joined #mojo
14:26 GitHub144 [mojo] kraih pushed 1 new commit to master: http://git.io/87MlKw
14:26 GitHub144 [mojo/master] only list the most common use cases in command overview - Sebastian Riedel
14:26 GitHub144 left #mojo
14:27 binaryking inokenty: mine - http://warm-meadow-4609.heroku.com/
14:28 inokenty binaryking: write "heroku ps" in your terminal and tell what do you see there
14:29 binaryking App not found
14:29 inokenty So you haven't any apps yet
14:29 binaryking but I've uploaded it
14:29 inokenty Using git?
14:29 purl hmmm... Using git is so much nicer than svn.  It just feels modern, even with its warts.
14:30 binaryking do i have to start it again?
14:30 inokenty binaryking: https://github.com/judofyr/perloku
14:30 inokenty Do it step by step
14:30 inokenty It worked for me
14:31 binaryking alright
14:31 binaryking :)
14:31 binaryking thanks
14:31 binaryking heroku create -s cedar --buildpack http://github.com/judofyr/perloku.git
14:32 binaryking ^^ it will be as it is?
14:32 inokenty Yep
14:34 binaryking now its Application Error
14:34 inokenty What kind of?
14:35 binaryking http://morning-warrior-9596.herokuapp.com/
14:35 binaryking when i run PORT=3000 ./Perloku
14:35 binaryking it shows permission denied
14:36 binaryking alright its working on my local server
14:36 binaryking thanks for help
14:36 binaryking 1 ques.
14:37 binaryking how do make multiple webpages?
14:37 inokenty binaryking: By creating routes
14:38 binaryking routes?
14:38 purl hmmm... routes is not perfect but the new version is quite close or rooted
14:39 inokenty binaryking: http://mojolicio.us/perldoc/Mojolicious/Lite
14:39 binaryking yippeeeee.......its working -> http://morning-warrior-9596.herokuapp.com/
14:39 inokenty binaryking: get '/hello' => sub { ... }
14:39 inokenty binaryking: Congratulations
14:39 purl Congratulations are in order, if so.
14:40 binaryking oh i get it
14:40 binaryking so how will a URL look like?
14:41 binaryking and if i wanna make different pages?
14:41 binaryking then?
14:41 purl NO AND THEN! or correct in that sentence
14:42 binaryking inokenty: there?
14:42 purl i think there is an actual bug here - version nos would be useful though :)
14:42 Properler joined #mojo
14:43 inokenty binaryking: I thihk you better read the article http://mojolicio.us/perldoc/Mojolicious/Lite and lots of questions will desappear )
14:44 inokenty s/desappear/disappear/
14:44 inokenty I an new to Mojolicious too )
14:45 sri or watch the screencasts
14:45 sri http://mojocasts.com/e1
14:45 inokenty True
14:45 sri wow
14:45 * sri just noticed the first screencast used mojolicious 1.5 :o
14:48 binaryking sri: I have a URL that is ............herokuapp.com but I want a super domain. How to do that?
14:48 sri that's heroku specific, and has nothing to do with mojolicious
14:49 binaryking so I can't do anything as in to mask the URL?
14:49 sri i'm sure you can, i just don't know how
14:49 sri every hosting provider handles that differently
14:49 jamesw http://devcenter.heroku.co​m/articles/custom-domains
14:51 jamesw you just need to get one from a registrar
14:51 sri from the application/framework side you've already succeeded, now you just configure heroku a little different, like jamesw says
14:52 zivester joined #mojo
14:54 sri tempire: domain setup with heroku might be an interesting topic for a screencast too
14:54 sri from first deployment to custom domain
14:55 inokenty Yeah, we are waiting for new mojocast
14:56 sri well, he's preparing a talk for yapc::na, so he's allowed to slack a bit :)
15:02 binaryking it requires  a credit card no.
15:02 binaryking so now I don't have to buy hosting?
15:04 binaryking Mojo is too cool!
15:04 binaryking :)
15:05 * binaryking wishes if he could have a whole book written on Mojolicious
15:29 d4rkie joined #mojo
15:30 Foxcool joined #mojo
15:36 GabrielVieira joined #mojo
15:45 Psyche^ joined #mojo
15:59 mire_ joined #mojo
16:25 abbe joined #mojo
16:27 abbe hi
16:27 abbe are there any example webapps available for mojolicious?
16:29 inokenty abbe: Hi
16:29 purl privet, inokenty.
16:29 inokenty O_o
16:29 abbe Hello inokenty
16:30 inokenty purl: You're speak russian? ))
16:30 purl inokenty: i'm not following you...
16:30 inokenty abbe: https://github.com/kraih/mojo/wiki/Pro​jects-and-Companies-Using-Mojolicious
16:30 abbe oh, thanks
16:39 rwstauner joined #mojo
16:45 bobkare abbe: also check out the example linked to from mojocasts.com
16:47 abbe wow, thanks bobkare :)
16:51 sri that example should really be linked from the wiki too :(
16:51 sri someone add it please
16:54 mire_ joined #mojo
17:09 marcus inokenty: Purl only speaks retard.
17:13 vel joined #mojo
17:44 inokenty joined #mojo
18:39 tempire sri: that's a good counter point for people still saying that mojolicious isn't stable.
18:40 tempire everything in the mojocasts still applies, even back to 1.5
18:40 sri indeed :)
18:44 janus joined #mojo
19:42 GitHub32 joined #mojo
19:42 GitHub32 [mojo] kraih pushed 1 new commit to master: http://git.io/PUVzfg
19:42 GitHub32 [mojo/master] added Mojo::DOM parsing example with charset and hint for tuning Hypnotoad - Sebastian Riedel
19:42 GitHub32 left #mojo
20:02 GitHub25 joined #mojo
20:02 GitHub25 [mojo] kraih pushed 1 new commit to master: http://git.io/DAMnfw
20:02 GitHub25 [mojo/master] smart whitespace trimming is enabled by default - Sebastian Riedel
20:02 GitHub25 left #mojo
20:15 newbie1 joined #mojo
20:17 perlite_ joined #mojo
20:20 tempire http://www.dafont.com/ponyr​ides.font?text=Mojolicious
20:22 osprey_ joined #mojo
20:23 osprey_ hi
20:23 tempire HI!
20:32 osprey_ in mojo pre 2 I can use Mojo::IOLoop->trigger
20:33 osprey_ but after 2 trigger removed
20:33 osprey_ any sample of non-block downloads?
20:33 osprey_ example*
20:35 osprey_ ok. found IOLoop->delay
20:38 tempire pre 2!
20:38 tempire that's like 80 years ago
20:39 tempire why such an old version?
20:39 osprey_ erm.. I told  1 month ago
20:39 osprey_ perl 5.10
20:39 purl well, perl 5.10 is RIGHT NOW !!! or Perl5 X or http://www.slideshare.net/rjbs/perl-51​0-for-people-who-arent-totally-insane/
20:39 lukep joined #mojo
20:42 tempire osprey_: https://github.com/jamadam/mojo-legacy
20:42 osprey_ amazing
20:42 osprey_ 5.8
20:46 preflex_ joined #mojo
20:49 osprey_ left #mojo
21:04 vel joined #mojo
21:24 xenu joined #mojo
22:11 abra joined #mojo
22:27 preflex_ joined #mojo
22:52 alnewkirk joined #mojo
23:29 ispy_ joined #mojo
23:59 tempire lulz.  top comment by 3N16MA is one of the best comments ever on macrumors: http://www.macrumors.com/2012/03/18/appl​e-to-host-conference-call-monday-concern​ing-its-near-100-billion-cash-balance/

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