Please create an account to participate in the Slashdot moderation system


Forgot your password?

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).


Comment: Re:Crime (Score 2) 36

Not really. The really one remaining significant difference between the parties is that public shaming is still a career-ender in the Democratic party. There's no post-scandal career phase as an evangelical preacher, Fox news commentator, or both waiting for guys like Anthony Wiener or William J. Jefferson (the freezer cash guy).

Comment: Re:C++14 != C++98 (Score 1) 239

I'm cool with nullptr for 0. But auto absolutely causes bugs. I've seen it, where programmers assume the auto datatype is one thing and it turns out to be another. It was a major performance issue in a program I debugged. Turns out the compiler assumed they were using floating point where they wanted to use int, and the processor didn't have a floating point unit, so it was all emulated in software. Unfortunately it wasn't found until after release.

In addition, it decouples the data type from the code in maintenance. Want to know what that auto loop is actually doing? You need to find and check wherever the container was defined. This takes time, and leads to bugs when maintainers forget or make the wrong assumption. For saving 10 characters at writing time you cost orders of magnitude that when maintaining the code.

Furthermore- the reason for auto was they fucked up the STL by adding too many features (allocators) and insisting on their algorithms library (which in 15 years of writing C++, I have never seen used) being compatible with pointers as well without using a wrapping class. Stupid, stupid ideas. You don't perpetuate mistakes with new features which add new problems- you correct them.

I completely understand the new features of C++- I just think the vast majority are a bad idea.

Comment: Re:Roads are now illegal (Score 2) 159

You don't have to be actually breaking the law, the cop just has to have a reasonable suspicion that you might be.

Many, many years ago as a teenager I got stopped by an on-foot cop (I was pulling out of a fast food place). Turns out he recognized the license plate because the car (my mom's) had been stolen (for joy rides) several times before (easy to hotwire, and predating ignition locks in the steering column). I wasn't breaking any law, but the stop was justified on suspicion. Since the last name and address on my license matched the registration, of course he waved me on as soon as I'd shown them to him.

Comment: Re:Answers for both (Score 1) 229

by AuMatar (#49168925) Attached to: Samsung Officially Unpacks Galaxy S6 and Galaxy S6 Edge At MWC

Then you're extremely lucky, I've had iOS hard lock when dogfooding apps fairly frequently (although that was a few years ago, maybe they're better). But I don't trust ANY device without a real pull the plug option, not after years of doing firmware and mobile development. If a device needs batteries, I will not buy it unless those batteries are removable.

Comment: Re:C++14 != C++98 (Score 0) 239

I wish people would stop adding to C++. C++ as it stood in 1998 was a good, if somewhat complex, language. The new additions (except for a few of the libraries) make the language way too complex and lead to unreadable code.

You need to learn that concise != good. If it did, everyone would be programming in perl 1 liners. Auto is the most braindead addition in history, it causes bugs, loses all the advantages of a typed language, and only needs to exist because they fucked up the STL by not using proper inheritance. Any code review that uses them is an auto bounce and fix. Templates are the most abused language concept in history- if you're using it for anything other than a container class, odds are 98% that you're writing hard to follow, hard to maintain code that should be rewritten

C== was better when it was treates as C++98.

Comment: Re:FCC? (Score 1) 169

by hey! (#49168109) Attached to: Feds Admit Stingray Can Disrupt Bystanders' Communications

The device was approved by the FCC. However the approval process is not in this case transparent. We don't know whether the FCC took into account whether the device's capacity to create interference, or whether they may have played favorites.

One thing we can be certain about is that the FCC didn't worry about Constitutional or laws that protect citizen privacy, and certainly not the use of the devices without a warrant. That's not their bailiwick.

So to summarize the FCC approved this device but we don't know if they did their job. We can be certain they didn't do *more* than their job.

Comment: Re:Brain drain (Score 3, Interesting) 129

by hey! (#49168025) Attached to: Marissa Mayer On Turning Around Yahoo

Well... maybe there's some kind of model in which you would actually look forward to seeing your colleagues in person.

Personally, I've done in both ways. When my partner and I sold our business to a company that was on the other side of the country, I no longer had a two hour a day commute, which was awesome. I also didn't have a team I saw in person every day, which I very quickly grew to miss. And I'm not the most sociable person in the world. I'm more than glad to spend a few days or even weeks working by myself. But as weeks stretched into months, with only emails, teleconferencing, and the occasional cross-country flight, I grew to hate telecommuting. It's great to be able to do it even a couple of days a week, but if I had the choice of woking in bathrobe in the spare bedroom ALL the time or spending two hours in the car EVERY day, I'd go with the commute.

If I were starting another company, I think one of my priorities would be to make being there fun, stimulating, and personally rewarding. I'd make it possible to telecommute, but if people began to see it as their primary mode of working I'd consider that a red flag.

Backed up the system lately?