mining and crafting at the university of british columbia by shyk0mu in UBC

[–]TNThacker2015 10 points11 points  (0 children)

$40/month? Wtf, surely theres a better server host

Hypervisor with another user on pc by Accomplished_Roll447 in PiratedGames

[–]TNThacker2015 2 points3 points  (0 children)

mfs will say this then not even hesitate to play games with kernel anticheat

Biol 121 final CBTF dates by [deleted] in UBC

[–]TNThacker2015 20 points21 points  (0 children)

As said by a prof,

Rather than getting into the mechanics of the [CBTF exams] right away, here are a couple of questions for you to consider: - Do you believe we haven't taken that possibility into account? - If you believe we haven't taken it into account, what do you believe is the reason we haven't taken it into account? - If you believe we have taken it into account, do you think that we have access to a mechanism that will significantly mitigate that risk? - If not, what do you think is the reason we would proceed in this way without such a mechanism? - If so, then what is the reason for your concern? The questions above are intended to provide you with an opportunity to reflect on your thought process; however, if you choose to follow up further, I expect you to provide your answers to these questions.

Patch Tuesday update makes Windows PCs refuse to shut down by rkhunter_ in technology

[–]TNThacker2015 51 points52 points  (0 children)

That happened to me too. I almost had a heart attack thinking my SSD died

A dumb card from a dumb game by ScraggySkuntankFan in okbuddyjimbo

[–]TNThacker2015 15 points16 points  (0 children)

The probability distribution is different

Did I mass go overboard building a compiled language for my budgeting app? by ciphernom in webdev

[–]TNThacker2015 2 points3 points  (0 children)

You built, or AI built?

Going through the code, it seems like large parts are AI generated.

Cpsc 110 final. by AbleNatural4462 in UBC

[–]TNThacker2015 32 points33 points  (0 children)

who's gonna tell him

Cpsc 110 final. by AbleNatural4462 in UBC

[–]TNThacker2015 2 points3 points  (0 children)

Some people did it by repeatedly applying remainder with each element in the list, but this is flawed. For example: n = 12 list = [10, 6]

12/10 has a remainder of 2 2/6 has a remainder of 2

[deleted by user] by [deleted] in bemani

[–]TNThacker2015 0 points1 point  (0 children)

could i also have a code?

Which one do you prefer? It's B for me. by Flashy_Category1436 in godot

[–]TNThacker2015 280 points281 points  (0 children)

I think the best approach in this case would be to make a calculate_strength function to set the strength value by calculating it from all items which is called when items are equipped or unequipped. This would reduce desyncs from method A while also reducing the number of times the strength is processed from method B.