Camelia, the Perl 6 bug

IRC log for #mojo, 2011-03-10

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

All times shown according to UTC.

Time Nick Message
00:17 stephen left #mojo
00:28 stephen joined #mojo
01:12 metaperl left #mojo
01:12 metaperl joined #mojo
01:55 xris left #mojo
02:30 sigue left #mojo
02:42 sigue joined #mojo
03:44 ok22_ left #mojo
03:50 yakudzo joined #mojo
03:55 ok22_ joined #mojo
04:53 mattastrophe joined #mojo
04:56 alnewkirk-away joined #mojo
05:31 kaare joined #mojo
05:36 alnewkirk-away left #mojo
05:37 snearch joined #mojo
06:33 koban1 joined #mojo
06:48 ysyrota joined #mojo
06:56 sri good morning fellow supervillains!
06:59 moritz good morning zebra!
07:08 sri hmm, xcode installation seems to hang :S
07:14 koban1 left #mojo
07:28 fhelmber_ joined #mojo
07:40 Christian joined #mojo
07:40 Christian moin
07:48 breaker313 joined #mojo
07:56 Hammit joined #mojo
08:03 Hammit left #mojo
08:09 Hammit joined #mojo
08:11 perlrocks Twitter: "# Perl mojolicious-guides-japanese to the wiki and try adding a translation or just unfinished Tsuka Iku." (ja) --kits_ http://twitter.com/kits_/status/45758724316479489
08:23 sri hmm, lets hope there are no bad side effects for killing the xcode installer :S
08:26 marcus xcode installer?
08:37 marcus why are you installing xcode?
08:45 sri xcode 4 got released
08:47 marcus I have the GM
08:49 marcus guess I should update my phone to 4.3
08:52 sri installed it via mac app store
08:52 sri you get an installer app from it that you have to run yourself
08:57 minimalist left #mojo
09:00 ver joined #mojo
09:09 koban1 joined #mojo
09:13 sri guess we'll have a release today
09:19 marcus @'`@
09:42 snearch left #mojo
09:44 omega whats the best way to do Mojo::Client requests as part of a request to a Mojolicious app?
09:46 moritz omega: when you use HTTP, it doesn't matter what the server side uses for implementation
09:46 moritz so you don't have to care if the server uses mojolicious or not
09:46 GitHub183 joined #mojo
09:46 GitHub183 mojo: master Sebastian Riedel * 42ac4b2 (1 files in 1 dirs): release preparation - http://bit.ly/gOSSss
09:46 GitHub183 left #mojo
09:46 omega no, I have a mojo app, that needs to fetch data from a web service
09:48 sri $self->client->get?
09:49 sri with hypnotoad you could also do the request async
09:50 sri https://github.com/kraih/mojolicio​.us/blob/master/mojolicious.pl#L32 # here's an example
09:50 sri that's an optimization though, i don't suggest it unless you really know what you're doing
09:51 sri guess i shouldn't have mentioned it -.-
09:54 sri still unsure where to go with the whole async api :/
09:54 marcus continuations!
09:54 purl continuations are like a two way setjmp
09:55 sri if you find them send them my way!
09:55 marcus Continuity?
09:55 purl somebody said Continuity was available at http://thelackthereof.org/​projects/perl/continuity/, or http://continuity.tlt42.org/ or a continuation-based web-programming thingy
09:55 sri lol
09:55 sri no
09:56 marcus I AM DISSAPOINT
09:58 sri i'd love to see coroutines in core perl though
09:59 marcus I'd love to see coeds
09:59 sri like fibers in ruby
09:59 sri I'D LOVE TO SEE YOUR ARTICLE!
10:00 marcus http://img-cluster1.dannychoo.com/cg​m/ecommerce/dannychoo/images/large/a​9d757ea3ee0437f3f391c53c4c1ffc8.jpg
10:00 sri and tagged 1.12
10:02 sri i'd also like to unsee that
10:05 sri and 1.12 is on its way to cpan
10:05 marcus shake to undo
10:05 * sri pokes crab
10:05 * sri shakes marcus
10:05 * marcus pops
10:05 perlrocks Twitter: "Mojolicious 1.12 by KRAIH - http://frepan.org/~kraih/Mojolicious-1.12/" --cpan_new http://twitter.com/cpan_ne​w/status/45787471388217344
10:06 crab sri: ?
10:06 sri ^
10:06 crab ah
10:07 marcus frepan.org background color hurts my eyes :/
10:08 crab good god, what is that... stuff?
10:08 crab natto?
10:08 purl i heard natto was phlegmy fermented soybeans; smells like cheese or sweatsocks. or a japanese "delicacy" (c.f. Klingon "gagh"), appreciated more in Eastern .jp or http://img-cluster1.dannychoo.com/cg​m/ecommerce/dannychoo/images/large/a​9d757ea3ee0437f3f391c53c4c1ffc8.jpg
10:09 sri AAAAAAAH
10:09 crab ah.
10:09 marcus tempire: $$daughter= http://instagr.am/p/CG0uC/?ref=nf ;
10:16 spleenjack joined #mojo
10:19 crab sri: 1.12 passes tests here, and strangely the dom.t warnings i was seeing have also gone away
10:19 sri that was bug we fixed last week or so
10:19 sri actually yko did afair
10:19 crab ah, so there /was/ something. good you found it.
10:51 Hammit hmm...
10:52 Hammit sessions
10:52 Hammit $self->session->default_expiration(15);
10:52 Hammit if I've got that in my starup()
10:53 Hammit there are complaints in my log
10:55 Hammit $self->sessions->default_expiration(15);
10:56 Hammit that should be correct?
11:00 ok22_ left #mojo
11:01 crab yes
11:10 sri 15 seconds, really?
11:11 ok22_ joined #mojo
11:12 tempire left #mojo
11:18 su-bzero joined #mojo
11:18 su-bzero left #mojo
11:27 Alias joined #mojo
11:35 yakudzo left #mojo
11:37 yakudzo joined #mojo
11:43 perlrocks Twitter: "Released #mojolicious 1.12, enjoy! :) http://t.co/1uqNxzf #perl" --kraih http://twitter.com/kraih/status/45811909164924928
11:59 GitHub16 joined #mojo
11:59 GitHub16 mojo: master Sebastian Riedel * 83ac5fa (4 files in 4 dirs): fixed typos - http://bit.ly/f68V7C
11:59 GitHub16 left #mojo
12:04 koban1 left #mojo
12:04 koban1 joined #mojo
12:08 perlrocks Twitter: "Mojolicious 1.12: IPv6 goodness:  I'm very happy to announce Mojolicious 1.12, the latest maintenance rel... http://bit.ly/evir9q #perl" --PlanetPerl http://twitter.com/PlanetPe​rl/status/45818404703174656
12:13 sri Don't forget to give mojolicious a good review! http://cpanratings.perl.org/dist/Mojolicious
12:14 sri no more answers unless you've give it 5 stars! :D
12:14 sri *+n
12:15 * sri cracks the whip
12:16 perlrocks Twitter: "Mojolicious-Plugin-YamlConfig 0.1.0 by DATA - http://frepan.org/~data/Mojoli​cious-Plugin-YamlConfig-0.1.0/" --cpan_new http://twitter.com/cpan_ne​w/status/45820346699485184
12:16 sri DaTa++
12:16 marcus * - maintainer is an evil tyrant
12:17 Alias Just for that I'm giving it 4 stars
12:17 Alias Mostly for inventing it's own templating format and not just reimplementing TT :)
12:17 marcus alias: Mostly he just implemented irb?
12:17 Alias irb?
12:17 purl irb is stupid. or integrated routing and bridging or PLEASE TO BE KISSING beeer's ASS or interactive ruby or Did you remember to put "require 'irb/completion'" into my .irbrc?
12:18 marcus oh, whatever rails templating is called
12:20 sri erb
12:20 sri it's actually a ruby core module
12:20 sri used by rails
12:20 sri now replaced by erubis
12:20 crab i am stupid and childish for resenting having to quote keys in my config file
12:21 sri i'm proud of inventing tag helpers for perl though
12:21 sri begin/end rocks!
12:21 marcus crab: use the perlish configs?
12:22 * sri prefers perlish config files too now
12:22 crab i was hoping someone would talk me OUT of wanting to make gratuitous changes
12:22 * crab presses enter on "git commit"
12:23 sri *crickets*
12:25 * sri can relate to the supervillain in the green hornet movie
12:26 sri "why am i not scary?"
12:34 marcus why so spurious
12:35 Hammit left #mojo
12:35 crab ok, i switched to perl config files. i hope you all are happy now
12:36 * marcus dances a jig
12:36 marcus I'm still using the json config =)
12:42 sigue left #mojo
12:44 mj41 left #mojo
12:44 crab i hate you, marcus
12:45 marcus crab: good. now put that hate to good use!
12:51 Kulag left #mojo
12:52 alnewkirk-away joined #mojo
12:59 perlrocks Twitter: "Sebastian Riedel (sri): Mojolicious 1:12: IPv6 goodness http://bit.ly/evir9q" (ms) --perlironman http://twitter.com/perlironm​an/status/45831172550430720
13:00 sigue joined #mojo
13:05 sigue left #mojo
13:05 sigue joined #mojo
13:06 cosmincx left #mojo
13:10 cosmincx joined #mojo
13:11 Kulag joined #mojo
13:19 alnewkirk-away left #mojo
13:21 spleenjack left #mojo
13:22 spleenjack joined #mojo
13:31 dotan joined #mojo
13:39 crab anyone used backbone.js or knockout.js?
13:42 Drossel joined #mojo
13:42 Kulag left #mojo
13:45 sri for hipster technologies i would always bet on marcus
13:47 perlrocks Twitter: "Perl-ish config is old my solution for app. I'm glad RT: @kraih: Released #mojolicious 1.12, enjoy! :) http://t.co/1uqNxzf #perl" --sharifulin http://twitter.com/shariful​in/status/45843121812144128
13:55 Drossel left #mojo
14:03 tempire joined #mojo
14:05 Kulag joined #mojo
14:06 spleenjack left #mojo
14:09 spleenjack joined #mojo
14:10 tempire I want to meet Blue
14:10 tempire In person
14:10 tempire He sounds like he needs hugs
14:10 tempire lots of them
14:10 purl lots of them are ducted fans.
14:10 sri the upvotes for his reviews are a bit shocking
14:11 sri 4 of 4 for calling someone a newbie or so
14:11 sri cpanratings totally failed there
14:12 tempire No one pays attention to the word deprecated
14:12 tempire experimental, I mean.
14:12 sri both actually ;p
14:14 sri i'm still not sure if i should use classes for the orm
14:14 sri a routes like dsl for describing collection constraints could be fun too
14:17 sri harder to reuse though
14:18 tempire reuse for other databases?
14:18 sri and other apps
14:18 purl i think other apps is fine
14:18 * moritz finds purl constantly annoying
14:18 tempire classes are what most people would expect.  can you have routes on top of it?
14:18 sri i guess
14:19 * tempire watches sri grumble
14:19 moritz how do you want to express the "R" part of ORM?
14:19 sri i tend towards classes too atm
14:19 sri it's actually a ODM :D
14:19 tempire moritz: OKM
14:19 tempire d?
14:19 purl d is, like, http://www.digitalmars.com/d/ or for dickgirls
14:19 tempire database.
14:19 purl hmmm... database is stateful, it can't be stateful
14:19 tempire ok
14:19 sri object document mapper ;)
14:20 moritz ah, the .doc files again
14:20 tempire Call it an O[rkd]M
14:20 tempire orkdem
14:23 breaker313 left #mojo
14:27 ok22__ joined #mojo
14:28 daviddelikat left #mojo
14:32 perlrocks Twitter: ""@kraih: Released #mojolicious 1.12, enjoy! :) http://t.co/1uqNxzf #perl"" --insurgentsoft http://twitter.com/insurgents​oft/status/45854417869733888
14:32 ok22_ left #mojo
14:48 jfuller left #mojo
15:03 mattastrophe left #mojo
15:13 ver left #mojo
15:13 daviddelikat joined #mojo
15:22 fmerges joined #mojo
15:23 Kulag left #mojo
15:24 Kulag joined #mojo
15:32 koban1 left #mojo
15:33 daviddelikat left #mojo
15:42 Exodist left #mojo
15:45 Exodist joined #mojo
15:50 crab who is this blue?
15:53 tholen_ joined #mojo
15:54 sri crab: an anonymous coward
15:58 crab ah.
16:04 marcus he's blue dadidadididadada
16:10 dotan crab: blue is a cpanratings troll, his mojolicious review is epic by his standards, in that it uses more words than just 'lame'.
16:12 sri and two stars instead of one :)
16:12 moritz is that the one who rates modules from hearsay, without ever having used them?
16:13 minimalist joined #mojo
16:13 minimalist left #mojo
16:13 minimalist joined #mojo
16:14 daviddelikat joined #mojo
16:14 crab i must say a lot of the modules he's tagged as lame are pretty lame.
16:23 daviddelikat left #mojo
16:24 Christian cu all
16:24 Christian left #mojo
16:36 alnewkirk joined #mojo
16:45 daviddelikat joined #mojo
16:50 fhelmber_ left #mojo
16:56 fhelmber_ joined #mojo
16:56 fhelmber_ left #mojo
17:11 baton8 joined #mojo
17:18 * mateu is confused by Christian, is it a bot?
17:21 crab no.
17:23 crab he just has a very predictable day.
17:25 * sri just realized what in the Mojo::Client api doesn't fit
17:26 sri the distinction between blocking and non-blocking should be more clear
17:27 sri $client->get(... => sub {...})->get(... => sub {...})->start is the problem
17:27 s0va left #mojo
17:28 sri callback should mean async without exceptions
17:34 crab that makes sense.
17:39 crab i'm still thinking about how to structure a process which needs to be initiated by the user through the web app, but needs to do a lot of http requests in the background before it's completed.
17:39 crab this would be a good use for websockets, but...
17:43 s0va joined #mojo
17:46 xris joined #mojo
17:52 ysyrota left #mojo
17:55 sri long poll
17:55 purl long poll is, like, not polling
17:55 ok22__ left #mojo
17:55 sri with ajax
17:56 sri if it's not bi directional it's easy
17:58 crab it's not bidirectional, and yes, that's what i was planning to do: use js to poll the server every 15s and add rows to a table to indicate progress.
17:58 daviddelikat left #mojo
17:59 crab on the server, though, should i just $client->get(...)->start whatever queries i need from the original controller#action and leave them running?
18:12 dotan left #mojo
18:15 sri it's more complicated
18:15 sri polling makes it very complicated actually
18:15 sri long polling would be smarter
18:21 crab oh. i didn't realise long polling was something other than polling at long intervals. /me is reading about it now.
18:25 crab i don't immediately see how this makes life easier.
18:26 crab but, i'll go away and think about it and see how it relates to my other server-initiated http requests.
18:30 daviddelikat joined #mojo
18:35 alnewkirk left #mojo
18:42 sri hmm, i might deprecate Mojo::Client :o
18:43 sri i have a clean api for it now, but i see no deprecation strategy besides replacing the whole module
18:44 sri Mojo::UserAgent sounds good
18:44 crab Mojo::Client2, in oracle style!
18:44 sri lol
18:49 crab sri: so it'll be either $res = M::UA->req(...) for sync or M::UA->req(... => sub {...}) for async, and that's pretty much it?
18:49 sri exactly
18:51 sri and if you mix both styles you will lose the current keep alive connections because the ioloop gets switched out
18:51 sri that's about it
18:52 spleenjack left #mojo
18:52 mateu sri: will your Mongo driver be a standalone module?
18:52 sri yes
18:52 mateu sweet
18:52 sri it will depend on mojolicious though
18:52 sri for ioloop
18:53 mateu ok
19:00 tholen_ left #mojo
19:14 tholen_ joined #mojo
19:15 tholen__ joined #mojo
19:18 gslin joined #mojo
19:20 tholen_ left #mojo
19:40 tholen__ left #mojo
20:24 jawnsy left #mojo
20:32 tholen_ joined #mojo
20:49 zipkiddy joined #mojo
20:50 zipkiddy left #mojo
20:51 maja left #mojo
20:51 zipkiddy joined #mojo
20:53 zipkiddy left #mojo
20:55 sri http://memcached.org # cool banner
21:01 root joined #mojo
21:01 root left #mojo
21:22 vel joined #mojo
21:46 tholen_ left #mojo
22:15 memowe_ joined #mojo
22:18 crab left #mojo
22:19 memowe left #mojo
22:19 stephan48 left #mojo
22:20 gabb left #mojo
22:20 gabb joined #mojo
22:26 xris left #mojo
22:28 stephan48 joined #mojo
22:43 kaare left #mojo
22:58 gshank left #mojo
22:59 gshank joined #mojo
23:04 gshank_ joined #mojo
23:06 gshank left #mojo

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