So much for Creativity

Profile
Vernon Hills, Illinois
198 comments
196 entries
Advertisement
SiCrane
June 30, 2004
streambufs!
Well the new thing added to the code library today are streambuf helper classes. They're a pair of classes that derive from streambuf that implement buffering code. The OStreamBuf class adds a pure virtual method, do_write() and the IStreamBuf class adds a do_read(). Basically these get called when…
362 views
SiCrane
June 29, 2004
Too lazy to think of a title
I've started to get slightly burned out on the personal library recoding thing. Well, burned out isn't quite the right description; it's more like I feel need to take a break and do something less predictable. So, I figure I'd alternate with something a little light: re-doing dodecahellspawn.

As I'v…
294 views
SiCrane
June 28, 2004
The joy of horribly biased benchmarks
I was a bum and did almost nothing today. Well, I did some moderating stuff, but who cares about that? But I'm updating my journal anyways, basically just to bump it so that I can tell at a glance if any of the other developer journals have been updated when I next visit.

Actually, I did one vaguely…
341 views
SiCrane
June 27, 2004
One of those days
It's been one of those days. I've spent the last hour trying to track down a bug that didn't exist. I wrote the code *perfectly* the first time around, but I screwed up the test case in such a subtle manner that it seemed like the class invariants got borked.

In any case, the current item being fold…
456 views
SiCrane
June 26, 2004
Ignore this entry
Ignore it, I say!
345 views
SiCrane
June 25, 2004
Bad code here
Despite the fact you can't actually create new operators in C++, it's possible to create new "psuedo-operators". Warning: bad code ahead.

Let's say you're a game developer working on your first 3D engine. One of the classes you're going to write is a vector class. It might look something like:

class…
768 views
SiCrane
June 25, 2004
Yay?
Well, comments for journal entries seem to have been mostly implemented. There are a few details to be worked out, but for the most part they seem to be working fine. Incidently, if you were reading my journal at 3:00 this morning when we were testing the commenting facility, you have my deepest sy…
412 views
Advertisement
SiCrane
June 25, 2004
And to follow that up
And that bitch Jenny totally blew me off today. I hate that. You'd think that she'd at least be able to say hello or something. It's not like she needed stitches afterwards or anything.
376 views
SiCrane
June 25, 2004
Happy now?
I had chicken with rice for dinner tonight. It was ok, the sauce was kind of strong.

I swear the next door neighbors' dog hasn't moved in a week. I think it might be dead.
512 views
SiCrane
June 24, 2004
Half a singleton
One thing I've noticed about singletons in C++ is that they're usually used to solve two related problems: the one only one object of a class problem and the order of initialization problem. Of the two, the order of initialization problem is probably more significant, but rarely gets any fanfare. T…
333 views
Advertisement

Popular Blogs

shawnhar
Generalist
101 Entries
14 Followers
klg71
Generalist
55 Entries
2 Followers
ApochPiQ
Generalist
628 Entries
45 Followers
15 Entries
14 Followers
johnhattan
Programmer
1,277 Entries
50 Followers
Advertisement