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

 



Forgot your password?
typodupeerror
×

Comment Attitude, not titles (Score 1) 333

It's not the title, it's the attitude. If you write code the way a civil engineer designs bridges and or an electrical engineer builds circuits, you will build crap.

When building a bridge to take a 10 ton load, you better use 15 ton beams just in case one is under spec. When building a circuit to switch at 10 MHz, use components designed for 12 MHz just in case one is under spec. It's called "tolerances" and is the underpinning of all engineering, and is a great idea for those fields where once it is built the requirements generally stop changing.

Except in software engineering. Tolerances in software are called "fudge factors" or "heuristics", and they always result in unmaintainable spaghetti as requirements constantly change over time.

I use the term "Software Developer" for myself because I refuse to "engineer" software; i.e. build crap. My most recent contract involved fixing problems in embedded systems code written by an EE major. Total nightmare - no unit tests, no code comments to speak off, mysterious algorithms with no explanation as to where they came from, references to "see datasheet" for the component that was used three board revisions ago but not any more, and so on. The circuit? An absolutely beautiful example of balancing requirements and managing tolerances. But the code to run the circuit was rubbish that would get stamped "go back and do that again" by the code reviewers in any software development shop.

The ironic thing is that the term "Software Engineer" was coined to give developers the air of professionalism. Perhaps the engineers could learn something about professionalism from the developers instead? Like how to design a system that won't fail the minute the requirements change.

Comment Re:OMG this will NEVER happen (Score 1) 315

A whole car may be silly, but the thing about cars is they need repairs. I scraped the side of my car against a concrete pole in a carpark a few years back. Easy enough for the panel beaters to bang out the dings and repaint the doors ... except for a scratched-up door handle. They would have had to send away to Korea at great expense to get a completely new injection moulded handle. For now I'm putting up with the scratches. But imagine if my panel beater could just pop the design into a 3D printer and make me a new one on the spot? That's what scares the crap out of traditional car manufacturers ... that they can no longer rip you off for replacement parts.

Comment Don't - Just Don't (Score 1) 452

Curiosity is doing more science per second ON ANOTHER PLANET just sitting there checking its systems than the entire human race has achieved to date. Decades from now, scientists will still be pulling interesting information out of the data that was missed on the first pass. This is a genuine GOOD for the human race as a whole - don't screw it up to do the equivalent of spray-painting "l33tme w0z ere" on the side. Unless you're willing to pay the cost to send up a replacement robot, find something else to amuse yourself with.

Comment Re:What sort of radiation? (Score 1) 80

Even if we were to assume that cell phones put out sufficient radiation to heat up the water molecules in the brain enough to be noticeable, it still pales into insignificance compared to the heating your brain receives when you have a hot shower and wash your hair. Or walk around without a hat on a summers day. If low-level heat from everyday sources caused cancer then the human race would have gone extinct in 50,000BCE when we invented fire.

Comment Slippery slope (Score 4, Insightful) 544

Porn problem? What about Wikipedia's bomb problem? Enough information about chemistry and physics to build your own homemade bomb. Depending upon your budget, everything from firecrackers and pipe bombs to nuclear weapons. What about Wikipedia's computer security problem? Blow by blow descriptions of common computer vulnerabilities and how they can be exploited.

And so on.

We've been down this road before with the debates over the Anarchist's Cookbook and hacking manuals. Banning, or labelling, or whatever serves no purpose except to enable government censors to make up excuses to block other information. And look - you gave them a nice little filtering system to help them do exactly that!

Of course Wikipedia needs to tread softly - they are the repository of the world's knowledge and anything that reduces access to knowledge is against its charter. Make the descriptions of various porn acts more clinical and less explicit, perhaps. But that won't stop the "think of the children!" crowd.

Comment Quickly followed by ... (Score 1) 94

And how many milliseconds until this happens:

A new law was passed today by both houses of Congress making it illegal for pharmacies to sell over the counter HIV tests. The author of the bill, congressman John Q. Religinut, Jr (R) welcomed the passage of the law saying "Today we have taken a stand against promiscuity and the homosexual agenda".

Comment Re:Twenty Seconds? (Score 2) 587

Twenty seconds...that's too much for you to suffer through?

Fuck, get a drink or take a piss. You probably won't have time to do either.

And then come back and find the damn disk is still waiting at the "Select English or 40 Languages You Don't Speak" screen waiting for you to hit the OK button. Seriously, is it really so hard to detect the language I've already set on my Blu-Ray player and use that by default?

In any case, if "insert disk, go do something else, then watch movie" becomes a problem, I'm sure the studios will "fix" that by adding a EULA click to the Copyright warning screens.

Comment Re:Earth to Absent-minded Professor. Come in pleas (Score 1) 537

What kind of moron takes something that "look[s] like a cell phone attached to a remote control car with some exposed wires protruding" onto an airplane?

The contents of any business person's carry-on bag looks like that on an X-ray scanner. Phone, MP3 layer, USB cables, laptop and power brick, bent paper clip to reset dodgy devices, RSA security key for remote VPN access, prototype PCB for the embedded device my company is working on, etc. By the time that tangle of wires gets to the airport, it WILL look like a horrid science experiment that is a pound of C4 away from blowing up. Yet such tangles regularly pass through security with a brief 2 second eyeball from a bored TSA grunt. The only difference here is that the tangle was left behind on the plane.

Comment Re:Put the Genie back in the bottle? (Score 5, Interesting) 272

But I would guess that young people are just not used to paying for music.

Heck, OLD people are not used to paying for music. I've had access to thousands of songs for near zero cost my entire life. It's called a radio. And I've probably spent a few hundred dollars total my entire life on products advertised on the radio, of which only a tiny fraction in the millicents range made it to the artists that created all that music. I have a few CD's, but nothing close to the amount I've consumed via radio over the years while paying peanuts. Music has always been cheap, and the record industry has always tried to invent ways to pretend that it isn't. There may be a future in creating custom listening mixes and radio-like streams. But $0.99 per song? Get real. It would be a rip-off at $0.01 per song.

Comment Re:And showing every bit of its age too, apparentl (Score 1) 192

If you need a compiler with special optimization options to make your code run fast, then either your algorithm or your data structure is wrong. Implicitly-parallel SIMD problems are a notable exception - same operation on massive amount of data. Everything else is PEBKAC.

Happy birthday gcc - making me think more carefully and write better code for 25 years!

Comment OpenGL is the problem (Score 4, Interesting) 649

... but instead I was thanklessly modifying shaders and texture formats to work on different GPUs,

OpenGL has become a joke under Khronos. More and more of the work needed to render scenes is pushed back onto the application developer. Once upon a time you could specify the material, texture, and light parameters and IT WOULD JUST FIGURE IT OUT! The responsibility for making it run fast was up to the OpenGL implementer, not the application writer. Now you cannot draw a single triangle without a month's worth of effort to implement matrix math, texture uploading, and material lighting from first principles. And then do it all over again on the next device because the stupid chipset vendor decided that they couldn't be bothered making simple color interpolation work fast (I'm looking at you ImgTech).

The problem is not handset fragmentation. The problem is that the OpenGL API provides no guarantees about what will actually work and work well. It's all thrown back onto the application and the chipset vendors can then brush off bugs in their design with "our examples work great - obviously you don't know how to write shaders".

It's time the application (not chipset) developer community smacked Khronos upside the head and made them specify a USEFUL rendering API that guarantees good performance for application-level tasks, and decertify chipset vendors who are too lazy to do their damn jobs.

Comment Re:Gee... (Score 5, Informative) 173

"Of course, nobody really LIVES in most of those huge data voids, ..."

Yes, because farmers don't need to call 911 for help in an emergency, call the local food co-op to check this week's prices, order new seed from a supplier's web site, or e-mail the mechanic to get an ETA as to when the tractor will be fixed. And we certainly don't want the farmer's kids getting a decent education via distance learning web sites, or talking to their friends in nearby cities.

Putting cell towers in those areas is not profitable, but it is necessary. I say this as an Australian - for over a decade the commercial carriers did squat to wire up the country-side. The Australian government had to create its own carrier from scratch because the free market just didn't care about the 95% of the country where "nobody really lives there". Oh, except for the people who do.

Comment Universities (Score 4, Insightful) 326

And this is why universities like UC should be forbidden by law to apply for patents and required to put all discoveries in the public domain. It makes them or their former faculty pull stupid stunts like this where protecting revenue from commercial spin-offs is more important than doing science and research.

Comment Re:This seems bizarre (Score 2) 136

The theft is MOTIVE. Assault with a deadly weapon or threatened assault can have many motives: robbery, jealously, bigotry, random act of cruelty, etc. The motive helps determine the type of sentence handed out. If reassigning game objects under threat isn't a theft-related motive, then what is it? Which sentencing rules should the court apply? The court in this case chose to be conservative and stick with ordinary theft - it would be up to the Dutch government to create a wholly new "virtual theft" sentencing category if there was some reason to do so. Frankly I don't see how forcible transfer of game objects differs from someone threatening me if I don't electronically transfer the contents of my bank account - that's also a virtual number in a computer somewhere. So I think that this is the correct approach for courts to take.

Slashdot Top Deals

You knew the job was dangerous when you took it, Fred. -- Superchicken

Working...