2008-8-4
| 22:53 | wmealin1 | Kurushiyama: yeah.. could be... |
| 22:53 | wmealin1 | Kurushiyama: Although I hope it is just that..and he's not dead/hurt. |
| 22:53 | billy | should i have a column that gets inc/dec when objects are added/removed? |
| 22:53 | billy | yogi_: mysql |
| 22:53 | wmealin1 | Kurushiyama: do you know if anyone here knows him irl ? |
| 22:54 | Kurushiyama | Prometheus: most people really don't need to worry about that - if you setup apache well, no fuss with that |
| 22:54 | Kurushiyama | wmealin1: sorry, no |
| 22:54 | Prometheus | Kurushiyama: lighty + fcgi actually! ;) |
| 22:54 | Prometheus | but yeah, no need to worry |
| 22:54 | yogi_ | billy: mysql..MyISAM? usually counts are really fast for that engine. but yes, a row that holds the current count would be the fastest way, especially for large data sets |
| 22:54 | Kurushiyama | Prometheus: I have better experience whith cherokee, but mainly that is a matter of taste |
| 22:55 | billy | yogi_: thanks for the help |
| 22:55 | Prometheus | Kurushiyama: but I think learning about things like scaling before you need to do it, isn't exactly a bad idea ;) |
| 22:55 | Prometheus | Kurushiyama: learning about it few hours after you should've scaled up tends to be too late |
| 22:55 | Prometheus | thus I'd be interested to hear davidcramer's talk at djangocon |
| 22:56 | Prometheus | I find scaling always an interesting topic :) |
| 22:56 | Kurushiyama | Prometheus: if you plan to use it on large scale sites, you should look for scaling before you write the first line of code ;) |
| 22:56 | juice_d | Zalamander: is there a way to see the query its generating |
| 22:56 | davidcramer | oy! |
| 22:56 | Prometheus | Kurushiyama: of course :) |
| 22:56 | wmealin1 | davidcramer: what ! ? |
| 22:56 | Prometheus | davidcramer: highlighting is beautiful |
| 22:56 | wmealin1 | oh, yeah.. djangocon you lucky dogs |
| 22:56 | davidcramer | i have made the coolest wp plugin of all time |
| 22:56 | Prometheus | haha, coolest wp |
| 22:56 | Prometheus | err. |
| 22:56 | wmealin1 | davidcramer: lies. |
| 22:56 | Prometheus | wp is uncool, sorry |
| 22:56 | Kurushiyama | wp? |
| 22:56 | wmealin1 | wordpress |
| 22:57 | wmealin1 | exploit vendor. |
| 22:57 | Prometheus | there's no way you can make anything cool for that, not even if you added 10 buzzwords to it |
| 22:57 | wmealin1 | 11 buzzwords ? |
| 22:57 | Prometheus | nope |
| 22:57 | Prometheus | won't cut it |
| 22:57 | Kurushiyama | So what blogging engine do you guys use? |
| 22:57 | Prometheus | davidcramer: let me guess though, lifestreaming? ;) |
| 22:57 | Kurushiyama takes cover | |
| 22:57 | davidcramer | haha, ya |
| 22:57 | gordonjcp doesn't blog | |
| 22:57 | davidcramer | im rewriting it now |
| 22:57 | davidcramer | its super awesome |
| 22:58 | davidcramer | all sane people use wordpress |
| 22:58 | Prometheus | sane? |
| 22:58 | Prometheus | o_o |
| 22:58 | Prometheus | who likes being sane, honestly? |
| 22:58 | Kurushiyama | nobody uses CoreBlog2 or serendipity? |
| 22:58 | Prometheus | I like reinventing the wheel |
| 22:59 | Kurushiyama | Prometheus: well, you can start with an almost round stone.... ;) |
| 22:59 | Prometheus | Kurushiyama: I am ;) |
| 22:59 | Kurushiyama | Prometheus: you are starting with an almost round stone? |
| 22:59 | Prometheus | actually, I'm not so fond of reinventing the whole wheel |
| 22:59 | yogi_ | Zalamander: http://www.sqlite.org/speed.html |
| 22:59 | Prometheus | just the important bits ;) |
| 23:00 | Kurushiyama | Prometheus: you could call it roundstone |
| 23:00 | Prometheus | I should |
| 23:00 | Kurushiyama prepares a bill for namefinding of 1 trillion dollars | |
| 23:00 | Prometheus | :) |
| 23:01 | Prometheus | I've got a stockpile of good names ;) |
| 23:01 | Prometheus | for various projects I haven't had the time to implement |
| 23:01 | Prometheus | (don't we all have that?) |
| 23:01 | Kurushiyama | wmealin1: you really gave me some thought about Magus |
| 23:02 | Kurushiyama | Prometheus: the need for food and shelter were my main reasons |
| 23:02 | Prometheus | Kurushiyama: fair enough |
| 23:03 | wmealin1 | Kurushiyama: how so ? |
| 23:03 | Kurushiyama | wmealin1: he would have said if he wasn't here for a longer period, wouldn't he? |
| 23:04 | Kurushiyama | Prometheus: "Well, Landlord, I am sorry, can't pay the rent - but I have a nice django app I can offer you...." |
| 23:05 | wmealin1 | i'd have thought so |
| 23:05 | Kurushiyama | wmealin1: I am on for several hours a day and didn't see anybody mention he did so, nor have I heard it from him |
| 23:06 | Prometheus | wow, snakes and rubies is 3 hours long |
| 23:06 | mattmcc | And very, very out of date. |
| 23:06 | Prometheus | that's longer than The Dark Knight o_o |
| 23:06 | Prometheus | mattmcc: of course, but it was just for entertainment purposes ;) |
| 23:06 | Kurushiyama | Prometheus: it's worth it, though |
| 23:06 | mattmcc | Prometheus: Eh. Assholes don't entertain me. |
| 23:08 | enoj | What's a good implementation for translation on models? |
| 23:08 | juice_d | hey all, i got that query working with the foreign key. Is there a way to retrieve a column in the joined table with my query? |
| 23:08 | Prometheus | Kurushiyama: I'll have to save it for another day though, it's already late as it is :( |
| 23:08 | Kurushiyama | |
| 23:09 | yogi_ | juice_d: you should automatically get every field of the joined models, unless you're doing some custom SQL |
| 23:09 | juice_d | ah, test it works |
| 23:09 | juice_d | thanks all |
| 23:10 | davidcramer | hrm |
| 23:10 | alperkanat | hey there.. is it possible to change template's locale setting for date tag ? i'm trying to have a multilingual site.. |
| 23:10 | davidcramer | INDEX (`feed_id`, DATE(FROM_UNIXTIME(`timestamp`))) -- i take it i cant do this in mysql? :( |
| 23:11 | enoj | Kurushiyama: that doesn't talk about translation for model rows |
| 23:11 | Kurushiyama | enoj: hmm, true |
| 23:12 | Kurushiyama | no easy way, since it's not static text |
| 23:12 | Kurushiyama | django-rosetta maybe able to do it, but I am not sure |
| 23:13 | enoj | I've seen a few solutions, but doesn't know which one is the least hassle |
| 23:14 | enoj | doesn't seem like django-rosetta can do it |
| 23:19 | dembo | morning |
| 23:20 | Q45 | hey, how can i instantiate an object based on its name stored in a string? |
| 23:20 | Kilarney | does anyone have ideas as to the logic behind ModelForms not automatically populating ForeignKey(User) fields with the current user? |
| 23:21 | Q45 | e.g. str='Object'; new_obj = str() |
| 23:21 | alperkanat | hey there.. is it possible to change template's locale setting for date tag ? i'm trying to have a multilingual site.. |
| 23:21 | jinzo | Kilarney, because you need select_related() |
| 23:22 | Kilarney | Q45: new_obj = eval( str() ) |
| 23:22 | Kilarney | in your example |
| 23:22 | FunkyBob | Kilarney: ugly |