|
2009 -- the year of November. <november-wiki.org> <github.com/viklund/november> <irclog.perlgeek.de/november-wiki> <nopaste.snit.ch> Set by moderator on 14 August 2009. |
|||
|
00:30
wayland76 joined
00:52
ihrd joined
01:03
ihrd left
05:01
ihrd joined
06:26
sri_kraih_ joined
06:42
ihrd joined
|
|||
| ihrd | rakudo: 1..{$_} | 06:43 | |
|
07:19
szabgab joined
07:23
ihrd left
07:44
p6eval joined
07:50
p6eval joined
08:55
PerlJam joined
09:44
masak joined
12:18
zarah joined
12:21
ruoso joined
13:36
PerlJam joined
14:20
szabgab joined
|
|||
| masak | Tene: ping | 14:29 | |
| Tene | Heh, just missed him. | 15:31 | |
|
16:39
szabgab joined
20:34
PerlJam joined
20:49
masak joined
|
|||
| Tene | masak: I missed you by one minute this morning. | 20:49 | |
| masak | heh :) | ||
| Tene | I was going to work on your stuff after meeting allison and particle last night, but I fell asleep as soon as I got to the hotel. | ||
| Sorry. | |||
| masak | hey, no problem :) | 20:50 | |
| Tene | I'll try again tonight. | ||
| masak | just wanted to say what I've found so far. | ||
| Tene | oh | ||
| not harass me? | |||
| Go ahead then. | |||
| masak | (or rather, I said "ActiveRecord" in my blog post, which was effective in making people come to me with suggestions for better role models.) | ||
| sequel.rubyforge.org/ | |||
| Tene | I remember finding activerecord to be really creepy. | 20:51 | |
| i didn't like it. | |||
| don't remember why. :P | |||
| my favorite orm by far has been DBIx::Class | |||
| masak | good. | 20:52 | |
| that was the other recommendation I got. | |||
| I was trying to find a link to it just now. | |||
| Tene | Jifty's orm is... okay. | 20:53 | |
| It's extremely opinionated. | |||
| masak | what would you say about pairing up at some point and just coding like crazy for something like two hours? | ||
| PerlJam | creepy? | ||
| Tene | It doesn't work well with dbs it doesn't manage, just like activerecord, iirc. | ||
| masak | whipping up something that works in Rakudo and with Web.pm. | ||
| PerlJam | ActiveRecord is nice and simple. emphasis on simple. | ||
| Tene | masak: I'd love that. | ||
| masak | cool. | 20:54 | |
| PerlJam: yes, I liked that too. | |||
| I'm trying to square that with the criticism from people I trust. | |||
| Tene | PerlJam: I can try to figure out what bothered me originally if you'd like. | 20:55 | |
| PerlJam | It's hard to get AR to do something with existing table structures if you don't already follow it's opinions. | ||
| s/it's/its/ | |||
| masak | PerlJam: the criticisms I've heard so far are "too much monkey typing", "exists, so far as I can tell, for authors of actual ORMs to laugh at", and "unlocks all the power of mysql 3.23" | 20:56 | |
| PerlJam | complex joins and such also give AR problems. | ||
| Tene | PerlJam: yeah, that was the big one. If you have an existing db, or a db managed by anything else, AR has big issues. | ||
| And that's a major issue for me. | |||
| I like my software to play well with an existing ecosystem. | 20:57 | ||
| PerlJam | yeah | ||
| Tene | That's also my big complaint with jifty's orm | ||
| masak | Tene: from what you're saying here, I see I should have employed your help about a week ago. :) | 20:58 | |
| PerlJam | but, if you're starting from scratch and don't mind AR's opinions about how things should be named, and don't have any complicated queries (I'll warrant this describes a good many projects), then ActiveRecord is fine | ||
| masak | oh well, it was a fun set of experiments. | ||
| Tene | PerlJam: as long as you note that "don't mind AR's opinions about your db" excludes "want to interoperate with an existing/currently-used db". | 20:59 | |
| PerlJam | One of AR's "problems" perhaps is that it is seductively simple. You start out all nice and easy and fun, but when you run into a wall, there's no recourse; you're done. | ||
| Tene | But, yeah, it's certainly not worthless. | ||
| PerlJam | Tene: right | 21:00 | |
| Tene afk, teaching | |||
| masak: probably available this weekend for orm hackathon or whatever | |||
| masak | PerlJam: that's a common complaint for Rails in general, IIUC. | ||
| Tene | might have db libs for you tonight. | ||
| masak | Tene: I won't be this weekend, sadly. | ||
| PerlJam | masak: yep. Rails has improved the situation of late though | 21:01 | |
| masak | Tene: but perhaps sometime next week? | ||
| Tene: anything you throw at me to play with will be much appreciated. | |||
| but I'll be fairly busy until early next week. | |||
| PerlJam: oh? thanks to the Merb merge? | |||
| PerlJam | masak: yes. | ||
| masak | great. because that was the idea, IIUC. | ||
| PerlJam | I think rails ended up doing things "right" no matter the criticism it gets. A real, actualy problem was solved in the simplest way possible. Then as the problem space got bigger and the needs changed, so did rails. | 21:04 | |
| s/ly/l/ | |||
| Now Rails is starting to approve the customizability of Catalyst IMHO (still not there yet, but so what?) | |||
| s/approve/approach/ | 21:05 | ||
| I have no clue what my fingers are typing sometimes :) | |||
| masak | Rails at least has the reputation of being very easy to get going with. | 21:07 | |
| Catalyst almost takes a stance against that, claiming that it builds upon a more solud ground, and that that's a good thing in the long run. | |||
| PerlJam | yep. | 21:08 | |
| I sometimes get the impression that the Catalyst folks look down upon the Rails folks because the Rails people are solving problems that the Catalyst folks have already solved. But then again, there's a reason Rails is so wildly popular too. | 21:09 | ||
| Catalyst is unapproachable. Rails is like a good friend :) | 21:10 | ||
| masak | yes. | 21:11 | |
| generalizing very broadly, Perl folks don't care as much about shiny stuff. | |||
| PerlJam | There are still some things I picked up using Rails that I wish Catalyst did. But there's some philosophical differences there. That's why sri made mojolicious as I understand things. His philosophy seems to be more closely aligned with Rails | 21:12 | |
| masak | unfortunately, shiny stuff has one big advantage: it draws in people who are just starting out with something. the Python and Ruby communities realize that. | ||
| I still want to look more closely at Mojo. it seems to have some good ideas in it too. | 21:13 | ||
| PerlJam | yeah, I haven't looked at it too closely myself, but it does seem interesting. | 21:14 | |
| masak | if I tune in and out of this discussion, it's because I'm trying to be proactive about the task that will make be very busy as the end of the week approaches. | 21:17 | |
| it's a two-question essay paper for the Literature part of the third term of Mandarin Chinese. | 21:18 | ||
| PerlJam | I'm largely done myself as I'm also trying to be productive :) | 21:19 | |
| masak | good :) anyway, nice talking to you about MVC frameworks. | ||
| these are questions that occupy my mind lately. | |||
| Tene | masak: again, I strongly recommend looking at Jifty if you want to see a rails-like framework in Perl. | 22:00 | |
| The best way to approach it is to read through the talks in their svn server and then look at the examples in their svn server. | |||
| masak | Tene: I have been looking at Jifty a lot. | 22:01 | |
| I'll take a look at those examples, though. good idea. | |||
| Tene | The actual documentation is negligible, but the talks and examples are pretty good. | ||
| masak | so I've found. | 22:09 | |
| just to be explicit, my short-term goals is to write something like a full stack. it doesn't have to do everything, but it should be able to do something. that will fire people up. | 22:10 | ||
| s/goals/goal/ | 22:11 | ||
| Tene | Yes. | 22:12 | |
| It would be a lot of fun to introspect the ORM classes to build a web admin page automatically. :) | |||
| But, I'll try to get you mysql access from rakudo asap | 22:13 | ||
| I'm pretty sure I had memcached access working somewhere, but then i realized that I have no use for memcached, so I dropped it. :P | 22:14 | ||
| masak | :) | 22:15 | |
| ok, quarter past shold-be-asleep-already here. | |||
| Tene | 'night | ||
| masak | I don't expect to be very IRC-able for the rest of the week. | 22:16 | |
| Tene | email? | ||
| masak | aye. | ||
| Tene | kk | ||
| masak | the IRC logs work too. | ||
| or phenny. | |||
| whatever suits you best. | |||
| o/ | |||
| \\gq tests rock! | |||