Author Topic: Let's hear it!  (Read 1762090 times)

0 Members and 19 Guests are viewing this topic.

Offline Ender

  • x86
  • Hero Member
  • *****
  • Posts: 2390
    • View Profile
Re: Let's hear it!
« Reply #5565 on: August 04, 2008, 04:52:02 pm »
iago can you give us the top 50 for Offtopic and Trash Can?

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Let's hear it!
« Reply #5566 on: August 04, 2008, 04:55:26 pm »
Not easily, boards are much more complicated than topics.

Doesn't SMF have something like that built into the stats?

Offline truste1

  • Hero Member
  • *****
  • Posts: 1130
  • I haven't visited my profile!
    • View Profile
Re: Let's hear it!
« Reply #5567 on: August 04, 2008, 04:56:52 pm »
Date with Stacey on Saturday, probably poker on Wednesday with her & friends.  yay!

Dinner/drinks tonight with friend who is back in town for a little while.

I see what you did there.
Ain't Life Grand?

Offline CrAz3D

  • Hero Member
  • *****
  • Posts: 10184
    • View Profile
Re: Let's hear it!
« Reply #5568 on: August 04, 2008, 04:58:13 pm »
Date with Stacey on Saturday, probably poker on Wednesday with her & friends.  yay!

Dinner/drinks tonight with friend who is back in town for a little while.

I see what you did there.

Someone at my F150 site said the same, hahaha.  But no, actual poker.

Offline Camel

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
    • BNU Bot
Re: Let's hear it!
« Reply #5569 on: August 04, 2008, 05:28:16 pm »
Not easily, boards are much more complicated than topics.

Doesn't SMF have something like that built into the stats?

It's just two joins. I was shocked to see how long the query you ran earlier took. Are you indexing the appropriate fields?

[edit] After looking back at the query, I realized you're doing a pattern match on the topic title. That ought to explain why it took so long; how long does it take if you use the PK?
« Last Edit: August 04, 2008, 05:29:53 pm by Camel »

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: Let's hear it!
« Reply #5570 on: August 04, 2008, 07:33:39 pm »
No luck with Maria.  She's always late for class and then bolts right after cause she has other classes, so I haven't been able to get more than a couple words out to her.

Offline BigAznDaddy

  • Hero Member
  • *****
  • Posts: 2163
    • View Profile
Re: Let's hear it!
« Reply #5571 on: August 04, 2008, 07:44:01 pm »
i cant get the pictures of the room i made off my phone :( oh well

Offline Ender

  • x86
  • Hero Member
  • *****
  • Posts: 2390
    • View Profile
Re: Let's hear it!
« Reply #5572 on: August 04, 2008, 08:32:00 pm »
http://www.youtube.com/watch?v=tZHpckYExUc

sigur ros + kronos quartet + BIRDIES!!

Offline deadly7

  • 42
  • x86
  • Hero Member
  • *****
  • Posts: 6496
    • View Profile
Re: Let's hear it!
« Reply #5573 on: August 04, 2008, 08:34:15 pm »
No luck with Maria.  She's always late for class and then bolts right after cause she has other classes, so I haven't been able to get more than a couple words out to her.
You could, like, talk to her during class..
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
 [17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: Let's hear it!
« Reply #5574 on: August 04, 2008, 08:38:57 pm »
No luck with Maria.  She's always late for class and then bolts right after cause she has other classes, so I haven't been able to get more than a couple words out to her.
You could, like, talk to her during class..
I try, but I have no control over where she sits (remember, she's always late).  She sits close enough that I can say short things, but we can't have a full conversation or anything.  There's usually 1 or 2 people between us, assuming she's even on the same side of the room.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Let's hear it!
« Reply #5575 on: August 04, 2008, 09:03:10 pm »
Not easily, boards are much more complicated than topics.

Doesn't SMF have something like that built into the stats?

It's just two joins. I was shocked to see how long the query you ran earlier took. Are you indexing the appropriate fields?

[edit] After looking back at the query, I realized you're doing a pattern match on the topic title. That ought to explain why it took so long; how long does it take if you use the PK?
Yeah, I threw it together the lazy way. But it's still joining two rather large tables together.

Offline while1

  • x86
  • Hero Member
  • *****
  • Posts: 1013
    • View Profile
Re: Let's hear it!
« Reply #5576 on: August 04, 2008, 11:23:15 pm »
Sigh.  This year is going to suck.  My ex-roommates graduated this past spring, and it's gonna be lonely.  I hafta study for the GRE, start on grad school apps, and focus on my classes.

However, since it's my last year of undergrad and may never see or talk to most of the peeps ever again... I think I shall try taking the initiative to start a relationship with this girl I've had interest in since freshman year.  Although, I may be too far into the friend zone by now.
I tend to edit my topics and replies frequently.

http://www.operationsmile.org

Offline CrAz3D

  • Hero Member
  • *****
  • Posts: 10184
    • View Profile
Re: Let's hear it!
« Reply #5577 on: August 05, 2008, 01:56:54 am »
No luck with Maria.  She's always late for class and then bolts right after cause she has other classes, so I haven't been able to get more than a couple words out to her.
You could, like, talk to her during class..
I try, but I have no control over where she sits (remember, she's always late).  She sits close enough that I can say short things, but we can't have a full conversation or anything.  There's usually 1 or 2 people between us, assuming she's even on the same side of the room.
Step 1:  Grow balls
Step 2:  Fucking ask her out

Conclusion:  You cant be worse off than you are now

Offline Camel

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
    • BNU Bot
Re: Let's hear it!
« Reply #5578 on: August 05, 2008, 04:44:45 am »
But it's still joining two rather large tables together.

So what? A search on an indexed field is a O(log(n)) operation. The query is slow because you asked the database to do an expensive operation (pattern match) on every single post in the entire database before you even got to the join. When you consider that n=153442, replacing the O(n) pattern match with O(log(n)) PK search will reduce runtime complexity of the initial (pre-join) search by 4.5 orders of magnitude, not to mention that the pattern match is replaced with a numerical equals check.

Since the join isn't actually affected, it's tough to say exactly how the final run-time will fare, but I think we can pretty safely assume that 153442 pattern matches accounts for a great deal of the one second the query took. This page was constructed using 12 queries in 168ms, and I'm sure that almost every one of them performed a join on the users table, so it would be absurd to suggest that a join on the users table takes more than 14ms.

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: Let's hear it!
« Reply #5579 on: August 05, 2008, 07:33:36 am »
No luck with Maria.  She's always late for class and then bolts right after cause she has other classes, so I haven't been able to get more than a couple words out to her.
You could, like, talk to her during class..
I try, but I have no control over where she sits (remember, she's always late).  She sits close enough that I can say short things, but we can't have a full conversation or anything.  There's usually 1 or 2 people between us, assuming she's even on the same side of the room.
Step 1:  Grow balls
Step 2:  Fucking ask her out

Conclusion:  You cant be worse off than you are now
I'm going away Wednesday night, and I won't be around until Monday.  I don't want to go and say "you wanna go out?  But not this week.  I have plans that don't involve you."  That's kind of a dick move on its own.