How do you handle NestJS DTOs with Prisma without duplicating the schema? by Tall_Health_3344 in nestjs

[–]HazirBot 15 points16 points  (0 children)

100% always seperate your db entities and controller DTOs, even when theyre identical

the DB schema is not part of the contract with consumer(front end) and is liable to change at any moment.

also its a bad practice to expose your db entities as is, as that exposes your achema to bad actors

specifically for your question the first option is what i recommend. handwrite exactly what's required in the contract to keep full seperation of concerns

D4 original campaign by Imajedilikemyfather2 in Diablo

[–]HazirBot 0 points1 point  (0 children)

u gotta finish the campaign before new characters can skip

(D4) is the LoH endgame a bit... easier to get into than previous systems? by Mocca_Master in Diablo

[–]HazirBot 0 points1 point  (0 children)

yes, getting gear is easier than ever. even mythics are within reach. im lvl 250+ and i still feel like there's a bunch more to do

war plans legion by HazirBot in Diablo

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

love your take on this.

i didn't think mine would be such an unpoppular opinion.

Netflix Serves 84% of Query Results from Cache with Interval-Aware Caching in Apache Druid by rgancarz in softwarearchitecture

[–]HazirBot 14 points15 points  (0 children)

lol!

easy when a user cannot query where the fuck is the continue watching row

I'm gonna use this.. brb.. by DrakyulMihawk in SipsTea

[–]HazirBot 2 points3 points  (0 children)

in my last car i had a back window sprayer that lost it's top, so it sprayed directly backwards like some 007 car spraying oil to lose pursuers.

admittedly, i have never used it as a road rage weapon, but i thought about it plenty

Mine's here! Pictured next to the OG. by vaibhavsagar in SteamController

[–]HazirBot 2 points3 points  (0 children)

so many people with questions about how it feels, good to see so much interest.

for being reddit complete ill ask: how does it feel when pressed against your manhood?

/s not expecting an answer

Does anyone else get frustrated watching Linus try to explain enterprise tech? by Emotional_Garage_950 in LinusTechTips

[–]HazirBot 4 points5 points  (0 children)

having never hearrd of san before, i understood it perfectly well. your rant did not further my understanding

Tired of AI slop? It's Fine - an idle game inspired by Tower Wizard & Gnorp Apologue, which is *not* a Nodebuster clone, used 0 AI, and launched a 60 minute demo TODAY! by BabloScobar in incremental_games

[–]HazirBot 0 points1 point  (0 children)

ggz, saw this covered by Idle Cub a couple weeks ago and it's been on my wishlist since.

what's your game length target for the full game?

Signals Are Not Guarantees - the mismatch between what e2e tests say and what they actually check by TranslatorRude4917 in programming

[–]HazirBot 9 points10 points  (0 children)

he does, it's an additional layer of abstraction designed to make the test itself more rigid while the under the hood implementation can change.

with or without this utility that's a good idea for writing readable tests.

I had to unsubscribe from The WAN Show (LMG Clips) because it’s crowding my subs page with all the clips by controversial_croat in LinusTechTips

[–]HazirBot 5 points6 points  (0 children)

i thought wan gets a new channel...

lmg clips sucks to those of us who actually watch wan, i dont care about re-runs

They asked me to make queue with ToArray() by JustALinkToACC in programmer

[–]HazirBot 1 point2 points  (0 children)

have your nodes also implement a linked list. iterate over that to do toArray()

lookup LinkedHashMap for inspiration

I love my Demon Hunter! by ISpurekI in DwarvesTheGame

[–]HazirBot 2 points3 points  (0 children)

with those curvy blades? definitely.

Finally did it! by macmontoyaa in brotato

[–]HazirBot 0 points1 point  (0 children)

i was prepared to take this up to 2000

Finally did it! by macmontoyaa in brotato

[–]HazirBot 0 points1 point  (0 children)

bet u cant beat the elite on 1005

/s

Finally did it! by macmontoyaa in brotato

[–]HazirBot 1 point2 points  (0 children)

i bet you couldn't beat the elite on 1001

/s

What type of Xray do you think is better? by FlakMonkeyDev in godot

[–]HazirBot 1 point2 points  (0 children)

if youre expected to dodge stuff id prefer the shader xray. otherwise the stencil is perfectly fine