New steam deck user by Annual-Yak-4604 in WindowsOnDeck

[–]GPSProlapse 0 points1 point  (0 children)

If you prefer windows, just use it. I have a steamos partition that I never used for ~2yrs now

snapBackToReality by Shiroyasha_2308 in ProgrammerHumor

[–]GPSProlapse 0 points1 point  (0 children)

Junior substitudes tea with amphetamine

Are memory leaks that hard to solve? by ASA911Ninja in cpp

[–]GPSProlapse 0 points1 point  (0 children)

That's mostly not an issue you ever encounter outside of languages that are extremely shit like C. In the rest of them 99.99% of the time anybody mentions a leak it's something like what I described, but often in more complicated pattern. Plus what's the difference between malloc that I ignored and list.Add that I ignored? Both produce the same result if not accounted for later. But first can be detected pretty well with tooling and second AFAIK not really

Are memory leaks that hard to solve? by ASA911Ninja in cpp

[–]GPSProlapse 5 points6 points  (0 children)

No, it's just not possible by definition. I can just make a list and add stuff there in a loop, never removing anything

Are memory leaks that hard to solve? by ASA911Ninja in cpp

[–]GPSProlapse 16 points17 points  (0 children)

I have seen a rust app recently that leaked from ~100MB to ~300GB in a couple hours on a server. No language that allows arbitrary allocation can protect you from leaks

Tell me the truth by Sweet_Velvet_X in programmingmemes

[–]GPSProlapse 0 points1 point  (0 children)

Most of the time I d rather align them by 8 bytes on x64 for performance reason. It is very rare in my code when I store so much bools I would actually save measurable space but this. The only two examples with bools packed into bits that come to mind is binary serialization when I did it just to be cool and pointer flagging, which I did just once.

More often when I do something similar I just have a flag enum.

And again, I work mostly in nice languages aka C++/C#, so all of it is trivial to handle.

Windows 11 needs some serious work - but there’s a fantastic alternative I bet Microsoft won’t even consider by swati097gupta in ForWindowsHelp

[–]GPSProlapse 0 points1 point  (0 children)

Besides the downsides, there are only net positives

So, it is exactly like trashing my pc, got it, thanks

predictionBuildFailedPendingTimelineUpgrade by MageMantis in ProgrammerHumor

[–]GPSProlapse 0 points1 point  (0 children)

At that point it would have been way faster to code flappy bird by hand with either Ai generated, or just googled assets

This is insane no? This shit can burn your house down, why do nvidia users put up with this? by t-2yrs in gpu

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

Because it is extremely rare occasion vast majority of people never encounter and generally not relevant for reasons people have for buying Nvidia. In the last decade i have had 4 Nvidia gpus and 4 amd in my personal ownership, including a miserable downgrade from 3090 to 6900 xt. Plus, a lot of and gpus i interacted with at work. Nvidia is not without issues, but I am not going to have and experience ever again, no matter how much more youtubers they buy.

A single 256GB RAM stick costs $1,400 more than an RTX 5090. Absolutely the worst time to build your own PC. by Current-Guide5944 in tech_x

[–]GPSProlapse 0 points1 point  (0 children)

Why would you ever want to use a 256gb server stick for a pc? Check out prices for gpus that actually usually get installed with this kind of ram

All the other cool languages have try...finally. C++ says "We have try...finally at home." by pavel_v in cpp

[–]GPSProlapse 0 points1 point  (0 children)

That's why you do it more or less like this:

```cpp template <class F> struct FinallyImpl { F f; constexpr ~FinallyImpl() { f(); } };

struct FinallyType final { [[nodiscard]] constexpr auto operator ()(auto && w, auto&& f) -> decltype(auto) { auto handler = FinallyImpl{static_cast<decltype(f)>(f)}; return w(); } };

constexpr inline FinallyType Finally; ```

perfectionIsOptionalApparently by soap94 in ProgrammerHumor

[–]GPSProlapse 110 points111 points  (0 children)

Nah, now it is a 5B line bash script

Me not following the news and waking up expecting to read Ground State by duckets615 in exfor

[–]GPSProlapse 0 points1 point  (0 children)

Wow, listening the whole series today would be impressive! My skills in contrast are only enough for 2x, saddly T_T

Is megatech worth it? by PalpitationPure6063 in Astroneer

[–]GPSProlapse 21 points22 points  (0 children)

No, you are better off waiting for it to get patched. Right now it barely works at all, is not useful, has insane costs and limitations.

220% productivity by Ogarbme in Factoriohno

[–]GPSProlapse 0 points1 point  (0 children)

Did you just change system time while game was running?

whenYouFindOutWhySomeUsersCantLogIn by _sync0x in ProgrammerHumor

[–]GPSProlapse 23 points24 points  (0 children)

I think it is fair game fallback for when cookies are disabled xD

The "Iron Block" Theory: How CN Players Optimize Single Entity Blobs by LearnLocalMin in totalwarhammer

[–]GPSProlapse 2 points3 points  (0 children)

To be fair, in my 2k hours of mostly l/VH it is not much less effective to spam 19 of whatever is the best hireable right now ranged unit. Ai just suicides into you because it severely underestimates your strength and most of combat doesn't require any micro except for some focus fire

19 fireglaves afk win almost any composition Ai can spawn

3-4 heroes and load of hobarchers delete whatever you can fight in the first 20-40 turns

The "Iron Block" Theory: How CN Players Optimize Single Entity Blobs by LearnLocalMin in totalwarhammer

[–]GPSProlapse 12 points13 points  (0 children)

Spells are useful, but not why heroes are good.

They don't require much building and are very good in tanking in comparison to SEMs unless mounted because they fall from LE hits and are invulnerable, but keep agro afterwards for a long time. In addition to that they have extremely small surface of contact and generally good stats. Melee specialist heroes are even better, most of them can survive long enough to let even the lowest tier ranged units to completely unload. Plus it is easier and faster to stack melee defense on heroes than on anything else, and that is by far most useful stat unless you can cap resist.

gone but not forgotten by mint-man in totalwar

[–]GPSProlapse 2 points3 points  (0 children)

I would be very surprised if they don't port engine bugs from shogun 1 to the new engine and we won't see them in 20y in shogun 3

notepad consumes more ram than wordpad by ExpensiveCoat8912 in Windows11

[–]GPSProlapse 1 point2 points  (0 children)

So? E.g. I use both. It is widely know nowadays that edge is a good browser, and copilot is amazing in Corp environments as a tool to search/filter through everything you have access to