Log in

No account? Create an account

Previous Entry | Next Entry

More fragged than I thought...

Got some bad news on my car today.

Apparently, a part called the "timing belt" broke. This little widget makes sure that the pistons and valves move in a coordinated way; without it, the pistons might come up while the fuel-injecting valves are still open, causing absolutely massive lossage in the engine.

Well, guess what? The pistons came up with the valves open.

The mechanics aren't sure about the extent of the damage yet, but apparently this might have completely destroyed the engine--a $2k or more repair. (No, this thing isn't on warranty--it's nearly ten years old, although the previous owner put less than twenty thousand miles on it, so it's actually in pretty good shape.) My grandparents are willing to pay it, but my parents might insist on getting a different car if it's going to be that expensive.

So, I'm almost certainly without car for more than just a few days, and maybe even for weeks or months if I have to find a new car.

And meanwhile, I have a rather large data structures assignment due...actually, I think it's the day after tomorrow--it's "Friday at 24:00", which I take to mean Friday 23:59 + one minute. The assignment is to implement several sorting algorithms; I'm already not going to be able to write heapsort, because I have totally forgotten heaps. And the thing has at least a dozen syntax errors, because I haven't written a C++ program of any significance in years.



( Read 6 comments — Leave a comment )
May. 6th, 2004 06:01 am (UTC)
...ouch. One of the other problems when your timing belt breaks is that when it snaps it can royally fuck up lots of other parts. Tends to pretty much just destroy your engine.

You should get it replaced every 90,000 miles or so, even if it doesn't look like it needs replacing.
May. 6th, 2004 08:12 am (UTC)
There are only 23,000 miles on this car. Granted, with its age it might be time to replace it anyway, but hell, I didn't even know such a part existed...
May. 6th, 2004 06:58 am (UTC)
If you still need any help with heap sort in C++, let me know. We covered that this semester in my programming class.
May. 6th, 2004 08:42 am (UTC)
I know how heapsort works:

1. Build a heap in the array.
2. Pluck the smallest value out of the heap.
3. Rebuild the heap.

I just don't remember enough about heaps to implement it. (They always struck me as a rather silly data structure...)
May. 6th, 2004 08:49 am (UTC)
Would this help at all?
May. 6th, 2004 07:17 am (UTC)
Oh, God, not heapsort. I've been scarred for life by that thing. Bitch wouldn't compile correctly after like 5 rewrites spanning about 3-4 hours.
( Read 6 comments — Leave a comment )