Camelia, the Perl 6 bug

IRC log for #mojo, 2012-01-26

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

All times shown according to UTC.

Time Nick Message
00:03 Mojo-padawan GabrielVieira: Yup that was it.
00:05 Mojo-padawan Does Mojolicious have a way of database paging? Say I have several hundred records and want to display 20 per page.
00:17 elb0w joined #mojo
00:40 abstract joined #mojo
00:40 hshong joined #mojo
00:47 d4rkie joined #mojo
00:53 marty Mojo-padawan: Mojolicious is database agnostic.  You'll have to roll your own solution atm.
01:56 vlixes joined #mojo
01:58 jnap joined #mojo
02:08 ColonelPanic001 joined #mojo
02:24 amoore joined #mojo
03:09 xaka joined #mojo
03:21 kitt_vl joined #mojo
03:38 Psyche^ joined #mojo
03:52 jnap joined #mojo
03:53 noganex_ joined #mojo
03:55 lebOH joined #mojo
04:03 vlixes left #mojo
05:27 AmeliePoulain joined #mojo
05:37 koban joined #mojo
06:29 AmeliePoulain joined #mojo
06:31 * tempire dances
06:42 batman joined #mojo
06:43 batman joined #mojo
06:45 marcus tempire: traitor!
06:46 tempire pshaw
06:46 marcus tempire: turncloak!
06:46 tempire their logo guy isn't even dancing
06:46 tempire just sort of jumping
06:46 tempire THERES NOT EVEN A RAINBOW
06:46 marcus kinda looks like an itunes ad.
06:46 marcus ipod even
06:47 marcus http://www.youtube.com/watch?v=NlHUz99l-eo
06:47 tempire I prefer the stewie version
06:47 marcus http://www.youtube.com/watch?v=z_C4HXRjCCs ?
06:48 tempire close enough
06:48 purl i think close enough is http://verydemotivational.files.wordpress.com/2​011/03/demotivational-posters-close-enough.jpg
06:48 tempire though this seems more appropriate: http://www.youtube.com/watch?v=​yfE3Ci55ifQ&feature=related
06:49 marcus rock lobster \o/
06:51 marcus http://www.youtube.com/watch?v=szhJzX0UgDM
07:26 Vandal joined #mojo
07:38 spleenjack joined #mojo
08:02 lammel2 joined #mojo
08:02 lammel2 left #mojo
08:14 mire joined #mojo
08:25 berov joined #mojo
08:50 rhaen hm.
08:50 buu .mh
09:13 marcus .mooh.
09:29 robinsmidsrod joined #mojo
09:34 sri moin
09:47 rhaen moin sri
09:47 rhaen hej channel!
10:11 Foxcool joined #mojo
10:13 judofyr joined #mojo
10:22 marcus hej rhaen
10:22 marcus HOW MUCH IS THE FISH?
10:24 rhaen Are we in Scooter land now?
10:25 marcus rhaen: IT'S NICE TO BE IMPORTANT, BUT IT'S MORE IMPORTANT TO BE NICE!
10:25 marcus rhaen: YOU KEEP THE SPIRIT ALIVE!
10:26 GabrielVieira joined #mojo
10:27 GabrielVieira hey 'sub startup' doesnt work on mojolicious::lite?
10:31 rhaen marcus: I am feeling sick now
10:31 rhaen hm, I really should hack on the mojo wiki!
10:39 rhaen Right now - updating pkgsrc for NetBSD.
10:39 rhaen Great fun :)
10:50 marcus GabrielVieira: you den need startup in a lite script, your script is running at startup
10:52 GabrielVieira I couldn't understand, sorry
10:54 marcus GabrielVieira:  plugin 'foo'; # runs at startup
10:54 GabrielVieira I tried to define some routes, log->info and other things inside the sub startup but it didn't work
10:54 GabrielVieira oh
10:54 GabrielVieira I got
10:55 crab your entire lite script is effective a sub startup
10:55 GabrielVieira yeah, but I cant do something like app->log->info( "My translated string " . app->l('string') );
10:55 crab why not?
10:55 GabrielVieira it returns an error
10:55 crab what sort of error?
10:56 GabrielVieira Can't call method "localize" on an undefined value at /home/gabriel/perl5/perlbrew/perls/perl-5.15.7/​lib/site_perl/5.15.7/Mojolicious/Plugin/I18N.pm line 49
10:56 crab sounds like the plugin's doing something weird.
10:57 crab how about removing the app->l call and see what it does?
10:58 GabrielVieira whitout the app->l works fine
10:59 crab so that's the problem, the plugin is unhappy.
10:59 crab why the plugin is unhappy, i cannot say. did you feed it properly? ;-)
11:00 GabrielVieira hahaha
11:00 GabrielVieira I think so =)
11:00 GabrielVieira hummm
11:00 GabrielVieira wait a minute
11:01 GabrielVieira yeah, I did
11:01 sri https://github.com/kraih/mojo/commit/3d9ea9e3c027​dc80e4b95ecd4b1059714d595d32#commitcomment-903697
11:01 sri haha ;p
11:04 sri judofyr: you laugh now, but … is an actual perl feature perl -E'…'
11:04 sri the yada yada operator
11:04 judofyr hahaha
11:05 judofyr the unicode version doesn't work though… :/
11:05 GabrielVieira crab: inside the templates the L (in lowercase) works, but not with app->l('string')
11:07 crab maybe it's expecting to be called as a controller method, i dunno.
11:08 GabrielVieira hum
11:12 GabrielVieira another question.. $ENV{MOJO_REVERSE_PROXY} = 1; should I put in the begin block or just in the startup script itself?
11:13 crab i seem to have put it in BEGIN in lib/App.pm, but it doesn't matter much.
11:13 crab it should be fine in the startup script.
11:37 marcus doh
11:37 judofyr "Due to our continuing growth we are in search of 30 Perl Developers" — http://jobs.github.com/positions/ee​1dcc6a-476a-11e1-87bb-d93ed9ca003a
11:37 * marcus has been debugging borken pjax for too long now
11:38 judofyr marcus: pjax not cool? :(
11:38 marcus seems to be working fine, e.preventDefault() is called, then it does a fucking page reload.
11:38 sri judofyr: yea, they are always looking for 30 more :)
11:38 marcus judofyr: booking.com is hiring? :o I'm shocked
11:39 sri is there any perl company not hiring? ;p
11:39 sri craigslist is hiring too
11:39 marcus well, I belive startsiden just hired someone.
11:40 marcus sri: saw they donated a bunch of money to TPF. Pretty cool!
11:40 sri prolly one of the best perl companies to work for
11:40 marcus I agree
11:40 skaurus joined #mojo
11:40 marcus apart from nordaaker ofcourse :D
11:40 sri of course :)
11:41 briang joined #mojo
11:42 skaurus Hello all. I could use some quick hint about Mojo and multi domains... It's totally can be my problem, so don't try hard :)
11:43 skaurus So, I have two domains - surfingbird.ru and surfingbird.com, which appeared later. From surfingbird.ru all works fine, while surfingbird.com serves static files fine, but for example main page reports  "The page you were requesting "" could not be found."
11:43 skaurus I have silly guess that it's cookie related, because I set them to surfingbird.ru, but I don't believe that
11:44 skaurus So before I start to investigate, maybe there simple answer?
11:44 * crab hears bird, and suddenly reappears
11:44 * marcus fashions a crab whistle
11:44 skaurus everybody knows about a bird :)
11:45 marcus skaurus: the bird's the word.
11:46 sri NOOOOOOOOOOOO
11:46 sri now i'll have that song in my head for the rest of the day
11:47 memowe skaurus: what about doing a redirect from one domain to the other? I heard it's good for the google. ;)
11:47 marcus sri: http://www.youtube.com/watch?v=2WNrx2jq184
11:48 skaurus memowe, buuut I waaaant my two domaaains
11:48 memowe kkk
11:48 skaurus especially since we're multilanguage
11:49 skaurus sri, I hope you and everyone will hear more and more about us)) We're have 100k users and growing)
11:49 memowe Accept-Language is for multi language.
11:50 kitt_vl joined #mojo
11:50 skaurus memowe, yes, highest priority guessing is comes from that header. Ok, I'll go investigate myself
12:01 tempire what's the best perl company to work for apart from nordaaker?
12:01 tempire startsiden?
12:01 purl startsiden is norway's 2. most visited site.
12:08 tempire also, BEGIN blocks are the devil
12:09 judofyr BEGIN { evil }
12:09 sri tempire: craigslist
12:09 purl somebody said craigslist was http://craigslist.org or free collaborative classifieds or mostly a bi-coastal thing.
12:13 judofyr it's embarrassing how much debug stuff this pre-commit catches: http://hastebin.com/cocuniliri.sh
12:14 judofyr or, actually, it's not that embarrassing because it never gets commited :)
12:17 cosmincx joined #mojo
12:27 olav joined #mojo
12:45 tempire best irc client for ipad/iphone?
12:49 GabrielVieira hey there, $self->render( status => 404 ) from an outside file is returning me timeout http://pastebin.com/50ewAcHW
13:08 noganex joined #mojo
13:17 GabrielVieira Am I doing something wrong?
13:22 Netfeed shouldn't it be $self->render_not_found ?
13:29 jnap joined #mojo
13:35 GabrielVieira Netfeed: with not_found worked! thanks!
13:44 marcus tempire: limechat, ithink
13:47 d4rkie joined #mojo
13:48 inokenty joined #mojo
14:11 * sri uses limechat
14:22 jnap joined #mojo
14:30 amoore joined #mojo
14:33 rhaen Maintainig catalyst for a distribution can be a pain...
14:35 ki0 joined #mojo
14:56 elb0w joined #mojo
15:14 abstract joined #mojo
15:20 briang joined #mojo
15:44 kaare joined #mojo
15:46 vel joined #mojo
16:02 mire joined #mojo
16:55 random joined #mojo
16:56 xaka joined #mojo
17:03 beyondcreed joined #mojo
17:06 mire joined #mojo
17:13 marcus http://teddziuba.com/2011/​10/node-js-is-cancer.html
17:14 abstract joined #mojo
17:27 sri :)
17:38 grim_fandango joined #mojo
17:43 trone joined #mojo
18:06 marty that's a good rant
18:08 batman joined #mojo
18:11 batman joined #mojo
18:18 batman joined #mojo
18:27 GitHub122 joined #mojo
18:27 GitHub122 [mojo] kraih pushed 2 new commits to master: http://git.io/_Fsn7Q
18:27 GitHub122 [mojo/master] Added pdf type - bfaist
18:27 GitHub122 [mojo/master] Merge pull request #272 from bfaist/patch-1 - Sebastian Riedel
18:27 GitHub122 left #mojo
18:29 GitHub75 joined #mojo
18:29 GitHub75 [mojo] kraih pushed 1 new commit to master: http://git.io/GNs-vw
18:29 GitHub75 [mojo/master] fixed order of MIME types for bfaist - Sebastian Riedel
18:29 GitHub75 left #mojo
18:34 sri still unsure if i should fix or reject pull requests like this one
18:35 sri hope it's not a bad example
18:43 jnap joined #mojo
18:46 GitHub102 joined #mojo
18:46 GitHub102 [mojo] kraih pushed 1 new commit to master: http://git.io/d6MvKQ
18:46 GitHub102 [mojo/master] added tests for all MIME types - Sebastian Riedel
18:46 GitHub102 left #mojo
19:00 marcus Sri: a bad pull Request is still better than an issue, no?
19:01 sri marcus: not sure, personally i mostly dislike pull requests out of the blue
19:04 sri style issues will always need to be resolved after the pull request though
19:13 tarski joined #mojo
19:16 alnewkirk i've been wanting to build a modern Perl CMS for some time now
19:17 alnewkirk if anyone is interested in collaborating please let me know
19:21 aghbas_ joined #mojo
19:22 aghbas joined #mojo
19:29 GitHub95 joined #mojo
19:29 GitHub95 [mojo] kraih pushed 1 new commit to master: http://git.io/pKaaNQ
19:29 GitHub95 [mojo/master] added tests for common headers - Sebastian Riedel
19:29 GitHub95 left #mojo
19:31 tarski i'm using Mojo::Template by itself to render some forms. is there an example how i would use layouts and template inheritance outside of the mojolicious framework
20:23 GabrielVieira joined #mojo
20:40 sri i've been looking into open fonts a bit more recently, and i must admit there are some really good ones
20:41 sri http://www.theleagueofmoveabletype.com/ # great example
20:41 sri league gothic is just gorgeous
20:48 lukep joined #mojo
21:00 dmn001 joined #mojo
21:03 mattp joined #mojo
21:27 perlite_ joined #mojo
21:28 tempire so.  how do we get the billions of dollars recently donated to Perl to be allocated to thread support?
21:28 sri that's the billion dollar question
21:29 sri realistically… i don't think it's enough money to get proper concurrency
21:29 sri first we would need garbage collection
21:30 sri coroutines are much more realistic
21:31 tempire we need an accomplished c developer to manipulate
21:31 tempire I have little to no interest in c, so I'm out.
21:32 sri you'd need someone who knows perl internals already
21:32 tempire from what I understand, it's a legacy mess
21:33 tempire do you know about sbcl's recent fundraising effort?
21:33 tempire granted, it was one guy available to do the work already
21:33 tempire http://www.indiegogo.com/SB​CL-Threading-Improvements-1
21:33 tempire and it's lisp, so it's probably much easier to manage than a 20-year-old c codebase.
21:35 * tempire finally finished his haskell book
21:37 sri nope, never heard of it
21:46 tempire thought: I really like the changing splashes, like on http://snapframework.com/
21:47 tempire wondering if/how it would be useful for the mojolicious site
21:48 tempire one of the splashes could be the install procedure
21:48 tempire another could be a spash displaying the doc links and the mojocasts
21:49 tempire and a third for whatever question is coming up the most often
21:49 tempire pushing the information in peoples faces
22:30 sri http://www.amazon.com/Mojolicious-Aaron​-Philippe-Toll/dp/6200298645/ref=sr_1_1​?ie=UTF8&qid=1327612463&sr=8-1
22:30 sri should we warn about this?
22:30 sri it's a scam
22:32 memowe Wow.
22:32 memowe 37$ for 56 pages of Wikipedia and POD?
22:32 sri ye
22:33 marcus Sri: maybe publish your guides as a 0.99 mobi book instead.
22:34 marcus It would get a higher rating in Amazon.
22:36 marcus And I would buy it :)
22:36 memowe That guy wrote 4750 "books" :D
22:36 tempire Well, it does say exactly what it is.
22:38 sri marcus: i don't do low quality
22:38 marcus It's like pirating. The only way to beat it is to be the best distributor of your content.
22:38 sri if i ever publish a book it will be a real one
22:38 marcus Sri: why would it be low quality? Your guides are great.
22:38 sri they surely are not book quality
22:39 * marcus compares them to the 1983 university textbook on logic he's reading, disagrees.
22:40 tempire the trouble with tech books is that they make no money
22:41 tempire at least, I've never heard anything but negative responses from people who wrote tech books expecting to see a return
22:41 marcus And it cost me 25$ too.
22:42 marcus Tempire: I bet 37 signals made something on their 200000 copies of rework sold.
22:42 tempire well I won't argue with that.
22:42 tempire 37signals, though
22:43 tempire that's not so much about the book as it is their rep
22:44 tempire I don't know that I'd consider it a tech book, anyway
22:45 marcus Probably true.
22:45 marcus Bizniz
22:45 * marcus is reading http://www.stanford.edu/group/e145/cgi-bin/w​inter/drupal/upload/handouts/Four_Steps.pdf atm.
23:20 briang joined #mojo
23:53 GabrielVieira joined #mojo

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