Excellent question, and thanks to all the answerers, and here's an even
dumber follow-up - how do you quote the message you're replying to?
Copying and pasting, or even highlighting and dragging, results in the text being present, but with no indication of quotation.
endergt
@endergt
Best posts made by endergt
-
RE: Today's Target - Dumb Question
Latest posts made by endergt
-
RE: Not For Resale? But what if I really want to?
Work-around
Bidding starts at $249
Buy-It-Now for $299
You are bidding on one unsealed plain white security envelope.
When you receive this envelope, you will find a gift from me. This gift is one key code for Microsoft Office 2007 and one key code for Microsoft Groove 2007. Both keys are for the full versions of their respective software.
-
RE: The end of Google
[quote user="SilverDirk"]but a more fun one is
negative e to the power of (pi times i)
http://www.google.com/search?client=opera&rls=en&q=negative+e+to+the+power+of+(pi+times+i)&sourceid=opera&ie=utf-8&oe=utf-8
[/quote]That may not have worked, but this did: (-e) ^ (pi * i)
http://www.google.com/search?hl=en&q=%28-e%29+%5E+%28pi+*+i%29
Gives (-e) ^ (pi * i) = -5.17231862 × 10-5
And if you meant -(e ^ (pi * i)), you get
http://www.google.com/search?hl=en&q=-%28e%5E+%28pi+*+i%29%29
Gives -(e ^ (pi * i) = 1
-
RE: [Java] How to shut my Thread down nicely?
[quote user="endergt"]
Get rid of the first check for interruption, move all cleanup to after the while loop, and put a break statement in the catch block. This way cleanup will happen no matter when the interruption occurs.[/quote]
Edit timer ran out. Your new code would look like:
package xx.xxxx.periodic;
public class xxxThread extends Thread {
long intervall;
public xxxThread(long intervall) {
this.intervall = intervall;
}
public void run() {
while(!isInterrupted()) {
//DO STUFF
try {
sleep(intervall);
} catch (InterruptedException ir) {
break;
}
}
// Cleanup
}
}Notice there's no isInterrupted() conditional around cleanup - it should always happen.
-
RE: [Java] How to shut my Thread down nicely?
[quote user="nFec"]
package xx.xxxx.periodic;
public class xxxThread extends Thread {
long intervall;
public xxxThread(long intervall) {
this.intervall = intervall;
}
public void run() {
if(isInterrupted()) {//Cleanup
//Major WTF?
}
while(!isInterrupted()) {
//DO STUFF
try {
sleep(intervall);
} catch (InterruptedException ir) {
//Cleanup
}
}
}
}[/quote]Get rid of the first check for interruption, move all cleanup to after the while loop, and put a break statement in the catch block. This way cleanup will happen no matter when the interruption occurs. -
RE: Everquest, testing, and customers
[quote user="webzter"][quote user="Kazan"]
I fucking know better than your ignorant ass because i am a game developer.
[/quote]
Best line ever. By best, I mean stupidest.
[/quote]
So we're in agreement then that writejustify won this argument? Kazan, don't bother replying, it won't help your case any.
-
RE: Battlestar Galactica Girls
[quote user="peaveydk"]
yes Grace Park (asian BG chick) is the best adgirl so far, I mean WOW :)
first loser (runner-up) to my Miss TDWTF AdGirl is Beanbag girl. Cos you'd have to be crazy not to... ;)
[/quote]
<sarcasm>I'm so glad google's Strict Safe Search is working properly</sarcasm>, 'cause I could get fired over some of those pics.... wow!
-
RE: A solid WTF
Looks like a miss-placed comma to me. "Corn Syrup Solids" is a fairly common ingredient I believe.
-
RE: CS 2.1 Is Here
[quote user="iwpg"]
istent login doesn't seem to be necessary
for me. I may have misled people with my earlier post - I
apologise if that's the case.[/quote]
Ok, so
I checked the persistent login box and set my cookie permissions to the
loosest possible (AFAICT). It remembered my user name, but sure enough
the display options had reverted yet again! WTF! -
RE: CS 2.1 Is Here
[quote user="dhromed"]You need to allow non-session cookies and check persistent login.[/quote]
Ok, allowing non-session cookies (I use firefox, so I'm assuming that means set the option to "keep cookies until they expire") I can understand, but checking persistent login? I thought the readership of this site was at a sufficient level of paranoia to understand how big of a WTF that is!
-
RE: CS 2.1 Is Here
Ok, I'm getting pretty tired of having to reset my sorting options every time i check this site. WTF, man!