Slashdot Mirror


User: Fledsbo

Fledsbo's activity in the archive.

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

Comments · 13

  1. Forget tech books, free the newspapers on Wikipedia's $100 Million Dream · · Score: 1

    All the information from tech books is already available freely on the net in some form. Historical data never goes out of date though, and is much harder to come buy. I'd buy the rights to newspaper archives.

  2. Re:Why are we hiding from the police, daddy? on Vim 6.4 Released · · Score: 3, Insightful

    Remap the (totally useless) CapsLock key to escape. Voila!

  3. Re:Robo Rally on Fun Tabletop Games? · · Score: 1

    Second that. You might have trouble getting the english version though, as it's been out of print for a while (a german version is available). Looks like it's being re-released though.

  4. Puerto Rico on Fun Tabletop Games? · · Score: 5, Informative

    Check the top rated games at BoardGameGeek. My personal favourite is Puerto Rico.

  5. Re:/. posters on Optimizations - Programmer vs. Compiler? · · Score: 1

    I'll try once more with escaped <'s // fast
    if (a <= b) {
    if (a < b) {
    return -1;
    }
    return 0;
    }
    return 1; // slow
    if (a < b) {
    return -1;
    } else if (b < a) {
    return 1;
    } else {
    return 0;
    }

    Knowledge of the input data can help you or your compiler put the right jump first, but there is never any need for two compares in there. Organizing the code like this helps the compiler optimize it correctly. I did learn this the hard way, and therefore always organize my compares like this inside sorts.

    Of course this depends on your compiler and version, but there's nothing wrong with having some knowledge of your compiler when you're writing performance crititcal code.

  6. Re:/. posters on Optimizations - Programmer vs. Compiler? · · Score: 1

    I'll give you one (might be posted already, but I cba to go through every post):

    Inside your sorting function, do :

    if (a = b) {
    if (a b) {
    return -1;
    }
    return 0;
    }
    return 1;

    instead of

    if (a b) {
    return -1;
    } else if (b a) {
    return 1;
    } else {
    return 0;
    }

    At least with my gcc with -O3, the first one is a single cmp, while the last one is two.

  7. Re:No wonder they lost the search engine wars on Yahoo's Y!Q Contextual Search Beta · · Score: 1
  8. Re:Stats are nice on Are Game Stats Important to You? · · Score: 1

    Bah, this whining about cheaters is much more annoying than cheating itself in ET.

    I've played this game *way* to much since the day it came out, both on public servers and in clan matches. I run a fairly popular public server myself (with my clan-mates), and cheating has never been a problem for me. Sure, I've seen a few, but they're either really easy to pick out, or they're just so bad that their cheating really isn't helping.

    There are some really awesome players and clans out there though, it amazes me to see how good people can get at computer games (especially the teamwork part of it).

  9. Re:Does it work properly/completely with Opera yet on Gmail Adds Features · · Score: 1

    Relevant story: I was ordering some plane tickets, and managed to find some at the lowest price (they have a number of tickets at each price point). Clicked through all the forms and was just about to confirm the order when (lo and behold) firefox crashed on me. Signed back on to reissue the order, and the cheapest tickets were all taken. So firefox crashing has cost me 500 NOK (~80$) this week...

  10. Enemy Territory on Good Online FPS Games/Servers For Beginners? · · Score: 1

    I am seriously hooked on Enemy Territory. It's free (download from www.splashdamage.com), runs great on linux, and is open source.

    Find a server where you like the crowd, and stay there. Having people curse at you for beeing a "noob" really kills the fun, but not every server is like that.

  11. Re:MPlayer rocks! on MPlayer 0.90 released; MPlayer Maintainer Leaves · · Score: 1

    NVTV works great for me (in combination with xine/mplayer)

  12. Let's hope his convicted on Jon Johansen To Be Retried On Piracy Charges · · Score: 2, Funny

    Otherwise, since piracy = terrorism, the evil regime in Oslo would be supporting terrorism, and we'll soon have triggerhappy american soldiers on our doorstep coming to "liberate" us.

  13. Re:Direct link to the movie on Star Wars II Trailer Online · · Score: 2, Informative

    To make this work:

    wget --referer=http://starwars.apple.com/ep2/clone_war/ clonewar_lg.html http://starwars.apple.com/ep2/clone_war/media/gate /ep2_clone_war_p640.mov