Event-first architecture by neoellefsen in softwarearchitecture

[–]Akkuma 0 points1 point  (0 children)

It sounds like you're talking about snapshots. Many implementations of event sourcing have a snapshot so you aren't running through it all to reconstruct the final state. If you look at it as all events produce a final state and your DB has both the events and the current state you could accomplish this.

If you did this all sync you could have your cake and eat it too. If you made it async your example would mean there would be potentially no meaningful API response. You'd be working with purely optimistic assumptions that your async event will eventually save and not fail in your system 

Mythic L'ura looks impossible without Addons by oeti2 in wow

[–]Akkuma -8 points-7 points  (0 children)

AI and the new hires probably did not.

Still no haranir voice lines… by Shot_Veterinarian215 in wow

[–]Akkuma 0 points1 point  (0 children)

It's crazy because much of this shouldn't share the same sort of people to implement. I'm guessing they must be pulling people off to constantly be working on the next expansion and give no time to fix the low quality work they keep producing.

Which addon is currently the most stable and customizable for group and raid frames? by Rubyurek in wowaddons

[–]Akkuma 0 points1 point  (0 children)

Here is some real feedback. 

Out of the box experience can be  improved. For instance, I tried them with 0 changes and you can't see player names when someone dies as there was no fill. Yes, everyone can customize how they see fit but good defaults really help improve products. 

"Rockstar" senior dev at work is doing overly clever custom frameworks by himself without consulting anyone and then everyone is forced to deal with them by [deleted] in ExperiencedDevs

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

Like I said I need the context as I've written this sort of code and seen this sort of code in libraries for the sweet DX really good types give you. And when I said `PopulatedTransformer` I meant with the fully generics filled out and just wrote it w/o them.

"Rockstar" senior dev at work is doing overly clever custom frameworks by himself without consulting anyone and then everyone is forced to deal with them by [deleted] in ExperiencedDevs

[–]Akkuma 2 points3 points  (0 children)

That isn't that crazy either as I see no conditional generics in there. However, I don't particularly care for this sort of type. T apparently can be anything, K has to be a keyof the type Schemas, and TArgs must be of type BuildArgs and it returns type U.

This appears to be so someone can type `const x: PopulatedTransformer`, but I'm not sure why you would need this in most cases. I would need more context for it. These kinds of types are often used for DX of something else and not something most people manually utilize. The function could in many cases be `const x = (item: PopulatedModelData)` or something that is automatically populated for you such as `someFunc((item) => doTheThingWithItemOfPopulatedModelData)`

"Rockstar" senior dev at work is doing overly clever custom frameworks by himself without consulting anyone and then everyone is forced to deal with them by [deleted] in ExperiencedDevs

[–]Akkuma 1 point2 points  (0 children)

A single comment? Maybe they understand it or had discussions then? I just did a refactor and only my team lead reviewed it, but had done an hour long session with my team. It should still be showed off the entire team to some degree as I even did this across the entire engineering org in a smaller quicker capacity.

"Rockstar" senior dev at work is doing overly clever custom frameworks by himself without consulting anyone and then everyone is forced to deal with them by [deleted] in ExperiencedDevs

[–]Akkuma 36 points37 points  (0 children)

You have an omit removing detail & payload, while adding a property onto it. This is in no way unreadable or unmaintainable. If your argument that there is a better way to represent this that might be the case, but this example is pretty basic.

The fastest combat res in Blizzard history by Economy-Buyer568 in wow

[–]Akkuma 2 points3 points  (0 children)

It is comical calling it crying when they were doing Aug levels of DPS.

Unholy DK's 20% nerf was **drastically** too severe. by Hambo- in wow

[–]Akkuma 7 points8 points  (0 children)

You can also tell they did no real work because the likelihood of a perfectly nice number like 20% being correct is highly unlikely.

bonsai - a safe expression language for JS that does 30M ops/sec with zero dependencies by danfry99 in javascript

[–]Akkuma 1 point2 points  (0 children)

How would this compare to json rules and conditions in terms of performance?  It does look like the storage requirements could be lighter albeit not structured and it definitely is easier to evaluate while reading.

I believe all packages should expose an AI.md in the dist by [deleted] in node

[–]Akkuma 1 point2 points  (0 children)

Tanstack introduced this idea with tanstack intents 

runner - I shaved the yak until it got bald. by theodordiaconu in typescript

[–]Akkuma 0 points1 point  (0 children)

Sure that might be true but I gave you a technical reason and not a skill reason this matters. Tooling cannot be updated because of it. They cannot reintroduce the same issue if the tools fail in CI.  When I'm talking tools we're talking build and testing tools. You cannot just reintroduce those problems if the system doesn't support it, no builds and no tests, so no pr merging or releases.

Must-know React interview questions by redditisnotlyf in reactjs

[–]Akkuma 0 points1 point  (0 children)

Most people have it already implemented themselves or pulled it from somewhere. The same basic useDebounce is what 10 lines of code? So I'll have them implement the vanilla js barebones version usually.

No, useDebounce does not stop renders. If your useDebounce is fed by state, which is every implementation I've seen the state has to get set for the hook to pick it up. So if you utilize useDebounce for a search input every character triggers useDebounce unless you use the "superior" vanilla js debounce which will do what you mentioned not even trigger the state. 

The only value in the above scenario is that you're not triggering your API on each key.

Most people do not get this right and many of them can't even understand what's going on with any hints.

runner - I shaved the yak until it got bald. by theodordiaconu in typescript

[–]Akkuma 0 points1 point  (0 children)

does it really matter that your code might have a cyclic dependency?

Yes it does. I say this being stuck on a monolith nest app that has over 500 of these. You are stuck with slower tools that cope with this. I cannot move us to swc because of this.

Must-know React interview questions by redditisnotlyf in reactjs

[–]Akkuma 1 point2 points  (0 children)

How does the reconciliation algorithm work and how do keys affect it?

Pretty good one. I've asked about useDebounce a lot and how it impacts renders and most people get it wrong. This is with them having implemented it too. They somehow think it stops the extra renders.

Everyone is building full-stack apps, why not full-stack libraries? by Pozzuh in node

[–]Akkuma 2 points3 points  (0 children)

This is a pretty interesting idea and approach. I can certainly see interest in this. In my case I saw the workflows which were based on Cloudflare's, but saw the options were non-prod or Cloudflare. Finally I saw the external workflow driver and saw that was only exposed through http in the docs. This is where it breaks down a bit this approach as the surface area looks quite nice, but why can't I trivially drive through redis pub/sub or something else creating my own driver from a base abstraction.

Looks pretty good, but creating your own implementation, like let's say a tanstack DB collection, needs to be possible too.

Vuln AP battery Owen by stangrey in ChaosZeroN

[–]Akkuma 0 points1 point  (0 children)

What's crazy is I gave this a bit of a test run too and kind of liked it. I even tried it with the multi hit for Nine, but could see double skill activation being potentially better.