Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment Re:Early fragmentation (Score 2) 492

Pascal, especially the versions running on the UCSD P-Systems, was once the largest install base of computer software.
http://en.wikipedia.org/wiki/U...

Your analysis is wrong. No one really knows why C displaced Pascal, in fact I would say, it was not C but C++.

My judgement is that the high costs of Eiffel and Ada compilers/envirnomnets helped C++ to pave the way.

Around that time (1990 - 1995) we also had a rise of OO and CASE and modeling methods (OMT, Booch etc. and later UML). I assume the focus of modeling tools on SmallTalk and C++ and very soon Java (1997) made it even more troublesome for Pascal.

Back stage the Pascal companies where canibalizing themselves. The winner, the company buying or destroying the competition, simply did not last and got sold, bought out or whatever ... they simply vanished.

The same with C#, the language only exists because MS made a mistake in their EEE policy regarding Java. The arguable benefits of one language over the other where established an half or a full decade later. (None had generics or lambdas when developed ... etc.)

C never had a hughe standard library, it still has not till to our days. so this argument makes no sense at all. Even C++ still lacks standard threading and standard GUI libraries ... I guess one or the other is now addressed by boost and Qt ... but like Apache for Java, this are third parties.

Comment Re:One important use left for Pascal (Score 4, Insightful) 492

Pascal wins over C hands down as soon as you are doing something that is 'business' and not bit shuffeling.

type
      MyStufd is RECORD ....
        END
        MyData is file of MyStuff;
var infile, outfile : MyData;
            data : MyStuff;
begin
      infile := openForReading("filename");
      outfile := openForWriting("anotherfile");
      { read and pick the result to write to outfile }
      read(data, infile);
      if 'data is good enough' then
              write(data, outfile);
end.

BTW, not sure about keywords, I think 'is' is Ada and not Pascal, but you get the idea.

There are plenty of other examples, like packed arrays of records, sets, the clear hierarchy of consts, types and variables, var parameters to procedures etc. etc. The definition of units and the usage of them comes to mind. Yes, you can do all that in C, but you use ideoms and need much more knowledge what you are doing. In Pascal it is super simple to write a 'compilation unit' that is either a program or a (part of a ) library, in C it is not, you ned to know when and why to use extern, static etc.

If you believe C is in any way better than Pascal you can not program ... definitely not in Pascal and very likely not in C either.

Comment Re:Pneumonia can be caused by a virus (Score 1) 673

So? The main reason are bacteria ... the guy claims he has health like an Ox.
So it is extremely unlikely the flu shot caused the pneumonia as he claims. No matter what finally was the main reason in his cause.
The english wikipedia article is btw. simplifying and misleading, I suggest to google for pneumonia and get your own idea via medical papers/sites what the "science" behind it is.

Comment Re:Just Require an IQ Test (Score 2) 673

If your immune system "stormed" after a flu shot, then you are in bigger trouble than you believe.

Anyway, there is no scientific connection between flu shots and pneumonia.

Are you sure you behaved "healthy" after the flu shot or did you live on your "I'm strong as an Ox" card?

If you believe that a flu shot caused, increased or influenced in any way your pneumonia (and you might be right) then I heavily suggest you consult a hospital next time as soon as you feel to get a flu.

Sorry, 8 month illness or recovery after a pneumonia is insane. Without any medicals you recover after 2 weeks, max 3 weeks. If you had trouble 8 month then it likely was resistant to antibiotics which indicates you got it when you got the flu shot. Either by contaminated needles or any other circumstances at the place where you got the shot.

Comment Re:Just Require an IQ Test (Score 1) 673

Flu related complications are usually not happening after a "flu vaccination" but while you have the flu.

Getting Pneumonia from a Flu shot alone -- as the parent claims -- is extremely unlikely. On top of that the claim that he needed 8 month to recover shows that it was much certainly not the vaccination.

It is far more likely that he simply caught a common cold after the shot and that evolved into the pneumonia.

Another option is, that the vaccine was tainted, or that the needle was not clean etc. etc.

Fact is there is no scientific connection between a Flu *vaccination* and a Pneumonia infection.

A Flu *infection* is something different.

Go google: "pneumonia infection after flu vaccination" -- not A SINLGE HIT containing or supporting the idea that a flu vaccine causes/supports pneumonia!

Comment Re:Not sure how this is necessary (Score 0) 323

The TOS of Facebook are not legally binding except (perhaps?) in the USA. They contradict any copyright law un any nation that signed the 'Bern Convention' (which is actually signed by the USA, too.

Regarding the password issue ... in what delusioned world do you live?

Constitution > law > TOS. Yes, in the USA you can craft _valid_ contracts, that are against the law. So the 'equation' above is not perfectly right. However, TOSs usually do not define a legal binding contract, not even in the USA.

If you want to give law advices, I suggest to read the laws. They are usually ad clear as programming code and not that hard to understand.

Alas, the USA have not that much written law ...

Coming back to your last sentence: law enforcement has any legal ground above the TOS of a company.

Comment Re:Design failure (Score 1) 130

The stirling engine needs to survive that temperature (the one of the heat source). That is the main problem.
In respect to a stirling engine, and the needed wattage we talk about two things: the engine and the generator. (After all the engine has to move the generator to produce the electric power).
Then we have to check how much heat we can radiate.
Because the temperature of the radiator will be the 'low temperature' of the Carnot efficiency calculation.

I mean: generating electric power and designing a system based that 'works' is the easy part. A getting it sized to fit into a space craft comes next. Efficiency is the result of the first two steps, and actually it is just a number for geeks.

Who cares if device A costs so much money and space and weight and has an efficiency of X when device B is bottom line cheaper, fulfills the requirements (creating electric power for so long with so many watts) but is 'less efficient'?

I guess you have a point that stirling engines are still very underrated regarding niche situations for power generation.

Slashdot Top Deals

Happiness is twin floppies.

Working...