T O P
pavlik_enemy

He’s not wrong though


basedandtermpilled

As a C++ programmer, fuck C++. At least, until the boomer committee quits circlejerking each other by dicking around with trivial features over those that actually give us what we need (read: true metaprogramming). We don't need package managers outside of system wide shit anyway. Even windows has msys2 with Pacman son. The power lies in the OS coupling. Now, as far as a better alternative to CMake is concerned...


cazdal

Ok, that's nice, but where's my widget?


basedandtermpilled

Unfortunately buried in an MFC codebase. Comments include, but aren't limited to, literate programming conventions, rants about strange UI behavior to justify hacks, and of course lots of profanity


UnicornPrince4U

He's describing his own actions and then quoted his own thought. I'd assume he can do that accurately.


xigoi

std::assert(std::find(comment.begin(), comment.end(), [&](auto& x){return std::is_jerk(x);}) == comment.end());


-__-_--__--_

lmao get a whiff of this moron, it's actually ``` std::assert(std::ranges::find_if(comment,[&](auto& x ){return std::is_jerk(x);}) != comment.end()); ``` Don't you see how C++20 has fixed the verbosity issue? smh my head


ProgVal

WTF? I am paid by the number of `.begin()` and `.end()` in my code; what am I supposed to do now?


-__-_--__--_

I think I found [your github](https://github.com/lll-project/libcxx/blob/8686f462eb90688485e351f3ee569dbe68a5d7ff/test/re/re.traits/isctype.pass.cpp#L21) ``` int main() { { std::regex_traits t; std::string s("w"); assert( t.isctype('_', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype('a', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype('Z', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype('5', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype(' ', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('-', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('@', t.lookup_classname(s.begin(), s.end()))); s = "alnum"; assert(!t.isctype('_', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype('a', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype('Z', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype('5', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype(' ', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('-', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('@', t.lookup_classname(s.begin(), s.end()))); s = "alpha"; assert(!t.isctype('_', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype('a', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype('Z', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('5', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype(' ', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('-', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('@', t.lookup_classname(s.begin(), s.end()))); s = "blank"; assert(!t.isctype('_', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('a', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('Z', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('5', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype(' ', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('-', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('@', t.lookup_classname(s.begin(), s.end()))); s = "cntrl"; assert( t.isctype('\n', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('_', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('a', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('Z', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('5', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype(' ', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('-', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('@', t.lookup_classname(s.begin(), s.end()))); s = "digit"; assert(!t.isctype('\n', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('_', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('a', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('Z', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype('5', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype(' ', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('-', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('@', t.lookup_classname(s.begin(), s.end()))); s = "graph"; assert(!t.isctype('\n', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype('_', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype('a', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype('Z', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype('5', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype(' ', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype('-', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype('@', t.lookup_classname(s.begin(), s.end()))); s = "lower"; assert(!t.isctype('\n', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('_', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype('a', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('Z', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('5', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype(' ', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('-', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('@', t.lookup_classname(s.begin(), s.end()))); s = "print"; assert(!t.isctype('\n', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype('_', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype('a', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype('Z', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype('5', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype(' ', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype('-', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype('@', t.lookup_classname(s.begin(), s.end()))); s = "punct"; assert(!t.isctype('\n', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype('_', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('a', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('Z', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('5', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype(' ', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype('-', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype('@', t.lookup_classname(s.begin(), s.end()))); s = "space"; assert( t.isctype('\n', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('_', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('a', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('Z', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('5', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype(' ', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('-', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('@', t.lookup_classname(s.begin(), s.end()))); s = "upper"; assert(!t.isctype('\n', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('_', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('a', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype('Z', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('5', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype(' ', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('-', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('@', t.lookup_classname(s.begin(), s.end()))); s = "xdigit"; assert(!t.isctype('\n', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('_', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype('a', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('Z', t.lookup_classname(s.begin(), s.end()))); assert( t.isctype('5', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype(' ', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('-', t.lookup_classname(s.begin(), s.end()))); assert(!t.isctype('@', t.lookup_classname(s.begin(), s.end()))); } ```


ProgVal

I sure am glad there is no way to define a shorthand the compiler can expand to avoid repeating the same syntax.


MountainAlps582

This is in LLVM. Do I want to use LLVM?


xmcqdpt2

github copilot goes brrrrr


pareidolist

`progval.end();`


irqlnotdispatchlevel

If I didn't want to fuck C++ I would have totally solved the packaging and build problem that plagues C++ and countless other people have tried to solved and failed, but, you know, I was horny.


saccharineboi

Lol I just do yay -S I use arch linux btw /uj I can a write a 5000 word essay on how webgl is one of the worst ideas ever conceived but the web devs don't listen to me anyway


OctagonClock

> yay No true PCJer uses Go software.


pareidolist

That's why I use [aura](https://github.com/fosskers/aura)


SelfDistinction

Now I'm too curious to keep jerking. Please satisfy my curiosity so I can continue to jerk in peace.


UnicornPrince4U

They don't listen to the 5000 words you wrote because that's not how written words work. Go back to nursery!


saccharineboi

Synesthetic bois will get it


basedandtermpilled

WebGL itself is fine, the issue is browser incompatibility through yet-another-compositing-layer that created jobs for the wannabe Carmacks who realized gamedev is no longer fun for them, since no one gives a shit about optimization problems currently. I mean, we're getting back to that point. 10x optimizers have just been in hibernation for the past decade. They'll come out again soon.


MountainAlps582

/uj IDK what problem webgl is trying to solve. Are people trying to game in their browser? I don't know why anyone wants their browser to do anything but browse (and stream videos) /j How else is a guy suppose to play doom eternal on the phone @60hz 4K?


pcjftw

C++ is for devs into BSDM and OpenBSD, they have similar names coincidence?


portalparable

BSDM, is that BSD Monad?


32gbsd

seems they are running out of projects to start, half-ass and not finish. uninspiring to say the least.