13/ well, at least you know that none of the implicit casts lose any significant bits, or mangles sign bits into data bits, or vice versa, right, because the compiler warns in those cases? no, because that compiler warning has been turned off
-
Show this thread
-
14/ well, ok, hopping back, at least you can use function signatures to help you understand things, right? no, because
#defines ah, right, you said that...ok, so rewrite those as functions no, because any one given#define is applied to arguments of MULTIPLE DIFFERENT TYPES1 reply 0 retweets 13 likesShow this thread -
15/ so, anyway, a few weeks later: * I've commented all of the code * I've renamed several funcs * I've rewritten macros as funcs * I've renamed variables * I've turned on compiler warnings * I've written funcs to do safe casts (or crash with error if values forbid it) >>>
4 replies 0 retweets 11 likesShow this thread -
16/ ...and I've narrowed down a memory corruption issue to about a 5 line block. whew. Thank God this is F̶r̶i̶ whiskey-day
1 reply 0 retweets 18 likesShow this thread -
17/ Anyway, gig is scheduled to run another ~4 weeks and I'm laying 50/50 odds that they won't renew me because I'm incompetent. ¯\_(ツ)_/¯
4 replies 0 retweets 14 likesShow this thread -
ⓘ Dogs don't have thumbs Retweeted Arthur Frelling Dent
18/ Oh, no, this isn't a "a Friday". This is "a most of May and all of June so far"https://twitter.com/ArthurFrDent/status/1137009727538249729 …
ⓘ Dogs don't have thumbs added,
2 replies 0 retweets 18 likesShow this thread -
19/ There was a certain mailing list I was on once, and then I left, and then some other guy joined, and read something about me and - not knowing that I'd been on the list - said "wow, look at this retard". He was corrected. >>>
1 reply 0 retweets 10 likesShow this thread -
20/ "oh, no, Travis didn't retard himself into that situation. He GENIUSed his way into that situation."
1 reply 0 retweets 20 likesShow this thread -
21/ Likewise, this code base. This is not the work of a retard. This is the work of a genius. The work of a retard can be discarded and replaced. The work of a genius needs to be tidied up by lesser craftsmen, who labor in obscurity. Michelangelo didn't spread his own tarps
6 replies 9 retweets 40 likesShow this thread -
22/ Found the memory corruption issue. Old code: typedef uint32_t fred; typdef struct { fred a; fred b; } bob; new code: I replace uint32_t with uin64_t; sizeof(bob) automatically updates, right? no we're not doing sizeof(bob) ; we've got it hardcoded.
6 replies 0 retweets 22 likesShow this thread
ⓘ Dogs don't have thumbs Retweeted Camping Roomba
ⓘ Dogs don't have thumbs added,
-
-
This Tweet is unavailable.
-
This Tweet is unavailable.
- Show replies
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.