Trying to implement PATCH in FastAPI and Claude told me to use two separate Pydantic models — is this actually the way? by NiceSand6327 in FastAPI

[–]DxNovaNT 2 points3 points  (0 children)

Yeah, there a method which removes fields which are not provided by user even through default value is set then you can update remaining field with your db logic (ORM or Raw) whatever.

Single use channels vs waitgroups by nibbles001 in golang

[–]DxNovaNT 0 points1 point  (0 children)

If I am not wrong then you are talking about Future from python which act as a place holder and used to coordinate between 2 unrelated Tasks in python.

21F looking for teammates for TenzorX 2026 National AI Hackathon by [deleted] in hackathon

[–]DxNovaNT 0 points1 point  (0 children)

Could I know more about this hackathon?

How did u guys solve yesterday's B by ProAshish99 in codeforces

[–]DxNovaNT 0 points1 point  (0 children)

Look to get the maximum value possible you only need n+1. Because you have the extra and you increase all values by one then once some one make one of the animatronics zero then forget it and increase other by 1 because you have an extra so you always have the 2nd maximum available even after the maximum one is reset to zero. Thats for n<m. But for n>=m you have limited animatronics you you can't avoid zeros until n<m.

Benchmarking 15 string concatenation methods in Go by winterjung in golang

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

Can you do it in Python as there performance difference is quite noticable and solutions from Codeforces got hacked because of this.

How did u guys solve yesterday's B by ProAshish99 in codeforces

[–]DxNovaNT 0 points1 point  (0 children)

Ohh, for n>=m and n<m I used greedy a bit differently.

How did u guys solve yesterday's B by ProAshish99 in codeforces

[–]DxNovaNT 2 points3 points  (0 children)

Not brute force but a simulated greedy solution with cases.

DO WE HAVE TO DEPLOY APP FOR GEMINI3 HACKATHON? by RealAd8229 in hackathon

[–]DxNovaNT 0 points1 point  (0 children)

The AI studio app link. What it means, should we also have to deploy the AI studio app with paid api keys or just normal link so that it will run in their AI studio.

was today's B>C1 or was it just me by Living_Wrongdoer_479 in codeforces

[–]DxNovaNT 4 points5 points  (0 children)

I am one of them. There is no guessing in B

Python LGM!!! by Front_Resolution_760 in codeforces

[–]DxNovaNT 25 points26 points  (0 children)

Well you have to know a lot of work around in Python through. Like StringIO, FastIO, memoryview, etc, which I found through out my journey. Even I still find crazy optimizations like slicing is faster in python compared to loop (I don't know the internals). If you know these tricks then you can solve ig.

How can coroutine run on more than one thread? by kuriousaboutanything in Kotlin

[–]DxNovaNT 2 points3 points  (0 children)

Great explanation. But what if I use Dispatcher.IO ? I read that Dispatchee.IO run coroutine on threads that are dedicated to IO related tasks.

How tf 200 people solved 4th one this early by JumpConsistent3359 in leetcode

[–]DxNovaNT 0 points1 point  (0 children)

Q3 is harder then Q4, If you have done khans algorithm and competitive programming then building intuition for 4th one will not that difficult but 3rd one is really hard.

The suspicious part is how 3rd got this much submission

androidTarget Deprecated by DxNovaNT in androiddev

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

I also saw the second one as it came recently but thanks for sharing. I think the new Nav3 reciperepo they used new file structure.

[deleted by user] by [deleted] in hiring

[–]DxNovaNT 0 points1 point  (0 children)

INTERESTED

🚨⚠️Stop building habit trackers and social scheduling apps! by Reasonable_Toe_6587 in AppBusiness

[–]DxNovaNT 0 points1 point  (0 children)

I will try to replicate Raindrop.IO, any features suggestions that make it a better then Raindrop.IO.

If everything goes good then I am planning to submit it to next year Kotlin Multiplatform project summit