Slashdot Mirror


User: Sartak

Sartak's activity in the archive.

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

Comments · 68

  1. Re:Those aren't the real problems with Python on Guido and Bruce Eckel Discuss Python 3000 · · Score: 1

    Python is better than Perl as a language

    While Python certainly looks prettier, it's not as expressive as Perl. Consider lexical closures, which Perl has had for over a decade.

    def make_counter(initial): ctr = initial def nonclosure(): ctr = ctr + 1 return ctr return bar

    This will throw an "local variable 'ctr' referenced before assignment" error when you try to invoke the function returned by make_counter. The following Perl just works:

    sub make_counter { my $ctr = shift; return sub { return ++$ctr; }; }
  2. @ Love on Ocarina of Time — Best Game Ever? · · Score: 1

    NetHack, your day shall come!

  3. Bene Tleilax anyone? on Bionic Eye Could Restore Vision · · Score: 1

    How can an article about bionic eyes not have a single Tleilaxu joke?

    News for nerds, pah.

  4. Re:I can't wait on 65% of Americans Spend More Time With Their PC Than SO · · Score: 1

    For me, Read Dante's Inferno Again Day

  5. Re:The Mac in Indepedence Day on Servers, Hackers, and Code In the Movies · · Score: 1

    Indepence Day has flaws--many, many, many flaws--but the whole virus-on-a-Mac is not one of them. [...] If you want to quibble, you could ask where he got the EvilAlienOS programmer's reference manual or the EvilAlienCPU's architecture description or how he managed to find an exploitable vulnerability in EvilAlienOS so quickly. But enough about the frickin' Mac, okay?

    Whoa there! Settle down, capitan. Nobody was bashing your precious Mac. I'm sure the idea would have gotten a similar response if Goldblum was on a PC. It's just that, for whatever reason, people remember it as being a Mac.

  6. Re:Problems with Programming on Bjarne Stroustrup on the Problems With Programming · · Score: 1

    n the spirit of C++, there should be a way to specify completely different functions for them of course, but generally bool operator!=(const X &x1, const X &x2) { return !(x1 == x2) }; Just like x x. Or we could go further and say that y >= x is the same as !(y x)

    Perl lets you to do this. You just overload the <=> operator and it'll figure out what to do for all the others (==, !=, <, <=, >, >=). And, of course, you can have $a < $b mean something entirely different from $b >= $a, but that'd just be zany..
  7. Re:Attention demands 27096 gold pieces. Pay? (yn) on The Many Ways To Die in Nethack · · Score: 1

    WHY IN THE HELL would an ATHEIST care to ASCEND?

    Because immortality is far preferable to nothingness?

  8. Re:Attention demands 27096 gold pieces. Pay? (yn) on The Many Ways To Die in Nethack · · Score: 1

    NetHack isn't that hard. [...] I haven't ascended yet. I've come close twice

    Err, right..

    On the nethack.alt.org server, the record for ascension streak is IIRC 23 straight ascensions, some with conducts. So although luck plays a part in all games, it's not as big as you think, and ascending with 95% certainty can be done, just as long as you keep paying attention.

    Marvin is really in a class of his own. http://alt.org/nethack/ascstreak.html lists ascension streaks. Note that it drops off very quickly.

    --Eidolos
  9. Re:Kick the edge of one of the planes on The Many Ways To Die in Nethack · · Score: 1

    I tried this, on Earth, Air, and Fire, but all I got was "killed by kicking a wall"

    Rumor is it's not possible in vanilla 3.4.3.

    -- Eidolos
  10. Re:Security vs Convenience on Why Not Use Full Disk Encryption on Laptops? · · Score: 1

    How many people actually used the BIOS password feature?

    My computer still has that BIOS password feature. I use it to deter my little brother from restarting the computer, since he won't be able to use it at all if he does.

  11. I'm holding out for 121 on Element 118 Created · · Score: 1

    When we get to 121, it'll require a restructuring of the Periodic Table (like what they have to do with the lanthanides and actinides (aka the two bars on the bottom)). Can't wait! :)

  12. Re:Close button per tab on Firefox 2.0 RC2 Review · · Score: 1

    In about:config, change browser.tabs.closeButtons to:

    0 for close button on the current tab only
    1 for the new default: a close button on each tab
    2 for no close buttons at all
    3 for the old behavior: a close button on the far right in the tab bar (yay!)

  13. Wonderful! on Power Suit Promises Super-Human Strength · · Score: 1

    We could use this "powered armor" to squash the Klendathu menace! And then totally ignore them for the movie!

  14. Re:How is VB.NET in there? on Google Code Jam Registration Opens Today · · Score: 1

    Oops. Perl is nearly five times as old (it was first released in 1987), not three.

  15. Re:How is VB.NET in there? on Google Code Jam Registration Opens Today · · Score: 1

    For the first part, they're all object oriented, so Perl is (for the most part) out of the question as per languages to use.

    I'll ignore the remark about Perl's OOP and go right to the heart of it. Object oriented programming is hardly a part of the TopCoder/Google Code Jam experience. Any language that has the capacity to understand strings and multi-dimensional lists (including C) could possibly be added to TopCoder. One of the biggest complaints against Perl's addition to TC is that it would make the challenge phase (where people look at and challenge eachother's solutions) more difficult. The four languages they use all have similar capabilities and syntax (or at least recognizably similar by a programmer of one of the other languages) -- this means you can still do well without being an expert in all the languages they currently support.

    I'd definitely get back into competing in every SRM if TopCoder added Perl. But until then, well, C++ just isn't good enough for me any more.

    Also, if you look at the sheer numbers of people these days that know VB.NET vs. the number of people that know Perl, the number of people who know .NET is significantly higher. Most college students are taught VB.NET as their first language.

    I suspect you're grossly underestimating Perl's userbase (or perhaps I'm grossly underestimating VB.NET's userbase). VB.NET is only about four years old -- Perl is three times older, and was for a long time the de facto language of the web.

  16. Console games! on Can a Gaming Cafe be Successful? · · Score: 2, Interesting

    I recommend console games in addition to PC games. I long for the past days of four-player free-for-all GoldenEye 64.

  17. The cause? on Cheyenne Mountain Shutting Down · · Score: 1

    I hear that those damn Loonies have been hurtling down boulders every couple of minutes since 2076...

  18. 1.5.0.5 is already in the Ubuntu repository. on Thunderbird 2.0 Alpha 1, Firefox 1.5.0.5 Available · · Score: 1

    I was surprised to find that when I used apt-get upgrade a few hours ago, Firefox was upgraded to 1.5.0.5. This was before I even knew it was released. Kudos to whoever is managing Firefox for Ubuntu!

  19. Re:This exemplifies why Ubuntu is taking over on Ubuntu Open to Aiding Derivative Distributions · · Score: 1

    Derivatives of RedHat software get no support, but I bet they get nice letters from RedHat legal.

    Perhaps the parent misses the point of the GPL?

  20. Re:Snicker-snack! on The Sharpest Object Ever Made · · Score: 1

    You misspelled Jabberwocky. :/

  21. Re:how to stop 99.99% of spam in the r.o.t.w on Porn Dominates the Spam Battlefield · · Score: 1

    Gmail can do this. Just set up a filter that has the words "$" and redirect those message straight to the can.

  22. Re:Futurama Flavored Humor on Ask Futurama Star Billy West About...? · · Score: 1
    Sixth Question: What made you want to do voice acting as a profession? It must not be very glamorous if the only way a fan could recognize you is by your voice, why'd you choose it?

    From Billy West's interview with The Onion:

    You know, it's like they treat [voice actors] like we're not actors. I went to the première of Space Jam at [Grauman's] Chinese Theatre--big première, red carpet, everything. Me and the voice people got invited to the little theatre; there's two of them there, the big Chinese theatre, and then there was a smaller one next to it. We weren't invited to the big place, and so my friend Bob Bergen, who does Porky Pig an awful lot, called them up and said, "Hey, what gives? We're featured in this movie." She said, "Oh you mean the party at the big Chinese theatre? Oh, that's for the actors." I'd like to find out what little cement-head said that.
    So yeah, "it must not be very glamorous" is the understatement of the week.
  23. Oh god. on Web 2.0 Recipes With PHP + DHTML · · Score: 1
    Full simple code examples for dynamic elements for your web apps, including: Ad boxes, Pop-ups, Spinners, and Tabs

    Oh god, won't someone please think of the end users?

  24. MS Access on Linux Helping Oracle · · Score: 5, Funny

    I'm still awaiting an Access port. Then we'll have a truly fantastic Linux database. Til then, I'll stick with my trusty flatfiles.

  25. Implants? Pfft. on Implants Allow the Blind to See · · Score: 1

    I just inject obscene amounts of melange into my system.