AUTHOR

I am very good at FPS. I will kill any of you in

a 1v1 IRL fight.
I would like to share something with you, mostly because I realize I have no one else who'll get it.
By all means, share.
"This isn’t actually multi-threaded, but simulates multithreadedness using a Connection hashmap class. Clever, but not what was asked. The reason multi-threaded servers are used is so the server can handle an indeterminate number of connections at once."

"...?"

class SequenceServer {
// cut for brevity

private HashSet<Thread> workers;

private void listen() {
Thread workerThread = new Thread( new SequenceWorker( new Connection( newClientSock ) ) );
}
}

class SequenceWorker implements Runnable {
public void run() { // cut }
}
What the fuck is this tester smoking?
Where is this from?
Comments from the grader for one of my classes. The code is a rough framework of what I have. It's just a run-of-the-mill networking class that wants us to build networks and protocols. The project was to make a server that was multithreaded and capable of handling multiple clients. Given that I've successfully tested, and noted, 10 clients (and thus 10 threads -- yeah, inefficient, bite me) in Eclipse's debugger, I am baffled about the idea that this is somehow a single-threaded application masquerading as multithreaded.
I understand that he is saying you "faked" it, but I'm not seeing what he's seeing, and you're most certainly a better programmer than I.
Oh, I fully admit that it's a very poor stab at a thread pool implementation--at least, it's halfway toward being such. As it stands it's just a simple set of worker threads. I... I just. What?

Normally, I wouldn't care about such things, but it's eating 30% of my total score on this project and I am filled with righteous fury.
I swear to the gods I will have the hide of a Chinese graduate student staked to my fucking walls if he tries to fight me on this bullshit.
I'm surprised he took off 30%. I'd have to look a bit more into it to see what he is talking about, but considering you did do and successfully tested the code... I really don't see why he would be so harsh.
It's not a matter of being harsh, it's a matter of him suggesting I'm not using threads when the collection contains m'fucking threads.
I'd sit down with him to see what in the hell he is talking about.
Oh, I will. I will.
The amount of grade abuse I put up with brought me to a point of dgaf.
This represents 2.17% of the entire course grade. I must fight it with determination. It cuts into my ability to laze.
You'll much prefer the working world.

Quick reply

Sign in to post a message.
Smileys

Times shown in Eastern Time (ET).