Camelia, the Perl 6 bug

IRC log for #mojo, 2011-06-30

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

All times shown according to UTC.

Time Nick Message
00:01 alnewkirk joined #mojo
00:17 d4rkie left #mojo
00:18 d4rkie joined #mojo
00:40 echosystm joined #mojo
00:46 echosystm whats the best way to handle schema changes in a mojo project?
00:46 echosystm are there any good tools for database-agnostic changesets?
00:51 tempire it's not a mojo-specific problem
00:51 tempire it's reliant on what orm you're using
00:51 tempire dbix::class is the heavy lifter these days
00:51 tempire I hear some people like dbix::skinny
00:58 alnewkirk tempire++
00:59 * alnewkirk has been having marvelous results with MongoDB
01:00 alnewkirk easy to install, configure, backup, restore, mirror, cluster, etc
01:01 echosystm is version "0.999950-1" ok?
01:01 echosystm that seems to be what comes with ubuntu
01:01 echosystm mojolicious, i mean
01:01 tempire no!
01:01 tempire install the latest from cpan
01:01 echosystm i have to package my project as a deb
01:01 echosystm avoiding cpan will make my life much easier
01:02 tempire why?
01:02 echosystm company policy
01:02 tempire then you should make a deb
01:02 tempire out of the latest from cpan
01:02 echosystm well, thats not true, i just want to make our admins lives easier
01:02 echosystm im a nice guy like that
01:02 jamesw joined #mojo
01:02 tempire 0.999950 is forever old
01:02 echosystm ok
01:03 tempire the documentation on the site isn't even relevant to it anymore
01:03 d4rkie left #mojo
01:03 tempire not even counting for security patches
01:04 tempire using that old version would do exactly the opposite for your sysadmins if they're concerned about using up-to-date software
01:04 d4rkie joined #mojo
01:04 tempire keep in mind that mojo is bleeding edge.  it advances very quickly.
01:04 alnewkirk ... and you want the security patches
01:04 alnewkirk security holes tend to make server admins really pissed
01:05 echosystm alrighty
01:06 tardisx because of the zero-deps it should be trivial to build your own up-to-date Mojolicious deb package
01:06 echosystm i'll give it a shot
01:09 tempire go with God, echosystm, go with God
01:09 echosystm is this what you were talking about with dbix: http://search.cpan.org/~daniel/DBIx-​Migration-0.07/lib/DBIx/Migration.pm
01:10 echosystm this seems to require database specific sql files
01:10 tempire dbix just stands for a dbi extension
01:10 tempire there are lots that do all sorts of things
01:10 tempire it really depends on what you're trying to do
01:11 tempire have you used an orm?
01:11 echosystm im looking for the perl equivalent of liquibase
01:11 echosystm http://www.liquibase.org/
01:12 echosystm this is similar to migrations in rails - database agnostic schema change sets
01:12 tempire the closest I know of is the sql fairy project
01:12 tempire which is tied into dbix::class
01:12 tardisx I like Rose::DB::Object
01:12 tempire liquibase doesn't seem like an orm, though
01:12 echosystm its not an orm
01:13 tempire it's more like just management for db people
01:13 echosystm its orthogonal to an orm
01:13 echosystm ORMs dont handle schema changes and data migration... they just map relations to objects
01:13 tempire if you know liquibase, I'd just use that.
01:13 echosystm liquibase is java, so i dont want it in my perl projects
01:14 tempire does it matter, if you're just talking about migration and schema changes?
01:14 tempire anyway, dbix::class has the most of what you're looking for.
01:14 tempire it's an orm, with other modules that import/export stuff
01:14 tempire using sql::translator
01:14 echosystm the thing about liquibase is you integrate it into your project - when you deploy your webapp, it will automatically upgrade your schema if needed
01:14 tempire and sql fairy
01:14 purl sql fairy is at http://sqlfairy.sf.net/ or at http://search.cpan.org/dist/SQL-Translator/ or (: SQL::Translator)
01:15 echosystm its not (necessarily) an external tool
01:15 echosystm its actually part of your application
01:16 echosystm i might be able to hack something similar together using sql fairy
01:16 echosystm i think
01:16 echosystm hmm
01:22 d4rkie left #mojo
01:24 d4rkie joined #mojo
01:26 alnewkirk left #mojo
01:42 D4RK-PH0ENiX joined #mojo
01:42 d4rkie left #mojo
02:16 philipp left #mojo
03:53 mattastrophe joined #mojo
04:24 arpadszasz joined #mojo
04:47 perlrocks Twitter: "/ Mojolicious reference to describe the hidden field - Introduction to Perl with sample code (id: perlcodesample / @ perlcodesample) http://t.co/r7PjEvs # perl # mojolicious" (ja) --perlcodesample http://twitter.com/perlcodesa​mple/status/86294685919879169
04:48 perlrocks Twitter: "Write hidden field / Mojolicious Reference (id: perlcodesample / @ perlcodesample) http://t.co/r7PjEvs # perl # mojolicious" (ja) --perlcodesample http://twitter.com/perlcodesa​mple/status/86294888798363648
04:57 perlrocks Twitter: "/ Mojolicious reference to describe the image tags - Introduction to Perl with sample code (id: perlcodesample / @ perlcodesample) http://t.co/LUtmhLS # perl # mojolicious" (ja) --perlcodesample http://twitter.com/perlcodesa​mple/status/86297206759497728
04:57 perlrocks Twitter: "Write image tag / Mojolicious Reference (id: perlcodesample / @ perlcodesample) http://t.co/LUtmhLS # perl # mojolicious" (ja) --perlcodesample http://twitter.com/perlcodesa​mple/status/86297378281373696
05:07 perlrocks Twitter: "/ Mojolicious reference that describes the input tag - Introduction to Perl with sample code (id: perlcodesample / @ perlcodesample) http://t.co/lo5xk3B # perl # mojolicious" (ja) --perlcodesample http://twitter.com/perlcodesa​mple/status/86299669516402688
05:07 perlrocks Twitter: "Write input tag / Mojolicious Reference (id: perlcodesample / @ perlcodesample) http://t.co/lo5xk3B # perl # mojolicious" (ja) --perlcodesample http://twitter.com/perlcodesa​mple/status/86299825016029184
05:37 perlrocks Twitter: "perlcodesample: / Mojolicious reference that describes the hidden fields http://bit.ly/ifJWML" (ja) --perlironman http://twitter.com/perlironm​an/status/86307248023937024
05:37 perlrocks Twitter: "perlcodesample: / Mojolicious http://bit.ly/mIjxlS to describe the image tag reference" (ja) --perlironman http://twitter.com/perlironm​an/status/86307249160597504
05:37 perlrocks Twitter: "perlcodesample: / Mojolicious reference that describes the input tag http://bit.ly/iU0dkS" (ja) --perlironman http://twitter.com/perlironm​an/status/86307250225950720
06:01 koban joined #mojo
06:14 ysyrota joined #mojo
06:20 alnewkirk joined #mojo
07:24 ajgb joined #mojo
07:25 sri good morning fellow event loops
07:33 eugen joined #mojo
07:36 echosystm left #mojo
07:38 crab on_absurd_greeting => sub { shift->maniacal_laughter() }
07:50 sri \o/
07:50 * sri tries to start a wave
07:50 tardisx _o/
07:55 koban left #mojo
07:56 d4rkie joined #mojo
07:59 D4RK-PH0ENiX left #mojo
07:59 Foxcool joined #mojo
08:04 sugar joined #mojo
08:07 spleenjack joined #mojo
08:17 GitHub139 joined #mojo
08:17 GitHub139 [mojo] kraih pushed 1 new commit to master: http://bit.ly/l8ObwG
08:17 GitHub139 [mojo/master] documentation updates - Sebastian Riedel
08:17 GitHub139 left #mojo
08:20 AmeliePoulain joined #mojo
08:22 Alias left #mojo
08:29 koban joined #mojo
08:38 Kulag left #mojo
08:39 Kulag joined #mojo
08:39 D4RK-PH0ENiX joined #mojo
08:42 d4rkie left #mojo
08:50 Kulag left #mojo
08:56 Kulag joined #mojo
08:59 cosmincx joined #mojo
09:02 alnewkirk left #mojo
09:03 Drossel joined #mojo
09:04 Kulag left #mojo
09:06 spleenjack1 joined #mojo
09:06 GitHub16 joined #mojo
09:06 GitHub16 [mojo] kraih pushed 1 new commit to master: http://bit.ly/kPDqrS
09:06 GitHub16 [mojo/master] moved more user agent functionality to transactor - Sebastian Riedel
09:06 GitHub16 left #mojo
09:09 sri i'd like to get user agent down to maybe 400 lines
09:10 sri and ioloop to maybe 600
09:11 spleenjack left #mojo
09:14 crab use constant EPOLL => $ENV{MOJO_POLL} ? 0 : eval 'Mojo::IOWatcher::Epoll; 1';
09:14 crab missing "use" in the eval? (IOLoop.pm:24)
09:14 sri damn
09:15 Drossel left #mojo
09:15 GitHub34 joined #mojo
09:15 GitHub34 [mojo] kraih pushed 1 new commit to master: http://bit.ly/kY7UPx
09:15 GitHub34 [mojo/master] fixed typo - Sebastian Riedel
09:15 GitHub34 left #mojo
09:15 sri i need a tester with IO::Epoll
09:20 crab such as me
09:20 sri \o/
09:33 arpadszasz left #mojo
09:39 sri i have no idea if epoll actually works, the implementation was just a guess
09:39 sri since it says it is compatible with IO::Poll
10:11 crab how odd, i seem to be running 1.34 in production.
10:15 crab but anyway, i use IO::Epoll on my development machine, and i've seen no problems really
10:15 crab though i have no idea how it would perform under load etc.
10:15 crab i installed it not from need but just out of curiosity
10:35 sri great
10:35 cosmincx left #mojo
10:36 cosmincx joined #mojo
10:45 GitHub56 joined #mojo
10:45 GitHub56 [mojo] kraih pushed 1 new commit to master: http://bit.ly/iXLcQJ
10:45 GitHub56 [mojo/master] mark new attributes as experimental - Sebastian Riedel
10:45 GitHub56 left #mojo
10:54 sri hmm, the background worker problem keeps popping up
10:55 sri a general purpose plugin would be nice
11:13 crab what is the problem?
11:13 sri that there's no plugin
11:24 d4rkie joined #mojo
11:27 D4RK-PH0ENiX left #mojo
11:50 * crab writes a plugin named Mojolicious::Plugin::BackgroundWorker that does nothing
11:54 tardisx cross platform background processing sucks
11:57 pp joined #mojo
12:01 Foxcool left #mojo
12:05 bzero crab: Mojolicious::Plugin::Stabilization :)
12:16 Foxcool joined #mojo
12:16 crab is now known as memset
12:16 memset hi bzero.
12:24 elb0w sri sorry for being such a bother, is this the proper way to use the callback? It seems to still be synchronus, http://scsys.co.uk:8002/117715
12:47 memset is now known as crab
12:50 D4RK-PH0ENiX joined #mojo
12:51 GitHub130 joined #mojo
12:51 GitHub130 [mojo] kraih pushed 1 new commit to master: http://bit.ly/lTGVIM
12:51 GitHub130 [mojo/master] fixed a few more small route bugs and added many new tests - Sebastian Riedel
12:51 GitHub130 left #mojo
12:52 d4rkie left #mojo
13:00 bzero memset: hello :))
13:07 GabrielVieira left #mojo
13:09 GitHub172 joined #mojo
13:09 GitHub172 [mojo] kraih pushed 1 new commit to master: http://bit.ly/kBE3bn
13:09 GitHub172 [mojo/master] updated iowatcher documentation - Sebastian Riedel
13:09 GitHub172 left #mojo
13:19 sugar to render custom i just have to write: "$self->render(template => 'name')" ?
13:19 sugar but it wasn't rendered
13:30 koban sugar: how about "$self->render('name')"
13:35 marting joined #mojo
13:42 Akron joined #mojo
13:44 ispy_ joined #mojo
13:52 sugar koban: thanx, i found solution, i shoold write "contoller/name"
14:01 amoore joined #mojo
14:04 d4rkie joined #mojo
14:06 D4RK-PH0ENiX left #mojo
14:09 eugen left #mojo
14:14 koban left #mojo
14:19 kaare joined #mojo
14:41 GitHub2 joined #mojo
14:41 GitHub2 [mojo] kraih pushed 1 new commit to master: http://bit.ly/mAtCwN
14:41 GitHub2 [mojo/master] documentation tweaks - Sebastian Riedel
14:41 GitHub2 left #mojo
14:53 dekimsey joined #mojo
14:56 eugen joined #mojo
14:57 tempire This seems like a decent idea: http://bit.ly/kcD3T4
14:57 tempire thoughts?
14:57 purl i like cheese
14:57 abra joined #mojo
14:58 sri tempire: i like it
14:58 sri one new logo to draw every year
14:58 arpadszasz joined #mojo
14:59 tempire That settles it!  5.6 is the last one to be referred to by a number
14:59 tempire 5.8 should be camel, cause it lasted for so long, and remains forever
14:59 sri Perl Zombie
15:03 amoore left #mojo
15:08 sri think i'll release 1.49
15:11 GitHub46 joined #mojo
15:11 GitHub46 [mojo] kraih pushed 1 new commit to master: http://bit.ly/j1OVon
15:11 GitHub46 [mojo/master] release preparations - Sebastian Riedel
15:11 GitHub46 left #mojo
15:13 Foxcool left #mojo
15:13 tempire Although I really like this idea too http://bit.ly/lQNXhW
15:13 tempire not that they're mutually exclusive
15:13 tempire but raptor is a good name for whatever that distribution would be
15:19 perlrocks Twitter: "Mojolicious 1.49 by KRAIH - http://metacpan.org/releas​e/KRAIH/Mojolicious-1.49/" --cpan_new http://twitter.com/cpan_ne​w/status/86453821961809920
15:20 perlrocks Twitter: "Released #mojolicious 1.49 with a few new modules and routes features, enjoy. :) http://t.co/Mi6lGMj #perl" --kraih http://twitter.com/kraih/status/86453982150668289
15:22 sri changing my release strategy btw
15:23 sri to encourage release early release often i'll now include all big changes since the last major release in the blog announcements
15:23 Foxcool joined #mojo
15:24 sri so bigger features can sneak into minor releases for some early testing before getting announced
15:30 * sri wonders why the longpolling test got slower
15:31 tempire ok, I did my part
15:31 tempire http://bit.ly/ktrnq7
15:32 sri wait WHAT?!
15:32 purl it has been said that wait what is PIC16.  That's still 14-bit right?
15:32 sri why is 5.14 Zombie?
15:32 sri YOU MAKE NO SENSE!
15:33 tempire what should it be?
15:34 tempire It can't be raptor if Peter's thing would be called raptor
15:34 sri i don't know, but 5.14 will surely die before 5.8 :S
15:34 tempire ah
15:34 tempire that makes sense
15:34 tempire 5.8 can be zombie
15:35 tempire now how do I edit a post?
15:35 sri you have to chop its head off... and even then there are a few billion more to take its place!
15:35 sri 5.8 will haunt us till the end of days
15:36 tempire ok, http://blogs.perl.org/users/tempire/
15:37 sri heh
15:38 tempire updated one last time: http://blogs.perl.org/users/tempire/
15:39 tempire names are irrelevant, really
15:39 tempire but the zombie is a good idea
15:39 Akron Nice typo: https://github.com/kraih/m​ojo/blob/v1.49/Changes#L17 ;)
15:40 sri oh noes
15:40 Akron I like it.
15:42 GitHub22 joined #mojo
15:42 GitHub22 [mojo] kraih pushed 1 new commit to master: http://bit.ly/kOwzdB
15:42 GitHub22 [mojo/master] fixed typo - Sebastian Riedel
15:42 GitHub22 left #mojo
15:42 sri and back to business as usual
15:42 tempire I suppose perl 5.8 being zombie would make redhat the umbrella corporation
15:43 sri lol!
15:43 perlrocks Twitter: "Update after a long blog! Mojolicious:: Registration form with the Lite + SQLite example http://blog.swicker.net/" (ja) --HidenoriSuzuki http://twitter.com/HidenoriSu​zuki/status/86459778401968128
15:43 tempire which kind of fits
15:46 Foxcool_ joined #mojo
15:46 Foxcool left #mojo
15:51 GitHub155 joined #mojo
15:51 GitHub155 [mojo] kraih pushed 1 new commit to master: http://bit.ly/kvO4jL
15:51 GitHub155 [mojo/master] simplified iowatcher api - Sebastian Riedel
15:51 GitHub155 left #mojo
15:55 Akron left #mojo
16:06 ysyrota left #mojo
16:07 Foxcool_ left #mojo
16:11 elb0w http://news.ycombinator.com/item?id=2714593 :(
16:11 elb0w fuckin paypal
16:17 sugar hello
16:17 purl salut, sugar.
16:18 sugar how to give dynamically generated file to client?
16:19 sri yea, online payment is a huge problem
16:19 elb0w fuckin want to shoot myself right now
16:19 sri if only there was a sane alternative to paypal
16:19 elb0w who do I use now
16:21 sugar i have var with content
16:21 tempire isn't google checkout the same thing?
16:21 sugar how to give it to client to save on disk?
16:22 sugar any suggestions?
16:22 purl "I suggest you don't smoke cigarettes ... and don't touch yourself when you're chillin' at the bus stop."
16:24 tempire sugar: It's been a while, but I think you have to set the mime type appropriately
16:24 elb0w sri: can you tweet my url to #paypalsucks :o
16:24 elb0w I dont have twitter
16:24 tempire Content-disposition: attachment; filename=fname.ext or so
16:24 sri elb0w: lol... no
16:24 elb0w :(
16:25 sri get a damn twitter account!
16:25 elb0w feel like makin a fuckin site dedicated to how much they blow
16:25 sri NOW!
16:25 elb0w yeah I should
16:25 sri pretty much everybody knows paypal sucks though
16:25 sugar ok, thanks guys
16:27 elb0w can you tweet http://news.ycombinator.com/item?id=2714593 to #paypalsucks
16:27 sri i think most people use authorize.net
16:27 elb0w whoops
16:27 elb0w up arrow ftl
16:36 ajgb left #mojo
16:46 sugar left #mojo
16:49 spleenjack1 left #mojo
16:56 marcus joined #mojo
17:08 Foxcool joined #mojo
17:12 cosmincx left #mojo
17:21 ispy__ joined #mojo
17:21 ispy_ left #mojo
17:23 GitHub101 joined #mojo
17:23 GitHub101 [mojo] kraih pushed 1 new commit to master: http://bit.ly/kCfPR1
17:23 GitHub101 [mojo/master] no more silly underscore keys - Sebastian Riedel
17:23 GitHub101 left #mojo
17:23 sri small style change
17:26 sri was kinda pointless
17:26 sri if we use hash access then those keys are private anyway
17:27 sri public ones have a documented accessor
17:28 sri stupid habits
18:00 abra left #mojo
18:10 eugen left #mojo
18:12 abra joined #mojo
18:18 eXeC001er joined #mojo
18:18 eXeC001er Hi.
18:19 eXeC001er Can i set 'over' to all my routes without add to each route ?
18:21 eXeC001er Other Q: Which parameters are passed to condition subroutine ?
18:41 GitHub34 joined #mojo
18:41 GitHub34 [mojo] kraih pushed 1 new commit to master: http://bit.ly/mxiDNP
18:41 GitHub34 [mojo/master] fixed small routes bug that prevented some false values from disabling format detection - Sebastian Riedel
18:41 GitHub34 left #mojo
18:45 GitHub20 joined #mojo
18:45 GitHub20 [mojo] kraih pushed 1 new commit to master: http://bit.ly/mLF2Ok
18:45 GitHub20 [mojo/master] updated jQuery to version 1.6.2 - Sebastian Riedel
18:45 GitHub20 left #mojo
18:48 Foxcool left #mojo
18:53 ispy__ left #mojo
18:59 ispy_ joined #mojo
18:59 sugar joined #mojo
19:01 omega left #mojo
19:01 omega joined #mojo
19:06 Foxcool joined #mojo
19:29 elb0w Where do they find the developers to write the sdk's for these payment sites
19:29 elb0w holy shit
19:29 purl Dominus vobiscum, et cum spiritu tuo *plop*
19:29 elb0w haha
19:29 elb0w purl: you are the man
19:29 purl ...but purl is a her...
19:29 elb0w purl: you are the woman
19:29 purl ...but purl is a her...
19:29 * elb0w outsmarted purl
19:29 elb0w purl: you are the her
19:29 purl ...but purl is a her...
19:30 elb0w purl 42
19:30 purl 42 is probably right one
19:30 sri don't damage the bot
19:30 elb0w I think its having an identity crisis
19:30 elb0w purl: how old are you?
19:30 purl i am a her
19:30 sri Oo
19:30 elb0w purl are ... you
19:30 purl OK, elb0w.
19:30 elb0w :P
19:31 sri purl: jerk it!
19:31 purl sri: I LIKE DI_K (ONLY ONE LETTER TO GO AND YOU WIN THE PRIZE)
19:31 elb0w haha
19:31 elb0w purl C
19:31 purl C is not perl ops
19:31 elb0w purl websocket
19:31 purl elb0w: sorry...
19:31 elb0w pfft
19:38 eugen joined #mojo
19:44 sri weird, so many commits today and no watchers lost yet
19:44 sri more than 3 per day usually costs 1-2
19:44 sri (commits, watchers)
19:45 stephan48 watchers?
19:45 purl watchers is fixed in 3.0.
19:45 sri github watchers
19:45 stephan48 ah
19:45 marcus stephan48: github
19:46 sri but what the hell was i thinking when i started using underscore hash keys...
19:46 sri why didn't anyone stop me?
19:46 stephan48 why should we?
19:47 sri because it would have been the right thing to do!
19:47 stephan48 you should have told us back then
19:48 sri :S
19:50 stephan48 is there some way to make mojo give me the path to a static file?
19:50 stephan48 the url*
19:50 sri url_for '/path/to/file'
19:59 stephan48 http://gs.stejau.de/cp/ btw that way the error page looks when you got js and css
20:00 sri damn, github has awesome mugs
20:00 sri http://shop.github.com/products/octobiwan-mug
20:01 stephan48 https://filebase.stejau.de/i​mages/2011-06-30_220015.png
20:01 arpadszasz left #mojo
20:01 D4RK-PH0ENiX joined #mojo
20:02 stephan48 the link to the app wont work, cause you will faced with a login
20:02 TheCritic joined #mojo
20:03 ispy__ joined #mojo
20:03 stephan48 who was the mac user?
20:03 ispy_ left #mojo
20:04 d4rkie left #mojo
20:04 TheCritic <— mac user :)
20:05 TheCritic I wish this error was more more descriptive… like with ip and port… Can't create listen socket: Address already in use at /Library/Perl/5.10.0/Mojo/Server/Daemon.pm line 305
20:05 sri that error comes from Perl
20:06 sri and goes most likely quite a bit deeper
20:06 TheCritic yup…
20:09 TheCritic link broke: http://mojolicio.us/perldoc?​Mojolicious/Guides/Cookbook
20:10 sri http://mojolicio.us/perldoc/​Mojolicious/Guides/Cookbook
20:10 sri it's just a slash now
20:17 sri hmm
20:17 sri the morbo tests still need some work
20:18 sri if anyone is looking for a side project, the restart tests randomly fail, most likely a timing issue
20:19 stephan48 <%= url_for('/images/background.png') %> should give me /images/background.pnd with the app path prefixed or?
20:20 sri yes
20:20 sri *if* there's a prefix
20:20 stephan48 okey
20:21 sri http://mojolicio.us/perldoc/M​ojolicious/Controller#url_for
20:21 sri mentioned there
20:23 marcus paper.js is so awesome http://paperjs.org/examples/nyan-rainbow/
20:24 sri everything that involves nyan cat must be awesome
20:24 stephan48 sri: which ofcourse works great, when you tell mojo theres a prefix
20:25 stephan48 i had the problem that i specified http://127.0.0.1:12345/ as proxy uri, and the / at the end must have broken really much
20:25 stephan48 after i removed it all went fine
20:30 kaare left #mojo
20:35 eXeC001er sri: Can i set 'over' to all my routes without add to each route ?
21:02 dekimsey left #mojo
21:02 Akron joined #mojo
21:21 sugar left #mojo
21:38 philipp joined #mojo
22:05 abra left #mojo
22:13 GitHub169 joined #mojo
22:13 GitHub169 [mojo] kraih pushed 1 new commit to master: http://bit.ly/lHWDyl
22:13 GitHub169 [mojo/master] cleaned up sandbox code a bit - Sebastian Riedel
22:13 GitHub169 left #mojo
22:24 philipp left #mojo
22:25 metaperl joined #mojo
22:36 Foxcool left #mojo
22:37 xantus[] !!! http://smoothiecharts.org/
22:46 GitHub13 joined #mojo
22:46 GitHub13 [mojo] kraih pushed 1 new commit to master: http://bit.ly/krvxGM
22:46 GitHub13 [mojo/master] fixed small return value issue - Sebastian Riedel
22:46 GitHub13 left #mojo
22:47 sri cute
22:54 eugen left #mojo
23:02 sri great, the latest Coro doesn't even install on os x :S
23:04 sri same for EV
23:04 sri annoying
23:05 janus left #mojo
23:09 sri would be fun if someone wrote a ev backend for iowatcher
23:11 xantus[] totally
23:13 sri should be like 15 lines of code or so
23:14 xantus[] I can tonight
23:15 xantus[] ev installed fine here
23:15 sri oO
23:16 sri you basically just subclass Mojo::IOWatcher and set it up like it says here http://mojolicio.us/perldoc/Mojo/IOLoop#iowatcher
23:16 xantus[] https://github.com/xantus/MojoX-AIO  should also still work, I'll recheck
23:17 GitHub135 joined #mojo
23:17 GitHub135 [mojo] kraih pushed 1 new commit to master: http://bit.ly/jNRBG5
23:17 GitHub135 [mojo/master] fixed typo - Sebastian Riedel
23:17 GitHub135 left #mojo
23:19 xantus[] I had the intention to do MojoX-AnyEvent
23:19 sri should be rather easy now
23:19 sri if anything needs to be changed on the iowatcher layer just let me know
23:19 sri it's all experimental, you can get what you need :)
23:20 sri for all those bindings you shouldn't have to touch ioloop anymore
23:21 sri AIO could also use the lower level api
23:22 sri Mojo::IOLoop->singleton->iowatcher->add($fh, on_readable => \&poll_cb);
23:23 xantus[] nice
23:23 xantus[] I really want to make something using smoothiecharts
23:24 xantus[] maybe a hypnotoad monitor
23:25 k-man left #mojo
23:25 sri that would be cool
23:31 metaperl left #mojo
23:33 tempire huh
23:33 tempire smoothiecharts is pretty neat
23:33 sri wonder if anyone has ever used the idle event
23:33 preflex left #mojo
23:34 tempire don't kill it
23:34 sri it adds a lot of complexity
23:34 sri makes adding different event loop backends harder
23:35 sri tempire: you use it?
23:35 sri it's still experimental, so i'm tempted
23:35 xantus[] remove it because tempire uses it, muahaha
23:36 xantus[] tempire: ;)
23:36 tempire I don't want to admit that I don't use it currently
23:36 tempire so I'm not going to
23:36 tempire I see it being useful for writing a long running daemon.
23:36 sri lol
23:36 sri but there is no guarantee that it will ever run
23:37 sri or that it won't run over and over
23:37 tempire I have no argument
23:37 tempire do what you gotta do
23:37 tempire it just makes me sad
23:37 sri most of the time you would be better off just using a recurring timer
23:38 sri aww
23:38 xantus[] which is ok
23:38 sri no puppy eyes now...
23:38 xantus[] nix it
23:40 tempire http://3.bp.blogspot.com/_D_Z-D2tzi14/TBpoOlpMa_I/​AAAAAAAADGU/CfZVMM9MqsU/s400/responsibility102.png
23:40 sri i did not see that one coming
23:41 preflex joined #mojo

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