Slashdot Mirror


User: Old+Wolf

Old+Wolf's activity in the archive.

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

Comments · 1,798

  1. Electric cars look a whole lot better now on Solar Power-Cell Breakthrough · · Score: 2, Interesting

    People have objected to electric cars in the past because the fossil fuels used to generate the electricity to charge them cancels out any supposed benefits. But if the car can get all of its power from the sun -- and recharge when it is parked -- then they suddenly *are* cheaper and more environmentally friendly.

  2. Re:Software developer here on What is the Best Bug-as-a-Feature? · · Score: 1

    Which is why C++ is the best language because you can overload operators, so, "4" * 4.0 can yield whatever you think makes sense:
            * 16
            * "16"
            * "4444"
            * 208
            * or, if you prefer, a nice game of Nethack

    Nice joke, but you can't re-define built-in operations. In other words, for an overloaded operator, one of the operands must be a class type which was defined by you. 1 + 1 is always 2.

    BTW, what stupid language has 4 * 4 = 4444 ? I'm never learning Ruby now, who knows what might happen.

  3. Re:Let's hope you're evaluating REAL REAL fast on Delphi For PHP Released · · Score: 1

    Not only is it 1 day, but the activation is ridiculously complicated (activation.. of my trial.. by basically putting files in my documents and settings/[user] folder)

    If you can't manage to put a file in a folder then I'm glad you aren't going to be developing applications that I might have to use one day!

  4. Re:North Pole? on Cassini Probes the Hexagon On Saturn · · Score: 2, Funny

    I didn't write it down -- it was too large to fit in the margin.

  5. Re:Can we now please stop using C? on Remote Exploit Discovered for OpenBSD · · Score: 1

    I think
        a = b * c;

    is more clear, concise and simple than:
        mp_mul(&a, &b, &c);

    For example , in the latter it's not immediately obvious which one is
    the result!

    It would be even better if you used proper variable names for a,b,c.

    I don't understand your comment about being 'more explicit'. A
    multiplication with infix notation does not seem any more 'vague'
    to me than one with prefix notation; in fact it seems preferable.

  6. Re:Can we now please stop using C? on Remote Exploit Discovered for OpenBSD · · Score: 1

    Functions can return new instances, which also override the existing one, e.g.

    bignum a, b, c; // constructor called

    a = b * c; // value of b*c held in temporary instance, could be copied into a, or simply overwrite the instance of a, thereby calling the deconstructor.

    Can you post your equivalent C code, that is supposedly more efficient?
    I don't see how you're going to avoid initializing a,b,c, or assigning something to 'a'.

    If you are really concerned about the compiler being unable to optimise out the temporary result of (b * c), then you could write:

        a = b;
        a *= c;

    which is fully equivalent to C code like:
        BN_assign(a, b);
        BN_mult_by(a, c);

  7. Re:Can we now please stop using C? on Remote Exploit Discovered for OpenBSD · · Score: 1

    int main(void) { bignum a; return 0; }

    That function can call a constructor. Even though it doesn't look like there is a function call in it.


    Well, it looks like there is a function call, to anybody who has bothered to learn C++.

    In fact, the /entire purpose/ of such a class would be to more concisely express:
        BIGNUM a;
        BN_init( &a ); /* ... */
        if ( the_time_is_right() )
            BN_free( &a );

    with the added benefit that you cannot accidentally forget to free it. If, for some reason, you wanted to use a bignum and not initialize it, or not free it, then you would not use this API.

    There's no trickery going on.

  8. Re:Can we now please stop using C? on Remote Exploit Discovered for OpenBSD · · Score: 1

    C++ ? Out of the question. Too many hidden operations make development a nightmare.

    Such as?

  9. Re:Doesn't matter how good a C programmer you are on Remote Exploit Discovered for OpenBSD · · Score: 1

    There will be buffer overflows. The solution is to not use C for handling data from over the network.

    This is unnecessarily pessimistic, even trollish. There are only buffer overflows if you write buggy code.

    Having said that, I think it was a particularly poor design decision to use a function pointer where they did.

  10. Re:It works... on Speed of Light Exceeded? · · Score: 2, Insightful

    Actually it's nothing like that, but don't let facts get in the way of a good post.

  11. Re:Leave him alone! on Academic Credentials and Wikiality · · Score: 1

    Looks like we can add 'sockpuppets' to his list of credentials

  12. Re:Not Anymore... on Blizzard Exposes Detailed WoW Character Data · · Score: 2, Interesting

    Did anyone else notice that the page is *extremely* resource-intensive?
    When I click the Ajax link to view a player's details, it takes about 20
    seconds to just render the page -- not including download time (I'm on a P2-333).
    That could explain why it seems to be less reliable than OSDN which is just serving text.

  13. Re:Priorities on Building the Interplanetary Internet · · Score: 1

    They're able to pay for high speed broadband and would spring for 10Mbps symmetrical connections even if they cost $100/month

    Your tone of voice implies that it's possible to get these connections for less than $100/month -- is that true or am I misreading? I'm paying $65/mo for 2M/128k with 10gb cap.

  14. Re:There is a NAME for the bug... on Crashing an In-Flight Entertainment System · · Score: 1


    Probably wouldn't fire anyway. How often have you seen...

    #ifdef DEBUG
    #define ASSERT(x)
    #else
    #define ASSERT(x) ... a real definition goes here.
    #endif


    Hopefully never!
    1) C already contains a macro 'assert()' which does nothing if NDEBUG is defined, and aborts the program with an error otherwise, so you would be reinventing the wheel
    2) If you detect the program is in an invalid state in a release version, why would you want to continue execution as if nothing were wrong??

  15. Re:He lost his kids due to 'secret information' on Hans Reiser Arrested On Suspicion of Murder · · Score: 1

    How can you defend your rights when the evidence against you is kept secret?

    Do you work for SCO?

  16. Re:Unbelievable-Hit by a bus. on Hans Reiser Arrested On Suspicion of Murder · · Score: 1

    If he is found guilty, the name of the filesystem will have to be changed, too. Otherwise it will fall into obscurity along with MansonFS, OswaldFS and the great-but-forgotten object-based, journalling OJSimpsonFS.

    At least that FS won't have any trouble with un-freed blocks

  17. Re:That really sucks on Hans Reiser Arrested On Suspicion of Murder · · Score: 1

    What's your obsession with personal witnessing? I haven't personally witnessed anyone going to the Moon. Yet I don't doubt that they have. Do you?

  18. Re:That really sucks on Hans Reiser Arrested On Suspicion of Murder · · Score: 1

    Some murderers might be "rehabilitated" according to the justice system, but the fact remains that the flaw exists in their personality that once drove them to kill someone.

    Is that really a flaw? Throughout most of human history, killing people has been acceptable. Even now, it is still acceptable in some situations (eg. if the other person is an enemy soldier).

    It is only relatively recently that this murder stigma has really taken off.

  19. Re:That really sucks on Hans Reiser Arrested On Suspicion of Murder · · Score: 1

    Letting someone do something s/he loves while in prison, will sort of defeat the purpose of prison, i.e. make them wish they hadn't committed a crime.

    So, what to do with male homosexual criminals?

  20. Standards? What's that? on Top Five Causes of Data Compromise · · Score: 1

    I work for a company that provides the back end for loyalty processing systems. One day in 1999, the front end company complained to us that our system was rejecting their new cards, saying they had an invalid expiry date.

    Now, ISO specification for track-2 on a magnetic stripe card is: the card number, then a delimiter, then an expiry date in YYMM format, and then freeform data to a maximum of 37 characters. There are tens of thousands of installed systems that read these cards and parse the expiry date.

    But, in anticipation of the upcoming Y2K bug, this enterprising front end company had decided to write an expiry date of CCYYMM, without bothering to consult anyone, or let anyone know about it.
    So, an expiry date of 200006 got a processing error, although dates like 200106 got parsed as January 2020 (rather than June 2001) so they at least continued to work.

    Well, you might think, let's just turn off expiry date checking in the devices. Oops... due to the extra 2 digits, the track-2 now has 39 characters, so some devices will refuse to read it at all!

  21. 120 MW a day ?? on Vaporizing Garbage to Create Electricity · · Score: 4, Informative

    It's not possible to have "120 megawatts per day". A watt is a RATE of energy usage (joules per second, in fact). It takes 120 MW to power a million 120W light bulbs -- for 5 seconds, or 5 hours, or a day, or a year -- how long you keep that rate up, has nothing to do with how fast the actual rate is !

    Perhaps the article meant "120 megawatt-hours per day", although that would be a very strange unit of measurement (not as bad as Libraries of Congress, though).

  22. Wikipedia editorial control on Stephen Colbert Wikipedia Prank Backfires · · Score: 1

    As I write, the Featured Article ("Damon Hill") consists of the text:

        Youre gay!

    I think it is seriously time for more editorial control. This is surely possible without compromising anyone's freedom. For example, pages should either be marked 'mature' or not (ie. they are good enough to be semi-authoritative). Such pages should not allow immediate editing; any user changes should be queueud to either be approved or rejected by a moderator. There should be live chat so rejected users can chat to moderators in case the user wasn't trolling.

  23. Re:what about the lucky sevens? on The Next Three Days are the x86 Days · · Score: 1

    I think it's because dd/mm/yy is the sensible option: each entry is in chronological order. mm/dd/yy has a bigger index, then a smaller one, then an even bigger one. It is sort of like writing $105 instead of $150.

    Cf. how the rest of the world uses metric measurements and America still uses illogical unwieldy measurements.

  24. Re:Wow... on MySpace Down Due To Power Surge · · Score: 0, Troll

    Lol. The site is dreadfully written, obviously nobody who has studied usability has ever worked on it. It wouldn't surprise me if they don't have any backups or plan B. Tom is a cock.

  25. Re:wikipedia!=encyclopedia on A Look at the Editorial Changes on Wikipedia · · Score: 1

    I was amused when reading the article for Juhn Wayne Gacy (the serial killer-pedophile) last week to see the comment "Ari Bloomberg say's little kids are hot and sexy". Unfortunately there was no explanation of who Ari Bloomberg is or was..