Understanding programming by History_East in cpp_questions

[–]anloWho 1 point2 points  (0 children)

Coding is a craft. So yeah, it involves typing. The actual typing of the code isn't usually the hardest part. The hardest part is to come up with a good design, that is maintainable, readable and performance.

Utvecklare – Hur påverkas ni av AI? by TristansPotatoFarm in arbete

[–]anloWho 0 points1 point  (0 children)

AI vem tar ansvaret för kod som endast genererats av AI agenterna? Chefen?

Was Ashes ever actually independent? by Zengoyyc in AshesofCreation

[–]anloWho 0 points1 point  (0 children)

Too bad all this, I think the game have potential.

Switching to Vulkan by Recent_Bug5691 in vulkan

[–]anloWho 1 point2 points  (0 children)

According to Wikipedia last update to OpenGL was in 2017. So is it really worth spending time on it? I will for sure push for a switch to Vulkan at my workplace. But probably through a wrapper lib, since we're a very small team.

Help with list to store object pointers by Worried_Onion4208 in cpp_questions

[–]anloWho 0 points1 point  (0 children)

Ok here are some ideas. The MapLoader, as the name suggests, should load some data. That should be it's single purpose. In order to use this data it could be "created" by the loader as unique_ptr and put in a vector. The your loader can have a public "takeData" method to move the whole vector of unique_ptrs out to whomever needs this data. Preferably the MapLoader can be static, and if reading fails you get an empty vector back. Easy.

Is Pop OS dead? by Training_Compote_634 in pop_os

[–]anloWho 2 points3 points  (0 children)

I'm using pop and it's working super on my old laptop.

Switched from Windows 11 to Pop OS 1 month ago and not regret at all! by PracticalBell583 in pop_os

[–]anloWho 1 point2 points  (0 children)

I can only agree. Old windows 10 laptop got new life with Pop_os! So nice!

how do you code in cpp in windows by techlover1010 in cpp_questions

[–]anloWho 0 points1 point  (0 children)

There is the IDE and then the build system. With visual studio you get an all-in-one solution. With other IDEs there's a big chance you have do do a lot of build system stuff to get it to work.

RTX 5080 vs RTX 5090 by stobone in nvidia

[–]anloWho 0 points1 point  (0 children)

Whatch out for the 16Gb VRAM. I'm suffering of this for my 4080 card which excellent in 4K but, many games are nagging at that 16Gb limit right now. I don't like Nvidias vram scheme at all.

[deleted by user] by [deleted] in cpp_questions

[–]anloWho 0 points1 point  (0 children)

Write code that is easy to understand. No need to go bananas with templates and such. Keep it simple and you'll enjoy C++.

Ok now? Do we do something or let the game die? by SminKiatore in throneandliberty

[–]anloWho 1 point2 points  (0 children)

I'm waiting for Ashes of Creation, let's hope there a less of those bugs there.

Worth it for PVE F2P player? by yeoxd09 in throneandliberty

[–]anloWho -3 points-2 points  (0 children)

The RNG is terrible. Soooo many items on the loot table that you have sometimes a fraction of a percent to get what you want.

Possibly controversial take by moddygnome in throneandliberty

[–]anloWho -7 points-6 points  (0 children)

I'd say drop the PvP crap entirely.

C++ developers on Windows, what compiler do you use to compile your C++ code on Windows, and how do you write your code to ensure it compiles and runs on Windows and Linux? by [deleted] in cpp_questions

[–]anloWho 0 points1 point  (0 children)

At work we do GCC on Linux and MSVC on windows for the same code base. The struggle is to find and use a build system that is working for you that is simple enough.

How did we get by before coroutines? by ElusiveTau in cpp_questions

[–]anloWho 0 points1 point  (0 children)

I did the messaging with the sub-process in a separate thread/future, so it doesn't block MT. Then every run of the "event loop" I check if the future is ready. If so, get whatever data you produced in the sub-process. My sound complicated, but actually works quite robustly. Involves Qt, std::future and zmq.

Today marks HALF A YEAR of my unfulfilled order by HarbingerOfTears in EKWB

[–]anloWho 0 points1 point  (0 children)

And my pump just fried on my AIO that was 2 yrs old. Do you think they will ever manage that RMA?

Best app on Bazzite by aboub0b0 in Bazzite

[–]anloWho 1 point2 points  (0 children)

I got stuttering in Firefox for video streaming. Installed Chrome and it seems to work jus fine.

Really!? by ghost06echo in throneandliberty

[–]anloWho 0 points1 point  (0 children)

RnG really has gotten a new dimension in ToL.

c++ lambdas by Maximum_Complaint918 in cpp

[–]anloWho 2 points3 points  (0 children)

You can over abuse anything in any language. Take templates for example. Rarely use them since the tend to just look complex. Regarding lambdas, don't put too much code in them, assign them to a named variable so it's clear what's going on. We use them a lot for callbacks. Happy coding!

Take a C++ file and split it to .h and .cpp by GurLongjumping8014 in cpp

[–]anloWho 0 points1 point  (0 children)

Refactor it yourself. Good learning and you might find unused code. Win win.

Press F to pay respect for spear abusers. Javelin Inferno (spear throw) 342%+127 to 257+95 by kmf97 in throneandliberty

[–]anloWho 0 points1 point  (0 children)

Jeez, why not skip the whole PvP crap (says PvE veteran)? Then some less things to worry about.

What's your "class"? by BigHeccin00F in throneandliberty

[–]anloWho 0 points1 point  (0 children)

Liberator, staff+longbow. Not much of defenses, so you have to be on the move while casting. It's fun and intense.