Slashdot Mirror


User: Cuthalion

Cuthalion's activity in the archive.

Stories
0
Comments
880
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 880

  1. Re:So does everyone else. on Latest Proposals for C++0x · · Score: 1

    Opererator overloading is great for generics. Because then stuff can work on built-ins and user defined types the same. Because operator(const T &, const T&), and so on, all without writing two versions of each template.

  2. Re:learn from Java on Latest Proposals for C++0x · · Score: 1

    casting containers of derived to containers of base is bad. here's why:
    class Animal {};
    class Aardwolf: public Animal {};
    class Whale : public Animal { public: void Swim();};

    vector<Whale> vWhales;
    vWhales.push_back(Aardwolf());
    // Error, Aardwolves aren't whales!

    ((vector<Animal>)(vWhales)).push_back(Aardwolf());
    // No compiler error; Aardwolves ARE animals
    vWhales.back().Swim(); // Aardwolves can't swim!!!

  3. Re:Interesting, but some methodological holes on Addicted to Information? · · Score: 1

    Yes, it's three times as toxic as table salt!

  4. Re:I doubt it's for his pocket on Microsoft Considers $10 Billion Dividend · · Score: 1

    The way I see it, the tax laws should encourage companies to pay dividends, because dividends directly ground the stock market in reality. Without them, there are like 6 layers of economic indirection between businesses making money and their stock value, which indirection enables bigger bubbles and shadier accounting.

  5. Re:They can be hard on Mastering Regular Expressions · · Score: 1

    That's why we use parsers to write compilers and not regexps

    Actually compilation typically involves two stages - tokenization and parsing. Tokenization is where the compiler realizes that 66 is an int and printf is an identifier and "\011unix\010" is a string. This frees the parser to worry about the upper level structure, such as whether x = (4; means anything.

    Generally the tokenizer is implemented as a regular expression parser, and the 'higher level' parsing uses some context free language parsing technique (table or recursive descent or whatever)

    The reason is that the number of tokens is a lot less than the number of bytes in the file and regexps are a lot easier to parse than context free grammars.

    Comment stripping (and also literal parsing) is in the tokenizing stage, which is why c doesn't allow nested comments - it's impossible to ensure that arbitrary numbers of /*'s and */'s match with a regexp.

  6. Re:White collar WWE on IBM Responds To SCO: Business As Usual · · Score: 1

    World Wildlife Entertainment, I think.

  7. Re:Whats the chance..... on Ogg Theora Alpha 2 Released · · Score: 1

    it uses WINE to run the Windows quicktime codecs

    Having worked with the QuickTime for Windows APIs I find this especially hilarious. When Apple ported QuickTime to Windows they basically just wrapped up the Windows objects in Mac objects. So you have to talk about PixMaps and GWorlds and UPP's and Events and Task functions. So now you're wrapping THAT up and sticking it on Linux.

    How hideous.

  8. Re:Chairface wrote his name on the moon... on Photos from the Surface of Venus · · Score: 1

    Chairface wrote some of his name on the moon

  9. Re: yeah, sure on Justin Frankel Resigns From Nullsoft · · Score: 1

    There is a skin for WMP9 that looks like WMP6.4. It's called "classic" (NOT "windows classic"). If you also go to the configuration screen and deselecting "display anchor window when in skin mode" from the Player tab, it's pretty similar, UI-wise. But you have to go to some ugly mode for playlist support.

  10. Re:This isn't all apparently... on Inside Microsoft's New F# Language · · Score: 1

    Imagine, for a minute, you're a language design guru. You got hired for those skills, and it's what you like doing. Should your employer ask you to a) design languages, b) specialize in security and reliability and rework existing products to use your newly learned knowledge?

    Should Microsoft stop all other products and assign all their engineers to making windows Robust? Even if it DID help make windows more robust, it would be a really stupid business decision to focus exclusively on a single task.

  11. Re:How far we've come on Compute Google's PageRank 5 Times Faster · · Score: 3, Funny

    Your search - "world wide web" - did not match any documents. 0 pages searched in 6.31 seconds.

  12. Re:Here's a summary... on Microsoft Bites Apple, Apple Bites Back · · Score: 1

    Those are the standard trolls.

  13. Re:Overhyped... on The Debate about Social Software · · Score: 1

    That post isn't getting you laid.

  14. Re:It's good that rewrites are hard to justify! on Justifying Code Rewrites? · · Score: 2, Insightful

    Gee, it only took them like 5 years. Could they have made Netscape better in 5 years without starting over from scratch, during which time they lost the browser war and were acquired by AOL? Is Netscape, as a company, successfull?

    I would say the answer is no.

  15. Re:because... on Why is Everyone Still Stuck in QWERTY? · · Score: 2, Informative

    Quay is typable with only the left hand on a Dvorak keyboard. So is pope, pupae, pike, and (probably) others. Note that the calculator on that page is not very good - it is unable to say 100% for "same hand". Try typing the word "i" for an example. I'm not saying whether QWERTY is better, just that your facts are wrong.

  16. Re:Surprise, surprise. on GeForce FX 5200 Reviewed · · Score: 1

    The RAMDAC is only the part of the card which converts a digital signal to an analog VGA signal. A few extra megahertz here means that the card can output a higher resolution. This is not what anyone cares about, it's the GPU clock frequency (well, that and the memory clock) which probably you meant to refer to.

  17. Re:uhh on A New Meaning For Geotargeting At Monster.com · · Score: 1

    They should be allowed to do all kinds of dishonest and scuzzy things.

    That doesn't mean they should do them.

  18. Re:cheap, clean geothermal energy... on Hydrogen Fuel Station in Iceland · · Score: 1

    no no, it's "a whole nother Dakota"

  19. Re:Correlation != Causation on Trace Levels of Lead Shown to Lower IQs · · Score: 1

    I've found that correlation actually causes causation. Just think about it. Almost every time two things have a causal relationship, there's a correlation between them!

  20. Re:engine coders will never obsolete on Carmack On Doom III And The Evolution Of Graphics · · Score: 1

    I still haven't forgiven him for Ken's Labyrinth.

  21. Re:Scroll wheels are indispensable on 3-button Optical Mice? · · Score: 1

    Actually the scrollwheel is typically implemented in hardware as sending button 4 and 5 clicks for scrolling down and up. Probably your extra buttons are 6 and 7. :D

  22. Re:Printers, feh! on Are Printers What They Used To Be? · · Score: 1

    I used to work at Colorspan, a manufacturer of high end wide format color printers. Their target market was Kinkos and similar customers, since their printers cost upwards of $30,000. But all of their printers actually did have little CCD cameras for calibration. I even wrote some of the software to do it too.

  23. Re:The 'MS rep' isn't an employee on Microsoft Pirating Their Own Software? · · Score: 1

    Also holds true for cheese. Or underarm deoderant.

  24. Re:Brief comment on The Clueless Newbie's Linux Odyssey · · Score: 1

    So MSDOS 1.0 didn't support directories at all. By the time MSDOS 2.0 came around, there was already an existing application base that used / as an option prefix (like - under unix!) and so they chose \ to separate directories so they could tell options from filenames, without breaking all the existing programs.

    md and dir are totally just "if you know it you know it, if you don't know it, you probably won't guess it", just like ls and mkdir.

  25. Re:La has a Fault? on Newly Discovered Fault Under L.A. · · Score: 1

    Cost of damages and strenght of earthquake aren't linearly related I'm pretty sure.