Jul. 22nd, 2011

Deluge!

Jul. 22nd, 2011 09:55 pm
altivo: Gingerbread horse cookie (gingerhorse)
Maybe not enough to rival Noah's flood, but it was impressive for a while this morning. Left for work, driving into a darkening sky. It was raining by halfway, and blinding before I got there. Very little wind, the rain just kept coming as if someone were dumping barrels right on top of the car. Once there I sat for ten minutes hoping it would slow up so I could make a dash for the door, but finally gave up and ran for it anyway. Wet to the skin before I got inside.

More than an inch of rain in about 40 minutes, but you'd never know it tonight. The ground was that dry, it just all disappeared. The afternoon was sunny and, surprisingly, less humid than the last couple of days. Supposed to heat up again tomorrow, though.

I was very pleased with myself early this morning. I figured out how to write my C code so that it would adapt to any of the systems or environments on which I might compile it, substituting functions or syntax as necessary. I know, it's a small thing to those of you who've used C for years, but I come from a different background. It worked, too. When I poured the code developed on a TRS-80 system into a VAX environment, it compiled and ran immediately. Same for Linux.

Then I discovered that it hadn't been working right in the original TRS-80 environment. The TRS-80 C manuals do not document the functions (more modern, I thought) that Linux requires because it no longer supports the old K&R functions in the TRS-80 compiler. But a typo in my conditional coding was dumping the modern functions into the TRS-80 system and it was using them. They do work there, and must be in the libraries, but aren't documented. Bizarre. Possibly the last version of the compiler is later than the manuals I have, both printed and PDF.

So... All that effort and it wasn't necessary anyway. At least in this case, I can write for Linux and it compiles just fine on both VAX and TRS-80. Not what I would have expected.

Sleeping should be good tonight, cooler and more dry than it has been for almost a week.

November 2024

S M T W T F S
     12
345678 9
10111213141516
17181920212223
24252627282930

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 1st, 2025 12:22 am
Powered by Dreamwidth Studios