Slashdot Mirror


User: mrpotato

mrpotato's activity in the archive.

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

Comments · 81

  1. Re:Best support stories page on Your Favorite Support Anecdote · · Score: 5, Informative

    There's a good reason why you want to be able to support more than 16,384 local variables in a C function. Some compilers for functional languages (say Scheme) can compile a whole Scheme module to a single C function. The idea is that Scheme features tail-calls optimization, so it allows you to implement some function calls as a C goto (which is very efficient).

    Such machine-generated code can get quite big. It would really sucks to have a silly hard-fixed limit for the number of variables in a function.

    Now I understand that in the case of the anecdote the programmer might really have had more than 16,384 variables in a function for hand-written code. That would be /very/ scary.

  2. Re:I'll just say this on The Splinter Cell Essentials Marketing Fracas · · Score: 2, Funny

    "I [...] approve of sleazy marketing." -- bogie

    "I never tire of [...] killing people." -- bogie

  3. 40$ for Kong? on Download-to-own Films Coming Soon · · Score: 5, Insightful

    That's way to expensive. These guys still don't get it. Designed to fail.

  4. Re:Google pays MCDONALD'S wages on Google Summer of Code Results · · Score: 2, Interesting

    You just had to complete a project during the summer. It doesn't mean you've worked 40 hours on it. You simply had to meet the deliverable. Some people got paid considerably more than 9.30$/hour, and have a much better experience to put on their CV than "flipped burgers for 4 months".

  5. It's dupealicious! on Blackout Shows Net's Fragility · · Score: 3, Funny

    But for easy karma, just go get a +5 comment in the other thread, and repost it here without attribution.

    Not that I would ever do such a thing...

  6. Will this one get pulled? on Google Forms Partnership With NASA · · Score: 0, Redundant

    Another dupe was pulled earlier this week. Let's pull this one too. Nothing to see here.

  7. Re:I agree on Review: Burnout - Revenge · · Score: 1

    Another thing that sucked was how incredibly long it took to go back and do the crash again!

    I played both on the PS2 and on the XBOX, an I suppose you played on the PS2. You're right, the wait betweem crashes was neverending. It's much, much better on the XBOX, though. The interface still sucks a bit, because the default option after you've tried a crash is to 'continue' (ie leave the crash), while it would be better to propose you to do it again. Anyway, great game. Much better load times on the XBOX.

  8. Not that bad on London Tube Dangerous for Technophiles? · · Score: 1

    It's still a little better than the guy who got 7 bullets in the head, don't you think?

  9. Re:Yeah, they're like exceptions in C... on Learning to Code with a Boardgame · · Score: 1

    Exceptions are not just jumps: they unwind the stack, too.

  10. Re:Hand hurts after using Emacs all day on Learning GNU Emacs, 3rd Edition · · Score: 2, Informative

    I don't really see why your right hand would hurt much, but still, here's my trick for Emacs hand comfort: make sure you use a keyboard where the left Control key sticks out well. That way, you can press Control with only the side of your hand, instead of having to use your pinky finger.

    Think of this as a sixth finger for your hand. The shape of your hand was intelligently designed to use Emacs that way.

  11. Perl Best Practice: Don't use it on Perl Best Practices · · Score: -1, Redundant

    Use something better and more maintainable, like Python or Ruby. There's no reason anymore to stick to Perl, whatever problems it used to solve can now be solved more clearly and more efficiently with other programming languages.

    Please stop writing glorified shell scripts.

  12. What the fuck is Gallery on Gallery 2.0 Released · · Score: 0, Troll

    Why should I care more about how it was developped than what's the end product?

    Announcing some software based on what process was used isn't informative at all.

  13. Argument by authority on A Look At MS's MA Talking Points · · Score: 1

    I don't see why the fact that he co-created XML would make him any more fit to speak about what needs to be done. It's just a simple fallacy.

  14. Re:Call me a cynic, but.. on Form Filling Through Office 12 · · Score: 1

    Call me a cynic, but you're just a realist.

  15. Re:Off Topic, I know but... on The Extinction of the Programming Species · · Score: 1, Offtopic

    No I can't see it, and since you use FireFox you shouldn't have to.

    Praise the Adblock extension.

  16. It's just a bait on Cryptic Code Stumps Experts · · Score: 1

    If you rot-13 the letters, you get:

    Y.H.B.T .H.A.N.D.

  17. I'm over here! on U of Chicago Scavenger Hunt List - 2004 · · Score: 5, Funny

    If Mrs Potato wants to give me head.

  18. Re:Resume on Canadian University to Begin Training Hackers · · Score: 0, Troll

    I have a deeper understanding of the TCP/IP protocol suite than anyone in their right mind could want, I can code shellcode in my sleep, and writing a self-modifying virus that evades most signature-based scanners is something far from impossible now.

    Bullshit bullshit? Bullshit, bullshit bullshit bullshit, bullshit!

    Bullshit, bullshit bullshit...

  19. Re:Themes schemes on Linux Desktop Without X11 · · Score: 1

    I've run into a couple of bugs, but not instability.

    Duh! What do you think "unstable" means? It doesn't necessarly means it takes a while to crash.

  20. Programming Myth on Summary of JDK1.5 Language Changes · · Score: 2

    " I feel using programming shorthand leads to increased maintenance."

    False.

    Shorter code and more powerful idioms makes a program *easier* to debug.

    Too much code makes the purpose lost in the noise. Consider:

    foreach (@array) {foo $_};

    and

    my $i;
    for ($i = 0; $i < $#array; $i++)
    {
    foo $array[$i];
    }

    (I use Perl here since it is well known and I can show the 2 idioms, but really Perl isn't the clearest language of all). One form is much clearer and reveal much more eloquently what is the intent of the code.

    Of course, this doesn't mean that shorter code "at all cost" is easier to debug, it means that "less code" is better.

    Oh, and also it pisses me off when management tells me I need to use only certains idioms in case someone comes over my code and don't understand it. I hate to have to program like the next maintainer will be clueless and ignorant.

  21. Re:how long on The Hundred-Year Language · · Score: 1

    It's still closer to spoken language than the equivalent C/C++/Python/Perl/Lisp

    You are right. Therefore, it sucks.

  22. Re:finite state machine on VIA C3 Random Number Generator Reviewed · · Score: 0, Troll

    I second that. The original poster doesn't have a fucking clue.

  23. Re:You need an acoustic... (MOD PARENT UP!) on Software Based Echo Cancellation? · · Score: 2
    Man, if all AC were that interesting and informative, we would need a reversed filter mechanism...

    Lots of people were modded up in this discussion proposing wrong, irrelevant or incomplete solution. Typical /. ...

  24. Re:Nothing quite like... on Transforming Orbit Into A Wasteland · · Score: 2

    cool, I agree, it seems quite logical.

  25. Re:Nothing quite like... on Transforming Orbit Into A Wasteland · · Score: 2

    What about chain reaction? You blow a missile, some satellites get hit, get into tiny bits, blow up some others...

    The chances appears slim, but when you have thousands of fragments going tens of thousand km/h around, shit can happen quite fast.