Slashdot Mirror


User: Eustace+Tilley

Eustace+Tilley's activity in the archive.

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

Comments · 304

  1. Re:Precedents on Pentagon Lets You Bid on Terrorism? · · Score: 1

    By the given definition, placing a bet on the future level of the FTSE is speculation regardless of whether the contract is placed with a bookie, a futures exchange, a portfolio insurer, or another risk-seeker. Placing a bet on which horse will win a race at the race track is clearly gambling, because the races would not occur in the absence of betting.

    Placing a bet on which human will win a race at the Olympics or which team will win the World Cup is likewise gambling. These are what Huizinga identifies as ludic activities, events that take place chiefly to create winners and losers in in the events themselves. Wars and elections create winners and losers, but substantial unrelated ancilliary benefits accrue to the winners (the right to tax, the right to govern). The benefits that accrue to a Super Bowl victor (the right to wear a ring, increased compensation for subsequent competitions, increased value of product endorsements) are strongly tied to the event itself. In the absence of football competitions, the value of a footballer's product endorsement would be negligible. The right to govern is so desirable that it is valued even without elections, alas.

  2. Re:What's wrong with. . . on Pentagon Lets You Bid on Terrorism? · · Score: 1

    The trusted advisor, in order to maintain employment, is biased toward giving a favorable prophecy. It has failed for centuries.

  3. Precedents on Pentagon Lets You Bid on Terrorism? · · Score: 5, Insightful

    The Iowa Electronic Markets operated by the University of Iowa Tippie College of Business has been n operaton since 1988. It has offered real-money futures contracts for U.S. and other political markets including"Control of Congress" as well as the Democratic & Republican Presidential nominee and the popular vote share, Senate seats, Russian and French Presidential contests, etc.

    Speculation can be strictly distinguished from gambling.

    The speculator makes a bet on the outcome of a risky event which would exist in the absence of speculators, such as bad weather and natural disasters.

    The gambler, finding nothing satisfactory for betting, sets up a slotted wheel, makes six-sided dice, designs cards which are identical from the back but different from the front, and then bets on what happens when these devices are randomized.

    Speculation shifts existing risk. Gambling adds to the universal total of risk.

    The Pentagon site is speculative.

  4. Re:Stroustrup's Remove Embarrassments on Latest Proposals for C++0x · · Score: 1
    Or ... prefix (Polish, Lukasiewicz) notation lets you have pointers, bit-level & increment/decrement operators, and exactly one precedence level ("left to right").

    Are you saying you like
    *pc++=*pa++**pb++
    better than
    assign deref postincr c mult deref postincr a deref postincr b
  5. Re:Stroustrup's Remove Embarrassments on Latest Proposals for C++0x · · Score: 1
    What do you recommend a C compiler do, then, when it comes across "everything else"? Reject the code if every token is not parenthesized? Or should it have an unambiguous rule? It must do something when it sees
    while (*e++=*p++)
    Other languages scrape by somehow with four levels.
  6. Re:Stroustrup's Remove Embarrassments on Latest Proposals for C++0x · · Score: 2, Funny

    C has 15 levels of operator precedence, and you do not blush?

  7. Re:Vaporware? on Latest Proposals for C++0x · · Score: 1

    Sutter and Plum advocate dropping export, the reason the implementation you cite took so long, in this paper.

  8. Lots of good papers there on Latest Proposals for C++0x · · Score: 3, Interesting
    I liked this, which supports "Quality of Implementation:"

    The development cycle of embedded software does not easily lend itself to the trial-and-error style of programming and debugging, so a stubborn C++ compiler that catches as many errors as possible at compile-time significantly reduces the dependence on run-time debugging, executable run-time support and compile/download/test cycles.

    This saves untold hours at the test bench, not to mention strain on PROM sockets.


    Williams, Stephen, cited by Lois Goldthwaite in her Technical Report on C++ Performance
  9. Prefer debugging on a virtual machine on Apple-Quality Intel Laptops? · · Score: 1
    Advantages of developing and debugging on a virtual machine include:
    • Ability to save the entire state of a machine for test cases
    • testing installation on a "previously virgin" machine
    • running as "end-user" rather than "developer"
    • running multiple versions of an application concurrently on independent virtual machines
    • testing under multiple versions of OS
    • Many of the advantages of remote debugging within a single machine


    Are you writing device drivers or applications?
  10. Re:Magic software on Software Code Quality Of Apache Analyzed · · Score: 1
    Do you think spotting the error in ...
    int *p;
    *p = 5;
    ... requires understanding the code's intent?
  11. Re:sorry, but thats pure BS... on Software Code Quality Of Apache Analyzed · · Score: 2, Informative
    Hmm, Defect 10 is a little trickier:
    DEFECT CLASS: Null Pointer Dereference DEFECT ID 10
    LOCATION: httpd-2.1/modules/mappers/mod_negotiation.c : 2495
    DESCRIPTION The local pointer variable arr, declared on line 2349, and assigned on line 2365, may be NULL where it is dereferenced on line 2495. This NULL pointer dereference only happens in an Out Of Memory context.

    PRECONDITIONS The conditional expression (neg->send_alternates && neg->avail_vars->nelts) on
    line 2364 evaluates to true AND
    The function apr_array_make, called on line 2365, returns NULL AND
    The conditional expression (neg->send_alternates && neg->avail_vars->nelts) on
    line 2494 evaluates to true.

    CODE FRAGMENT
    2336 static void set_neg_headers(request_rec *r, negotiation_state *neg,
    2337 int alg_result)
    2338 {
    ...
    2349 apr_array_header_t *arr;
    ...
    2364 if (neg->send_alternates && neg->avail_vars->nelts)
    2365 arr = apr_array_make(r->pool, max_vlist_array, sizeof(char *));
    2366 else
    2367 arr = NULL;
    ...
    2494 if (neg->send_alternates && neg->avail_vars->nelts) {
    2495 arr->nelts--; /* remove last comma */
    2496 apr_table_mergen(hdrs, "Alternates",
    2497 apr_array_pstrcat(r->pool, arr, '\0'));
    2498 }
    2499
    2500 if (neg->is_transparent || vary_by_type || vary_by_language ||
    2501 vary_by_language || vary_by_charset || vary_by_encoding) {
    2502
    2503 apr_table_mergen(hdrs, "Vary", 2 + apr_pstrcat(r->pool,
    2504 neg->is_transparent ? ", negotiate" : "",
    2505 vary_by_type ? ", accept" : "",
    I traced through the code on lxr.webperf.org and it appears that pool_alloc can return NULL.

    Is the idea that this code will never be executed in an out-of-memory condition, because it is only executed by a child, and the child dies automatically on malloc failure?
  12. Re:sorry, but thats pure BS... on Software Code Quality Of Apache Analyzed · · Score: 1

    That's the way to do it, if you oughtn't use an exception-throwing [i]new[/i] :-).

    Defect 21 (reproduced) looks like a fair catch, though, since it appears that one could exit the while loop with a NULL cur.

  13. Re:Magic software on Software Code Quality Of Apache Analyzed · · Score: 2, Insightful
    Ok, pretend you are the magic software and you see this code:
    int ar[50];
    for (int i = 0; i<=50; i++) { ar = 1;}
    How are you going to "automatically" fix that? Change the comparison operator? Change the array size? Replace the loop with a library function?

    "Fixing" requires understanding the code's intent.
  14. Defect Details on Software Code Quality Of Apache Analyzed · · Score: 5, Informative
    Interested persons can download the full defect report free of charge.

    Some things I found interesting:
    1. Apache 2.1 (dev) is a mere 76,208 LOC.
    2. No memory leaks detected
    3. 29 NULL pointer dereferences
    4. 2 Uninitialized variables
    5. No bounds errors, no bad deallocs
    6. otherchild.c had a rate of 7 NULL pointer dereferences per 1000 KSLC


    7. One of the explanations (given by Reasoning) for a NULL pointer dereference is "can occur in low memory conditions," which I think means the original allocator did not check for malloc failure.

      So you can get a sense of what a defect looks like, here is #21. The orignal uses bold and fonts improve readability, but I don't know how to reproduce that in slashcode:
      DEFECT CLASS: Null Pointer Dereference

      DEFECT ID 21

      LOCATION: httpd-2.1/srclib/apr/misc/unix/otherchild.c : 137

      DESCRIPTION The local pointer variable cur, declared on line 126, and assigned on line 128, may
      be NULL where it is dereferenced on line 137.
      PRECONDITIONS The conditional expression (cur) on line 129 evaluates to false.
      CODE FRAGMENT
      124 APR_DECLARE(void) apr_proc_other_child_unregister(void *data)
      125 {
      126 apr_other_child_rec_t *cur;
      127
      128 cur = other_children;
      129 while (cur) {
      130 if (cur->data == data) {
      131 break;
      132 }
      133 cur = cur->next;
      134 }
      135
      136 /* segfault if this function called with invalid parm */
      137 apr_pool_cleanup_kill(cur->p, cur->data, other_child_cleanup);
      138 other_child_cleanup(data);
      139 }
  15. Re:Dynamic email addresses. on Anti-Spam Bill Killed In California · · Score: 1

    Based on two years experience, Sneakemail is excellent.

  16. Re:i use my cell phone on Best Voice Chat Software For Gaming? · · Score: 1

    > also DO NOT LET ANYONE see you in this setup. its quite embarassing.

    I wish I could moderate this "informative"

  17. Re:Unequipped corpse retrieval on New Diablo II Patch Finally Revealed · · Score: 1

    Your body may be a fair distance from a waypoint, but eventually it will be near your Town Portal.

  18. Re:Kudos to Blizzard on New Diablo II Patch Finally Revealed · · Score: 1

    As it says in the article, boss running (and the cow level) will be unprofitable in 1.10.

  19. Unequipped corpse retrieval on New Diablo II Patch Finally Revealed · · Score: 1

    Amazons can distract monsters with Decoy and Valk
    Assassins can use traps and shadows
    Barbarians can Howl
    Druids can summon pets
    Necromancers can cast Terror
    Paladins can use Hammers, Fists, and Vigor

  20. My mind is in the gutter on Where Do You See MMO Games In Ten Years? · · Score: 1

    None of the interviewees mentioned sex. Odd.

  21. Re:New and Old Europe on UK And EU May Make Unsolicited Email Illegal · · Score: 1

    Please permit me to draw your attention to California. Although it did not join the Union until 61 years after the original 13 states, it has since achieved some prominance.

  22. Planescape: Torment on Gaming Suggestions For A Non-Gamer? · · Score: 3, Informative

    Planescape: Torment is a superb RPG. The New York Times reviewer said "While computer games have not yet achieved Shakespearian quality, this one is perhaps as good as Marlowe." Although it is out of print (so you'll need to check the bargain bins or the web), it is not cobwebbed. This FAQ was updated in February 2003.

  23. Re:Diversify on Deus Ex Writer Discusses 'Dangerous Technology' · · Score: 1
    So, what, we just kill off 98% of people, and that won't be so bad?
    Sounds awful, but two percent of six billion is 120 million. Coincidentally, that figure is the same as Gibbon's estimate for the population of the Roman Empire and more than the population of Europe at the time Gibbon wrote.
  24. Re:TiVo on SONICblue Hits the Auction Block · · Score: 2, Informative

    google hits on "Xerox": 2,980,000

    google hits on "TiVo": 451,000

    google hits on "Kleenex": 164,000

    You lose

  25. Re:Wow... can you imagine on Ultra-Cool Wireless Wearables · · Score: 1
    US Military already has it.
    Link please