Forgot your password?
typodupeerror

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

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.

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 Re:This is a milestone (Score 1) 75

Making a better battery, or commercializing it, is a milestone. Putting a research battery into an airplane is not a milestone. It's a publicity stunt.

Building a reliable long-range monoplane in 1927 was a milestone. Flying it solo from New York to Paris was a publicity stunt.

Which of these two actions do people remember and celebrate today?

Slashdot Top Deals

Swap read error. You lose your mind.

Working...