-- Leo's gemini proxy

-- Connecting to gemini.conman.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

Double facepalm

R, who runs the Ft. Lauderdale Office of The Corporation, stopped by and informed me that we now have a source license to The Protocol Stack From Hell™.


**WE HAVE A SOURCE LICENSE TO THE PROTOCOL STACK FROM HELL™!**


It's about time.


Now I can figure out why I needed that mutex around a few calls [1].


At this point—I don't know what's worse, not knowing what's in the code, or knowing what's in the code.


Okay, curiosity got the better of me, and we all know what happens to curious cats. I could only be so lucky.


Let's see … K&R style code [2], standard vowel impairment, no comments—that I was expecting.


C89 [3] style declarations a nice plus—I guess they needed to upate the code at some point in the past, but global variables all over the place? For a library?


[Facepalm] [4]

No wonder I needed those mutexes [5] all over the place.


And more unbelivably, the first file I took a look at wouldn't compile at all because the braces were mis-aligned! Further investigation of the code revealed twelve (12) such files!


[Double facepalm: for when one facepalm doesn't cut it] [6]

I don't even want to know how much was spent on this.


And no, this isn't some off version. No, this is the version we're using!


[1] /boston/2010/11/30.1

[2] http://en.wikipedia.org/wiki/1_true_brace_style

[3] http://en.wikipedia.org/wiki/ANSI_C

[4] /boston/2012/01/30/facepalm.jpg

[5] http://en.wikipedia.org/wiki/Mutual_exclusion

[6] /boston/2012/01/30/double-facepalm.jpg


Gemini Mention this post

Contact the author


-- Response ended

-- Page fetched on Sat May 18 22:23:23 2024