Forgot your password?
typodupeerror

Comment Re:Keep it quiet (Score 2, Insightful) 65

anti-DEI police of the current Administration

That DEI enforcement group seems to be asleep on the job. The current administration has appointed numerous women* to important positions.

*Biological women, that is. Sorry about the rest of you guys. I guess you are going to have to do a better job tucking.

Are you sure about that "biological" thing? Most of them look like Stepford Wives.

Comment Re:Before someone says it (Score 1) 134

True, misinformation coming from "trusted" sources is much more damaging than some idiot with a blog posting nonsense, simply by the fact that it's framed as something trusted by so many others.

False dichotomy. Nobody here is talking about an idiot with a blog posting nonsense.

False information coming from sources that "look" trustable but are actually not are very damaging - on purpose, as that is literally the intent.

Incomplete/biased information from trustable sources that are not deliberately attempting to mislead (as in sources that adhere to the ethics of not presenting information that is factually false, even if the picture is not "complete" as you suggest) is a slight wrong, and has existed since the dawn of the printed word - it's editorial in nature - but its effects on creating social problems pales in comparison to weaponized disinformation campaigns.

Hand-wringing about the later as if it's some kind of new thing, or something most people don't know about strikes me as super naive. The insidiousness of the former is simply that people don't appreciate the scale to which it's happening.

Comment Re:The purpose of a factory is not to provide jobs (Score 4, Insightful) 197

The purpose of a factory is not to provide jobs.

It's intended to made widgets that can then be sold at a profit.

It's not a social welfare program.

The way things are headed, the only way people are going to be able to obtain money to pay for those widgets is via social welfare programs.

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

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.

Slashdot Top Deals

We can defeat gravity. The problem is the paperwork involved.

Working...