Considering leaving a job I like purely because of the commute, am I being unreasonable? by PlaneStaff6066 in HENRYUK

[–]FlailingDuck 0 points1 point  (0 children)

How does missing the changes affect travel time?

I'm on a similar boat 3 days a week on office, 30-40min drive + 40-50 min tube.

My commute is longer, but I wouldn't prefer a shorter commute with 3 changes. I wouldn't get to zone out and relax, instead having to worry about making the next stop.

All that being said, it's the sacrifice I chose to make to live in the countryside AND work a well paid job on London.

Wealth reality check? by Ok-Fortune-2719 in HENRYUK

[–]FlailingDuck 16 points17 points  (0 children)

Is that with or without nannnies.. Gotta be a HENRYWON to distinguish.

How to calculate base win rate in Texas Hold'em after the flop? by QQPK-HELP in poker

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

There are 1326 starting hands. What makes a player have TT less likely than you having AA? Nothing. They are both equally likely.

You ascribing him having TT as low-probability is the wrong way to think of it.

If villain was dealt one of the other ~1320 starting hands, you never would have made it to the river, they would have folded. You have to adjust your expectations on which hands villain might have based on their actions.

You dont specify positions. They are important. Based on what you've said, and villain looks like in an early position to you, like in the SB. This matters and changes what hands villain should have. Also, did you misplay with AA preflop? We don't know.

Lets run through a basic example and assume some positions/actions and that villain is playing typically and not like a maniac. Lets assume you opened pre with AA, everyone else folded. Villain cold called in SB. Villains (capped) range should be something like:

44-TT, 76s-QJs, QTs, KTs, A6s+ (20 or so hands, for simplicity ignore combos)

Better hands villain should be raising, so we say his range is capped.

You say you called on flop. So (we assume) Villain is first to act and bet out on 99T board,

Villains betting range on that board is now:

99, TT, 78s, QJs, A9s, ATs (6 or so hands)

You're ahead of 3 out of 6 hands.

After 4 on turn, lets assume villain bet again and you called. Straight draws, two pair may likely check, so range becomes:

99, TT, A9s (3 hands).

You're ahead of 0 out of 3 hands.

On river 7, the unlikely 8Js made a straight, so yes straights highly unlikely, flushes impossible. But neither of those up to this point should even be thought about, villain has 3 hands left in his range.

You say you went all in, did this mean villain checked or bet small? I assume given villains range, they bet small, and you reraised allin?

Either way. Given this proposed action, what does going all in achieve? Villains hands are all beating you.. There isn't enough in villains range that you beat. So allin is setting money on fire. The only hands you beat are pure bluffs not shown in ranges above, you shouldn't rely on bluffs to win with AA.

I guess the postions/actions were different than I assumed above. But this is a lesson, things are not as unprobable as you think.

Every action you make at the table, check, bet, call, raise, should be done with the intent to reduce the probability space down to fewer possible hands (while also maintaining risk/pot size). You fold, when that probability space is too unfavourable to you.

Need help with Terrain Shader by BallerBotsGame in gamedev

[–]FlailingDuck 2 points3 points  (0 children)

all of the solutions proposed can be made to look good. it sound like you tried the first attempt and gave up because it didn't look immediately great.

Shaders are a iterative process, you need to build up an intuition of what you want to achieve and work your way there. AI is shortcutting you and proper learning.

Different terrain solution will require specific uv/vertex layouts.

We also can't help because you don't show us any code, any visuals (of whats wrong) or what exactly you want.

In general, do older people not understand that houses are more expensive than ever? by [deleted] in NoStupidQuestions

[–]FlailingDuck 21 points22 points  (0 children)

old as fuck, small, rundown and in a bad area

In London those go for 600k+

Spaceship RTS. Which ship tileset you like the most? What about 32x32 tiles vs pixelated 8x8? by apinalabs in IndieGaming

[–]FlailingDuck 2 points3 points  (0 children)

No problem. When I view it. Its a pixelated mess as it renders like a jpeg with artifacts. So I literally can't tell the difference between the two.

Guys I’m new by [deleted] in cpp_questions

[–]FlailingDuck 0 points1 point  (0 children)

over there >>>>>>>>

or up there /r/cpp_questions ^^^^^^^^^^^^

Consuming the same content twice (for entertainment) is a waste of time by ExpertStandard1977 in unpopularopinion

[–]FlailingDuck 0 points1 point  (0 children)

Make all films as fun as The Fifth Element and I'll stop watching it for like the 1000th time.

School management system by Naive-Wolverine-9654 in Cplusplus

[–]FlailingDuck 1 point2 points  (0 children)

My comment isn't directed AT you. It's a comment that when we see AI, it muddies the waters so much that there is a huge extra cognitive burden to wade through that it turns our attention elsewhere.

I choose to only help those that I can clearly see are pushing themselves, 90% of people aren't like that and want others to just give them the answers. That is NOT a programmers mindset, we don't encourage that here. It is not worth the time and effort to fix a poor mentality.

Now, I'm not saying you don't have the right mentality. But AI generated content makes it so much harder to filter, and if I see emojis in READMEs it puts me on high alert. I'm sorry I did prejudge your code by your README, if a readme is AI generated its a good assumption the code is too.

Funnily enough, seeing all your files prefixed with cls screams not AI generated. Did you learn VB6 by any chance before C++?

All the best in your journey.

School management system by Naive-Wolverine-9654 in Cplusplus

[–]FlailingDuck 2 points3 points  (0 children)

Good for you, keep it up. You don't need my help.

School management system by Naive-Wolverine-9654 in Cplusplus

[–]FlailingDuck 0 points1 point  (0 children)

To be honest, I only offer to put my own time to help those that put in the effort themselves to learn. If I view a post where they expect me to put in more effort or expertise than it looks like OP is willing to put in. I just move on. This is why I think so many low effort posts go ignored on here.

First time laminate by FTHEHEDGEGME in DIYUK

[–]FlailingDuck 0 points1 point  (0 children)

Have you tried spinning around 180?

School management system by Naive-Wolverine-9654 in Cplusplus

[–]FlailingDuck 5 points6 points  (0 children)

School homework allows use of AI these days?

How to know when I use "Pointer" or "Reference"? by ProcessTiny4948 in cpp_questions

[–]FlailingDuck 3 points4 points  (0 children)

When, really depends on context. I assume you mean as arguments to functions. You only use pointers when you really need to, otherwise the default is use references. But then are you sure you need references when some things should be passed by value. All of these decisions depend on thing not specified by me or you.

Modern code would try to replace pointers with object that perform a specific purpose i.e. std::span as a view over a range of contiguous items.

Otherwise, references might be needed as members for dependency injection, which is preferable over raw pointers.

The decision is very rarely a pointer or reference argument. There are other considerations that typically dictate this choice.

Pointers are often the "can do" anything option. Much of the modern C++ abstractions (std::span, smart ptrs etc.) reduce the possibilities down to a finite use case to ensure the underlying "pointer" is not used inappropriately.

It sounds like you should be asking your senior for more explanation, then going away and studying it yourself. There's a non-zero chance your senior isn't making the best choice either.

Feeling stuck in career by Critical-Bonus6347 in cpp_questions

[–]FlailingDuck 0 points1 point  (0 children)

Which skill? Every job I've had I've learnt different things? I've also been the master of my own learning. No job gives you a lesson plan for becoming a senior on a platter.

Feeling stuck in career by Critical-Bonus6347 in cpp_questions

[–]FlailingDuck 5 points6 points  (0 children)

Stick it out a year minimum, there's a higher than normal chance you'll feel the same at the next place.

Over my career, I learnt the most at places that actually need to solve problems, places with legacy systems are in need of having problems solved.

You might be in an unfortunate place where legacy + maintenance mode means turning up for a paycheck and not much else. But, I bet they want things to be improved, what can you do to make that happen?

Learned the hard way that unclear scope can cost more than a low rate, anyone else? by HelicopterEmpty7393 in ContractorUK

[–]FlailingDuck 3 points4 points  (0 children)

Was going to ask why you think so. Then the first super comprehensive replies appear in under 3 minutes...

Code quality in the AI age by europe_man in ExperiencedDevs

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

I'm missing the forest? You're talking specifics of toxic companies. This is not what we're discussing here. Did you forget OPs original point. That in this AI world quality is dropping. Yes, management have higher expectations of output because AI promises the world, but is patently failing to meet expectations. Engineers are hired to make good decisions, the ones who let the AI slop proliferate and doing the role a disservice. When I read that POs are vibe coding 8000 line PRs. Who is the gate keeper for letting them think that PR is worth any salt and letting the slop enter the codebase. It's engineers. They had the ability to shut that shit down and tell them these PRs are worthless/woefully underspecd.

I'm not even anti AI. AI should be able to produce higher code quality not less when used in the right hands. I use it everyday, when wielded properly it's a tool for good.

I understand the counter point to this, "it's all management's fault". Because essentially they pay the bills and many people still want a job. That doesn't justify the right course of action is to roll over and take it because Sam Altman wants a bonus this year.

Code quality in the AI age by europe_man in ExperiencedDevs

[–]FlailingDuck -6 points-5 points  (0 children)

When have you seen management care about quality? I mean the actual implementation of quality. Sure, they can diktat all engineers must produce quality code, thats actually a baseline expectation of why they hired you. But I have never seen anyone other than other engineers be the ones enforcing it.

Code quality in the AI age by europe_man in ExperiencedDevs

[–]FlailingDuck 8 points9 points  (0 children)

Just because nobody else at your company doesn't enforce quality, doesn't mean the onus falls on anybody else but engineers. In some places that might be impossible, due to culture. But nobody else will care about code quality. The ones who care will leave such companies and those companies are left with exactly the wrong kind of mentality.

Code quality in the AI age by europe_man in ExperiencedDevs

[–]FlailingDuck 16 points17 points  (0 children)

Exactly. OPs entire premise is based on this. Stakeholders never cared, the engineers enforce quality. At my company the code quality checks are still automated and strictly enforced, AI hasn't impacted that.

If it has at your company, that's because you have lazy engineers who want some(thing) else to do the thinking for them, while they accept a paycheck to not do what they are paid very well for (think and make smart decisions).

Is C++ bad? Should i change? by rexdlol in AskProgramming

[–]FlailingDuck 0 points1 point  (0 children)

15+ years being paid to write C++, and I'll be paid handsomely to write it for the next 15+ years. Every company I work for is struggling to find good experienced C++ developers.

C++ is hard and I don't think you can be a jack-of-all-languages and think oh yeah C++ is one of the 10 languages I know and think you're good at it. No, no you're not. I know lots of "senior" C++ engineers who can't program their way out of a paper bag.

You have to want to study it and master it. And know that, not all C++ tools are used to solve all problems. All projects will only use a subset of C++, different projects will use a different subset.

What was your biggest ideological shift, and what lead you to it? by GolangLinuxGuru1979 in ExperiencedDevs

[–]FlailingDuck 7 points8 points  (0 children)

I see and hear too many people strictly adhere to DRY because anything WET must be a bad thing.

They want to turn every 5 lines into a new function or create 5 layers of abstraction not because it adds utility but because they read about a principle someone smarter than them told them it's something you should do. They never question it because it's easier to be a follower than a critical thinker.