News for hackers. Stuff that matters.
Re:Space Shuttle computer has 1MB of RAM by aidenn0 on Monday March 29, 2010 @01:02PM (#1226934)
And it's 260 engineers to write 420 KLOC. This is why software is buggy; it's to expensive to make it not buggy.
Re:Space Shuttle computer has 1MB of RAM by izend on Monday March 29, 2010 @01:31PM (#1227027)
And it required 380 engineers to build the Burj Dubai.

The only difference is for most software projects it is acceptable to have "bugs" as customers will still pay for it, even if it's in a poor state of quality. But "bugs" in a 2,717 ft tower are unacceptable.

It comes down to, in general the cost of a bug in most software is relatively low compared to other engineering disciplines. Of course if the software is critical support systems for Astronauts that's a different story.

Re:Space Shuttle computer has 1MB of RAM by wreel on Monday March 29, 2010 @02:25PM (#1227173)
> But "bugs" in a 2,717 ft tower are unacceptable.

People have a tendency to overlook "bugs" in architecture because of the immutability of the medium. But once you start noticing that the HVAC is uneven on your floor, the hot water takes five minutes for ramp up in your office's break room and the conduit runs for networking are bizarre you start to understand that architects and builders run into design and implementation problems as well.

In fact they have their own word for patching. Renovations.

Re:Space Shuttle computer has 1MB of RAM by electromagnetic on Monday March 29, 2010 @10:47PM (#1228208)
Having worked doing building renovations I can honestly say it's rather frequent that you look at how the building is laid out and how the wiring/water/gas was run and say "what the heck was this person thinking?" - and that's not even including the times I've seen things completely impractical or wholly illegal.

In my present house we cannot have the central air turned on in the downstairs toilet if we want heating to the smallest bedroom (the 'infant' room) upstairs. Similarly the basement air vent was so distant from the conduits that the main level essentially has a heated floor (hot air can be felt escaping through almost every gap in the basement ceiling except the air vent it's supposed to come out of. Similarly the plumbing is so unbalanced that the shower can essentially be turned off by a good configuration of tap turns and toilet flushes.

Architecture is a joke, and the 'engineers' who design them should really consider building a house themselves, because I've seen every crazy design from doors being hinged to trap people in the corner of a hallway (literally you'd have to step into the far corner to squeeze around the door to exit the bedroom), to lighting layouts that didn't illuminate the room, or switches completely impracticably placed.

You're entirely right, people overlook 'bugs' in architecture, although in my experience it's largely because of ignorance of what it being right is. How do you compare a poor plumbing design in your house? Do you run through your best friend's place screwing around with his sinks and toilets while he's in the shower?

It's easy to compare two software programs to find a less buggy option, however it's hard to compare two houses to find a less buggy option.

Re:Space Shuttle computer has 1MB of RAM by kjhgfvgbjnm on Monday March 29, 2010 @02:20PM (#1227157)
The Burj Dubai, like any other structure is full of bugs.

The point of engineering is to make a system that is resilient to a certain level of faults. That's why the tower doesn't collapse if there is a 0.1 mm crack in one of the bolts.

Re:Space Shuttle computer has 1MB of RAM by Groxx on Monday March 29, 2010 @02:25PM (#1227175)
It also depends on how you define a "bug". A car that crumples too much and injures the driver when hit at this angle or that angle within these speeds could be considered a bug. In which case, counting the number of knobs that fall off, plastic that cracks, and parts that wear out prematurely, not to mention discoveries of toxic fumes / paint / etc, cars do have thousands of bugs.
Re:Space Shuttle computer has 1MB of RAM by kjhgfvgbjnm on Monday March 29, 2010 @02:40PM (#1227200)
The main problem with software 'engineering' is the fragility of software. In a structure you know there will be cracks, so you choose a material that is ductile enough that a crack can't grow to dangerous size in the lifetime of the component. The problem with software is that generally a single bit wrong is a total failure.

I was involved in a case with a turbine blade fracture. The user claimed that there must have been a flaw, and yes the crack must have started at a single atom sized crystal flaw in the meta. But the choice of alloy was such that the crack would have grown at a rate which means it was under the failure size for at least twice the inspection interval - where the customer missed it.

Re:Space Shuttle computer has 1MB of RAM by abstractbill on Monday March 29, 2010 @04:00PM (#1227406)
The problem with software is that generally a single bit wrong is a total failure.

This doesn't mesh with my experience to be honest. I often come across code that contains nasty bugs but is still somehow working accidentally. And even more often, there are bugs that stop just one feature from working while the rest of a large system pretty much acts as if the bug didn't exist.

Re:Space Shuttle computer has 1MB of RAM by khafra on Monday March 29, 2010 @02:50PM (#1227230)
Perhaps the problem with software is that, after the original QA process, there's seldom a regular inspection except adversarially.
Re:Space Shuttle computer has 1MB of RAM by dkl on Monday March 29, 2010 @04:53PM (#1227526)
The door knob example is terrible. How about this: an office that is either too hot or cold? Would that qualify as a bug? I think it does, and it happens all the time in new buildings.
Re:Space Shuttle computer has 1MB of RAM by nostrademons on Monday March 29, 2010 @11:35PM (#1228273)
Tunnels in Boston or bridges in San Francisco, however...
Re:Space Shuttle computer has 1MB of RAM by andr on Tuesday March 30, 2010 @03:14AM (#1228588)
Last week all the public parts of the Burj Dubai were closed for maintenance. I guess they did have some bugs.
Re:Space Shuttle computer has 1MB of RAM by rbanffy on Tuesday March 30, 2010 @07:03AM (#1228797)
That's just a bad excuse.
Re:Space Shuttle computer has 1MB of RAM by pmiller2 on Tuesday March 30, 2010 @07:49AM (#1228861)
>That's just a bad excuse.

No, it's good economics. In commercial software development, after a certain point, the marginal benefit of fixing bugs divided by the marginal cost of doing so starts to exceed what the market will bear for consumer software. We literally get what we pay for when it comes to commercial software.

Re:Space Shuttle computer has 1MB of RAM by rbanffy on Tuesday March 30, 2010 @09:58AM (#1229131)
I believe we have come a long way from the days when the shuttle computer was cutting edge.

In fact, it's a bit of a shame we still haven't got how to make correct software, but it's no way impossible and should be getting cheaper by the day.

I think should is the important word here. It's not and we have nobody but ourselves to blame.