• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

I hate incompetent school project partners.

notfred

Lifer
I'm working on a web application with 5 other people as part of a school project. Most people are at least competent, but this one woman... argh... she's a moron, she shouldn't be allowed near the CS department.

She wrote a 60 line piece-of-crap function to parse date formats. Another guy in the group wrote a 4-line function to the exact same thing. And he wrote his *first*, and put it in a library file where she should have been able to find it.

She is the only one in the group who, at this stage in the project, doesn't have running code. Everyone else's stuff works, even if it's got a few bugs. Hers won't even run.

She uses awesome naming conventions for files. For instance she created a CSS fiel to use with a file called "agreement.php". What'd she name it? cssHerFistName.css
What the hell?

I'm about ready to throw her code in the trash and write her section of the project over from scratch just so it gets done.
 
I had one partner tell me at one point, "Hey... so I don't really know what I'm doing. Can you just finish up the project?" In his defense, his code was mostly done, but riddled with bugs.

I guess it was nice that he admitted it, but it was really frustrating because I finished up my half of the code early so I could work on another final project.
 
I had a partner that didn't do jack squat once, reported her to the TA, and she failed the course. I wasn't about to let her get credit on the finaly project that I and I alone worked on.

Another time, i had the lesser members of our team debug code, while we were writing it. worked out pretty well.
 
If I have really excited partners ready to get work done then I'll let them do the whole thing by themselves. If everyone else isn't into it I'll take the reigns. I've had both sides of this one.
 
Originally posted by: gigapet
post the code for parsing the date.

I complained to her about it before. Said she could do it in a couple lines using regular expressions. Now it's even *worse* than it was before.


// This is the worst code I've ever seen in my life...
function ConvertDateToMysql($StrDate) {
//if date is 02/15/2006
if (ereg ("([0-9]{2})(/|-)([0-9]{2})(/|-)([0-9]{4})", $StrDate, $regs)) {
return "$regs[5]-$regs[1]-$regs[3]";
}
//if date is 02/1/2006
else if (ereg ("([0-9]{2})(/|-)([0-9]{1})(/|-)([0-9]{4})", $StrDate, $regs)) {
return "$regs[5]-$regs[1]-0$regs[3]";
}
//if date is 2/01/2006
else if (ereg ("([0-9]{1})(/|-)([0-9]{2})(/|-)([0-9]{4})", $StrDate, $regs)) {
return "$regs[5]-0$regs[1]-$regs[3]";
}
//if date is 2/1/2006
else if (ereg ("([0-9]{1})(/|-)([0-9]{1})(/|-)([0-9]{4})", $StrDate, $regs)) {
return "$regs[5]-0$regs[1]-0$regs[3]";
}
//if date is 2/1/116
else if (ereg ("([0-9]{1})(/|-)([0-9]{1})(/|-)([0-9]{3})", $StrDate, $regs)) {
return "2$regs[5]-0$regs[1]-0$regs[3]";
}
//if date is 02/01/116
else if (ereg ("([0-9]{2})(/|-)([0-9]{2})(/|-)([0-9]{3})", $StrDate, $regs)) {
return "2$regs[5]-$regs[1]-$regs[3]";
}
//if date is 2/01/116
else if (ereg ("([0-9]{1})(/|-)([0-9]{2})(/|-)([0-9]{3})", $StrDate, $regs)) {
return "2$regs[5]-0$regs[1]-$regs[3]";
}
//if date is 02/1/116
else if (ereg ("([0-9]{2})(/|-)([0-9]{1})(/|-)([0-9]{3})", $StrDate, $regs)) {
return "2$regs[5]-$regs[1]-0$regs[3]";
}

//if date is 2/1/06
else if (ereg ("([0-9]{1})(/|-)([0-9]{1})(/|-)([0-9]{2})", $StrDate, $regs)) {
return "20$regs[5]-0$regs[1]-0$regs[3]";
}
//if date is 02/01/06
else if (ereg ("([0-9]{2})(/|-)([0-9]{2})(/|-)([0-9]{2})", $StrDate, $regs)) {
return "20$regs[5]-$regs[1]-$regs[3]";
}
//if date is 02/1/06
else if (ereg ("([0-9]{2})(/|-)([0-9]{1})(/|-)([0-9]{2})", $StrDate, $regs)) {
return "20$regs[5]-0$regs[1]-$regs[3]";
}
//if date is 2/01/06
else if (ereg ("([0-9]{1})(/|-)([0-9]{2})(/|-)([0-9]{2})", $StrDate, $regs)) {
return "20$regs[5]-0$regs[1]-$regs[3]";
}
//if date is 2/1/6
else if (ereg ("([0-9]{1})(/|-)([0-9]{1})(/|-)([0-9]{1})", $StrDate, $regs)) {
return "200$regs[5]-0$regs[1]-0$regs[3]";
}
//if date is 02/01/6
else if (ereg ("([0-9]{2})(/|-)([0-9]{2})(/|-)([0-9]{1})", $StrDate, $regs)) {
return "200$regs[5]-$regs[1]-$regs[3]";
}
//if date is 2/01/6
else if (ereg ("([0-9]{1})(/|-)([0-9]{2})(/|-)([0-9]{1})", $StrDate, $regs)) {
return "200$regs[5]-0$regs[1]-$regs[3]";
}
//if date is 02/1/6
else if (ereg ("([0-9]{2})(/|-)([0-9]{1})(/|-)([0-9]{1})", $StrDate, $regs)) {
return "200$regs[5]-$regs[1]-0$regs[3]";
}
else
return FALSE;
}
 
Originally posted by: SampSon
It's CS, she will be weeded out quickly. Don't expect to see her in the future.

This is my CS senior project. She's made it through classes so far by going to professor's office hourse every single day and seeming pathetic until people feel sorry enough for her to give her a passing grade.

And, no, she's not hot.
 
1) Tell them their work isn't up to scratch and that you need this section done by this date.

2) Tell the person who runs the project that they aren't pulling thier weight, and that you've set yourselves deadlines to meet.

3) When they fail to meet the deadline tell your tutor that they have let you down, cut thier workload and spread it out amongst the others in the group. Keep records of all assignments taken and deadlines set.

4) When you submit the project submit a list of who did what, Bob did the interface, Patricia did the date/time code, Emma sat there and looked silly, etc.

I was part of a group for a year long university project where 2 of the 6 were plagarising (well, 3, but he'd done it well enough to pass for his own work), i found out about it the night before it was due in. That began a world of shite for those involved. :|
 
I hear ya man. I took a rhetorical writing course this semester that required working in groups which were assigned by the professor. I don't think the people in my group can even read English, or maybe they just get really high and try to write, but I've had to write every single paper. That isn't to say that they don't contribute, it would just take me too long to fix what they wrote. 🙁
 
Originally posted by: gigapet
wow and what is the 4 line version?

I guess it's not *exactly* 4 lines.

function ConvertDateToMysql($StrDate){
if(ereg("([0-9]+)(/|-)([0-9]+)(/|-)([0-9]+)", $StrDate, $FixedDate)){
if($FixedDate[5] < 50) $FixedDate[5] += 2000;
if($FixedDate[5] >= 50 && $FixedDate[5] < 100) $FixedDate[5] += 1900;
return "$FixedDate[5]-$FixedDate[1]-$FixedDate[3]";
}
}
 
Originally posted by: notfred
Originally posted by: SampSon
It's CS, she will be weeded out quickly. Don't expect to see her in the future.

This is my CS senior project. She's made it through classes so far by going to professor's office hourse every single day and seeming pathetic until people feel sorry enough for her to give her a passing grade.

And, no, she's not hot.
No sh!t? Someone that awful at coding made it THAT far in a CS program?

Is she a CS major or something like CIS?
 
Originally posted by: SampSon
Originally posted by: notfred
Originally posted by: SampSon
It's CS, she will be weeded out quickly. Don't expect to see her in the future.

This is my CS senior project. She's made it through classes so far by going to professor's office hourse every single day and seeming pathetic until people feel sorry enough for her to give her a passing grade.

And, no, she's not hot.
No sh!t? Someone that awful at coding made it THAT far in a CS program?

Is she a CS major or something like CIS?

CS. I wish she was in another major, because that would mean she wasn't in my class.
 
people seem to just love reinventing the wheel. A quick google returns tons of working js scripts for handling dates.
 
Back
Top