Slashdot Mirror


User: Troed

Troed's activity in the archive.

Stories
0
Comments
3,122
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 3,122

  1. Re:Evolution on Our Brains Don't Work Like Computers · · Score: 1

    There is no evolutionary need to develop a reading skill

    Of course there is. Leaving markers behind for others, and the markers get more complex over time allowing for more complex messages. Useful when hunting, for a start.

  2. Re:goto considered harmful !!! on 'DVD Jon' Breaks Google Video Lock · · Score: 2, Interesting
    What I see in your code are two places you do cleanup (and no goto). Anyway:


    fd = fopen("myfile.txt", "a");
    if(fd)
    {
    read_size = fread(&buffer, 1L, 255L, fd);
    }
    if(fd && (read_size > 0))
    {
    int err;
    fd_out = fopen("myfileOut.txt", "w");
    if(fd_out)
    {
    err = fwrite(&buffer, 1L, read_size, fd_out);
    }
    if(fd_out && (err > 0))
    {
    printf("write ok\n");
    }
    if(fd_out)
    {
    fclose(fd_out);
    }
    }
    if(fd)
    {
    fclose(fd);
    }


    I did this quite fast but I think it'll perform exactly the same thing - and you'll avoid indentation hell. The new code also looks longer than it is due to where I put the braces.

  3. Re:goto considered harmful !!! on 'DVD Jon' Breaks Google Video Lock · · Score: 1

    Sorry, I don't see the problem. Please post an example you consider to "break" the practice I posted.

    (Declaring variables is not a problem. If they're big you're only declaring a pointer and allocating memory in the correct context anyway)

  4. Re:goto considered harmful !!! on 'DVD Jon' Breaks Google Video Lock · · Score: 1
    ... because it isn't.


    err = method1();
    if(!err)
    {
    err = method2();
    }
    if(!err)
    {
    err = method3();
    }
    if(err)
    {
    dealWithErrors();
    }
    return err;

    ... extend as you please, but this is the general idea and good practise.

  5. Re:it has nothing to do with "values" or "rights" on France Will Be Home To Fusion Plant · · Score: 1

    Our current level of population, our current resource consumption, and our current environmental destruction aren't sustainable

    Prove it.

    Oh, you mean with today's technology?

    Weird limit to set.

  6. Re:Lowest bidder indeed on Indian Call Centre Worker Sells Customer Details · · Score: 1

    The only time when I've been the victim of VISA fraud it was when an american employee in an american company decided to sell my data.

    So, is "Indian" and "American" important at all here?

    No.

  7. Re:Who cares about the technical details? on Opera: Firefox User Figures 'Inflated' · · Score: 2, Insightful
    they can't sell their browser when their customers can download a perfectly good one for free.

    ... and yet I have bought it, and bought my parents a license as well when I removed the IE-shortcut from their computers.

    Could it be because Opera is better than the other alternatives maybe?

  8. Re:Only going to work if it became standard on Advocating Dvorak · · Score: 1

    There is no right way - and that's quite obvious. The human body is not meant for this - and doing it extensively (8+ hours a day) is bad for you.

    You can only minimize the damage, never get rid of it.

    (Why should I be doing research about a subject I've lived with for many years - and know a lot about? I work in a country where the employer by law has to make sure my work doesn't hurt me - and that means that employers have hired specialists that comes to your desk at the snap of a finger and checks your position etc. The one thing they ALL advocate is _change_ - and yes - I've got experience from quite a few companies with many different experts)

  9. Re:Only going to work if it became standard on Advocating Dvorak · · Score: 1

    Sorry, but no. Our body has evolved for hundreds of thousands of years to do some things very well. It's not at all suited for a lot of tasks we're doing today - and working a keyboard and mouse is one of them. We can do it in bad and less bad ways however.

    (That said, I couldn't care less about "ergonomic tools". I advocate never doing anything more than you should - and that's why I work a computer completely different at home and at work)

  10. Re:Only going to work if it became standard on Advocating Dvorak · · Score: 1

    I guess I'm one of the 'elitist' people you're talking about

    Correct.

    A normal mouse and keyboard are _terrible_ input devices, and the major causes of RSI. Postures are important, but not everything. Fixing your posture is good, preferable before you run into RSI problems, but it's not everything.

    Our body is well suited for hunting animals - less adapted to working a mouse.

  11. Re:Only going to work if it became standard on Advocating Dvorak · · Score: 3, Interesting

    Thanks. More stories like yours are needed for some elitists to believe the rest of us. I started using computers when I was 12 - but I got serious RSI problems already at 23 (many years ago now). Nowadays I seldom have problems just because I learnt how to deal with them.

    For me, I use different setups at work and at home - change is a good thing. I have a "normal" keyboard at home, and I use the mouse with my left hand (I'm right handed). At work I use a natural keyboard and a symmetric trackball (Kensington Orbital) centered _in front_ of the keyboard.

    I cannot use my right hand to control a mouse for more than 5 minutes though - that's the one lasting effect I got.

  12. Re:Funny search on Is BitTorrent Search Harmful? · · Score: 4, Interesting

    (Note: I'm Swedish, just like the ones running and hosting Piratebay)

    So what happens when pirate bay gets busted by the RIAA-imperial navy?

    It's not clear whether they are breaking any Swedish laws - that's why they're so smug and play around with all the takedown notices. The only law they _might_ break would be something like "large scale contributing to copyright infringement" but even that's a stretch. There's a reason why they haven't been charged with anything yet, even though the Swedish Anti Piracy Beaureu are all over the piracy sites they know they can bring down in court.

  13. Re:720p may be possible on The Revolution Will Not Be HD · · Score: 1

    being that the Gamecube still supported 720p

    No. The Gamecube supports 480p if you use the "digital" (analogue really, component) output - in some but not all games.

    This also means that very few Gamecube games are in widescreen. Nintendo might survive with 480p for another generation - but then they'd better make sure all games support anamorphic WS.

  14. Re:Reminds me of Early Hubble Problems on Math to Crack Deep Impact Blurry Vision Problem · · Score: 1

    You can indeed find people who claim glass isn't solid. They're outnumbered though.

    Glasses are amorphous solids. There is a fundamental structural divide between amorphous solids (including glasses) and crystalline solids. Structurally, glasses are similar to liquids, but that doesn't mean they are liquid.

    http://dwb.unl.edu/Teacher/NSF/C01/C01Links/www.ua lberta.ca/~bderksen/florin.html

  15. Re:Reminds me of Early Hubble Problems on Math to Crack Deep Impact Blurry Vision Problem · · Score: 1

    on the glass (which is a fluid)

    Not really.

    http://math.ucr.edu/home/baez/physics/General/Glas s/glass.html

  16. Re:Thats not a story on MS Worried About Meeting 360 Demand · · Score: 1

    ... and yet the game was extremely boring. I did manage to complete Halo without understanding what was supposed to be so good about it - but Halo 2? Really. Two "levels" or what I should call them and then I haven't touched it again.

    I feel sad for people who think of Halo when they think of videogames. They've really misunderstood the whole thing.

  17. Re:Warranty? on Apple to Recycle your iPod for Free · · Score: 1

    6 months? We have 2 years. Sweden.

  18. The article got it all wrong on Will Next-Gen Consoles Kill Off PC Gaming? · · Score: 1
    The bottom line is that console manufacturers often heavily subsidize their new machines, swallowing huge losses up front in hopes that they'll make it all back selling games

    The following consoles were sold at a loss of more than a few dollars:

    Sega Saturn
    Sega Dreamcast
    Microsoft Xbox

    ... all others have been sold at a profit or at a maximum of a few dollars loss just after a price drop.

  19. Re:Backward compat on The Xbox 360 Unveiled · · Score: 4, Insightful

    Software emulation for compatibility has never been attempted professionally in the console arena

    Nintendo has NES, SNES and N64 emulators written and used as bonuses in Gamecube games.

  20. Re:I call bullshit. on Bill Gates: Cellphone will Beat iPod · · Score: 1

    I have a 1Gb memorystick in my cellphone, containing hundreds of legally bought aswell as legally copied mp3s.

    So .. bullshit?

  21. Re:Actually on PSP UMD Format Cracked · · Score: 0

    Even now the 1GB memory stick duos are just barely becoming available, and are in such short supply that I'm still wondering if they have been released or not

    I've had a 1Gb MemoryStick Duo Pro in my cellphone for a few months now. Great for mp3s.

  22. Re:excessive cleaning leads to disease?? on Keyboards are Havens for Super Bugs · · Score: 0, Redundant

    Accept dust. Use water for cleaning - other agents sparingly. Allow kids to be dirty. Don't shower every day (!) ... stuff like that. It has nothing to do with eating yesterday's pig heart blood off a plate - and nothing in my comments have implied that either.

  23. Re:excessive cleaning leads to disease?? on Keyboards are Havens for Super Bugs · · Score: 0, Offtopic

    but we started this conversation about cleaning your cutting board after using it to cut raw meat

    No, we didn't. It was about wooden/plastic cutting boards vs "better" ones. Your tip about vinegar points to "excessive cleaning" btw - it's totally unnecessary.

  24. Re:excessive cleaning leads to disease?? on Keyboards are Havens for Super Bugs · · Score: -1, Flamebait

    Is Google to difficult?

    link

    This is common knowledge here, but judging from the products I see coming from the US I guess you're a bit behind.

  25. Re:excessive cleaning leads to disease?? on Keyboards are Havens for Super Bugs · · Score: 0

    Feel free to do that - or - you could educate yourself and realise that what I wrote is true.

    Ignorance is bliss.