Slashdot Mirror


User: AlgorithMan

AlgorithMan's activity in the archive.

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

Comments · 949

  1. Re:Comparison on Scientists Crack 'Entire Genetic Code' of Cancer · · Score: 1

    I'd bet comparing them is NP-Complete and even W[1] Hard or W[2] Hard (looks like an instance of Max-Clique or Dominating-Set)

  2. Re:Unexpected error? on Office 2003 Bug Locks Owners Out · · Score: 1

    you misunderstood me. I didn't mean that ironic, I'm serious, You taught me something I didn't know and I thanked you for that.

  3. Buggy or Beta? on Are Complex Games Doomed To Have Buggy Releases? · · Score: 1

    I remember reading an article by a company which developed a racing game for XBox360 (i don't remember the company, nor the title of the game). They said that Microsoft pressured them to release the game 6 weeks early and finish it later via patches

    The best programmers can make mistakes, shure, but when you start deliberately selling betas and turning them into final versions later, just so you can cash up earlier, at the expense of the customers satisfaction, that goes too far, imho.

  4. Re:Unexpected error? on Office 2003 Bug Locks Owners Out · · Score: 1

    returns a pointer to a static, but per-thread thread-local, errno variable

    oh my god! this information just opened my eyes! seriously! I was wrong all the time about the "crappy" socket interface, I can't believe it! everything makes sense now! thank you!

  5. Re:Unexpected error? on Office 2003 Bug Locks Owners Out · · Score: 4, Interesting
    this is simple. Error handling basically works like this

    try {
    command1
    command2
    command3
    }
    catch(DiskFullError E) {
    messagebox("not enough free disk space\n"+E.ExtendedInformations()); // this is an expected error
    }
    catch(NoWritePermissionError E) {
    messagebox("you don\'t have write permission in that directory\n"+E.ExtendedInformations()); // this is an expected error
    }
    catch(DirDoesntExistError E) {
    messagebox("the directory you chose doesn\'t exist\n"+E.ExtendedInfo()); // this is an expected error
    }
    catch(...) {
    messagebox("an unexpected error occured"); // this is where the unexpected errors are handled
    }

    you try to do some stuff and if something goes bad, the codes throw an exception, which can be caught by the error-handlers. and if there is no error handler for the error, then this is an unexpected error. this would crash the program, unless you do catch(...), which can also catch unknown exception types
    well, in redmond it goes more like this (see MSDN)

    if(!command1) {
    switch(ERRNO) {
    case 1: messagebox("Error code 1, contact your vendor"); break;
    case 2: messagebox("Error code 2"); break;
    default: messagebox("unexpected error");
    }
    }else {
    if(!command2) {
    switch(ERRNO) {
    case 2: messagebox("Error code 2"); break;
    case 3: messagebox("Error code 3, press F1 to see some useless hexadecimal bytes"); break;
    default: messagebox("unexpected error");
    }
    } else {
    if(!command3) {
    switch(ERRNO){
    case 1: messagebox("Error code 1, contact your vendor"); break;
    case 4: messagebox("Error code 4, why don\'t you switch to linux?"); break;
    default: messagebox("unexpected error");
    }
    } else {
    // wohoo, nothing went bad!
    }
    }
    }

    if something goes bad, a global variable (ERRNO) is set to some error code and the functions return false. the default case takes all the values of ERRNO, that are not handled explicitly Yes, this is prehistoric and non-thread-safe error handling, but what do you expect from the masters of disaster?

  6. wait a minute... on Microsoft Invents Price-Gouging the Least Influential · · Score: 1

    Isn't that some sort of pyramid scheme?

  7. What the summary didn't mention... on Malware Found Hidden In Screensaver On Gnome-Look · · Score: 5, Informative

    What the summary didn't mention: the screensaver has been there less than 24 hours.
    see pro-linux.de (german)

  8. Okay then... on Microsoft To Get Malware Bailout In Germany · · Score: 1

    Okay then - I'll start selling cars (car analogy FTW!)... I don't know anything about cars, but OTOH Microsoft doesn't know shit about Operating Systems, so aparently that's okay... I'll just sell cardboard cutouts and my government will pay for the fixes...

    PROFIT!

  9. Re:I have 3 real issues with manpages on Is Linux Documentation Lacking? · · Score: 1

    didn't know that... but i guess that won't help all that much if you don't already know what you're looking for... I'll keep it in mind though. thank you

  10. Re:I have 3 real issues with manpages on Is Linux Documentation Lacking? · · Score: 1

    I can't read the whole thing until I come across the one thing that it was I wanted to do.

    IF you still remember what it was, you wanted to do at that point... ;-)

  11. don't tell me what I want to do on Windows 7 Under Fire For Patent Infringement · · Score: 1

    you actually want to cheer for Microsoft this time as Implicit is nothing more than a patent licensing company (troll) and has done battle with Sun, AMD, Intel and NVIDIA.

    I'm neither cheering for Microsoft nor for Implicit... I'm just watching with a bowl of popcorn...

  12. I have 3 real issues with manpages on Is Linux Documentation Lacking? · · Score: 4, Insightful
    although I like manpages and do consult them, I prefer googling stuff, because three problems you often have are
    • no examples
    • the parameters are sorted alphabetically - so you might have to scroll through 50 screenpages of obscure parameters that you most certainly never need until you find the one you're looking for (IF you are still reading at that point)
    • bad descriptions like --fluxcompensator activates fluxcompensation

    just put some real-world examples at the beginning of the manpage and you're good...

  13. wait a minute... on Somali Pirates Open Up a "Stock Exchange" · · Score: 1

    it's not april 1...

  14. Is this a joke? on Ethics of Releasing Non-Malicious Linux Malware? · · Score: 1

    so you can write malware for linux - no big deal - connecting to IRC and waiting for instructions like DDOS'ing some server and sending mails, shure that's possible. The reason why linux is so secure is not that malware was magically "impossible" (which would contradict Rice's Theorem btw)

    if you have access to a machine, then OF COURSE you can install malicious binaries, only an idiot would claim the opposite! GETTING that access is the problem! and default-users don't have access to system directories, so they can only infect their own account (plus: since binaries by default don't get the execute-bit, it's quite hard to make someone execute your binary by accident e.g. by making it look like a word-document or a video or something... you have to get him to chmod +x your binary, and THAT is no accident anymore)

  15. Google wants to ruin Microsoft's OS business!? on Google-Microsoft Crossfire Will Hit Consumers · · Score: 1

    Google wants to ruin Microsoft's OS business

    have you actually TRIED chrome-os? that's not an operating system, its a fullscreen browser... that might be enough for some netbooks or smartphones or maybe extremely undemanding PC users, but I doubt that it will have a serious impact on windows' sales...

  16. Re:interpretative dance on Microsoft's Top Devs Don't Seem To Like Own Tools · · Score: 1
    maybe i'll give you a some details
    • brainfuck: an extremely limited assembler that only has 8 instructions or so
    • whitespace: like programming in 1's and 0's, just that it's spaces and tabstops instead
    • shakespeare: your program is a theatrical play, the variables are the actors, to declare them, you say they "enter the stage" etc
    • piet: your programs are images (it's like a 2D turing machine) and having "pretty" sourcecodes is the main goal - there is a program that writes "Piet" and looks like a painting by Piet Mondrian...

    so if SUCH programming languages exist, I don't think interpretative dance programming languages won't be made...

  17. interpretative dance on Microsoft's Top Devs Don't Seem To Like Own Tools · · Score: 1

    developers will soon have to use Natal to "write programs through interpretative dance.

    that's a funny image, but after I've seen programming languages like brainfuck, whitespace, shakespeare or piet, I'm pretty sure that some day there really will be a programming language like that...

  18. Some more details on Wikipedia Disputes Editor Exodus Claims · · Score: 1

    heise (german) reported this, too, but they had some more details about the numbers:

    basically what wikipedia says is, that if someone just removes a typo and then never edits anything again, you shouldn't count him as leaving editor... wikipedia's own statistic counts people who stop contributing after making at least 5 changes.

  19. Enough is enough on 30,000 UK ISP Users Face Threat Letters For Suspected Illegal File Sharing · · Score: 1

    I just wrote a mail to TPB and told them, they should promote anonymous P2P... a suggestion by them should skyrocket the transfer-rates (which is the major problem with anonymous P2P so far)

  20. Re:"racially offensive"? on Google Apologizes For "Michelle Obama" Results · · Score: 2, Insightful

    There are differences between blacks and whites.

    I disagree... because I'm not a racist like you...
    I want discrimination to end, you are one of the people who keep it alive, because you just can't stop classifying people based on their skincolor...

  21. Re:"racially offensive"? on Google Apologizes For "Michelle Obama" Results · · Score: 1

    IF the intention WAS to be racist (to insult blacks in general and not michelle obama in particular), then WHY would the creator have used a picture of her and not of any other non-famous black person?

    saying "this is different from bush/chimpanzee" just because michelle obama is black, implies that black and white people are not equal. YOU are telling us to make differences based on skincolor, which is the exact definition of discrimination. YOU are telling us to discriminate!

  22. Re:"racially offensive"? on Google Apologizes For "Michelle Obama" Results · · Score: 1

    my response to a different reply applies to you as well...

  23. Re:"racially offensive"? on Google Apologizes For "Michelle Obama" Results · · Score: 2, Insightful

    If that picture was made to insult black people in general (not michelle obama in particular), then why did the creator use a picture of her and not any other (non-famous) black person?

    I shrugged my shoulders when I saw that picture, just like I shrugged my shoulders when I saw the bush/chimpanzee pictures and you know why? because I deeply believe that we should get rid of discrimination. The meaning of that word is "making differences between races/genders/etc" in any way, but I think many people believe that "putting an end to discrimination" meant something like "taking revenge for what happened"

    When you tell me I should go nuts about that picture, but not about the bush/chimpanzee pictures, you are telling me to discriminate (agains white people). Its people like you, who just can't stop using the skincolor to classify a human being, that keep discrimination alive, so go and f... yourself!

  24. Re:"racially offensive"? on Google Apologizes For "Michelle Obama" Results · · Score: 1

    so what you are saying is that you don't believe, that black and white people are equal?

  25. "racially offensive"? on Google Apologizes For "Michelle Obama" Results · · Score: 5, Insightful

    why is that picture "racially offensive"?
    because the portrayed person is black?
    what if it was made by a black person?
    do we know it wasn't made by a black person?
    would it be racially offensive it it portrayed a white person and was made by a black person?

    if we want to reach REAL equality between all races, this also means we mustn't go nuts about an insult to a person from one race while not caring about the same insult to a person from another race (remember the bush/chimpanzee pictures?)