Slashdot Mirror


User: peterpi

peterpi's activity in the archive.

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

Comments · 653

  1. Death Rate? on Causes of Death Linked To Weight · · Score: 1

    a couple of years ago researchers found that overweight people have a lower death rate than people with a normal weight

    Incredible. I thought it was a steady 100% for everybody.

  2. Re:Jock? on YouTube For High-School Jocks · · Score: 1

    Maybe not their teacher, but certainly their boss. And it happens more than people here might like to admit. It's not unusual at all to get a superstar coder, but they're an unacceptable business liability because nobody can actually interact with them.

  3. Re:So sad. on PlayStation 2 Celebrates Seven Years in the US · · Score: 1

    There's an interesting article looking at the correlation between review scores and sales here: http://www.dreamdawn.com/sh/features/sales_vs_score.php

  4. Re:obligatory on 'I Was a Hacker for the MPAA' · · Score: 3, Insightful

    You're pissing into the wind.

  5. Re:I'd say the timing is perfect. on Apple's Missed Opportunity With Leopard Delay · · Score: 1

    Funny, I watched that movie just yesterday evening. I'm sticking my debian machine in a cupboard and hopefully getting a mac mini on 26th. It'll be my first new computer in about 10 years, after countless cobbled-together win/lin dual-booters.

    It's a bit annoying at first; This stereotypical machead spends about 15 minutes telling you about the super new transparent bar. But after that he's doing stuff that just made my jaw drop. Time machine in particular just left me in awe. Sure, I can setup an rsync job in cron and all that crap, but Time Machine made it ridiculously easy.

    I urge anybody who thinks that Apples are overpriced to watch the movie. Just sit through the first ten minutes and try to ignore the nausiatingly mac-ish presenter, it's worth it.

  6. Re:Does it fly? on Rocket-Powered 21-Foot Long X-Wing Actually Flies · · Score: 1

    I actually fell off the toilet laughing the first time I read that

  7. Re:C++ long-in-the-tooth? on Firefox Working to Fix Memory Leaks · · Score: 1

    But what I wrote is not purposefully breaking the system, it's just forgetting to release a resource. That was the point I was trying to give an example of. Java falsely claims that you don't have to worry about releasing resources any more because the garbage collector will get it in the end. That claim only holds for resources such as memory, that are so plentiful that you don't need to immediately return them to the system. The Java example I gave is clean, it compiles, the error would more than likely be missed by most peer reviews. Even if I had closed the inputstream just before it went out of scope, an exception (or a badly placed return or continue) would bring us out of the scope before the Close() function was called. RAII gaurantees that resources are cleaned up no matter how you exit the scope.

  8. Re:Somebody please explain the appeal on MIT Hacks Harvard For Halo, Game Prompts Lots of Sick Days · · Score: 1
    • FPS: If it moves, shoot it
  9. Re:C++ long-in-the-tooth? on Firefox Working to Fix Memory Leaks · · Score: 1

    Mainly that it's an action that takes place at uncontrolled intervals and takes an unbounded amount of time to complete.

    Indeed. That's why I love C++'s RAII.

    Try this:
    Crash.java

    import java.io.*;

    class Crash
    {
                    public static void main (String [] args) throws java.io.IOException
                    {
                                    while (true)
                                    {
                                                    FileInputStream in = new FileInputStream ("Crash.java");
                                    }
                    }
    }

    Then:

    $ javac Crash.java

    $ time java Crash.java

    Exception in thread "main" java.io.FileNotFoundException: Crash.java (Too many open files)
                    at java.io.FileInputStream.open(Native Method)
                    at java.io.FileInputStream.(FileInputStream.java:106)
                    at java.io.FileInputStream.(FileInputStream.java:66)
                    at Crash.main(Crash.java:12)

    real 0m0.259s
    user 0m0.148s
    sys 0m0.048s

  10. Second opinion. on Halo 3 Review · · Score: 4, Funny

    UK Resistance has another review here

  11. Re:Only one thing to do then .. on Another Man Dies After Marathon Gaming Session · · Score: 1

    After all, more people die in China than any other country.

  12. Re:Interesting... on GCC Compiler Finally Supplanted by PCC? · · Score: 1

    3) Because it's interesting to somebody who likes seeing how compilers work. "simple, fast and understandable".

    TFA makes no claim about it 'going up against' gcc in any way (apart from an observation about speed of compilation). Compilers are intersting things to some people, that's all.

    Your linux distribution quite possibly comes with tcc anyway. Is that a problem?

  13. Re:What Intel's gonna do on Intel Purchases Havok · · Score: 2, Insightful

    Spot on.

    Realistic physics is EASY, you just do what the textbook says. Fun physics on the other hand involves an enormous amount of playtesting, analysis and fine tuning.

  14. Re:I don't think so on The GIMP UI Redesign · · Score: 1

    Sorry, I was just typing stupid stuff and accidentally hit submit :(

  15. Re:Is it all that broken? on The GIMP UI Redesign · · Score: 1

    I can't see what's wrong with basic layout of the program

    You probably just need to set your $DISPLAY environment variable.

  16. Re:I don't think so on The GIMP UI Redesign · · Score: 1

    That would be a lot more interesting if it was true.

  17. Re:stupidest key combo decision ever on The GIMP UI Redesign · · Score: 1

    Seconded I have used some form of Unix (Solaris/BSD/Linux) every working day since October 1998, but I have no idea what Ctrl-K does. Everybody knows what Delete does.

  18. Re:What's Worse Than That on The GIMP UI Redesign · · Score: 1

    I couldn't believe anybody could be so pedantic when I finally discovered you have to press shift-= to zoom in.

  19. Re:In a blind taste test.... on Debating the Linux Process Scheduler · · Score: 2, Funny

    It could help stop you forgetting to close your 'i' tag too! :p

  20. Re:this is stupid! on Theo de Raadt On Relicensing BSD Code · · Score: 1

    one could argue that thus wirting code under BSD licence is stupid in the first place.

    It would only be stupid if you were unhappy about your code being used in a commercial project. In that case, you would have chosen the wrong licence.

    If however you were happy with the concept, then it wouldn't be stupid at all.

  21. Lua on Name Your Favorite Bloat-Free Software · · Score: 1

    It's not a program in itself, but Lua is wonderfully slim.

    I just compiled liblua.a using gcc on cygwin. It was 204392 bytes at -O2, 170764 bytes at -Os.

  22. Re:Too late, too irrelevant on Sun Says OpenSolaris Will Challenge Linux · · Score: 1

    He says it, but is it actually true? Are there any embedded system engineers reading this who can give an informed opinion?

  23. Re:Dupe GOTO 10 on Mobile Phones to Monitor Traffic Congestion · · Score: 2, Informative
  24. Re:WHY IS THIS SUBJECT UNDERLINED? on Ubuntu Hardy Heron Announced · · Score: 1

    Not for me (FF 2.0.0.6 on Debian Etch)

    Left click does nothing, middle click brings up an error box saying "The URL is not valid and cannot be loaded" and right click brings up the same menu as if I'd clicked on any other non-link part of the page.

  25. Re:Fundamental Flaw In Wikipedia? on ESA, EA Caught Editing Their Own Wikipedia Entries · · Score: 1

    Maybe the GP is talking about something like tor.