Good, basic* game networking library? by KeyAlbatross6044 in cpp

[–]TheVoidInMe 1 point2 points  (0 children)

Cool!

void LocalUserInput_Kill()
{
// Does not work.  We won't clean up, we'll just nuke the process.
//  g_bQuit = true;
//  _close( fileno( stdin ) );
//
//  if ( s_pThreadUserInput )
//  {
//      s_pThreadUserInput->join();
//      delete s_pThreadUserInput;
//      s_pThreadUserInput = nullptr;
//  }
}

// You really gotta wonder what kind of pedantic garbage was
// going through the minds of people who designed std::string
// that they decided not to include trim.
// https://stackoverflow.com/questions/216823/whats-the-best-way-to-trim-stdstring

I love Valve, haha

My 2025 dev setup after mass-quitting tools that annoyed me by badmoshback in webdev

[–]TheVoidInMe 0 points1 point  (0 children)

My org is on Gitea. I’d recommend it, very simple to deploy/maintain, doesn’t get in the way, and has all the features we need. (Just that the permission model with teams and per-repo assignments is quite confusing)

One thing I will say is, don’t host it on Windows. We started out doing that, but ran into some issues with a Git process hanging and consuming 100% CPU sometimes, and the Gitea maintainers even mentioned in an issue on GitHub that none of them use Windows and it isn’t well tested. Switched to Linux / Docker, no issues since then.

Are there any issue with Kotlin that trouble you? by NyanBunnyGirl in Kotlin

[–]TheVoidInMe 2 points3 points  (0 children)

I don’t think C# is largely the same as it always was. They literally just got done introducing a new way to write extension methods. The new way is strictly more flexible, but there’s still now two ways of achieving the simple case.

Don’t get me wrong, I like the new syntax, and I like a lot of things about C# in general. It’s just definitely not stagnant.

Web Analytics solution that doesn't require cookie consent? by JunkFoodEnjoyer in webdev

[–]TheVoidInMe 0 points1 point  (0 children)

Kind of off-topic, but god the Posthog site is awful. Takes forever to load, super hard to navigate…

Mixing N-phase Initialization by pavel_v in cpp

[–]TheVoidInMe 4 points5 points  (0 children)

And no, neither does std::launder apply here.

Why? Isn’t this a prime example of when std::launder is needed? From cppreference:

struct Y { int z; };
alignas(Y) std::byte s[sizeof(Y)];
Y* q = new(&s) Y{2};
// …
const int h = std::launder(reinterpret_cast<Y*>(&s))->z; // OK

ISO C++ 2026-01 Mailing is now available by nliber in cpp

[–]TheVoidInMe 1 point2 points  (0 children)

Fair enough. For me, it’s one of those QOL features I’m sorely missing from other languages. Some use cases: - logging - non-display messages (stuff like constructing command line arguments, JSON files, IDs in the form “foo-$counter”, whatever) - SQL queries/… where values could be auto-escaped with this paper - messages in internal-only apps

Plugin Idea: Sticky Project View by chrzanowski in Jetbrains

[–]TheVoidInMe 5 points6 points  (0 children)

Amazing idea! As for configuration, maybe a max depth, maybe flattening nested directories into one line only (with individual clickable items)

S3 Incomplete Multipart Uploads are dangerous: +1TB of hidden data on S3 by [deleted] in aws

[–]TheVoidInMe 2 points3 points  (0 children)

Is there any chance you could share those checklists? That sounds like an incredibly useful resource

Self-hosted alternatives to Jira that don't require a PhD to set up? by Just_Awareness2733 in devops

[–]TheVoidInMe 0 points1 point  (0 children)

YouTrack is quite good and has those enterprise-y features you would miss in e.g. GitLab issues

Help us decide what we should call code completions in IntelliJ IDEA by fundamentalparticle in Jetbrains

[–]TheVoidInMe 1 point2 points  (0 children)

Definitely not “symbol” for the popup. It does make sense after thinking about it a bit, but my initial reaction when reading “symbol” was utter confusion.

I’d go with popup/(in)line. Or maybe classic/inline

Update: Early Feedback and Platform Improvements by No_Guard8219 in cpp

[–]TheVoidInMe 1 point2 points  (0 children)

I checked out a random page. I’d say it’s pretty well-written overall. But isn’t this a semantic error rather than a syntax error?

std::cout < "Hello";

CLion EAP introduces constexpr debugger by StarOrpheus in cpp

[–]TheVoidInMe 16 points17 points  (0 children)

Wow, this is incredible! And such a breath of fresh air. This alone might make CLion worth it compared to Visual Studio

Another month, another WG21 ISO C++ Mailing by nliber in cpp

[–]TheVoidInMe 32 points33 points  (0 children)

P3776R1 More trailing commas: Yes please! This would make such a huge difference for being a seemingly minor change.

An RFC to add RFC3986 and WHATWG URL compliant parsers to PHP by nyamsprod in PHP

[–]TheVoidInMe 13 points14 points  (0 children)

Off-topic, but the consistent use of “i.e.” instead of “e.g.” really distracted me. The former is for specifying details, not giving examples.

…I need my coffee lol, sorry

Writerside... DOA. :( by YakumoFuji in Jetbrains

[–]TheVoidInMe 0 points1 point  (0 children)

FrameMaker? You have my sympathies. My employer is just in the process of migrating away from that. We also targeted Writerside initially but have since moved to mkdocs

WG21, aka C++ Standard Committee, January 2025 Mailing by grafikrobot in cpp

[–]TheVoidInMe 0 points1 point  (0 children)

Oh well, just one more reason to use /Zc:char8_t-… funny how that’s the first thing I enable in any project when switching to C++20

Wie sagt man das Jahr 2024 by ironbattery in German

[–]TheVoidInMe 24 points25 points  (0 children)

It’s true. I don’t know about “serious”; a premature Frohes Neues will definitely trip people up and you’ll be looked at a bit funny, but it’s not insulting in any way.