I tried posting this on the tracicle's blog, but, it was broke..
You may find it useful to implement some kind of caching using the file-system. For example, you save the rendered page from link.php as a html file, then, each time someone posts a comment, you delete the file, re-render it, and save as html.
This way, most page views don't even hit php (and therefore your CPU usage doesn't go up).
The idea is, that, you shouldn't be hitting the database and PHP each time you display a page, because realistically once you've rendered it once, you shouldn't need to do it again. To keep it simple, though, each time someone comments, you just delete and start over.
This is how we do it in (ruby on) rails, and it works just fine.
So i'm on my third cup and the earthiness really grows on ya (yes, and its organic and economically-friendly too).
But $30 for 100gms (3.5oz) is a little expensive. Pity I don't live a block from Trader Joe's any more.
ILMCLILMW: strong, wet, and inserted up my ***
*sigh* that enema meme just won't DIE..
Imagine what the OTHER side would have done to the same american kid if HE was a prisoner..
what do the other side do to their prisoners/hostages? worse than the americans?
Paraded on camera, then beheaded, would be a lucky escape..
This doesn't make it right, just that people shouldn't act so damn surprised/offended at an act of war..
yentrouc: Actually they *are* travelling to Iraq! That's the whole point.. This is all I could dredge out of the NYT.. (Great name btw ;) )
THE REACH OF WAR: FOREIGN FIGHTERS; Lebanese Would-Be Suicide Bomber Tells How Volunteers Are Waging Jihad in Iraq
He shaved his beard to appear less conspicuously religious and then slipped into Iraq through Syria, willing to die to defeat the Americans. Soon, the young Lebanese teacher says, he found himself in a safe house in Baghdad, with a long list of Saudis and Kuwaitis ahead of him waiting...
http://query.nytimes.com/gst/abstract.html?res=F40B11F635590C718CDDA80994DC404482&incamp=archive:search
Can't view the full article though, but I read somewhere that up to 1/3rd of the 'insurgents' are foreigners.. I see the whole "war" as a way of clearing out anyone who wants to harm america violently..
and from http://www.sfgate.com/cgi-bin/article.cgi?file=/c/a/2004/09/18/MNGN78R6Q51.DTL
Sabah Kadim, a spokesman for Iraq's Interior Ministry .. said 63 people were arrested, including Sudanese, Egyptian and Syrian fighters, and security forces seized rockets, grenades and machine guns. "The people we arrested are members in organized gangs and terrorists," he said. "Those are the ones responsible for the lack of security in Iraq now."
of course, the "Interior Ministry" says it all..
hawthornewingo: "terrorists" = anyone who the US government doesn't like right now.
*sigh*
Iraq is, unfortunately, just a nice place to set up. Sorry Iraqis, but you were the weakest link.
It's not about IRAQ.. they just happened to be the easiest target. It's about all the countries around Iraq: Syria, Iran, Saudi Arabia, Egypt, etc, that serve as a home of anti-American sentiment (heh, that, and France..)
Now the USA has a focal point that anyone who wants to, can DRIVE in their BUSLOADS and get shot! It's very convenient, and unfortunately the Iraqis don't really have much say in it.
The "either/or" thing is working on the assumption that the "terrorists" want one of two things: (1) either to vanquish the US, and/or (2) to get martyred in the process.
The risk in flying to the USA (really, the only way to get there) is that they'll get arrested at the airport and fail at both goals.
By driving to the latest Iraqi hotbed, they can help with (1) by taking down some soldiers, and (2) if they're lucky, die in the process (I'm going by a recent NY times article here, they apparently really want to *die*.)
I didn't mean NY specifically, just that there's enough people there that you can kill a lot of people with a few terrorists.
I know I'd rather have a bunch of soldiers on the other side of the world shooting at terrorists, than a bunch of soldiers in my own city shooting at terrorists!
What would you rather: a terrorist mecca in a far-off city in a far-off country many Americans can't point to on a map, where there's a bazillion heavily-armed troops ready and willing to shoot at anything that moves, or a terrorist mecca in New York??
It's brilliant-- stir up the ants nest and let 'em all run into your guns, so that they don't attack on the home soil (due to the simple fact that there are none left).
Anyone remotely interested in hating America will run and get themselves killed (if they take out a few Americans, that's just luck)
It's easier to defend somewhere that means nothing to you, because if it gets too hot, you just uproot and set-up somewhere else. Try telling that to Chicago!
scartol: i can get you the game, but it won't work in your PS2 because of the region-thingy. :(
They left in the bit where you take over a strip club, though... so it'd probably still offend! *sigh*
On the PLUS side, you can go through the strip club and bash the living crap out of the patrons :) regularly, too. They take your weapons at the door but you get to keep your knuckle dusters.
Ahh. I'm going to go and fire up the PS2.
That being said, the whole thing is about role-playing, and the mass desensitization of our youth to violence in order to make them better soldiers for the next war. </rant>
On another note, what about asking some sex-industry workers what THEY think..
http://whois.sc
posted by court3nay 18 years ago
In "MonkeyFilter finally has real growing pains."
I tried posting this on the tracicle's blog, but, it was broke.. You may find it useful to implement some kind of caching using the file-system. For example, you save the rendered page from link.php as a html file, then, each time someone posts a comment, you delete the file, re-render it, and save as html. This way, most page views don't even hit php (and therefore your CPU usage doesn't go up). The idea is, that, you shouldn't be hitting the database and PHP each time you display a page, because realistically once you've rendered it once, you shouldn't need to do it again. To keep it simple, though, each time someone comments, you just delete and start over. This is how we do it in (ruby on) rails, and it works just fine.
posted by court3nay 18 years ago
In "David Lynch reports the weather..."
how many monkeys? i just arrived in LA...!
posted by court3nay 19 years ago
In "Curious George - Help with Excel."
why don't you do something like picasa > export as web page > import into excel and all the linking will be done for you . . .
posted by court3nay 19 years ago
In "What's first on my Christmas wish list?"
"Items that have been removed from their plastic wrap cannot be returned unless they are defective." *sigh*
posted by court3nay 19 years ago
In "Um...George, XYZ...."
Heh, Chimpy mcZipper
posted by court3nay 19 years ago
In "Is this the real reason Aquafina bottles have that wide mouth?"
Monkeyfilter: which is which?
posted by court3nay 19 years ago
In "Metafilter has turned on signups for new users."
Pff. snarkifilter can keep their signups.
posted by court3nay 19 years ago
In "Curious George: what's your favourite coffee?"
So i'm on my third cup and the earthiness really grows on ya (yes, and its organic and economically-friendly too). But $30 for 100gms (3.5oz) is a little expensive. Pity I don't live a block from Trader Joe's any more. ILMCLILMW: strong, wet, and inserted up my *** *sigh* that enema meme just won't DIE..
posted by court3nay 19 years ago
I like my coffee like I like my women: ground up and in the freezer. actually the cold makes condensation = bad for both women and coffee.
posted by court3nay 19 years ago
Blehh, and the photos are out of order...
posted by court3nay 19 years ago
In "Random Frog Generator"
http://www.cutelittlekittens.com/ random kitty generator..... also not "generated" as such.
posted by court3nay 19 years ago
In "NBC: US Soldier Murders Unarmed Prisoner in Falluja."
Imagine what the OTHER side would have done to the same american kid if HE was a prisoner.. what do the other side do to their prisoners/hostages? worse than the americans? Paraded on camera, then beheaded, would be a lucky escape.. This doesn't make it right, just that people shouldn't act so damn surprised/offended at an act of war..
posted by court3nay 19 years ago
In "Acceptable US military policy?"
yentrouc: Actually they *are* travelling to Iraq! That's the whole point.. This is all I could dredge out of the NYT.. (Great name btw ;) ) THE REACH OF WAR: FOREIGN FIGHTERS; Lebanese Would-Be Suicide Bomber Tells How Volunteers Are Waging Jihad in Iraq He shaved his beard to appear less conspicuously religious and then slipped into Iraq through Syria, willing to die to defeat the Americans. Soon, the young Lebanese teacher says, he found himself in a safe house in Baghdad, with a long list of Saudis and Kuwaitis ahead of him waiting... http://query.nytimes.com/gst/abstract.html?res=F40B11F635590C718CDDA80994DC404482&incamp=archive:search Can't view the full article though, but I read somewhere that up to 1/3rd of the 'insurgents' are foreigners.. I see the whole "war" as a way of clearing out anyone who wants to harm america violently.. and from http://www.sfgate.com/cgi-bin/article.cgi?file=/c/a/2004/09/18/MNGN78R6Q51.DTL Sabah Kadim, a spokesman for Iraq's Interior Ministry .. said 63 people were arrested, including Sudanese, Egyptian and Syrian fighters, and security forces seized rockets, grenades and machine guns. "The people we arrested are members in organized gangs and terrorists," he said. "Those are the ones responsible for the lack of security in Iraq now." of course, the "Interior Ministry" says it all.. hawthornewingo: "terrorists" = anyone who the US government doesn't like right now. *sigh*
posted by court3nay 19 years ago
Iraq is, unfortunately, just a nice place to set up. Sorry Iraqis, but you were the weakest link. It's not about IRAQ.. they just happened to be the easiest target. It's about all the countries around Iraq: Syria, Iran, Saudi Arabia, Egypt, etc, that serve as a home of anti-American sentiment (heh, that, and France..) Now the USA has a focal point that anyone who wants to, can DRIVE in their BUSLOADS and get shot! It's very convenient, and unfortunately the Iraqis don't really have much say in it. The "either/or" thing is working on the assumption that the "terrorists" want one of two things: (1) either to vanquish the US, and/or (2) to get martyred in the process. The risk in flying to the USA (really, the only way to get there) is that they'll get arrested at the airport and fail at both goals. By driving to the latest Iraqi hotbed, they can help with (1) by taking down some soldiers, and (2) if they're lucky, die in the process (I'm going by a recent NY times article here, they apparently really want to *die*.) I didn't mean NY specifically, just that there's enough people there that you can kill a lot of people with a few terrorists. I know I'd rather have a bunch of soldiers on the other side of the world shooting at terrorists, than a bunch of soldiers in my own city shooting at terrorists!
posted by court3nay 19 years ago
What would you rather: a terrorist mecca in a far-off city in a far-off country many Americans can't point to on a map, where there's a bazillion heavily-armed troops ready and willing to shoot at anything that moves, or a terrorist mecca in New York?? It's brilliant-- stir up the ants nest and let 'em all run into your guns, so that they don't attack on the home soil (due to the simple fact that there are none left). Anyone remotely interested in hating America will run and get themselves killed (if they take out a few Americans, that's just luck) It's easier to defend somewhere that means nothing to you, because if it gets too hot, you just uproot and set-up somewhere else. Try telling that to Chicago!
posted by court3nay 19 years ago
In "Curious, George: Consolation Tattoo?"
three words: barrel 'o' monkeys
posted by court3nay 19 years ago
In "Semantic Simian Savannah"
Somehow our responses conceptually elicit (rather often) unusually structured language yeast.
posted by court3nay 19 years ago
In "Curious George: Sexism in "Grand Theft Auto""
scartol: i can get you the game, but it won't work in your PS2 because of the region-thingy. :( They left in the bit where you take over a strip club, though... so it'd probably still offend! *sigh* On the PLUS side, you can go through the strip club and bash the living crap out of the patrons :) regularly, too. They take your weapons at the door but you get to keep your knuckle dusters. Ahh. I'm going to go and fire up the PS2.
posted by court3nay 19 years ago
That being said, the whole thing is about role-playing, and the mass desensitization of our youth to violence in order to make them better soldiers for the next war. </rant> On another note, what about asking some sex-industry workers what THEY think..
posted by court3nay 19 years ago
(limited to the most recent 20 comments)