once again I fucking hate dtolnay for blocking reflection in rust so that his macro work doesn't become obsolete
-
OMG I just realized the connection between ActivityPub, through parsing json payloads into a schema, through how that would be easier with reflection, to dtolnay
-
@[email protected] seriously. I am trying to write as clean and correct of code (and critically, as transparent of code) as I can with minimal macro use and it's just... such a huge fucking pain to figure out how to do it even if I do end up making heavy use of macros without something like reflection.
Like it's one thing if I enforced a 1:1 matching of user-defined structs to AP types (which are recursive and use inheritance) but I don't want to do that.
Perhaps I should just rethink how I approached this in its entirety, but... why? Ugh. Anyway, also, because google sucks, I literally just want to check the type of a field I'm writing a macro for, but I don't need type checking type checking; just even matching against a string. But google only spits out "you can't type check in a macro, you only have the AST" and bitch I KNOW just even one fucking useful snippet of code of how to check the fucking syn::Type against a goddamn string and
I think I'm blowing this out of proportion because I have a migraine but I'm also just annoyed every time I need something that would have been simple with reflection (or even with decent documentation for macros, which I don't feel exists). It's wild that in order to program Rust, you need to learn Rust AND the metaprogramming in Rust. Just sorta sucks. And then that brings to mind watching dtolnay block reflection because he's racist (yes, it was racist). I mean the guy fucking worked for palantir. He's a piece of shit. And the thing people in power never understand is that when you keep a toxic person "because of all their contributions!!!111" you are missing out from so many other wonderful contributors because the toxic asshole keeps blocking them. They're not worth it! Ever. ever
so yeah, it's like, if I'm writing a macro and have to think about it at all, I go into this unstoppable mental pathway of systemic racism and how it sucks and holds everything and everyone back. -
@[email protected] People in computers: no single toxic person's contribution is worth more than the potential contributions they actively block.
EVER.
Also the rust foundation accepts blood money, FUUUUUCK these people in power. -
@[email protected] ... I think I need to take my vitamin B lmao.
-
@[email protected] literally googling dtolnay brings up people talking about how "he wrote serde so he deserves some slack" and my dudes, no. What he deserves is to be removed from positions of influence that he abused and shows no remorse over.
Move past the idea of a single genius. Do you KNOW what we could have if we allowed other people to work on it?? You fucking assholes. How many other people could have written serde if they'd been allowed to? If they'd been allowed into the fold and taken care of the way shitheads like this are? -
@aud take care of yourself!
-
Asta [AMP]replied to Asta [AMP] last edited by [email protected]
@[email protected] I just think if your language requires a meta language that in theory is a glorified
sed
yet less documented (seriously, the documentation for writing macros sucks and provides no useful examples yet seems to be a required component of the language to avoid thousands of lines of boilerplate)... -
@[email protected] thanks! The weather change triggered a two day migraine, so I'm on day two of sumatriptan... which kicks my ass
-
alright, I guess using some combination of quote and to string will let me get that. great. Finally.
-
thanks for nothing as per fucking usual, google. I wish I could make those McKinsey shitheads who ruined search try and problem solve with their fucking search engine
you know they don't goddamn use it or rely on it or else they never would have ruined it. fucking hate these capitalist fuckwads. -
... alright, seriously Audrey: go take some vitamin B since extreme crankiness is a side effect of your epilepsy medication and this is always the sign that you're low (and I'm not just talking woo; anecdotally it works, but there's also research that shows vitamin B supplements with this epilepsy medication helps).
-
"oh, google search sucks nowadays? that's the problem of my personal assistants and researchers who are on call 24/7 to answer my every question and respond to my every whim."
-
nutritional yeast + tamari and sesame oil on black rice it is!
-
it's kind of like a parmesan risotto and I am so here for it
-
@aud literally how i will fucking fight him
-
@aud working on it
-
@[email protected] right? me too, maybe. If...
-
jonny (good kind)replied to d@nny "disc@" mc² last edited by
@hipsterelectron
@aud
Can I get a link to some context for this beef? -
@[email protected] @[email protected] oh, well, I know I've ranted about it somewhere (I really need to keep a link to that handy), but the quick tl;dr is that ThePhD received a grant to investigate/implement reflection in Rust and was later asked to give a keynote speech at RustConf about it. dtolnay, who should not have been involved at all, worked behind the scenes to get them taken off as a keynote speaker.
Except no one would fess up who did it for ages. When it eventually came out it had been dtolnay, he told a bunch of lies about both his interactions, intentions, actions, and the actual technical nature of the work itself. ThePhD wrote a rebuttal but basically everyone involved on the core team and foundation of Rust protected dtolnay's stupid racist ass and let him make sure this work never came to fruition. -