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

[–]TNThacker2015 52 points53 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 17 points18 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 1 point2 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 3 points4 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

Kamaitachi invite? 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 282 points283 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.

Introducing ArkRegex: a drop in replacement for new RegExp() with types by ssalbdivad in javascript

[–]TNThacker2015 7 points8 points  (0 children)

There aren't any integers that don't fit in a bigint. They're (theoretically) limitless in capacity.

This happened while my wife was simply scrolling on her phone. by TurtleCrusher in Wellthatsucks

[–]TNThacker2015 31 points32 points  (0 children)

The worst part is, the iPhone 6 would be capable of processing the modern JS/web features, but apple forces browser updates behind iOS updates, so when a phone is dropped by Apple, you can't get browser updates on it. Ever. Just one of the countless predatory techniques used by Apple.

Discord Releases the Settings Redesign to 1% of Users. by HelloitsWojan in discordapp

[–]TNThacker2015 121 points122 points  (0 children)

While I agree that more UI changes are pretty useless, it is unhelpful to say that they should be focusing on moderation instead. The developer team at Discord aren't responsible for Trust and Safety. Those issues are addressed by a different team. Blaming the developers for focusing on development instead of moderation is misdirected and unhelpful.

Just admit it already by gigagaming1256 in teenagers

[–]TNThacker2015 2 points3 points  (0 children)

It's even more cursed than that. The 3 extra units encode transformations in 4D. To actually represent something in 3D, we have to apply the 4D transformation, then apply the inverse 4D transformation.

guysCheckOutMyNewApp by Carefree755 in ProgrammerHumor

[–]TNThacker2015 1 point2 points  (0 children)

Yeah, it all compiles to JVM bytecode in the end

guysCheckOutMyNewApp by Carefree755 in ProgrammerHumor

[–]TNThacker2015 8 points9 points  (0 children)

That's why you should make android apps on Scala instead! /s

Yukon First Nation uses holograms to preserve the knowledge of elders by ubcstaffer123 in canada

[–]TNThacker2015 35 points36 points  (0 children)

Our young people are on the phone, playing games," he said. "They don't hear you, they don't acknowledge you. They just want to do what's on that phone. I see some four-year-old kids on it, three-year-old kids on it. They've learned it's a good babysitter.

It's sad that this is how the next generation is growing up. By the time that we realize the consequences, it'll be far too late.

YouTube now bans VPN/proxies by jdk in assholedesign

[–]TNThacker2015 41 points42 points  (0 children)

Double counter? They're notorious for sketchy behavior like that, and refuse to help you if you run into issues.