So, last night at around 10 pm, I was at an impasse. I’d been futzing around with program for Operating Systems for about 2 hours without making any real progress. In the two hours before that, I’d knocked quite a bit out, and it was frustrating to be unable to get more done.
Still, I knew that I wasn’t making progress, so I did the “smart” thing, and gave up for the night. To get the program in early, it would’ve had to be done about 15 minutes ago. Now I’ve got another week to get it done “on time”. Which loses me 5%.
Here’s the rub. I took my laptop (newly repaired) to SIUE, sat down, and within 5 minutes of getting connected, I’d fixed the problem I was having all day yesterday. Inspiration struck, as they say.
So I came home, knocked it out, and the really frustrating thing is, I was DONE about 45 minutes ago, well commented, all set to go. Except that even though STL containers aren’t supposed to be thread safe, they apparently are. Because I couldn’t get my non-thread safe version to cause any errors. I needed errors for this program to get graded correctly.
So, in the 20 or so minutes I had left, I ran out to the car, grabbed my test from algorithms (which had a simple queue that I could use), type in my simple queue into my header file…and got a bunch of compiler errors.
Mother. Fuck.
So tomorrow, I’m going to rewrite the bits of code that use the queues so that they just use an array. This is going to be a major PITA, and is probably going to cause me to have to do another 3 or so hours of work. Either that, or I’ll just get my known unthread safe queue to work, so that I can leave the rest of my code alone.
But it’s so frustrating when I know I’ve got it done right, and what is supposed to be unsafe template code turns out to be safe, so I lose 5% and the time I would’ve spent tomorrow working on my algorithms project (due next wednesday) working on my Operating systems project instead. So frustrating.
All of this could’ve been solved if it hadn’t been for that property of the mind where it needs to chew on shit in the background before it can come up with solutions. I had all the information I needed yesterday when I was working on it. But it didn’t assimilate until today. I’m going to bed.
This video comes in response to a GOP scare video where the try and convince us that every. single. american. will die in their sleep tonight, horribly, if we don’t pass some un-American perversion of legislation. I won’t link to the original, because I’m not giving those scumbags the traffic. Crooks and Liars has a response:
Ok, it’s getting a bit ridiculous. In the next two weeks, I have to:
Do an algorithms homework that involves me figuring out a hash function to map all the periodic table of the elements. I fully expect this to take 10+ hours.
Do an operating systems project that involves some new stuff. Hopefully this one won’t be as big a deal…I might even be able to get it done in less than 10 hours. But, just for the assumption here, we’ll go with 10 hours.
I also have to keep up on my other homeworks and reading, which takes a few more hours. Quite a few more, if I really want to keep up on the reading, especially since I did manage to fall behind while I was working on that last project.
And, the real kicker, I have to do an algorithms project, which if the other project is any guide, will take me around 30 hours.
Add in 40 hours of work per work, plus and extra 5 or so hours for lunches and whatnot, plus an average drive time of 2 hours per day, 5 days a week, plus, y’know, sleeping….
336-80-10-20-112 = 114.
So apparently, I have approximately twice as many hours available as I actually need to get this done.
That’s reassuring to know, because it sure doesn’t feel like I have enough time. Bugger all.
As an added I’m pissed at myself bonus, I only got an 86 on the last test. I’m aware that everyone makes simple, stupid typo style mistakes, and I’m ok with that. But I only lost 3 points to that. I lost 11 points to shit I should’ve known better on. Not innocent mistakes, but errors.
Which I think is telling. Link to DKos counts here. Not only did Obama win all the caucuses, he won them by pretty much the largest margins of the evening.
I think that shows you what kind of support that the two have. Too bad people are so damn set in their ways, and won’t listen to enthusiasm without being forced into a caucus-esque event.