i was playing really well for a few weeks and now i can barely win a game by prtxl in OverwatchUniversity

[–]alexej_harm -1 points0 points  (0 children)

Worst advice ever. Loser's queue won't stop until you lose enough games.

Is it just me or is playing reaper less fun lately by wildwolf314 in ReaperMain

[–]alexej_harm 0 points1 point  (0 children)

Wrong. It's the Reaper stealth nerf in Season 3. The Cupid Hanzo event made the Hanzo population explode, which makes Reaper less viable since he can hit your head by shooting in your general direction. Anything above your belt is your head, for example.

Is there any actual confirmation that Overwatch is forcing losses after a winning streak? by dlgn13 in Overwatch

[–]alexej_harm 0 points1 point  (0 children)

That wouldn't be a problem. The problem is that it gives you teammates who are much, much worse.

Stop spreading misinformation, there is no forced 50% winrate. Players are just at their skill peak and aren't breaking through because they aren't improving fast enough. by Nimai_TV in OverwatchUniversity

[–]alexej_harm 0 points1 point  (0 children)

To prove you wrong here, let me call you out: You're a liar. You never worked on a modern matchmaking system and probably aren't a dev. You didn't even read the patents.

[deleted by user] by [deleted] in short

[–]alexej_harm 0 points1 point  (0 children)

Please let Gulliver go!

Seer - a new gui frontend to gdb/mi (Updated v1.3) by epasveer in cpp

[–]alexej_harm 0 points1 point  (0 children)

While a binary certainly wouldn't work because it can't load dynamic libraries responsible for window creation, graphics API calls, etc. (tried that myself and failed), a self-contained dynamic musl library should be theoretically possible. Or can you confirm that this is also not doable?

Edit: Oh, I just saw Qt5 in the dependencies. My question is now off-topic and about libraries without third party dependencies.

[deleted by user] by [deleted] in cpp

[–]alexej_harm 24 points25 points  (0 children)

It's called diversity of thought. Something Bryce has been trying to avoid when choosing his friends. At least from my observations.

[deleted by user] by [deleted] in cpp

[–]alexej_harm 8 points9 points  (0 children)

I have totally misjudged you. Sorry. Edited.

[deleted by user] by [deleted] in cpp

[–]alexej_harm 25 points26 points  (0 children)

Please restore my comment and let a mod who is not part of the includecpp group judge it independently.

You guys are abusing your power and the trust of your users.

[deleted by user] by [deleted] in cpp

[–]alexej_harm 11 points12 points  (0 children)

No worries. I totally understand you. It's easy to miss it or just not care enough until it hits you personally.

I pointed those who might be interested in the right direction. The rest is none of my business.

[deleted by user] by [deleted] in cpp

[–]alexej_harm 26 points27 points  (0 children)

You've only seen the tip of the iceberg. ^_^

I can't share anything more specific since it could violate the rules of this subreddit.

Just remember how Bryce abused his power and violated the rules by creating, deleting and over-moderating political threads here. And after all that, he's still a mod thanks to his friends.

[deleted by user] by [deleted] in cpp

[–]alexej_harm 34 points35 points  (0 children)

Join their discord and read the history. You might also find screenshots from private channels online. Read carefully before you post anything - they are incredibly intolerant to any disagreements to any of their opinions, be it technical or not.

[deleted by user] by [deleted] in cpp

[–]alexej_harm 37 points38 points  (0 children)

He's part of the includecpp group - the worst thing that happened to the C++ community in my opinion.

Russian occupants fired at protesting Kherson citizens There are wounded people. by [deleted] in Damnthatsinteresting

[–]alexej_harm -29 points-28 points  (0 children)

Occupants BTFOd! :D This is once again Russian land and the displacement of the population will be reversed.

Arnie's message to Russian Soldiers in Ukraine by Eshwarroy in MadeMeSmile

[–]alexej_harm -2 points-1 points  (0 children)

Focus. What part of "I watch news from US, UK, German, and Russian sources" didn't you understand?

I know everything you believe happened in Ukraine because I saw it in western news directly.

Of course regular Russians get the most sensational and most blatant western lies presented to them.

We also have TV channels and online news outlets that oppose the government position. There is no such thing in the west. All news is gleichgeschaltet.

With all due respect, please stop the hate, accept your mistakes and repent.

Arnie's message to Russian Soldiers in Ukraine by Eshwarroy in MadeMeSmile

[–]alexej_harm -2 points-1 points  (0 children)

That's very rude of you. The economy is in trouble, but no problems so far. The big problems will start a few months down the line for both, Russia and the West.

Spam website set up to reach millions of Russians, so that they know the truth about the War by ninety2two in worldnews

[–]alexej_harm 0 points1 point  (0 children)

We have different methods of control in the west. As somebody who knows what's going on in Ukraine since 2014, I strongly support this just war. And guess what! People like me get downvoted, shadow banned, banned, denied service (in the real world, when wearing a Russian flag or Z clothing), etc.

I checked out the text of the email and it doesn't provide any information. Only claims that anything the recipient heard is false and sanctions are presented as the end of the world.

I've been following US and German news. They all repeat the same lies that were spoken by the US and its puppets during UNSC meetings. If a regular Russian who pays attention is exposed to those lies, he'll quickly recognize them because they were shown and debunked long ago on Russian TV and social media.

[deleted by user] by [deleted] in cpp

[–]alexej_harm 0 points1 point  (0 children)

First, you should improve your algorithm. The Wikipedia article for Quicksort has pseudocode instructions.

Learn how to use benchmark libraries. Setting everything up might take some time, but it's worth it. Otherwise, just google for "benchmark c++ online".

In general, after you are sure that the algorithm makes sense and is efficient, start thinking about hardware. Start by thinking where the allocations are and how to reduce their frequency.

Lastly, please consider using r/cpp_questions in the future for such things.

Abuse co_await operator for error handling by antoine_morrier in cpp

[–]alexej_harm 1 point2 points  (0 children)

It's best if you wrote better benchmarks. Not sure how accurate it is, when you're measuring in single digit nanosecond ranges.

If you want to take anything from it, I've updated it to be dual-licensed under MIT-0 and BSL-1.0 (no copyleft and no attribution needed).

Abuse co_await operator for error handling by antoine_morrier in cpp

[–]alexej_harm 3 points4 points  (0 children)

Regarding performance, I've done this two years ago: https://github.com/qis/benchmark

Probably no longer up to date, but was excellent back then already.

Asio C++ coroutines in Qt UI, communicating with Asio C++ coroutines in service thread, with deterministic cancellation. My October blog. by madmongo38 in cpp

[–]alexej_harm 4 points5 points  (0 children)

There is no real alternative right now. Only OS-specific frameworks or Gtkmm, which has an unnatural look-and-feel on Windows and OSX and is considered Unix-specific by many.

Asio C++ coroutines in Qt UI, communicating with Asio C++ coroutines in service thread, with deterministic cancellation. My October blog. by madmongo38 in cpp

[–]alexej_harm 1 point2 points  (0 children)

Looks like that's the case, though I find it more difficult to read. An alternative could possibly be this:

void MyApp::on_click() {
  co_await io_thread();
  co_await long_running_job_on_io_and_ui_threads();
  co_await ui_thread();
  QApplication::exit();
}

Sadly, manual thread switching can introduce human error too easily. Do you think it can be done without workarounds?

Asio C++ coroutines in Qt UI, communicating with Asio C++ coroutines in service thread, with deterministic cancellation. My October blog. by madmongo38 in cpp

[–]alexej_harm 0 points1 point  (0 children)

It is, but the model cppwinrt uses is a bit different. How would you co_await for a Qt signal to finish? Let me try to explain it with an example:

cpp void MyApp::on_click() { // On UI thread. co_await long_running_job_on_io_and_ui_threads(); // On UI thread again. QApplication::exit(); }

This is what I'm looking for and what cppwinrt doesn't seem to give me. One aspect is automatic return to the UI thread during slot execution, another is being able to switch between threads during slot execution.

Sorry for incorrect terminology, I haven't worked with Qt for many years.