3/ uses the number of 1 bits in a number to perform a certain optimization. How are nodes of the hashtable (which we use to store nodes of the tree) allocated? Glad you asked. Via a custom memory allocator that manages both heap and stack. Well that's not so bad is it?
-
-
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) >>>
Show 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
Show 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. ¯\_(ツ)_/¯
Show this thread -
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 …
Show 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. >>>
Show this thread -
20/ "oh, no, Travis didn't retard himself into that situation. He GENIUSed his way into that situation."
Show 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
Show 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.
Show this thread - End of conversation
New conversation
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.