Post B4iuAun2oXd91HscpE by ChuckMcManis@chaos.social
 (DIR) More posts by ChuckMcManis@chaos.social
 (DIR) Post #B4irJI0O5JZVTUQH8S by cwebber@social.coop
       0 likes, 1 repeats
       
       "A single-file C allocator with explicit heaps and tuning knobs" on the frontpage of HN https://news.ycombinator.com/item?id=47520807Oh sounds nice and lightweight, good to have more allocator optionsOh wait this is 10k lines long and one commit and this person's first projectOh look so many parentheses it makes me, a lisper, feel overwhelmed https://github.com/xtellect/spaces/blob/master/spaces.c#L4713So tired of bumping into slop everywhere
       
 (DIR) Post #B4irJIT6MYXYuXrCtM by ariadne@social.treehouse.systems
       0 likes, 0 repeats
       
       @cwebber there is absolutely no way that code was not generated by an LLM.no human would write C that way.
       
 (DIR) Post #B4irgLpA3IGxymAVAe by civodul@toot.aquilenet.fr
       0 likes, 0 repeats
       
       @cwebber It’s tiring and it leads to an erosion of trust whose consequences are hard to anticipate.
       
 (DIR) Post #B4iuAun2oXd91HscpE by ChuckMcManis@chaos.social
       0 likes, 0 repeats
       
       @ariadne @cwebber A common tell for me these days is mixed camel and snake case, especially mixed camel and snake case in the same variable name this_is_soFuckingStupid().
       
 (DIR) Post #B4iv3bdjiQ3dYObZbc by puppygirlhornypost2@transfem.social
       0 likes, 0 repeats
       
       @cwebber@social.coop https://github.com/xtellect/spaces/blob/422dbba85b5a7e9a209aaab2e9ac19c892528d39/spaces.c#L8714-L8724scrumptious
       
 (DIR) Post #B4iv3bscp3y2IZZSoS by puppygirlhornypost2@transfem.social
       0 likes, 0 repeats
       
       @cwebber@social.coop the makefile is even better.https://github.com/xtellect/spaces/blob/422dbba85b5a7e9a209aaab2e9ac19c892528d39/Makefile#L16
       
 (DIR) Post #B4iv3c04NNvEff3PPs by xan@xantronix.social
       0 likes, 0 repeats
       
       @puppygirlhornypost2 @cwebber dawg what the fuck
       
 (DIR) Post #B4iv3c9Hp7IL8FMlma by puppygirlhornypost2@transfem.social
       0 likes, 0 repeats
       
       @xan@xantronix.social @cwebber@social.coop u think this is crazy? wait until you see bench.shhttps://github.com/xtellect/spaces/blob/422dbba85b5a7e9a209aaab2e9ac19c892528d39/bench.sh#L72-L98
       
 (DIR) Post #B4iv3cIVGqfRapg89I by cwebber@social.coop
       0 likes, 0 repeats
       
       @puppygirlhornypost2 @xan Yeah @vv was looking at it, and pointed out that it downloaded an external benchmark program that wasn't even capable of running against another arbitrary allocator. So basically it isn't doing anything
       
 (DIR) Post #B4iv3cRiia2Y3PzUW0 by xan@xantronix.social
       0 likes, 0 repeats
       
       @cwebber @puppygirlhornypost2 @vv After seeing the copyright dates of 2021-2026, I'm not sure if this is vibe coded or just natural born terrible code
       
 (DIR) Post #B4iv3cci3ipYbV8Ge0 by puppygirlhornypost2@transfem.social
       0 likes, 1 repeats
       
       @xan@xantronix.social @vv@solarpunk.moe @cwebber@social.coop can you name a single person who would unironically type the following line:    page->hdr.fs.free =        ((char          *) ((FSBlock               *) (((char                     *) ((Block *) ((char *) (page) +                                    (((PageSize)                                      ((PageSize) ((PageSize) (sizeof(Page) + (0)) + (PageSize) ((sizeof(double)) - 1u))                                       & ((PageSize) (~((PageSize) ((sizeof(double)) - 1u)))))))))) - 0)));    page->hdr.fs.end = page->hdr.fs.free + (((char *) page + size - page->hdr.fs.free)                                            / (((index) << 3) +                                               ((PageSize)                                                ((PageSize) ((PageSize) (0) + (PageSize) ((sizeof(double)) - 1u)) &                                                 ((PageSize) (~((PageSize) ((sizeof(double)) - 1u)))))))) * (((index) << 3) +         ((PageSize)          ((PageSize) ((PageSize) (0) + (PageSize) ((sizeof(double)) - 1u)) &           ((PageSize) (~((PageSize) ((sizeof(double)) - 1u)))))));
       
 (DIR) Post #B4iv3cu518j1TNG8ie by xan@xantronix.social
       0 likes, 0 repeats
       
       @puppygirlhornypost2 @cwebber actually i've changed my mind. i'm all for it. let the Ouroboros eat its own fucking tail
       
 (DIR) Post #B4iv9P43NrQ8Hyg9y4 by puniko@mk.absturztau.be
       0 likes, 0 repeats
       
       @puppygirlhornypost2@transfem.social @vv@solarpunk.moe @xan@xantronix.social @cwebber@social.coop ​:exusiai_surprised:​ what the....
       
 (DIR) Post #B4ivighhnBcD8H3Cu8 by puniko@mk.absturztau.be
       0 likes, 0 repeats
       
       @xan@xantronix.social @puppygirlhornypost2@transfem.social @cwebber@social.coop ​:exusiai_surprised:​ i'm not that familiar with c code styles but what what the hecc is this code style. this is so hard to look at
       
 (DIR) Post #B4iw2jqBq5yGeXa2CW by privateger@plasmatrap.com
       0 likes, 0 repeats
       
       @puppygirlhornypost2@transfem.social @vv@solarpunk.moe @xan@xantronix.social @cwebber@social.coop i could fully see this being a GNU project snippet
       
 (DIR) Post #B4iw67Hj8BBMET4Tdg by puniko@mk.absturztau.be
       0 likes, 0 repeats
       
       @xan@xantronix.social @puppygirlhornypost2@transfem.social @cwebber@social.coop ​:neocat_confused:​ https://github.com/xtellect/spaces/blob/422dbba85b5a7e9a209aaab2e9ac19c892528d39/spaces.c#L4244-L4245
       
 (DIR) Post #B4iw9wYEyqDG6JcVma by puppygirlhornypost2@transfem.social
       0 likes, 0 repeats
       
       @puniko@mk.absturztau.be @xan@xantronix.social @cwebber@social.coop at the very basic what it's doing is arithmetic with different types. I could see why one would throw a couple C casts in here (iirc C does have some implicit casting, but these are more complex types). The problem is you can literally see things like (char*) [value] which is then casted into another type (shitass)((char*) [value]) and then cast back to char*. this makes no sense to me with the level of nesting done here.
       
 (DIR) Post #B4iwCNNUD8KdsgkYU4 by puniko@mk.absturztau.be
       0 likes, 0 repeats
       
       @puppygirlhornypost2@transfem.social @xan@xantronix.social @cwebber@social.coop ​:neocat_googly_woozy:​ it certainly is "creative" (for a lack of a better word)
       
 (DIR) Post #B4iwpFYpCzNivkadkW by Johann150@genau.qwertqwefsday.eu
       0 likes, 0 repeats
       
       @puniko@mk.absturztau.be @xan@xantronix.social @puppygirlhornypost2@transfem.social @cwebber@social.coop{};load bearing empty code block? ​:neofox_googly_woozy:​
       
 (DIR) Post #B4iwrhIn2Os3Y2FyrI by puniko@mk.absturztau.be
       0 likes, 0 repeats
       
       @Johann150@genau.qwertqwefsday.eu @xan@xantronix.social @puppygirlhornypost2@transfem.social @cwebber@social.coop this code certainly does some very bold creative choices ​:neocat_googly_woozy:​
       
 (DIR) Post #B4ixS1XBICTuioJGwi by puppygirlhornypost2@transfem.social
       0 likes, 0 repeats
       
       @puniko@mk.absturztau.be @Johann150@genau.qwertqwefsday.eu @xan@xantronix.social @cwebber@social.coop https://github.com/xtellect/spaces/blob/422dbba85b5a7e9a209aaab2e9ac19c892528d39/spaces.c#L4610
       
 (DIR) Post #B4ixS1nUJZWdXNwIMa by puniko@mk.absturztau.be
       0 likes, 0 repeats
       
       @puppygirlhornypost2@transfem.social @Johann150@genau.qwertqwefsday.eu @xan@xantronix.social @cwebber@social.coop to be fair, this is a valid way in C to write a while true loop afaik
       
 (DIR) Post #B4ixhlv17PTCvMy5bM by puniko@mk.absturztau.be
       0 likes, 0 repeats
       
       @Johann150@genau.qwertqwefsday.eu @xan@xantronix.social @puppygirlhornypost2@transfem.social @cwebber@social.coop i think its sometimes written that way to prevent some compilers to yield a warning about the condition being always true or something