Slashdot Mirror


User: Cryptnotic

Cryptnotic's activity in the archive.

Stories
0
Comments
1,364
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 1,364

  1. Re:optimization or beauty on Quake 2 Source Code Released Under The GPL · · Score: 2

    In C, the following for statement:

    for (A; B; C) {
    [body];
    }

    is exactly equivalent to:

    A;
    while (B) {
    [body];
    C;
    }

    I think Pascal does things a little differently, which is why you might have noticed a speed difference.

    Cryptnotic

  2. Re:optimization or beauty on Quake 2 Source Code Released Under The GPL · · Score: 2

    Doh. My stupid less than signs didn't work.

    Oh well, you get the idea.

    Cryptnotic

  3. Re:optimization or beauty on Quake 2 Source Code Released Under The GPL · · Score: 3, Informative

    Perhaps there used to be some other code there in a previous version that needed to be skipped over.

    By the way, the standard POSIX way of handling an interrupted system call is like this:

    again:
    status = select(....);
    if (errno == EINTR)
    goto again;

    Sometimes you don't want to screw around with a while loop.

    Another example is when searching for something:

    while (x) {
    for (i=0; iA; i++)
    for (j=0; jB; j++)
    for (k=0; kC; k++)
    if (something[i][j][k] == somethingelse)
    goto found_one;

    found_one:
    }

    The other way of doing it that I know is making an "int found=0;", then adding "&& (!found)" to each of those for loops and replacing the "goto" with a "found=1". But that's a pain in the ass. It's too much typing.

    Cryptnotic

  4. Re:I like Ultima 7 Black Gate and Serpent Isle on The Best Linux Games of 2001? · · Score: 5, Informative
    I'm a big fan of the Exult project. I think they've done a great job on their interpreter for the old DOS games Ultima 7: The Black Gate and Ultima 7: Part 2, The Serpent Isle. They basically re-wrote the entire game engine from reverse engineered data file specs. And the game engine really is better than the original was.


    Probably the only thing left for them to do is a multiplayer game.


    Cryptnotic

  5. Re:RETURN TO CASTLE WOLFENSTIEN on The Best Linux Games of 2001? · · Score: 5, Interesting
    I must agree. The multiplayer RtCW is quite fast and stable on linux, whereas on WinXP on the same machine (athlon 1.4ghz, ddr, geforce 3), it is glitchy and sometimes slows down for no reason.


    Cryptnotic

  6. SliMP3 and FCC testing? on Slashback: Ford, Buccaneers, Hardware · · Score: 2
    Somehow I doubt that this half-enclosure that they're using is going to allow them to pass FCC testing.


    Although, it does look very cool.


    Cryptnotic

  7. Re:Why is it? on 'Q' Plays US GameCube Games · · Score: 2
    Japan is NOT a small market. Japan is a country of 120 million people, only a little less than half that of the United States. And Japan's consumers tend to be more technically sophisticated than American consumers. Japanese consumers demand all of the features that are included for the Japanese models. There is a conception that the Americans want everything BIGGER and SIMPLER. So for the American market, the products are physically bigger and with less features. There is also the fact that because of having to ship products across the Pacific, they lose money on the shipping, so they can cut the price of the product by removing features and/or making it in a more shoddy factory in China instead of a Japanese factory.


    Cryptnotic

  8. Re:DMCA will never get to the US Supreme Court on U.S. To Drop Charges Against Sklyarov · · Score: 1

    Unless they run out of money or the will to fight in court.

  9. Re:Design Patterns don't live in a language on Damian Conway On Programming, Perl And More · · Score: 1

    It's too bad Perl's OO support is so kludgy.

  10. Freenet! on Affordable Home Backups for 10-100G Systems? · · Score: 2, Interesting
    Use Freenet! Encrypt all your data and publish it on Freenet, using an unpublished key that only you know. Then keep requesting the files every day from various Freenet sites so that it never leaves the Freenet cache.


    I'm not sure if this violates the Freenet code of ethics. But it probably does. And if everyone started doing it, it would probably kill Freenet very very quickly.


    Cryptnotic

  11. Re:Harddrive is ATA password protected on Strong Hints On Flashing Your Xbox · · Score: 1

    You don't even need an expensive logic analyzer.
    You could do it with one of those cool 16 channel HP LogicWave's.

    Cryptnotic

  12. Re:Um, take another look at dmesg on U.S. Playstation 2 Linux Hits the Streets. · · Score: 1

    They switched the design for the later Japanese units too. All the ones after the first few model numbers have the big slot in the back instead of the PC Card slot.

    They actually released two versions of the hard drive/ethernet option (also for the Linux kit) in Japan, one for the PC Card PS2's (a PC Card with a cable to an external box) and one for the internal slot PS2's.

    Cryptnotic

  13. Are you dyslexic? on Nintendo Declares GCN Most Popular Console Ever · · Score: 3, Insightful
    GCN isn't the acronym. What would that stand for? Game Cube Nintendo?


    No, the correct acronym is NGC (Nintendo Game Cube).

  14. Re: plural on McAfee Will Ignore FBI Spyware · · Score: 1
    It's not. It's 4th declension.


    Cryptnotic

  15. Re:[OT] Re: plural on McAfee Will Ignore FBI Spyware · · Score: 1
    What about alumnus -> alumni?


    I'll tell you why. It's because virus in Latin is a 4th declension noun, so the plural is also virus. 2nd declension nouns such as alumnus become alumni for the plural.


    I paid attention in high school Latin class.


    Cryptnotic

  16. Re:Slackware uses ash for toolset on A Real Bourne Shell for Linux? · · Score: 1

    The new Busybox defaults to using ash for its shell, iirc.

  17. Re:X-Box Linux Contest. on XBox Released · · Score: 1
    Dude. You can get blender for Linux. Just go to blender.nl.

    Cryptnotic

  18. Re:And the eBay stupidity begins... on XBox Released · · Score: 1
    Note that there being a winning bid does not mean that the seller is going to get any money or that the buyer ever has any intention of sending the seller money. It's not as if fake auctions have never occurred on eBay before.


    Cryptnotic

  19. What about 2.5.x? on ext3fs in Linus' Kernel Tree · · Score: 2, Informative
    Shouldn't this REALLY REALLY be in Linux-2.5.x? What ever happened to the old mantra "odd numbers, development, new features; even numbers, stable, bug fixes"? Has Linus forgotten? First, completely changing the virtual memory system in 2.4.10, now this.


    Cryptnotic

  20. Re:release often on Kernel 2.4.14 is out · · Score: 1

    It's impossible that they would run out of numbers, since the set of version numbers has infinite cardinality (i.e., is infinite).

    Cryptnotic

  21. Re:Quicktime. Great.... on Pixar Finally Offers Animated Shorts on Pixar.com · · Score: 1
    They probably originally rendered these at something like 2048x1536 for output to film. However, at 24 bpp, that makes each frame 9437184 bytes (yes, 9 megabytes). 1 second (24 frames) would be 226492416 bytes (yes, 226 megabytes). 15 minutes would be roughly 203843174400 bytes (yes, 203 gigabytes).


    There's a reason that image and video compression has become so important in recent years.


    Cryptnotic

  22. Re:Crossover plays Quicktime in Linux. Its good. on Pixar Finally Offers Animated Shorts on Pixar.com · · Score: 1
    hmm... You say that it is $20. But is it free (as in speech)? Is it open source? Shared source?


    Cryptnotic

  23. Re:But it's NOT a notebook drive! on Slashback: Drives, Pods, OEMs · · Score: 1

    They've been available for a month or so. The design specs and samples have been around for longer than that. Remember, it takes months to get a product manufactured. You have to do the design, order parts, get time at a factory in Taiwan or China, get the parts to the factory, build it, ship it to your distributors, etc.

    By the way, it's not a PCMCIA drive, it's actually a bit smaller. Its small enough to fit in a PCMCIA type I card enclosure, however. The interface is IDE/ATA standard, but the connector is surely smaller than a laptop (2.5") hard drive, which is already smaller than a desktop (3.5") hard drive.

    Cryptnotic

  24. moving files? on Slashback: Drives, Pods, OEMs · · Score: 1

    Possible solutions:

    1. Rename them to whatever.mp3.ipod
    2. Archive them into a .zip or a .tar.gz or a .sit or whatever Mac's tend to use these days.

    No, you won't be able to play them. But you'll be able to move the files from one computer to another.

    Cryptnotic

  25. Just like that old saying.... on ATI Drivers Geared For Quake 3? · · Score: 1
    ...if you can't win, cheat.


    Cryptnotic