Forgot your password?
typodupeerror

Comment Re: strncpy never made sense (Score 3, Insightful) 35

strncpy() was not intended for null-terminated strings at all. It should have been named copy_null_padded_buffer(). Then its operation would have made sense to almost anyone. People wouldn't have minded the longer name much either, because hardly anybody uses null-padded buffers in modern software.

Note that a null-padded buffer that is completely full doesn't have any nulls in it at all. That's why strncpy() doesn't necessarily add a null termination. It also fills the entire destination buffer with nulls after the end of a short copy, which can be very inefficient when used with null-terminated strings.

TL;DR: don't use strncpy(). It doesn't do what anybody thinks it does.

Comment Re:Reccomended (Score 1) 25

The basics are pretty easy to guide someone through, but the maintaining and dealing with tuning what traffic can go to trusted networks gets pretty complicated (especially with IPv6, at least for me). I have a few lazy cop-outs (HomeAssistant server has two interfaces (IoT and LAN) rather than being in its own VLAN with traffic rules to address specific ports and applications. (At one point I had a server VLAN that it sat in, but it has different needs than Influx or the PiHole or the NAS.)

Proper security requires vigilance and that is much harder to train.

Comment IoT SSID (Score 5, Informative) 25

Needs to be easier for end users to create IoT VLANs with default restrictions. I am getting to the point where I want to segment my IoT VLAN into different trust zones. Unfortunately there is some crap that has to sit in the "Guest" VLAN (which doesn't address the concern in TFS), but mostly I try to eliminate such products.

Comment Re: Instead, it plans to develop a voluntary indus (Score 3, Insightful) 104

When it's codified into the highest law of the land and doesn't work, and suggestions to do so voluntarily can't work to the point of being laughable, what options do we have left?

There's always Nancy Reagan's catchphrase: Just Say No.

Any particular game is expendable. You won't miss out on anything. Games don't even have the network effects and lockin that you get with other types of software; it's a part of the economy where Just Saying No is easiest of all.

Don't like the quality? Don't spend your money. They have no power over us except what we give them. Stop being so selflessly altruistic when it comes to actively supporting your own abuse.

It's so damn easy, and there's already hundreds of years worth of hassle-free game-playing available to spend the few remaining seconds of your life on.

Comment Is there an open API yet? (Score 1) 39

Can we use these glasses, or are they just as worthless as Google's and Meta's, where they choose everything for you, and you'll likely get a DMCA complaint if you try to use them for your own purposes?

If not, then $21.95 is about as much as these people should be charging for the product, which is obviously intended to get its revenue through proprietary software/services sales.

Comment Re:Layoffs (Score 3, Insightful) 74

Maybe Roku has been paying to carry Fox content, or Fox has been paying Roku to carry content (I don't know how their deals work), and now that doesn't have to happen anymore?

Let's do the math:

($Fox + $Payment) + ($Roku - $Payment) = $Fox + $Roku

That's a zero-sum transaction. No $400M savings there.

Comment This will be very effective (Score 3, Funny) 33

One of the problems America currently faces, is that we're still getting far too much science done, it's not costing us enough money, and the money it does cost is being wasted on paying the salaries of scientists instead of personally paying whoever contracts to kick back the most to political appointees.

I believe this will help solve all three problems.

Comment Why is Trump keeping Epstein in the news? (Score 2) 69

Every single day, it seems like the White House does something to keep the ongoing Epstein Obstruction Scandal in the news. It's been the top story for months and every single day there's new news about it.

On Thursday, Todd Blanche, presumably acting under orders, spent all day obstructing the release of the information. And then he did the same thing on Friday. And now there's this UFO story, looking almost custom-made as a silly distraction. Blanche or Trump clearly wants to keep the illegal obstruction on voters' minds, as an evergreen topic so that it never goes away. But why?

What does Trump get by working so hard to persuade every American that he disagrees with a law that he signed, implying that laws is a bad idea and shouldn't be applied or enforced? What advantages are gained by an explicitly pro-crime agenda? What's the advantage of campaigning on releasing the files but then breaking my campaign promise?

I (naively?) think if I were in his position, I would comply with the law so that I don't go to prison for obstruction, and so people wouldn't notice every day that I'm still casually and continuously committing crime. I would let, no make the files come out, so that everyone can see the criminal witnesses confused me with the actual rapist, Biden. That would put me in a position where I'm seen as pro-law instead of anti-law, and it would also put to rest all the speculation that the "Epstein" files are actually mostly about me. Seems like that would be good for everyone, including myself.

So why commit obstruction when the releasing files will exonerate you and make all the problems go away? This strategy doesn't make any sense. What could I possibly be missing?

I feel like there's something incredibly obvious that everyone with a more-than-50 IQ has figured out about the president's lily-white innocence, but somehow I'm just too fucking stupid to figure it out. It's humbling, and makes me question my deeply-held faith in the president's genius.

Slashdot Top Deals

In order to dial out, it is necessary to broaden one's dimension.

Working...