Slashdot Mirror


User: rkww

rkww's activity in the archive.

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

Comments · 242

  1. Re:Cooperative on The Open Source Business? · · Score: 1

    It can be made to work. In the UK, for instance, we have The Co-Op - one of the largest consumer-owned businesses in the world, and John Lewis - a partnership, with the company held in trust on behalf of its employees.

  2. Re:Enough for anybody! on Windows CE Device Emulator Goes Shared Source · · Score: 1
    I use ASSERTs all the time. It's altogether a better thing to get an assertion error (that points out exactly which assumption I'm making turns out not to be true) than a core dump. Here's an example from what I'm looking at right now...

    palette = findHash(colour);
    ASSERT(palette);

    The assertion's there because I know that the appropriate entry exists in the hash table. If it's not, there's something very wrong. I could write

    palette = findHash(colour);
    use(palette->data); /* we know the colour's in the hash table */

    or

    palette = findHash(colour);
    if (palette == 0) { fprintf(stderr, "palette is null"); exit(4); }

    but that's exactly what the ASSERT does. And it'll be trimmed out in release builds. (Although I tend to leave assertions in place, even in release builds, if they're relatively cheap, as here.)

  3. Re:Asimov's laws on Cheap, Open-design Humanoid Bot - Runs Linux, Too · · Score: 1
    Robots shall not (knowingly) harm another scentient being

    I think you mean sentient

  4. Re:Conversion for Americans on 3.5 Terabyte NAS Reviewed · · Score: 1

    A pound sterling per pound weight is about 45p / kilo, which is about the going rate for a large bag of potatoes

  5. Re:Chair-based authentication on Your Favorite Support Anecdote · · Score: 1
    As I recall, the story is also in Jon Bentley's "Programming Pearls"

    Indeed:

    ... an anecdote from IBM's Yorktown Heights Research Center. When a programmer used his new computer terminal, all was fine when he was sitting down, but he couldn't log in to the system when he was standing up. That behavior was 100 percent repeatable: he could always log in when sitting and never when standing.

    Most of us just sit back and marvel at such a story; how could that terminal know whether the poor guy was sitting or standing? Good debuggers, though, know that there has to be a reason. Electrical theories are the easiest to hypothesize: was there a loose with under the carpet, or problems with static electricity? But electrical problems are rarely consistently reproducible. An alert IBMer finally noticed that the problem was in the terminal's keyboard: the tops of two keys were switched. When the programmer was seated he was a touch typist and the problem went unnoticed, but when he stood he was led astray by hunting and pecking.

    -- "Programming Pearls" column, by Jon Bentley in CACM February 1985

  6. Re:Shut who down? on BPI Sue AllOfMp3 In British Courts · · Score: 2, Interesting
    There is no law preventing unsigned artists releasing their music for free on the web. The fact that most choose not to shows that they *do* actually want to be paid for their work.

    It's hard to make money on the web, it's a very crowded place. Some musicians try to cut out the middle men by licensing legitimate copies of their own material, see Cerebral Sounds for instance, but they're swamped by sites such as allofmp3 who simply pocket the cash.

  7. Re:Not that impressive on World's Fastest Internet Cafe · · Score: 4, Informative

    According to wikipedia the cafe has a 1Gb pipe. The 100Mbit connections are to the desktop.

  8. Re:Safety glass is NOWHERE... on The Power of Accidental Discoveries · · Score: 1

    If you've ever had your windsheild get a tiny nick (from a small pebble) which slowly grew into a gigantic crack that spreads across the whole pane, you've experienced the wonders of tempered glass. I think you're thinking of annealed glass. Tempered glass doesn't propogate single cracks, it shatters into tiny pieces, as described here.

  9. Re:Wrong word? on A New Technique to Quickly Erase Hard Drives · · Score: 1
    Right word. Penguin English Dictionary:

    legion n 1 the principal unit of the ancient Roman army comprising 3000-6000 foot soldiers and cavalry. 2 also in pl a very large number; a multitude.

    legion adj many or numerous.

  10. Re:In the UK we've gone way beyond this. on Convicted Hacker Adrian Lamo Refuses to Give Blood · · Score: 1
    In fact with 60,000,000 people in the UK the chances they have the right suspect based on DNA evidence alone is only one in 60

    And conversely there are 59,999,940 people who could demonstrate 'beyond doubt' that they were not the right suspect.

    'Register a DNA sample and you will never be a suspect' - unless you're closely related DNA-wise to the true suspect - is a beguiling argument.

    But it presupposes that the authorities are capable of maintaining an accurate, secure, database. There would be a very strong incentive for a 'bad person' to register a fake sample, so that they would be eliminated early from an enquiry.

    And even if the authorities were to find a match in their database for a sample obtained at a crime scene, how could they locate the individual who provided the sample? Aha! - force people to provide a fresh sample every time they visit a hotel or use a government service. Too expensive? Then make everybody buy an ID card instead, and have it reference the central DNA database.

    That would be a very strong incentive for a 'bad person' to carry a fake ID card (perhaps pretending to be me or you).

    So if the police arrested somebody, they would be obliged to take a fresh DNA sample if only to validate their identity card. And now we have an entire new layer of bureaucracy, with its unerring ability to f*** up. Woe betide you if a data entry error were to list you as 'interesting to the state.'

    Most innocent people would voluntarily provide a DNA sample if there were other evidence linking them to a serious crime and the additional DNA evidence was likely to exonerate them. If they were wise they would ensure the sample was destroyed afterwards.

    But what about non-serious crimes (a parking ticket, for instance)? Should refusal to provide a DNA sample be a serious crime? Should I be obliged to show my ID card (and hence reveal my DNA sample)? What should the penalty be if I fail to show my card on request?

  11. Doesn't add up on Leaving Early May Cost You Time · · Score: 1
    From tfa - the average U.S. commuter spends about 100 hours a year driving just to work - 20 hours more than a typical year's supply of vacation. This personal "daily grind" uses more than 15,000 miles and 1,000 gallons of gas every year

    100 hours to work - assuming it's 100 hours from too, this commuter's averaging 75 mph, so I don't really understand why they're moaning about the traffic.

  12. sloppy writing on Tiny Flyer Navigates Like Fly · · Score: 1
    A fly navigates using its large, compound eyes, which let it see almost an entire field of view at once.

    ...yeah

  13. Re:1.6 petabytes isn't that big a deal on IBM's High Performance File System · · Score: 2, Informative
    1051 operations per second on at most 1031 bits


    That'll be 10^51 and 10^31...

  14. Re:RTFC - can restore brick macs on EFI Modifications Leaves iMac Unbootable? · · Score: 5, Informative
    ...but it you read to the end now, you'll find:

    From Dave Schroeder posted 01/23/06

    By following these steps, the iMacs that had difficulty with certain EFI modules appear to have been restored to a functioning state:

    1. Disconnect the internal hard disk
    2. Disconnect the iMac from AC power
    3. Plug in AC while holding the power button
    4. Power up the iMac and zap NVRAM (cmd-opt-P-R)
    The hard disk can be reformatted and the operating system restored.
  15. Re:Well on Scientists Find Preserved Dodo Bird Bones · · Score: 1

    No sheep? Or guinea pig? Or goat? Or any kind of fish? Or rabbit? Or horse? Or dog? Or sausage? I am disappointed in you.

  16. Re:coincidence - Police woman get shot.... on Britain to log all vehicle movement · · Score: 1
    According to The BBC (quoting a Det Supt)

    "Immediately after the events at the travel agents three men were seen running to a silver vehicle which was parked in Howard Street... We have trawled through many hours of CCTV and have a number of sightings of the vehicle... This includes a sighting of the vehicle travelling along Morley Street at 3.02pm, moments before the events at the travel agents." He said the vehicle was seen 40 minutes later travelling along Manchester Road, out of Bradford city centre, in the general direction of the motorway network.

    That doesn't sound very automatic to me.

    And the six people arrested in London the next day were all released without charge.

  17. the logical next step... on Google's New Click-to-Call Service · · Score: 1

    The caller doesn't know the advertiser's number, so the only way the customer can contact the advertiser is through Google. And Google knows you called, so it can take a commission on any sale.

  18. Re:Code cleanly and remove comment on What Workplace Coding Practices Do You Use? · · Score: 3, Insightful
    replace a stupid name with a sensible name:
    messages_processed++;
    That's still got potential for confusion - it could be a 'we've finished processing the messages' flag, which obviously should be a boolean, but somebody else wrote the code, so we can't be sure.

    totalMessages++;
    would be better, but it's still not perfect. Sometimes the hardest part of programming is creating meaningful variable names.
  19. Re:Infect Him Again on Man Cures Himself of HIV? · · Score: 5, Informative
    He's already tried. According to the NotW Mr Stimpson said, "I'd read the research, I knew it had never happened before. I didn't understand how I could be negative after one year especially because I had been having unprotected sex with my [infected] partner after the diagnosis, believing we had nothing to lose."

    He was going in for repeat tests every two months, so his status is well documented.

  20. Re:concern? on A Flu Pandemic? · · Score: 2, Informative
    The press may be lazy and uninformed, but the UK department of health has issued a number of guides and leaflets on pandemic influenza. These give hard information, for instance:

    "There are 16 haemagglutinin subtypes of Influenza A (designated 1-16), and 9 neuraminidase subtypes (1-9). While relatively few infect humans, all have been detected in free-flying birds which can harbour the viruses without their causing symptoms. Since 1959, rare, but serious, outbreaks of highly pathogenic avian influenza in poultry have been caused by H5 and H7 virus subtypes. These were thought to cause only mild symptoms such as conjunctivitis in humans. However, since an outbreak of H5N1 infection in poultry in Hong Kong in 1997, these viruses have been shown to be able to jump the species barrier and cause severe infection with a high mortality in humans.

    So far these viruses only appear to have spread from person to person with difficulty, and with no further onward transmission, but concern is twofold:

    • That step-wise adaptation of the viruses will give them greater affinity to infect and transmit between humans;
    • That exchange of genetic material between the avian and a 'regular' circulating human virus - during co-infection, for example, in a pig or possibly a person - will have the same effect.

    The longer the outbreaks of H5N1 influenza that took hold in Asia in early 2004 last - and there are signs that the virus has become endemic in birds in the region - the more likely it is thought to be that a new virus will emerge. Even if the ability of the virus to cause disease in humans is attenuated, the potential remains for a future virus with pandemic potential to emerge and spread. Such a strain is likely to be antigenically different from the H5N1 strains currently circulating in Asia.

    The degree of cross protection that would be afforded by an H5N1 vaccine prepared against the current H5N1 strain cannot be predicted."

  21. Re:concern? on A Flu Pandemic? · · Score: 1
    As the UK's chief medical officer said in 2002: "Most experts believe that it is a matter of when, not whether, another influenza pandemic strikes."

    The current bird flu outbreak is worrying because it could very easily jump to humans. And if the 1918 example is anything to go by, it would kill the 'healthiest' people most efficiently, by causing their immune system to overreact and destroy their lungs.

    So yes, you might worry, but not too much because there's not a lot you can do about it.

  22. the first prototype on A Clock That Runs for 10,000 Years · · Score: 1
    The first prototype of the clock is in the Science Museum in London, England. I saw it a couple of weeks ago when I took my son there for the day.

    It had stopped.

  23. Re:good programmers on Java Urban Performance Legends · · Score: 1

    Perhaps he was looking for something a little less verbose...

    static char* __helper(char *to, int foo)
    {
        if (foo >= 16)
              to = __helper(to, foo / 16);
        *to++ = "0123456789abcdef"[foo % 16];
        return to;
    }

    void int_to_hex(char* buffer, int value)
    {
        *__helper(buffer, value) = 0;
    }

  24. Re:The Winchester Disk Drive on Happy 60th Birthday IBM Research · · Score: 2, Interesting

    It may be connected with with IBM Hursley, their UK laboratories in Winchester, England, which did some of the original development of disk drives. IBM has a review and discussionof disk 'file' innovation in the 25 years up to 1981 which describes the Winchester technology in some detail, but doesn't seem to identify where the work was carried out.

  25. www.bl.uk on Leonardo Da Vinci's Personal Notebook · · Score: 2, Interesting

    Notice how they've got a whole second level domain to themselves - not www.bl.co.uk or www.bl.gov.uk, just www.bl.uk.