Camelia, the Perl 6 bug

IRC log for #mojo, 2011-07-22

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

All times shown according to UTC.

Time Nick Message
00:00 shonorio left #mojo
00:04 marcus I love how fast safari restarts
00:09 stephen left #mojo
00:15 stephen joined #mojo
00:19 marcus wow, mvn finished
00:20 marcus shit, java is scary. :/
00:21 marcus heh, the jquery demo loads 8 separate js files :o
00:27 Alias joined #mojo
00:32 plu marcus: still have coffee? :)
00:33 marcus plu: lots!
00:33 marcus plu: I have an espresso machine
00:33 plu marcus: oh nice :)
00:33 plu marcus: I just have the small brother: (n)espresso
00:41 marcus think I will use redis for pub/sub http://search.cpan.org/~mel​o/Redis-1.904/lib/Redis.pm
00:53 xaka left #mojo
01:30 marcus It would be nicer if '[error] No handler for "tt" available.' threw an error screen, instead of waiting for a delayed response.
01:31 marcus hmm, guess I have harped over this one before.
02:16 preflex joined #mojo
02:20 preflex_ left #mojo
02:57 tempire Oh, jquery comet plugin.
02:57 tempire Oh how I remember thee.
02:58 perlrocks Twitter: "The "Github Meets Cpan" (http://t.co/UfjjBvZ) code is now on Github: http://t.co/h4IC7xb #metacpan #mojolicious #github" --PLUT00TH http://twitter.com/PLUT00T​H/status/94239895735894016
03:02 marcus tempire: fondly? :p
03:02 tempire not so much.  but it was the precursor to this one, I think.
03:02 tempire I created the first one, but it was before beayusuexxes
03:49 shonorio joined #mojo
03:54 shonorio left #mojo
04:02 xaka joined #mojo
04:04 kaare joined #mojo
05:25 afiskon joined #mojo
05:27 afiskon please, could somebody help me?
05:28 afiskon how to avoid recursion in the following code:
05:28 afiskon sub logout {
05:28 afiskon my ($self) = @_;
05:28 afiskon $self->logout(); # Mojolicious::Plugin::Authentication
05:28 afiskon $self->redirect_to('/login/');
05:28 afiskon return 0;
05:28 afiskon }
05:28 afiskon i woud not like to rename this method
05:34 koban joined #mojo
05:40 plu that's not possible :)
05:40 plu why don't you want to rename it? What about "logout_action"?
05:40 afiskon in this case, i have no choice, i guess )
05:41 plu yep :)
05:52 afiskon hmm... it's odd. what could be a reason for 404 error on _every_ page? it seems, that i have not did anything.
05:53 afiskon development.log is ok. i'm using morbo.
05:57 charsbar_ plu: how frequently does the updating script for GMC run?
05:59 plu charsbar_: currently it's being run manually only. I could not get any cronjob working yet on dotcloud :(
06:00 plu once I get it working I think I can run it a few times a day. There's a limit of 5000 API requests per IP or OAuth token on the github API
06:01 charsbar_ plu: thank you. several people including me seem to have added their profile, so I just wanted to know when they are reflected.
06:02 plu charsbar_: I'll run it now, one sec
06:03 plu done :)
06:03 * afiskon has solved the problem with 404 errors
06:03 charsbar_ plu: thank you :)
06:03 charsbar_ plu++
06:03 plu http://www.github-meets-cpan.com/#ISHIGAKI
06:03 plu np :)
06:04 plu I'll add some last update timestamp somewhere and a note about the update interval once I got the cron stuff working
06:12 plu coderwall.com badges added: http://www.github-meets-cpan.com/user/SRI
06:21 stephen left #mojo
06:22 stephen joined #mojo
06:51 AmeliePoulain joined #mojo
06:57 xaka left #mojo
07:02 D4RK-PH0ENiX joined #mojo
07:05 d4rkie left #mojo
07:16 sugar joined #mojo
07:33 sri good morning fellow coffee connoiseurs
07:39 Alias left #mojo
07:56 mxey I started to use Mojo for writing web apps, but it's UserAgent and DOM stuff is even more amazing.
07:58 sri :)
07:59 mxey What happens to a simple get->res->dom construction when there's an error?
08:01 sri won't fnd results or parse the error mage
08:01 sri *page
08:02 sri *+i
08:04 mxey hm…
08:06 mxey Not finding an element means at will return undef/empty list?
08:07 k-man joined #mojo
08:13 D4RK-PH0ENiX left #mojo
08:15 arthas joined #mojo
08:35 spleenjack joined #mojo
08:53 sri hmm, dancer gets their troll ratings removed but ours is still there...
09:00 sri now if ask doesn't remove http://cpanratings.perl.org/user/blue too i will get angry
09:04 marcus sri: not all of them are removed, just the bulk spam ones.
09:05 sri that's not ok
09:05 sri if he removes some trolls he has to remove them all
09:05 sri not selectively for those that make the most noise
09:05 sri or i will make a lot of noise
09:06 sri i want blue removed too
09:07 marcus sri: trolls and spammers aren't the same tho.
09:08 sri what's the difference?
09:08 purl it has been said that the difference is Epsilon, a number that gets closer to zero the longer you think about it.
09:10 marcus having read through all of blue's reviews, I'd say he's both tho :p
09:10 sri and yet ask refused to remove him
09:11 sri with the explanation he never removs reviews
09:11 sri *+e
09:18 sri wrote another report to ask, lets see what happens
09:18 sri gonna blog if he refuses
09:22 afiskon left #mojo
09:22 sri hmm
09:23 sri wonder if cpanratings can be spammed automatically
09:23 Alias joined #mojo
09:23 marcus shit, this is pretty awesome - http://hacks.mozilla.org/2011/07/t​ilt-visualize-your-web-page-in-3d/
09:24 sri yea
09:24 sri too bad webgl has no future
09:24 sri disabled everywhere for security reasons
09:26 alnewkirk|com does it serve any practical purpose?
09:32 marcus alnewkirk|com: As in does opengl for the web serve any practical purpose?
09:33 alnewkirk|com marcus, as in, does the particular thing we're talking about serve any practical purpose? .. specifically the Tilt extension
09:34 marcus alnewkirk|com: it might help you spot errors in your DOM.
09:35 alnewkirk|com seems like overkill for that ... the debugging console in firefox works pretty well for that
09:41 perlrocks Twitter: "Articles Mojolicious, I write By now, still have output Janaku help other people to read, not just notes." (ja) --taiju http://twitter.com/taiju/status/94341338237116417
09:42 perlrocks Twitter: "I also picked up a Perl bot for words What mojolicious ..." (ja) --taiju http://twitter.com/taiju/status/94341534702510080
09:43 sri it's annoying how unresponsive the perl.org folks are
09:44 sri they just shouldn't add social features if they can't handle it
09:45 sri in the end i guess it all comes down to search.cpan.org being awful
09:46 sri think i'll switch the link on our site to metacpan
09:52 marcus sri: http://bit.ly/oQxRFm
09:53 sri !!!
09:56 alnewkirk|com sri++
09:57 alnewkirk|com metacpan has a favoriates features .... but then no way to recall your favoriates so ....
09:57 alnewkirk|com favorites*
09:59 sri metacpan is on github
09:59 sri easy to fix, that's what makes it awesome
10:00 sri nobody but gbarr has access to search.cpan
10:00 alnewkirk|com seems like the deployment of half-a-feature IMO
10:00 alnewkirk|com thats a bad development practice, .. also IMHO
10:01 alnewkirk|com ... not that Im one to talk
10:06 d4rkie joined #mojo
10:09 GitHub44 joined #mojo
10:09 GitHub44 [mojo] kraih pushed 1 new commit to master: https://github.com/kraih/mojo/commit/f1​7936bf728a091d66e975096ab6068298d822d4
10:09 GitHub44 [mojo/master] switched from search.cpan.org to metacpan.org - Sebastian Riedel
10:09 GitHub44 left #mojo
10:12 GitHub70 joined #mojo
10:12 GitHub70 [mojo] kraih pushed 1 new commit to master: https://github.com/kraih/mojo/commit/37​8e3971322ea4794dda866caf756638a159e78a
10:12 GitHub70 [mojo/master] update CPAN link as well - Sebastian Riedel
10:12 GitHub70 left #mojo
10:19 sri damn, i love swiping backwards in the new safari
10:21 marcus I love sweeping up
10:23 sri no you don't
10:23 purl Oh yes I do
10:26 marcus sri: ok, actually I prefer to let my roomba handle that.
10:27 sri until the robots take over the world, then you will be sweeping up all day long
10:28 sri and your roomba will be talking with me on irc
10:28 marcus sri: nah, it will probably kill me during the revolution.
10:28 marcus hmm, where is it anyways, it's not at it's home...
10:29 marcus :o
10:29 sri preparing explosives most likely
10:29 marcus under the couch
10:45 preflex_ joined #mojo
10:47 preflex left #mojo
10:49 perlrocks Twitter: "Just started playing around with #Mojolicious. My first thought was "oh, cute". Especially regarding the page not found error." --derfmeta http://twitter.com/derfmet​a/status/94358460895993856
11:12 perlrocks Twitter: "Library Omore mojolicious." (ja) --clicktx http://twitter.com/clicktx​/status/94364103757414400
11:14 GitHub83 joined #mojo
11:14 GitHub83 [mojo] kraih pushed 1 new commit to master: https://github.com/kraih/mojo/commit/cc​4e0d8b9df22e668d2c950afd3a1f53cd237315
11:14 GitHub83 [mojo/master] cleanup - Sebastian Riedel
11:14 GitHub83 left #mojo
11:15 sri explosives under the couch, smart little fella
11:22 plu I just had some funny effect when using 'status' in the stash
11:26 plu ah! It's documented here: http://metacpan.org/module/Mo​jolicious::Guides::Cheatsheet :)
11:53 sri ;)
11:54 s0va_ sri: i totally love mojo::iowatcher
11:54 sri it will get even better ;)
11:55 s0va_ is there a way to force ioloop's watcher type using environment variable
11:55 s0va_ implementing AE for ioloop looks simpler now :)
11:55 sri Mojo::IOLoop->singleton->i​owatcher(MyWatcher->new);
11:55 sri that's all you need
11:56 sri new instances will inherit the class
11:57 sri https://github.com/kraih/mojo/b​lob/master/t/mojo/ioloop.t#L26
11:57 s0va_ ok.
11:57 sri xantus was working on an EV iowatcher
11:57 sri once it works i will add it to core
11:57 s0va_ sri: so you suggest putting that into BEGIN {} block? :)
11:58 s0va_ sri: btw, i think that i found a bug, but i'm unable to write a test case
11:58 s0va_ if a route is established for some http method only, fetching the same url with different http method returns 200 OK without a body + with 3-4 second delay.
11:58 s0va_ happens at least with morbo.
11:59 sri if it was a bug server wouldn't matter
12:01 sri btw. i suggest just having import() handle iowatcher setup… "use Mojo::IOWatcher::AnyEvent;" or so
12:02 sri an env var would be an option too though
12:02 sri will consider it for the rewrite
12:11 tabbi joined #mojo
12:11 tabbi left #mojo
12:13 mspo quit
12:13 mspo left #mojo
12:13 mspo joined #mojo
12:14 sri s0va_: just be aware that iowatcher is still experimental (in case you're writing an anyevent backend)
12:33 k-man left #mojo
13:24 sri wish textmate would remember its state
13:58 sri marcus: that wasn't your roomba, was it? http://twitpic.com/5tzsmx
13:59 vel joined #mojo
14:00 marcus sri: nope.
14:00 marcus must have been someone else's.
14:00 marcus scary stuff
14:00 purl i heard scary stuff was the stuff at the beginning, and the stuff the end... and at the middle also...
14:01 marcus my office is 5 minutes walk from there.
14:01 sri :o
14:03 amoore joined #mojo
14:03 marcus wtf
14:03 marcus seems the bomb was actually at the place where my office is.
14:03 sri holy shit
14:03 purl Sterca sancta, fili mi.
14:03 marcus not where that picture was taken
14:04 sri glad you're allright
14:04 marcus Pretty happy about home office today
14:04 AmeliePoulain left #mojo
14:07 stephan48 marcus: you work for a newspaper?
14:08 stephan48 some newstickers say the explosion was in the building of the paper VG
14:15 marcus actually, just 2 windows blew out
14:15 stephan48 so not that drastic?
14:16 marcus in my office I mean
14:16 marcus no, just talked to my manager. He's ok.
14:17 stephan48 k
14:18 sh9 joined #mojo
14:19 sri http://twitpic.com/5u08m3 # that seems to be where it was
14:25 marcus sri: That's the government building.
14:31 baton8 joined #mojo
14:46 fish_ left #mojo
14:52 tabbi joined #mojo
14:52 tabbi left #mojo
15:12 koban left #mojo
15:15 meraxes joined #mojo
15:37 perlrocks Twitter: "/ jamadam / Mojolicious Tteta healed of a bug in the request multipart-Plugin-PlackMiddleware - GitHub http://htn.to/i1ctsX" (ja) --jamadam http://twitter.com/jamadam​/status/94430764833316864
15:52 xaka joined #mojo
15:52 sh9 left #mojo
15:56 Alias left #mojo
16:13 amoore left #mojo
16:38 bpaluch joined #mojo
16:44 spleenjack left #mojo
17:17 sugar left #mojo
17:30 tempire wow.  tilt is neat mosquite.
17:32 marcus http://nordaaker.com/docs/skit​ch/Safari-20110722-193107.jpg
17:33 sri scary
17:37 preflex joined #mojo
17:38 tempire blue must have traveled to norway
17:41 preflex_ left #mojo
17:43 sri trolls explode when they are hunted?
18:02 mattastrophe joined #mojo
18:10 tabbi joined #mojo
18:10 tabbi left #mojo
18:12 marcus sri: didn't see the movie?
18:12 marcus http://www.imdb.com/title/tt1740707/
18:18 sri marcus: nope
18:18 metaperl joined #mojo
18:19 marcus unconfirmed 25-30 killed by gunman
18:20 sri damn
18:38 yko left #mojo
18:39 yko joined #mojo
19:10 metaperl left #mojo
19:11 metaperl joined #mojo
19:16 zakame joined #mojo
19:52 arthas left #mojo
19:56 arthas joined #mojo
19:56 abra joined #mojo
19:58 fhelmber_ left #mojo
20:00 tempire how long did lion take to install after the download?
20:03 sugar joined #mojo
20:13 sri 15 mins or so
20:16 jwang joined #mojo
20:38 abra left #mojo
20:43 sugar left #mojo
20:48 abra joined #mojo
20:56 kaare left #mojo
21:07 vel left #mojo
21:11 xantus[] sri: I was working on EV last night.  I may get more time this weekend
21:12 sri xantus[]: that would be nice, i'll need a working version soonish :)
21:12 xantus[] I'm having an issue with the test
21:12 xantus[] readablity fails when it expects it to be readable
21:14 sri xantus[]: maybe just a timing issue?
21:14 sri does it become readable a bit too late?
21:15 sri i've seen that too randomly with poll
21:15 xantus[] I'll check that
21:15 sri if that's the case we just need a better test :)
21:15 xantus[] I tested it using a mojo proxy I wrote
21:16 xantus[] its fast, and works client/server
21:16 xantus[] actually, my proxy for memcached is FASTER than actually going directly to memcached
21:16 xantus[] our writes are more efficient, lol
21:17 xantus[] 10s to finish the getset.t test in memcached/server src (directly to memcached)
21:17 xantus[] 3.5 to 4s for the mojo proxy
21:18 sri :D
21:18 xantus[] lol, nuts.  I checked, its verifying the data in/out, so its not like its throwing anything out
21:20 xantus[] the memcached proxy will eventually have a datastore backend that will bulk write to couchdb (or whatever key/val store you like)
21:20 xantus[] so you use the memcached libs you have, drop in the proxy between memcached, and you get persistent storage
21:20 xantus[] and speed
21:22 xantus[] crab or marcus might be interested in working on this :)
21:34 xantus[] oh shit
21:34 xantus[] marcus: I'm glad you're ok
21:43 marcus xantus[]: thanks :)
21:50 xantus[] man I really hate to see moose used in small cpan libs
21:50 xantus[] I refuse to use any of them
22:01 jamesw left #mojo
22:06 jamesw joined #mojo
22:12 metaperl left #mojo

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