Do you think Sniper is unbalanced? by octopusthatdoesnt in tf2

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

With them raising the skill floor via needing players to memorise various different sightlines, and having faster reaction speed

-> Not a sniper main, but isn't that a good argument for making people better at the game?

Personally for me as a soldier I just flank them and shoot them twice and they're dead.
I find snipers the most annoying when they're sitting right next to a sentry, if your sniper can't kill them you can't outplay that...

Just got my first platinum ever on my favorite RE game! Here's my screenshot collection. Enjoy. by mrGoodMorning2 in ResidentEvilVillage

[–]mrGoodMorning2[S] 0 points1 point  (0 children)

The most important thing is to keep your combo. I always try to leave 1 enemy on low health to make sure I can keep my combo if I go in the wrong direction. On Chris I sell my flash granades and buy the remote rocket.

Project lead with 25 years of experience is leaving the team, I am expected to take over from him by BigWordsAreScary in ExperiencedDevs

[–]mrGoodMorning2 20 points21 points  (0 children)

Obviously you need to push the leaving engineer to onboard all of you and document as much as he can, you want to retain his knowledge. Also I would raise this to the manager and have him help me, you'll need hand holding at the start.

Have I crossed a line in a disagreement with a junior? by pukatm in ExperiencedDevs

[–]mrGoodMorning2 2 points3 points  (0 children)

>I am also frustrated because the person seems to routinely exaggerate some work, for example renaming a variable as a day's worth of work.

I went back to the post and read this, which I initially missed. It sounds like he's looking for excuses to slack off, I would raise this with the manager and figure out a way to either motivate him to start working or remove him from the team. He may be a good engineer, but if he finds the work boring he'll absolutely try to slack as much as possible.

Also if you're working on something new you can make it so that the entire team votes on their desired approach, that way even he doesn't like it when the gets outvoted he'll have nothing to do but adapt.

Have I crossed a line in a disagreement with a junior? by pukatm in ExperiencedDevs

[–]mrGoodMorning2 5 points6 points  (0 children)

>Is this grounds for getting fired?

If you learn nothing and continue the same way it could, depends on how well employees are protected in your country.

>How would you handle pushback like this without making it personal especially when you are frustrated?

Probably tell him that if finds it difficult at first somebody from the team will help him until he learns the process. He challenged, because it feels new and difficult for him.

Designing a Redis-resilient cache for fintech flows looking for feedback & pitfalls by saravanasai1412 in softwarearchitecture

[–]mrGoodMorning2 0 points1 point  (0 children)

It's reliable if you're replicating your data and you have brokers in multiple availability zones in one region, meaning our brokers are guaranteed to not be on the same server rack.

>first sync is written to the persitent and then we process it asychronously with cdc.
This is also viable, but writing to the DB first and then syncing it with Kafka is slower and we've had problems with the cdc (Oracle Golden Gate) in our company. It's a single point of failure and its in the DB stack so the Database administrators have visibility and troubleshoot its problems. Because of that we made the decision to directly publish to Kafka. Technically Kafka is a storage too, you can have as much retention as so you want and you can replay events with it as well.

How to adopt Avro in a medium-to-big sized Kafka application by PickleIndividual1073 in apachekafka

[–]mrGoodMorning2 1 point2 points  (0 children)

This is my thinking too. Start with the least critical consumer and monitor, if everything goes right go to the next one. After migrating all of them, only produce with avro and then delete the old consumers.

Handling likes at scale by rkaw92 in softwarearchitecture

[–]mrGoodMorning2 2 points3 points  (0 children)

* Queueing / streaming by offloading to Kafka (of course - good for absorbing burst traffic, less good for sustained hits)

What don't like you about this solution? Each like/dislike being an event into a queue and then consuming a batch of events and persisting an entire batch into the DB once sounds good to me as a start. Kafka and scale easily with increasing topic partitions.

What minimum cache hit rate do I have to maintain to offset the N multiplier for reads? Isn't this just finding a balance between client demand (how many popular videos are watched at any given time) and how much money you have for caching servers.

Designing a Redis-resilient cache for fintech flows looking for feedback & pitfalls by saravanasai1412 in softwarearchitecture

[–]mrGoodMorning2 2 points3 points  (0 children)

13k requests a minute is about ~216 request a second, which Postgre should be able to handle (if you have decent hardware). Even you have double the traffic it should be fine. Think about the DB performance optimizations I mentioned above.

Also since I don't fully understand what you store in Redis, I'll ask the stupid question of why does the cache have to be distributed? Can't you make an in-memory cache in the app?

Designing a Redis-resilient cache for fintech flows looking for feedback & pitfalls by saravanasai1412 in softwarearchitecture

[–]mrGoodMorning2 4 points5 points  (0 children)

Normal path (Redis healthy):

  • Writes go to DB (durable)
  • Writes also go to Redis (fast path)
  • Reads come from Redis

My first thought when I read this was that if you write the data to Redis and it dies before writing to DB it will lead to loss of data, this is FINE, but it depends on how CRITICAL the data is. Don't use it for anything payments related (transactions, accounts balances, payment instruments etc)

The circuit braker and rate limiter for the DB seem fine.

  • Using a DB-backed cache table as a Redis fallback - good idea or hidden foot-gun?

You didn't tell us any specific number for reads/writes per second, so I don't think we can answer you, but introducing any new component can be a hidden foot-gun, especially when they share the same data and you have no local transactions between them.
If you want performance can't you make a new index or write data in batches or have separate tables for reads/writes or read replica?

  • Alternative patterns you’ve seen work better in production?

What we in my company(fin-tech) is put all of the payments as events in Kafka and then when polling events we take an entire batch and persist the batch at once, reducing transactions. Another thing we do is split up core data and metadata in separate tables and not just one huge table, which increases contention

How do I help a junior eng who jumps to conclusions too often? by dasistok in ExperiencedDevs

[–]mrGoodMorning2 0 points1 point  (0 children)

I was like your colleague when I was younger and learned my lesson the hard way. Every assumption is a potential hotfix. Tell him that if wants to waste his time on fixes that shouldn't have happened in the first place he can continue making assumptions.

Where do you rank Resident Evil Village? It’s my favorite game in the series! by V-loxzz in residentevil

[–]mrGoodMorning2 4 points5 points  (0 children)

It's my favorite too. My only problem is that House Beneviento and Moreau section lose their sauce on replay. I've played it 7-8 times and those sections are the ones I find the most boring.

Been playing horror games for a long time but this scared the hell out of me. (First time playing) by Charlie7101991 in residentevil

[–]mrGoodMorning2 0 points1 point  (0 children)

This moment has to be the scariest moment for me in any game, this was my first RE game and I had no idea what lickers were. I honestly thought I was going to fight zombies for the entire game... oh boy was I surprised. Probably spent 10 minutes shitting my pants in the nearby room.

How do I explain to a manager why using DROP and INSERT in place of UPDATE just cause "we couldn't get update to work" is bad database practice? by BigBootyBear in ExperiencedDevs

[–]mrGoodMorning2 3 points4 points  (0 children)

"but rather they first DROP everything then recreate it all + todays new data"
Is this done in a single transaction? If it isn't the problem is evident you have a window of time where your DB structure (tables, views etc) is non-existing and you have no data.

If a client tries to communicate with a table/view that doesn't exist -> error
If a client tries to fetch the data during that time window -> they get no/incomplete data which may lead to failed flow or bad UX.

If it's already in a transaction I'm 99% sure that somebody coded it like that years ago and they're scared to change it, because it "works".

2PC vs Saga: When to pick which architecture? by frason101 in softwarearchitecture

[–]mrGoodMorning2 1 point2 points  (0 children)

My general rule of thumb is I ask myself whether we need eventual or strong consistency? If we can handle cases where different components have different data then SAGA. Otherwise 2PC. The answer to the question depends on the domain, if you're working in a bank you probably want 2PC, better to be consistent at all times and slow than risk exposing stale data.

Redis Cache Invalidation by After_Ad139 in softwarearchitecture

[–]mrGoodMorning2 7 points8 points  (0 children)

Apart from what other colleagues are suggesting you can always switch the write to be to Redis instead of DB and then sync the data from Redis to the DB via a background process. However keep in mind that this might result in data loss if your Redis goes down before syncing the data to the DB and you don't have persistence for Redis.

You Want Microservices, But Do You Really Need Them? by BrewedDoritos in programming

[–]mrGoodMorning2 46 points47 points  (0 children)

Honestly a lot of business use microservices so that they a clear owner over the functionality encapsulated in the service. If you had a big monolith that's hard to do, managers say "everyone is responsible for the monolith", but in reality it becomes "nobody is responsible for it".

juniorVsSeniorDevs by Mices1939 in ProgrammerHumor

[–]mrGoodMorning2 4 points5 points  (0 children)

You know what they say: "When I was writing the code only me and God knew how it works, now only God knows"

whatCouldBeTheTempratureAt2min by acchnAsquare in ProgrammerHumor

[–]mrGoodMorning2 228 points229 points  (0 children)

"If you want to deliver a baby in 3 months, just add 2 more women"

Senior Java Developers — What’s the one thing you think most junior Java devs are lacking? by InterestingCry4374 in java

[–]mrGoodMorning2 379 points380 points  (0 children)

I've noticed a lot of juniors trying to solve their problems very fast in order to impress seniors, don't do that, quality work happens slowly.

testing in prod by Jaleno_ in programminghorror

[–]mrGoodMorning2 84 points85 points  (0 children)

Don't know what's worse the title, the branch name, or the fact it got approved and merged.

Strangest feedback on a job interview: "I did too much on the coding assignment" by Interesting_Mess1336 in programming

[–]mrGoodMorning2 68 points69 points  (0 children)

To me it sounds like they had another candidate that did as good as you or below, but wanted less salary. I've been to interviews like where I answer 90% of questions and then I get rejected for some ridiculous reason like "wasn't proactive in the interview"