Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror

Comment Re:Amazing (Score 1) 134

WindBourne said,
"As such we NEED multiple architectures ... "

      I agree with you. Yet it takes a look at history to see how we got here.

"The above will prevent Congress from doing what it is doing AND will prevent an accident in a rocket from shutting down the entire space program."

Your point here escapes me. Congress controls spending; that's in the Constitution. How could we prevent Congress from doing anything? Recently, Bush's space policy (go back to the Moon, etc) was a good one. However, Congress did not fund it. While I see you faulting "neo-cons", the truth is that the bean counters at OMB (Office of Management & Budget) have control. When the Republicans were in office, no funding. Now the Democrats are in office. No funding.

Obama has had a year to express interest in the space program, or even allocate keep-the-workforce-alive funding.

You wrote, "Nixon killed Skylab because he did not fund NASA properly for building the Shuttle after shutting down Apollo in 1970."

        I came across a detailed and well written history of the Space Shuttle. It's a detailed history of the winding down of Apollo, the effort to fund a Mars mission, a space station, and many different incarnations of the Shuttle. The OMB constantly shows up in these decisions. I highly recommend this history.

  You can find it at:

      http://history.nasa.gov/SP-4221/contents.htm

As an example, here is a quote from that history concerning Nixon's decision to approve the Shuttle:

"Why, finally, did Nixon decide to build the Shuttle? One must not underestimate the tendency of the federal government to look after its own; few major Washington programs reach an end, to vanish into the night. Nixon had no wish to shut down piloted space flight; he wanted to keep it alive. He also was concerned over aerospace employment. Yet he could have addressed such issues with nothing more than Big Gemini riding atop a Titan III-M, to fly occasionally and show the flag.

The key to the Shuttle was its well-founded prospect of low cost and routine operation. This promise did not rest on the cost-benefit studies of Mathematica, which the Flax Committee largely refuted and the OMB rejected out of hand. Rather, it rested on technical developments: automated onboard checkout, reusable thermal protection, rocket engines with long life. No OMB internal memo or White House report ever denied this promise; only experience would do that, years later. The Shuttle thus could find its way to approval, within a nation and government that remained willing to embrace the new."

Thanks,

David Small

Comment Re: So what? Okay, here's "what". (Score 1) 496

... The discussion is wobbling around Microsoft's coders and tools and why machine code isn't necessary anymore ...

      And here we were just discussing yet-another-chip-bug in an Intel chip which affects, as they say, 'three guesses and two don't count', yes, a Microsoft product. (Remember? Something about timer interrupts which can get stepped on by other timers, hanging the system. It's a known bug. In fact, there's 69 pages of known bugs in the i7 chip "errata" sheet.)

          I would (gently) ask this: Which programmer is more likely to make the mistake of relying on this timer:

Programmer A, who learned C++ in college and is wizard at high level abstraction, or,

Programmer B, who has gone down to the bare metal and programmed chips?

Who is more likely to actually read the errata sheet that says, 'Don't use this frickin' timer'?

          My answer is that people who have read chip datasheets (and errata sheets!) before are far more likely to read them again before trying to use that (broken) timer on the i7 chip.

          Something else which really troubles me is how hard this bug may have been to find. Windows crashed? And the processor hung, not "leaving any tracks" in memory? I will just mention that this has happened to me a time or two (*cough, cough*). Just realizing it was a seperate and new bug was probably awful.

          Now imagine you're the poor slob at Redmond who has to fix this! You're told: "Windows Server crashes. Fix it." What are you gonna do? If you don't have an in-circuit emulator that can "watch" the crash, you are in for some real debugging hell. I've been there.

          Someone had to fix this problem and make a "hot patch". What language do you think they used, APL?

          Someone still has to read the datasheets that chip manufacturers put out, in particular the North/Southbridge chipsets. The Linux people are getting really good at it.

          People overclock RAM. They have to understand enough about SDRAM to do that. That's machine level clock-cycle stuff. They also overclock CPU's and use amazing cooling systems (anyone for liquid nitrogen?).

          Back When Dinosaurs Ruled The Earth and I was in college, I was told that assembly was on its way out and a High Level Language, PASCAL, was going to be the standard. This was 1976-1980.

          It's been awhile since I've even seen a PASCAL compiler, but the Visual C debugger shows me RAM, disassembly of opcodes, and all the Intel registers step-by-step ... and man, does it ever help to know what the hell each assembly instruction does.

          There's a time and place for high level abstraction. And there's a time and place for talking to the chips. I suspect that people's opinions about this are something like the C "brace wars" (the "proper" placement of "{}".)

          Enjoy --

          Dave Small

Comment Re:Isn't it really a bug in Windows Server? (Score 1) 154

      Tom, you might want to look over the
"Intel (r) Core (tm) i7-900 Desktop Processor Extreme Edition Series and Intel (r) Core (tm) i7-900 Desktop Processor Series".

      It has around 69 pages of ... well, I'll let Microsoft say it ... the processors "may contain design defects or errors known as errata..."

      It's dated November 2009.

      Here's a URL:
              http://download.intel.com/design/processor/specupdt/320836.pdf

          Thanks, Dave

Comment Re:and NASA (Score 1) 165

Rather than "hate" or "like" NASA, there's a very well written history of how Apollo was compromised (Apollo 18-20 were cancelled), and how the Shuttle ended up with solid rocket boosters, at: http://history.nasa.gov/SP-4221/contents.htm .

It boils down to: This was what NASA could do with the money given them by the OMB (Office of Management and Budget).

I found this process to be quite interesting.

From a historical point of view, history seems to be repeating itself. Another "outside" committee has looked into NASA's plans and other options. The committee has priced the options for lowest possible, plod along, and even (remarkably) do something worthwhile.

I assume "lowest possible" will be picked.

I recommend the above hyperlink to anyone.

Thanks,

      Dave

Comment Re:Did someone say "programmable platforms"? (Score 1) 580

...quote from parent

"However, in these modern times with object-oriented multithreaded programming, BASIC is kind of a throwback, don't you think?"...

          I would say that different computer languages tend to have different strengths. People are different and they naturally gravitate to different languages, over the dead bodies of their teachers, but it remains true. Knowing several computer languages never hurt anyone. And I'll happily mention that BASIC really does have some strengths. No, I don't think Linux should be written in BASIC. But --

          I've found over time, that for me, BASIC can be really quite useful for whomping up little things, utilities that I need "Right Now, Just This Second". The syntax is friendly and easygoing, and it doesn't throw "avalanche fits". And if I mess up a line and something is wrong, figuring out what's wrong is not an exercise in puzzle solving, (not that I'm referring to "Macho C Coding" or anything [dark muttering] ).

          Basic's fast enough for a lot of things. And I should mention that XBASIC, over at Sourceforge, has an astonishing, superb compiler that makes very, very fast 80x86 code indeed. If you'd like a pleasant surprise, give it a try.

        I would say there's a place for BASIC. Don't underestimate the people how many people really like it. Possibly we should be dragging them, kicking, screaming, their fingernails digging into the wood, into C++ classes.

        But possibly BASIC is all they have time to learn, and all they really -want- to learn, about computers. They may be heathens, but they are also programmers.

        These are just my thoughts. Feel free to disagree with me; I welcome thoughts. I clearly learn the most from people who disagree with me!

        Thanks,

        David Small
davetracer at-sign aol DOT com

         

Comment Re:Typeset but not printed (Score 1) 271

I've had technical books published by various publishing houses.

What troubles me these days is seeing other author's books being scanned in and put up for download as PDF's up on the Net.

I have no problem with open-source programming if the programmer wants to.

      But I think most programmers would be rather annoyed to find their source code published to the Net without their permission, and without any attempt to get their permission.

Authors feel the same way. Writing a book is generally a hell of a lot of work.

    -- thanks,

      Dave Small

Comment A lot of zeros (Score 2, Insightful) 575

To me this seems a pretty easy answer once you look at the raw numbers.

http://en.wikipedia.org/wiki/Uranium-235 shows that when one atom of U-235, once fissioned, releases 202.5 MeV of heat. That's 202,500,000 electron volts, a.k.a., one huge amount of energy.

An atom of carbon when burned (C + 2 Ox->COx2) releases a few electron volts of energy and gives us carbon dioxide, which is said to be a "greenhouse gas". (I'm not debating that point).

Let's just do it with money, okay?

Hold an atom of carbon in one hand. Hold an atom of uranium in the other hand. The carbon's worth a few dollars. The uranium's worth Two Hundred Million Dollars. Which one do you pick? If you pick uranium, you just hit the Lotto Jackpot!

Bear in mind that you have to get enough of either to meet the energy needs of the country, and it's very hard to get enough coal, and much easier, by a factor of two hundred million, to get uranium.

      Jimmy Carter made the unfortunate decision (funny how those words appear next to his name) not to include used fuel rods in reprocessing. There's a lot of energy there awaiting.

I think what we ought to do as a country is swallow some pride, go to France, which gets about 80% of its energy from nuclear, and say, "Obviously you have a well debugged design. Help! Show us how to do it!" The French do it right. You know how useful debugged code is.

        Thanks,

        Dave Small

Comment Re:bogus rationalizations (Score 1) 199

This is terribly sad.

This is the end of Manned Space Flight for the United States.

If you, or your children, want to see the launch of a manned American bird, you'd better do it immediately, in the remainder of 2009 or 2010. You have nine Shuttle launches left.

NASA has been promised funding sufficient for nine more Shuttle missions to finish the ISS, and that is all. (2009 & 2010). This is essentially funding for the coffin and headstone.

One year from now, we will be back to 1957. The Russians will still have their heavy-lift rockets and Soyuz capsules, and we won't have anything. We'll have to beg/buy rides from Russia to get to the ISS. Should the Russians decide they're not in the mood, they can easily say: "And what are you going to do about it?".

The Russians do not have a good "Partners in Space" history. Remember when the ISS was very nearly lost to [Russian] computer problems, the Russians were swift to blame the Americans for "bad power". When the Soyuz's explosive bolts failed, the Russians blamed the ISS for mysterious "plasma discharges" that, somehow (don't ask me how) damaged explosive bolts.

Now NASA is trying to build its "Ares-1" rocket. Two stages. Its lower stage is a Shuttle SRB (Solid Rocket Booster) with an extra solid segment, which means higher pressures, more joints, and this time the vibration is directly transmitted to the backs of the crew.

(I wish someone would tell me why we're not just using the Saturn V main booster technology for the first stage. It has the advantage of being repeatedly tested and it works. Is it just too easy or something?)

It's revealing to see what former NASA officials say when they are not muzzled anymore:

        Former NASA Administrator Mike Griffin said in a recent speech the projected funding shortfalls threaten America's leadership in manned space flight.

        "In a democracy, the proper purpose of the OMB (Office of Management and Budget) is not to find a way to create a Potemkin Village at NASA. It is not to create the appearance of having a real space program without having to pay for it. It is not to specify to NASA how much money shall be allocated for human lunar return by 2020. The proper purpose of the OMB is to work with NASA, as a partner in good government, to craft carefully vetted estimates of what is required to achieve national policy goals. The judgment as to whether the stated goals are too costly, or not, is one to be made by the nation's elected leadership, not career civil service staff.

        No one can wrest leadership in space from the United States. We're that good. But we can certainly cede it, and that is the path we are on."

Something like the Ares-1 design has happened before; see the history of the Space Shuttle:

http://history.nasa.gov/SP-4221/contents.htm

You will find that what Congress/OMB and Obama are doing ia just about precisely what Congress/BoB and Nixon did.

Funding was cut right through the fat, muscle, and into the bone, and the only way NASA could figure out to launch anything was using solid rocket boosters (SRB's), which add significant vibration and which cannot be throttled, or switched off and reignited. Many engineers left NASA when the decision to use SRB's came down.

A stunning quote from one Douglas Cookie, 'Associate Administrator for the Exploration Systems Mission Directorate at NASA HQ', is:

      [Cooke] said the biggest single reason he has favored Ares 1 over competing designs is _crew safety_.

      "That's in part due to the Ares 1 first stage, an extended five-segment shuttle booster. Two four-segment boosters are used for every shuttle flight and in 125 missions to date - 250 booster flights - only one booster has ever failed, the one that doomed Challenger.

        "I personally believe the risk is lower for the crew on this vehicle and that to me is the bigger of the discriminators," Cooke said.

          I have news for Mr. Cooke. Many SRB's showed blow-by through the O-rings. Some came within a few seconds of a loss of vehicle. This showed something was very wrong, but NASA began to literally "normal-ize" it; since nothing awful happened, blow-by began to be considered "normal", or at least, "tolerable". The Morton Thiokol engineers were worried sick about it. NASA got "Go Fever" with the Challenger launch and there was enough blow-by to damage the vehicle, and good-bye. And, actually, the two SRB's survived the loss of the Challenger and had to be destroyed by the range safety officer, so he's wrong twice.

      NASA also continued to see damage to the heat shield tiles, and again, "normal-ized" it, until a hit on the leading edge of a wing killed Columbia. NASA engineers were concerned about possible damage and asked for photographs to be taken, possibly from DoD sources, but NASA management ... could that have been Mr. Cooke? ... turned them down.

          Finally, now it's coming out that the Ares SRB has big vibration problems. Quote, "NASA admitted that this problem is very severe, rating it four out of five on a risk scale". I wonder if Mr. Cooke was aware of this when he said that "crew safety" was his primary concern.

          I think Mr. Cooke ought to be put onboard one of the early Ares test flights, with all sorts of sensors wired up to him, to see the effect on humans of severe vibration. (There is no need for brain wave sensors, as there are none present.)

          I was born in 1958, as was NASA. I remember that "Star Trek" was on TV when we were launching Gemini and beginning to test Apollo.

          Stripping NASA of $3 billion so that it can be given to political groups, for example, to jigger the 2010 Census, is in several ways a terrible waste of needed money. This is short sightedness at its worst.

        Thanks,
          Dave

Comment Or just put on Neil Young Live. (Score 1) 233

Sure, I "get" the rational answers about clearing your mind and letting your subconscious work on problems and stuff. Then there those other problems. When the network is down for no discernible reason. When it's a "bad day".

Here's a very weird bit of magic to know about. I know how weird this is, but it works. Oh, ye Gods, does it work! I have come to absolutely hate doing it, but, it just [dammit] works.

You won't believe it until you try it, and then you, too, will (a) hate it and (b) see it work.

Get Neil Young's "Live Rust" album. It's live, so studio engineers haven't fixed up all the mistakes.

Instead of hitting notes, Neil... shotguns notes, all around them. For some awful reason he writes songs on the very wobbling top edge of his vocal range. He's just one of those people who should be banned from singing the songs he writes.

The lyrics are really depressing. Cortez is massacring the Mayans. We got Mother Nature on the run. It's better to burn out than to fade away. And his favorite song topic, band people dying of overdoses: Every junkie's like a setting sun. Heard that he died, out on a mainline.

(Neil has not made a 2+2 = ? connection yet. If I were in his band and I had to listen to him every night, both (1) heroin and (2) death would look pretty good.)

I discovered this by accident while coding keyboard and mouse drivers. They were extremely hard. I was desperate. I saw one of those skiier T-shirts that says, "No Pain, No Gain", and I logically inverted it to "If Pain, Gain". I looked through my record albums to find True Pain and there was Neil. Put it on side 3 Repeat and started coding.

Six plus hours and 1,500 lines of 68000 assembly later, I was done coding. I finally ran the AS68 assembler on it, and it said back to me: 0 Errors.

YouHaveGotToBeKiddingMeTheresAlwaysErrors. TyposIfNothingElse.

Floating in a sea of shocked surprise, I linked it and ran it, and my God, the keyboard and mouse code worked the first time.

This does not happen. As Luke Skywalker put it, "That's Impossible!" I've been terrified to touch that code.

The Neil effect has continued to work.

Last time I used Neil was on a laptop that WinXP would not install onto. Tried 3 times, the install hung each time. The guy's son Anthony said, "Dave, why aren't you playing Neil Young?" Good point. I put it on. I explained this to the guy. He looked at me like I was insane. I said, "You don't believe it right now. That's okay. You'll see it. Then you'll believe." With Neil wailing away about his first cigarette, and changing absolutely nothing, the XP install went without a hitch.

All I can say is I tripped over it by accident, I don't know how it works, but damn!, it does work. And you'll start to dislike that album as much as I do. Maybe the cost is listening to something you really don't care for. (I should try rap!)

I'm not making this up.

  -- Dave Small

Comment C is real good for machine gunning the foot (Score 1) 612

I tested hundreds of Mac software applications 'Back In The Day'. A bit more than half of all of them banged onto location 0. About 100% of Microsoft Mac apps crashed. This happened to not (immediately) crash the Mac because the Mac just happened to have RAM mapped there, but, since multiple applications were resident in memory, taking turns shooting at 0.Long, "Difficult to debug problems, often not repeatable, soon arose".
[I do love that phrase; it covers so much agony so concisely].

The Mac had a memory heap structure with "handles", which aimed at "pointers", which aimed at "memory blocks". From time to time, just to amuse developers, the Mac would compress memory to get rid of stale stuff. The handles would be updated but, a zero would go into the pointer you were trusting ...

I was busy teaching the Atari ST 68000 computer to be a Mac at the time. The Atari ST had ROM mapped to locations 0-7. It bus-errored every time someone used a Nil pointer. This looked unsolvable unless I wanted to patch two zillion Mac programs.

I finally looked at the problem in a very, very simple manner, and discovered the IW (instruction word) that had caused the crash was on the stack, and the PC (program counter) was a bit past the crash point due to prefetch. A dim flickering flight appeared over my head. What if I "back up" the PC to the Evil Instruction, disassemble it to get its length [I hear you sigh at the thought of writing a disassembler, but I did], advance the PC to the next instruction (so we're just skipping over "the store into 0.Long" here), put all this on the stack, and treat it like a "normal" exception interrupt ... "Return from Exception."

And it worked! The 68000 came back from a crash!

That one thing made all the difference.

To this day I have wondered, though ... if the Atari ST had ROM there ... what happened to all the data written to location 0?

*grin*

David Small

Comment Re:Transmutation of waste (Score 1) 432

Well, depending on the reaction (D+D, D+T, T+T), you get different levels of energy, but in general, nearly all of a fusion reaction's energy goes into making very, very energetic neutrons. At above 1 MeV these neutrons can split even "depleted" uranium or U-238. That's why half the energy from a "fusion" bomb is from fissioning the uranium wrapper, and the fission amount has been as large as 7.5 MT (Castle Bravo).

I haven't seen data on what very energetic neutrons do to isotopes like U-233 or other junk left after U-235 fission; that's one detail the article doesn't go into. I'd sure like to know.

Certainly the heat generated could spin a turbine. Which leads me to ask:

"Spent" fuel casks are typically stored underwater for shielding. If they're as radioactive as stated, they really warm the water up. Why isn't this used to generate electricity?

-- Thanks, Dave

Comment 10^8th is a big number (Score 1) 432

The US was a rich country once. We aren't anymore. Making decisions like "no more reactors" got us here.

The basic deal here is that each U-235 atom that splits yield 170 MeV of energy; 1.7 x 10^8. The average chemical reaction yields a few eV. (Source: Los Alamos Primer, Robert Serber)

As a country we can't afford to throw away fuel which is that much more powerful. It's not only stupid, it's cruel.

For example, we have people working in coal mines because we won't build nuclear reactors. Coal mines are not very safe at all.

About 20% of our electricity now comes from 1st generation nuclear reactors. They're being run past their design life. We need to build more just to replace the old ones, and they need to be 1000 Megawatt size. We really should ask the French, because they have had a lot of success in this area.

People are talking about "conservation". They've been talking about that since the first Earth Day, which I remember. When you add a lot more people, you still need more electricity. Without electricity, we go back a hundred years as a civilization.

It's time to make the tough choices instead of letting them go to the next generation by taking no action.

    -- Dave

Slashdot Top Deals

The major difference between bonds and bond traders is that the bonds will eventually mature.

Working...