Slashdot Mirror


User: HeronBlademaster

HeronBlademaster's activity in the archive.

Stories
0
Comments
2,797
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 2,797

  1. Re:I like Python on What Programming Language For Linux Development? · · Score: 1

    Well I use search/replace, so it's not hard, I just meant that it's not automatic, and Python doesn't work unless I do it.

  2. Re:I like Python on What Programming Language For Linux Development? · · Score: 1

    Good to know.

    Does it say anything about using two spaces, or three, or four, or one? Does Python blow chunks if I use four spaces, but my coworker uses three?

  3. Re:I like Python on What Programming Language For Linux Development? · · Score: 1

    I set tabs to take up four columns. Eight is (visually) too big. Visual Studio's default is to make a tab go up to the next divisible-by-four column, so you're way off-base saying "all reasonable programs interpret tab characters" as forwarding to the next divisible-by-eight column.

    Another problem: Some developers set their editors to put in 2, 3, or 4 spaces when they hit the tab key, instead of putting in a tab character. Causes conflicts with those of us who don't, unless we agree on a standard. That was my chief complaint - Python doesn't have a standard that I'm aware of.

    You realize that in Python you can use spaces instead of tabs for all your indentation needs, right? And that as long as you're consistent, it'll work with whatever you use? My professor uses three spaces for each level of indentation. I use a single tab. When I paste his code into mine, I get all sorts of errors from the Python interpreter until I replace his method of indentation with mine.

    How, exactly, is my editor supposed to know that when I paste from code sample X it should replace three-space-indentation with tabs, but from code sample Y it should replace two-space-indentation with tabs? I would actually complain if my editor tried to do that for me, because half the time it would be wrong.

  4. Re:Mono on What Programming Language For Linux Development? · · Score: 1

    What I don't understand is that reSonans got modded insightful, but someone three posts up said exactly the same thing and got modded flamebait...

  5. Re:Learn C and Python on What Programming Language For Linux Development? · · Score: 1

    To be fair, there is a fairly easy way around that. Mandate that everyone use tabs for indentation, and let them set whatever display width they want.

    That doesn't solve the "oops, that should have been tabbed over one more to be inside the if statement" problem, but you can run into that in C/C++ as well - just forget to put { } around a multi-line if statement (some lazy bums don't put them around single-line if ;), or alternatively, put the ending } around an extra line of code. Either of those takes just as long to debug as Python's indentation woes.

    Granted, Python's indentation is much easier to screw up, but never let it be said that C is immune to scope programming problems...

  6. Re:I like Python on What Programming Language For Linux Development? · · Score: 1

    I don't mind Python's use of whitespace; what bugs me is that there's no standard for it. My professor gives us code that has spaces for indentation, so I can't copy his code into mine without manually replacing his spaces with tabs, and vice versa.

  7. Re:It Gathers Cobwebs Till Nobody Left Remembers I on What Happens To Code From Failed Projects? · · Score: 1

    Ah, that makes a bit more sense :)

  8. Re:It Gathers Cobwebs Till Nobody Left Remembers I on What Happens To Code From Failed Projects? · · Score: 1

    What do you mean Armada couldn't be officially released? It was the second-best-selling Star Trek game, and it had a sequel.

  9. Re:Pet Cemetary on What Happens To Code From Failed Projects? · · Score: 1

    So you're calling ST:EF a zombie? I guess that's not far from the truth...

    /me pours holy water on his ST:EF CDs

  10. Re: on What Happens To Code From Failed Projects? · · Score: 2, Funny

    So... 10K used lines gets paid more than 20K unused lines...

    return 0;

    Here we have one line that is used frequently! That'll be $4 million. I accept paypal.

  11. Re:Full stop? on Slashdot's Disagree Mail · · Score: 1

    I'm sure David Lanz isn't the only one to do the skit. I know it was Lanz though, because it's the only real piano concert I've ever been to ;)

  12. Re:Instead of complaining about Idle... on Slashdot's Disagree Mail · · Score: 1

    That would only work if the admins bother to check how many people have the section filtered.

  13. Re:About those clones on Slashdot's Disagree Mail · · Score: 1

    Is it still adultery if you sleep with your wife's clone?

  14. Re:Full stop? on Slashdot's Disagree Mail · · Score: 1

    I went to a David Lanz (a pianist, for the uninitiated) concert once... he read some story or other where he made sound effects for the punctuation. It was quite humorous.

  15. Re:In some ways, it makes a lot of sense on Apple Believes Someone Is Behind Psystar · · Score: 1

    My point wasn't so much that Pystar is paying for OSX, but that Apple is charging what they charge, and nobody can choose what Apple charges except Apple. You can blame nobody except Apple for OSX's price. I don't believe for a second that Apple loses money on OSX "upgrade" sales. If you have evidence to the contrary, feel free to enlighten us.

    Do you make as big a fuss over people buying the upgrade version of Windows without owning a full license? You can, in fact, install Windows off of an upgrade CD without owning a full version of Windows. (Note that I don't believe Microsoft loses money on those sales, either.)

    As for overpricedness of Apple machines... I have shown on various occasions over the last two years that Apple laptops cost $600 more than equivalently configured Dell machines (that is, the same hardware specs) running Windows XP Professional (or Vista Business, now). Complaints about hardware quality are ridiculous; I have several Dell laptops and I have not had any hardware issues other than those caused by age (who seriously expects a laptop to last six years?), and my friend who worked at an Apple repair shop also disputes the "Apple hardware is better" claim.

    Just out of curiosity, specifically what maintenance costs do high-end Windows workstations have that high-end Apple workstations don't have? Do high-end Linux workstations have the same maintenance costs?

  16. Re:Doctrine of First sale on Apple Believes Someone Is Behind Psystar · · Score: 1

    Most software sellers would have you believe that you're purchasing the media, and licensing the software. They believe there's a difference. I don't agree, personally, but if they can make the courts agree with them...

  17. Re:Biased much? on Apple Believes Someone Is Behind Psystar · · Score: 1

    Actually it prohibits using OSX on anything other than Apple-labeled hardware. Sure, Apple's intent was "hardware labelled by Apple", but they didn't write that ;) Technically, if it has an Apple sticker on it, it's Apple-labeled...

  18. Re:Biased much? on Apple Believes Someone Is Behind Psystar · · Score: 1

    That's my opinion exactly. I don't understand why Apple doesn't do this already - sell copies of OSX but say "we only support OSX on the apple-manufactured computers". The way I see it, they could make a decent lump of cash from nerds wanting to run OSX on their PC.

  19. Re:In some ways, it makes a lot of sense on Apple Believes Someone Is Behind Psystar · · Score: 1

    So you're saying Leopard is worth less than $130?

    Seriously though, if OSX weren't worth what Apple sells it for, that's Apple's fault, not Pystar's. Pystar is paying for the copies of OSX they distribute, and they pay what Apple charges for retail copies of OSX.

    Don't take out your anger on the rest of us. It's not our fault you're overpaying for your hardware.

  20. Re:In some ways, it makes a lot of sense on Apple Believes Someone Is Behind Psystar · · Score: 1

    This is why if you're actually firing a woman or a black or a homosexual for incompetence, they'll sometimes assume they were fired for the legally invalid reason.

    As an employer, I would be more wary about hiring women, and I would check references and such more closely, because I would be afraid that I couldn't fire them for incompetence without being accused of firing them for their gender. I wouldn't want to have to be more wary, it would simply be a result of our current legal environment.

    I'm always amazed that people whine about being fired for whatever reason even though they signed a contract that says "We can fire you for any reason at any time, without notice." I don't mean to excuse racism or whatever, but doesn't "any reason" mean "any reason"? If a gay man signs such a contract, and is subsequently fired, it shouldn't matter what he suspects is the reason - he agreed that he could be fired for any reason!

  21. Re:If it's true I bet I can guess who it is... on Apple Believes Someone Is Behind Psystar · · Score: 1

    Not really; Psystar isn't using OEM copies of OSX.

  22. Re:Stigma on Windows Vista Service Pack 2 Expected Tomorrow · · Score: 1

    Good to know, thanks :)

  23. Re:Beta SP? on Windows Vista Service Pack 2 Expected Tomorrow · · Score: 1

    I do. I'm in charge of IT for my employer, but I only work ~15 hours per week. Granted, I'm generally the one to install OSes, but when SP2 comes out I'm not going to opine one way or the other about whether they should install it.

    Of course, these are development computers, and the programmers will want to know that their software actually works on Vista SP2.

  24. Re:Stigma on Windows Vista Service Pack 2 Expected Tomorrow · · Score: 1

    No, he'd rather it get fixed.

  25. Re:Safe... until on Apple Says Macs Are Safe, No Antivirus Needed · · Score: 1

    Saying "So far they have failed" implies that they've tried - do you have any evidence of that? A lack of viruses does not necessarily indicate the existence of failed attempts.

    I subscribe to the notion that malware authors (in general) won't target OSX unless it gains the kind of market penetration that would make it profitable. Something like 40-50%, is my off-the-seat-of-my-pants guess, but we won't know for sure until it happens.