I saw Blade: Trinity last night. The movie is "eh, OK." Plotline is glaringly weak (even for an action flick about vampires ... I mean, really!) and the action is OK (it's typical Blade stuff, I didn't remember anything that seemed to jump out at me in terms of cool stunts). There are pretty good one-liners (none which I can remember, sorry!) that made me go LOL a few times...

But I'll tell you what you need to watch the movie for: Jessica Biel. I never realized how HOT she was... goodness. Forget Kate ... I'm all about Jessica Biel now!

[img:476430]

[img:476431]

[img:476432]

[img:476433]

[img:476434]

. . .

Speaking of oversized things (like this segue??), I've spent most of today working on the new Tabulas 2.0 templating engine. Did you know that the current 1.0 engine is really bloated? If you right click and do a view source on any page, it'll show you how many mySQL queries are being sent to generate the one page; with my Tabulas homepage, there are 97 queries being sent... WHOA. That's a lot.

I've cut down the queries so far (this is a first pass) on the new templating engine down to 62 queries. Let's see if I can cut that down even more...

The problem is there are two approaches to the way I'm currently doing things: (1) do all data manipulation and then send it all out and (2) do things incrementally and send it out to the browser in smaller portions. The problem with (1) is that it requires a LOT more RAM, but the benefits are that I can cut down on the number of SQL queries. Since the data isn't being sent, I can store all SQL queries in a buffer and then combine the similar queries into one query like SELECT field FROM table WHERE id IN (ID1, ID2, ID3) instead of doing three separate queries of SELECT field FROM table WHERE id = id1 (and two more).

The problem is with method (1), I'm freeing up the mySQL server, but the burden then gets passed onto the PHP server for processing (and it's important to note that less SQl queries doesn't necessarily mean it's easier on the mySQL server!)... but with the way I plan on figuring out the Tabulas network, being CPU-bound doesn't seem like a bad option; CPU will scale easier than the RAm required for the DB.

I'm having a friggin' blast doing this (no sarcasm). Man, it's nice to do something you really love doing and turns out to look "produtive" to others... isn't that the American dream?

Posted by roy on December 9, 2004 at 10:18 AM in Ramblings, Tabulas | 18 Comments

Related Entries

Want to comment with Tabulas?. Please login.

nixie_bu (guest)

Comment posted on December 10th, 2004 at 04:01 AM
since i don't get the computer language.. all i gotta say this! i like jessica biel's spunk! hmmm.. i might just watch the movie coz of her!
Comment posted on December 9th, 2004 at 08:20 PM
Now that you have Google ads for the unpaid members, why don't you make their RSS feeds truncate after a certain amount of characters? That would make more people have to go to their actual sites as opposed to just reading all their entries from their aggregator.

Of course, a lot of people read something from their aggregator and then go to comment... oh well, just a suggestion.
Comment posted on December 10th, 2004 at 11:02 AM
hmm that's not a bad idea. but i really REALLY dislike truncated RSS feeds, so i wouldn't feel right doing that just to gain a few extra bucks.
Comment posted on December 9th, 2004 at 07:37 PM
yea yea, whatever man. all this talk about Jessica Biel, when in reality you were talking about that Ryan Reynolds the whole time. That Ryan Reynolds, he's so hot right now.

<img src="http://viking.necrolounge.com/archives/hking3.jpg">
Comment posted on December 9th, 2004 at 06:10 PM
She would be a senior at my college if she hadn't dropped out (or transferred. I can't remember which she did). I wish she was here.
Comment posted on December 10th, 2004 at 10:59 AM
you go to tufts?



dude i wish she was there too... cause then you would introduce her to me, right?
Comment posted on December 10th, 2004 at 12:10 PM
Yeah, I do. And you KNOW I'd introduce you to. . . my girlfriend!
Comment posted on December 9th, 2004 at 05:59 PM
about the only thing they did right in blade trinity is Jessica Biel...
Comment posted on December 10th, 2004 at 11:01 AM
agreed
Comment posted on December 9th, 2004 at 03:37 PM
97 SQL queries seem really extreme. Perhaps you need to redesign your database?
Comment posted on December 10th, 2004 at 11:01 AM
Well, given the level of customization on each page, I would expect a lot of queries, but 90-ish is way too high. The new display engine should be a bit more efficient, plus once I get enough hardware I'll have a caching engine, so I'm not too concerned with hitting the db too often since the queries are well optimized.

RoyKim (guest)

Comment posted on December 9th, 2004 at 02:52 PM
jessica biel is hot

i have nudes.

tabulas needs a private message feature.
Comment posted on December 9th, 2004 at 02:55 PM
tabulas does have a PM feature. it's under 'community' for both CPs. called 'message center'

MacDaddyTatsu (guest)

Comment posted on December 9th, 2004 at 01:16 PM
Oh and watch Texas Chainsaw Massacre as well. You will get two hours of Jess moaning and bobbing...from running.

MacDaddyTatsu (guest)

Comment posted on December 9th, 2004 at 01:15 PM
There is NOTHING like an ass kicking woman, is there Bro?
Comment posted on December 9th, 2004 at 01:07 PM
wow the contrast on that last photo is such that you can hardly distinguish wesley snipes' face from his black suit =)
Comment posted on December 9th, 2004 at 01:34 PM
whoa. wesley snipes is in the last picture!!!!
Comment posted on December 9th, 2004 at 12:49 PM
Where's the shower photo?