Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×

Comment Re:It's about landmass (Score 1) 452

There have always been ways you weren't allowed to drive on. Pedestrian zones, walking ways, closed roads. There were always reasons why the provider of said ways said that cars shouldn't go there. Now there are additional considerations leading to even more ways which get closed for cars. It's the town that maintains the ways and operates them. Federal roads for instance are not affected in most cases.

Comment Re:It's about landmass (Score 4, Insightful) 452

Your argument is flawed in a twisted little way.

No one is actively taking your gasoline driven car away. If you really need it, keep it. But for the largest part of the population, it might make sense to drive an electric car most of the year, and only for the few long trips into sparsely populated regions, they can rent a gasoline powered one.

Your argument is akin to arguing that cars are not usable for anybody, because there are some people living on small islands who need a boat to get somewhere else, or because once in a while, you need to go by airplane, because it would take too long to drive from New York City to Seattle. Yes, there are special cases, when a car is not a good solution. For those cases, we have other solutions. But that doesn't mean that we have to abandon cars. People living on small islands will not be frequent car customers. So what?

The same can be said for electric cars. Yes, there are special cases where they aren't a good solution. But for most people in most cases, they are. And for special needs, there are special transportation means you can use -- be it a gasoline powered car, a train, an airplane, a boat or a bicycle. It doesn't mean that you have to own all of them.

Comment Re:I get this... (Score 1, Informative) 394

The food in the buffet is inedible - I wouldn't feed it to hogs.

That's funny... that's exactly what they do.

I saw a segment on some TV show a few years ago that featured a guy who collects the abundant leftover buffet food from Las Vegas hotels, mixes it all together, and then delivers it to hog farms. The animals did seem to be enjoying it quite a bit.

Comment Re:But what if the sun isn't shining? (Score 3, Interesting) 112

Baseload is one of those talking points which get repeated and repeated again, but no one actually enumerates the baseload. How much energy do we have to provide constantly at a minimum?

The Dutch Railways are now completely wind powered as of Jan 1 2017. Apparently they don't need baseload power plants.

Comment Re:In this economy? (Score 2) 562

The maximum signal-to-noise ratio you can get from a cassette tape is between 60 and 65 dB (depends on the type of tape, Fe, Cr, Ferrochrome, Metal). The CD offers 96 dB. A cassette tape is really, really band limited. Above 16 kHz, it won't record anything meaningful. Below 50 Hz the same. A tape has not enough band reserves to even record VHF radio while preserving quality.

Comment Re:In this economy? (Score 1) 562

No, he didn't. Compact Cassettes were invented in 1963 by the dutch company Philips, and in the 1970ies, they were everywhere. I was born in 1970, and as long as I remember, we had a cassette recorder at home. I also remember all the cassettes my father had in his box with his recordings, which were called something like "Songs 1975" or similar. We never had an 8-track though. My father just commented once during a movie where you could see someone putting a cassette into his car's stereo, that this was an 8-track, the first time I ever heard about it.

Comment Re:Search engine? (Score 1) 285

So you've avoided the need for another function by requiring the user to add *two* separate manual fixups to each call of the most common use case. Do you realize how stupid that is?

Of course, the best practice is to forbid the use of strncpy at all in coding standards, which then involves what you said you wanted to avoid: writing your own function.

I'm not the only one to point this out. Here's the discussion of strncpy from Wikipedia:

Despite the well-established need to replace strcat[10] and strcpy[6] with functions that do not allow buffer overflows, no accepted standard has arisen. This is partly due to the mistaken belief by many C programmers that strncat and strncpy have the desired behavior; however, neither function was designed for this (they were intended to manipulate null-padded fixed-size string buffers, a data format less commonly used in modern software), and the behavior and arguments are non-intuitive and often written incorrectly even by expert programmers.

Comment Re:Search engine? (Score 1) 285

As I said, "sound practice" involves not using that damned function at all. Why do you defend the design of an API that requires you to add an extra line of mitigation code every time you use it?. And why would you accept the performance hit of the extraneous zero padding? It's most likely worse than any of the bounds checking you're so worried about. But an actual "real programmer" would know that.

Slashdot Top Deals

The world is moving so fast these days that the man who says it can't be done is generally interrupted by someone doing it. -- E. Hubbard

Working...