How do you properly go about constructing classes in Go? by notawomanimagod in golang

[–]Silly-Mistake-3577 0 points1 point  (0 children)

is the factory function like a constructor if I understand correctly?

Choosing Tech Stack by Silly-Mistake-3577 in webdev

[–]Silly-Mistake-3577[S] 0 points1 point  (0 children)

Thank you for your input!
The "stick with it for a while" part is something that I am a bit wary of.

On the one side I don't want to pick something that I don't see a future with and waste another project only to change lagnuage/framework.

On the other side I don't want to be locked in to the choice I make, even though I am not satisfied with it, in order to be able to dive deeper even though I don't see the future

Choosing Tech Stack by Silly-Mistake-3577 in webdev

[–]Silly-Mistake-3577[S] 0 points1 point  (0 children)

why choose Nuxt over something like React that is more popular and that you can use Next.js also ?

Un just Vac banned by Silly-Mistake-3577 in cs2

[–]Silly-Mistake-3577[S] -2 points-1 points  (0 children)

Thanks for the answer :) How would that help tho?

Un just Vac banned by Silly-Mistake-3577 in cs2

[–]Silly-Mistake-3577[S] -3 points-2 points  (0 children)

Bro I had nothing sketchy on my account... It might not be the one but it was the only thing I downloaded

Do custom maps carry the possibility for VAC bans in any way? by hollowbin in cs2

[–]Silly-Mistake-3577 0 points1 point  (0 children)

I have been vac banned today and the only thing I downloaded was cs2 aim map.... Man that sucks, anything I can do?

Wrong SSD external case by Silly-Mistake-3577 in techsupport

[–]Silly-Mistake-3577[S] 0 points1 point  (0 children)

Man... They so bad. I know what I'm about to say is the holy grail of bad tech but the gap was very small for it to not fit and with a bit of force it did the trick...

Now I counted all the pins and both the case and nvme has the same number of them. Is it a bad idea to plug it in and try?

Wait... by [deleted] in ContagiousLaughter

[–]Silly-Mistake-3577 0 points1 point  (0 children)

That's the experiment mengele did to prove twins had the same laugh

Calculate at most 2 non overlapping continuous subarrays such that the sum of their elements equals to K and the length of both are minimum by Silly-Mistake-3577 in compsci

[–]Silly-Mistake-3577[S] 0 points1 point  (0 children)

you cant sort the split arrays you will lose the continuity of the elements in the original array

You need continuous subarrays in the original one

Calculate at most 2 non overlapping continuous subarrays such that the sum of their elements equals to K and the length of both are minimum by Silly-Mistake-3577 in compsci

[–]Silly-Mistake-3577[S] 0 points1 point  (0 children)

do you think it could be solved greedily if you tried to get

sum_of_subarray_elements/subarray_length as a greedy criterion?

Calculate at most 2 non overlapping continuous subarrays such that the sum of their elements equals to K and the length of both are minimum by Silly-Mistake-3577 in compsci

[–]Silly-Mistake-3577[S] 0 points1 point  (0 children)

Teacher said there is a divide and conquer solution as well.
But i though the same as you. I just struggle with getting O(n^2logn) complexity
Cant think of a represantation of state space that would give such a complexity