xthexder

joined 1 year ago
[–] [email protected] 6 points 4 months ago (1 children)

A phone call? Like... the original use of a phone?

[–] [email protected] 5 points 4 months ago (1 children)

I've been using an ad blocker for at least 15 years. I'm not about to stop now. I can't imagine paying only to see less relevant ads...

[–] [email protected] 6 points 4 months ago* (last edited 4 months ago)

Interesting that strtol in C does that. I've always explicitly passed in base 10 or 16, but I didn't know it would auto-detect if you passed 0. TIL.

[–] [email protected] 6 points 4 months ago

Yep. Ubiquiti sells wifi 7 APs and the latest phones support it as of some time last year I think. The big new feature is 6GHz and the ability to automatically hop between frequencies (You can use 6, 5 and 2.4GHz all at once). Latency has been great, and I easily get 1Gbps+ in the same room as my wifi.

[–] [email protected] 7 points 4 months ago* (last edited 4 months ago) (6 children)

Well, you're right. I wasn't getting it, but I've also never seen any piece of software that would treat a single leading zero as octal. That's just a recipe for disaster, and it should use 0o116 to be unambiguous

(I am a software engineer, but was assuming you meant it was hardcoded to parse as octal, not some weird auto-detect)

[–] [email protected] 5 points 4 months ago (8 children)

Well shit, my zip code starts with a 9.

[–] [email protected] 1 points 4 months ago

You have a very twisted view of the world. No one was "allowed" to shoot Abe Lincoln or JFK. It was very much not allowed, but murderers don't usually care about what's allowed and do it anyway.

[–] [email protected] 16 points 4 months ago

Damn, I didn't even see that until you pointed it out. I would have died.

[–] [email protected] 9 points 4 months ago

Hahaha, that hardware is built to be as cheap as possible so they can make money on this scam of a product. I doubt the people making it even know what a TPM is from everything else we've seen.

[–] [email protected] 5 points 4 months ago (3 children)

No, there's definitely a science to this. It's the same reason sandwiches taste better if you cut them in a triangle. The sharp points make for the perfect bite size.

[–] [email protected] 16 points 4 months ago (1 children)

A quadratic function is just one possible polynomial. They're also not really related to big-O complexity, where you mostly just care about what the highest exponent is: O(n^2) vs O(n^3).

For most short programs it's fairly easy to determine the complexity. Just count how many nested loops you have. If there's no loops, it's probably O(1) unless you're calling other functions that hide the complexity.

If there's one loop that runs N times, it's O(n), and if you have a nested loop, it's likely O(n^2).

You throw out any constant-time portion, so your function's actual runtime might be the polynomial: 5n^3 + 2n^2 + 6n + 20. But the big-O notation would simply be O(n^3) in that case.

I'm simplifying a little, but that's the overview. I think a lot of people just memorize that certain algorithms have a certain complexity, like binary search being O(log n) for example.

[–] [email protected] 2 points 4 months ago

We're talking about legally, not practically. Obviously copying movies is physically possible.

view more: ‹ prev next ›