Slashdot Mirror


User: some+guy+I+know

some+guy+I+know's activity in the archive.

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

Comments · 1,360

  1. inane observation on Windows Longhorn Screenshots Available Online · · Score: 1

    Strange.
    I put the start button in that position in Windows 95 several years ago.
    (Old picture.)

  2. Re:Infinite universes?... on One of Many · · Score: 1

    Exactly!
    It's like the computer game of "Life".
    If you have several games going at once on several different, nonconnected boards, there is no way (short of a bug) that the boards can interact with each other.

    It's not so much that anything can happen in an infinite number of universes.
    It's more like anything that can happen does happen somewhere in an infinite number of universes.
    If destroying all universes is one of the (probably infinite) things that can't happen (which seems likely, given that we're still here), then it won't happen.

  3. Re:Multiple universes? on One of Many · · Score: 1

    So use Python.

  4. Re:Like a snowflake on One of Many · · Score: 1

    Sorry, that should be "analogy", not "metaphor".

  5. Re:Like a snowflake on One of Many · · Score: 1

    The "information" is temperature, pressure, and humidity variations as the snowflake forms.
    Since the same "information" is being applied (with miniscule variations) to all six arms of the snowflake, each arm will form in a way nearly identical to the other five arms.
    While, in the case of a snowflake, information isn't necessarily being coveyed from one arm to another (although it may be, via thermal conduction through the snowflake hub, and radiation), information is being conveyed to the six arms at speeds below that of the speed of light.

    Now, how does this apply to the observable universe?
    At some point in the past, two regions of the universe, that now seem too far apart to have communicated at the speed of light, appear to exhibit identical characteristics.
    To use your snowflake metaphor, both regions have the same "pattern" as snowflake A.
    However, one should have a snowflake A pattern, and the other should have a snowflake B or other pattern.
    The fact that they both have the same pattern indicate that, at one time, they were in contact with each other and/or with some common point of influence.
    Since they are too far apart from each other that light could "never" have reached from one region to another, the theory is that the universe expanded faster than light (at least, between those regions) at sometime in the past.

    At least, that is the theory as I understand it.
    (IANAPOAC (I Am Not A Physicist Or A Cosmologist))

  6. Re:Mars Orbiter Lost Over Metric Conversion on Examples of Programming Gone Wrong? · · Score: 1
    Use non-syntactic macros.
    For example:
    #define mm
    #define cm *10
    #define meters *1000
    ....
    int x = 30 meters;
    Note that using this method has the potential for causing other bugs.
    Alternatively:
    #define mm(x) (x)
    #define cm(x) ((x)*10)
    #define meters(x) ((x)*1000)
    ...
    int x = meters(30);
    If you are using a more recent version of the C compiler, you can code the latter method as inline functions instead.
  7. Re:Referer checking for images on New Spam Frontier: Referer Logs · · Score: 1

    This stops everyone from stealing bandwidth (including telnet-wielding network programmers like me) and it annoys no one.

    Except, perhaps, people who have cookies turned off.
    (Of course, I also have referer turned off (via JunkBuster), so the other method will annoy me just as much.)

    The way to do it is to keep track of the IP address of the client.
    This can't be turned off, since you (well, the connection-handling code) need the IP address to determine where to send the response.

    Every time someone loads an HTML page, record it, the IP adress, and the time in a DB.
    As records expire, delete them from the DB.
    When an image is requested, check the DB for the IP address and page that the image should be linked from.
    If the record's not there, redirect to a page that tells the user that (s)he must reload, or just redirect (302) to the HTML page itself.
    To prevent problems due to cached pages, set the expiration time on the HTML page to less than that for the records in the DB.

  8. Re:Holy Cow!! This Is Awesome! on Encrypt Information In Images Without Distortion · · Score: 1

    I am not sure how signing it withn your private key would prove it has been unaltered.

    While I haven't read the paper and am totally unaware of what method they use, I can think of a very easy way to do this:

    1. Get the MD5 or SHA message digest of the entire image, except for the bits that you will use to store the authentication (probably the low bit of the blue channel in RGB encoded images, because shades of blue are not as distinguishable to the human eye as shades of red or green).
    2. Using your private key, encrypt the message digest.
    3. Store the encrypted digest in the bits of the message that you reserved for that purpose.

    Note that in a PNG image, for example, you can put the watermark in a separate chunk instead of image bits, thus making the method totally lossless.

    If a third person wishes to verify that you have authenticated the image, all (s)he has to do is extract the encrypted digest, decrypt it using your public key, and compare it to the message digest of the rest of the image.
    If the image was altered, the two digests will not match.

    This will not prove that you, yourself, did not alter the image; it will simply prove that it was not altered from the time it left your care until the time that the digest was checked.
    (There is no way to prove that a digital image was not altered prior to the application of a watermark.)

    Really, I don't see how this is any different from cryptographically signing any message, but I'm probably missing something.

  9. Re:Prehistory? Depends on context on Serial ATA Technology Explained · · Score: 1

    The PC parallel port was defined, in a very loose manner, by IBM when the IBM-PC was introduced in the early 1980s. The original PC parallel port was unidirectional and good for little else than driving a printer.

    Actually, the parallel port was defined by Centronics before 1980.
    (I remember using a Centronics D.M. printer with this interface around 1974 or so, connected to a PDP-11.)
    The connector was different, using a 36-pin plug with flat blades.
    I think that IBM introduced the D-15 connector, but I'm not certain.
    I still have two printers that use the 36-pin connector.
    The cable has a D-15 connector on one end, and a 36-pin Centronics connector on the other.

    The advantage of the parallel port is that you can directly drive TTL logic, without having to build any interface circuitry.
    You can also drive a printer directly from TTL.
    (I did this on my KIM-II (6502 with 2K ROM, 1K RAM, and several TTL outputs).)

    It is also possible to use the parallel port as an input device, by "misusing" the paper-out and fault lines, although this is slow.

  10. Re:Remindes me of the JATO Impala story (OT) on Jet Turbine Locomotives · · Score: 1

    Apparently the story had truthful elements, the real guy behind it did attach the JATO to an old push railroad car and it worked fairly well

    This person claims that his adventure is probably the source for the rocket car UL.
    It's pretty funny, and worth the (long) read.

  11. Re:Typical. on Microsoft Settlement Compliance Criticized · · Score: 1

    the bush administration, which is about as libertarian as you could hope for

    What the hell is your definition of "libertarian"?

    Do libertarians think it's OK to incarcerate people indefinitely without a trial, or without even being charged?
    Do libertarians support the "war" on drugs?
    Are libertarians so anti-nudity that they drape sheets over statues?
    Would a libertarian consider attacking another country because he "suspects" that that country "may" be researching Weapons of Mass Destruction?
    Would a libertarian believe that atheists shouldn't be allowed to vote?

  12. Re:language evolves over time on Killing Clutter With The Antidesktop · · Score: 1

    Actually, I think Reagan did it first...

    Actually, John F. Kennedy also said "nucular".
    An easy way to learn the correct way to pronounce nuclear is to say "new clear", gradually reducing the pause between the words, until it becomes "newclear", the pronunciation of which is indistinguishable to "nuclear" (at least to me).

  13. Re:loose versus lose on Killing Clutter With The Antidesktop · · Score: 1

    inconsistent pronunciation.

    The word that I like to use to illustrate this is "through".
    Drop or add one letter at a time to change the vowel and/or consonant sound in a different part of the word:

    through --> though
    though --> tough
    tough --> thought

    through --> trough
    trough --> rough

  14. Re:I had the same idea on Quiet Desk (Not Desktop) PC · · Score: 1

    Powerswitches for components and lights along front edge, ...

    What, you never bump your knee on the front edge of your desk?

    Damn, I bumped my knee!
    Crap, I just reset my desk.

  15. Re:Hysterical rubbish on New RedHat Kernel Patch Illegal to Explain to U.S. Users · · Score: 1

    it has to circumvent something designed as a copy protection mechanism. Linux is not.

    If I "chmod 600" a file, then my intent is that nobody but me and root can read, and thus copy, that file.
    Therefore, "chmod 600" is a copy protection mechanism.
    Therefore, if somebody publishes information about how to circumvent "chmod 600" in order to copy a file, then that person is publishing information about how to circumvent a copy protection mechanism.

    Whether this is illegal under the DMCA, I don't know, as IANAL, but I can understand someone's reluctance to publish such information, based on my federal governmnnt's recent behavior.

    And I wouldn't depend on our increasingly fascist legal system to do the right thing when it came to determining whether or not defeating a copy protection mechanism was the "primary purpose" for its publication.

  16. Re: Three squares a day on New RedHat Kernel Patch Illegal to Explain to U.S. Users · · Score: 1

    A velvet cage is still a cage.

  17. Re:No big uses soon... on Ultra-Strong Nanotube Composites · · Score: 1

    It's not realistic to think that a rocket can launch the cable. It's going to be massive - billions of metric tons. No rocket could lift that.

    Actually, that's not the case.
    See here.

  18. Re:Lemme guess... on Constructing Accessible Web Sites · · Score: 1

    1. SVG can do the same, without scripting.
    2. I didn't write that. Don't put words in my keyboard.
    3. Many of the exploits that I have read about do not work if scripting is turned off.

    I am not a "ban-the-guns"-type person.

    Just because I don't like something, doesn't mean that I think that it should be banned.

    If you want to put JS or Flash on your site, you have a right to, but if I can't navigate such a site with my current browser settings, I have a right to leave it, or not to visit it in the first place.
    And if you are running a commercial site, be aware that you are losing a potential customer.

    For the record, I don't use guns, either, but I believe that any responsible person has a right to own them.
    (Similarly for drugs, etc.)

  19. Re:Your SIG needs fixing! on Constructing Accessible Web Sites · · Score: 1
    (S)he's quoting the lyrics of the theme song for the BBC TV show "Red Dwarf":


    It's cold outside.
    There's no kind of atmosphere.
    I'm all alone, more or less.
    Let me fly far away from here.
    Fun, fun, fun in the sun, sun, sun.

    I want to lie, shipwrecked and comatose,
    drinking fresh mango juice.
    Goldfish shoals nipping at my toes.
    Fun, fun, fun in the sun, sun, sun.
    Fun, fun, fun in the sun, sun, sun.


    Note: This is from memory, so there may be an incorrect word or two.

    I believe that the song refers to Lister's desire to spend his life in Fiji.
  20. Re:Lemme guess... on Constructing Accessible Web Sites · · Score: 1

    What the f is up with people who hate flash and JS so much?

    There are several reasons:
    1. Bloated web pages over thin pipes.
    2. Flashy crap getting in the way of the information.
    3. Security holes that seem to pop up every other month or so.

  21. Re:No big uses soon... on Ultra-Strong Nanotube Composites · · Score: 1

    A space elevator would be very long, and over that length it would have a lot of flexibility.

    That may be true over the entire length of the cable, but, in all scenarios with which I am familiar, the cable must be wound on a coil small enough to fit in the cargo hold of the Space Shuttle or other spacecraft.

    Now, if there were an alternate method of deployment that did not require such a tight radius (such as orbital manufacture), this problem would not occur.

    It may also be possible to manufacture a more flexible cable by using a different polymer, different proportions, etc.

  22. Re:Flexibility? Tech usefulness? on Ultra-Strong Nanotube Composites · · Score: 2, Informative

    Ironically, Buckminster Fuller, the discoverer of Buckminsterfullerene ...

    R. Buckminster Fuller did not discover Buckminsterfullerene.
    Buckminsterfullerene was named after him because it resembles a geodesic dome, which R. Buckminster Fuller invented.

  23. Re:Rather wrong headed, in spots on Taking Aim At The Mod Squads · · Score: 2, Funny

    Give me any piece of code and I will reimplement it within 10 minutes to do exactly the same thing, using none of the original code.

    OK, I've got this copy of Windows XP...

  24. Re:News coverage (OT) on Australian Anti-Spammer Wins Court Case · · Score: 1

    but with the whole bali thing, i dont think there's gonna be much else on the news here - you may not have heard of it yet - i mean, i dont think any americans died in it.

    It was the first item on ABC News last night.
    IIRC, two Americans died or are presumed dead.
    However, my guess is that it would have gotten short shrift if it weren't for our country's hysterical freedom-sapping anti-terrorism insanity that has occurred since 2001-09-11.

    Even so, BBC World's coverage was more comprehensive than ABC's "World" News Tonight (or even PBS's News Hour), and it wouldn't surprise me if not much more is heard about this incident on American commercial television.

  25. Re:Perl comparisons on The Python Cookbook · · Score: 1
    consider an indexed sort. in both perl and python ... in python I suspect there is probably some simmilar idiom using iterators

    In Python:
    >>> a = [ 1, 4, 7, 2, 9, 43, 8 ]
    >>> a
    [1, 4, 7, 2, 9, 43, 8]
    >>> a.sort(sortfunc)
    >>> a
    [43, 9, 8, 7, 4, 2, 1]
    You can also define a sort function:
    >>> a = [ 1, 4, 7, 2, 9, 43, 8 ]
    >>> def ltfunc(a, b):
    return [0, -1][a < b]

    >>> a.sort(ltfunc)
    >>> a
    [1, 2, 4, 7, 8, 9, 43]