Slashdot Mirror


User: The+Warlock

The+Warlock's activity in the archive.

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

Comments · 381

  1. Re:Before everyone starts speculating on Congresswoman and Staff Gunned Down · · Score: 1

    Maybe we could talk about how it's difficult for people in this country to get needed psychological help, rather than jump to a knee-jerk political shit-flinging contest?

  2. Re:Yay! on Navy Tests Mach 8 Electromagnetic Railgun · · Score: 4, Insightful

    You're forgetting the obvious explanation: that ever since WWII, we don't know how to run an economy that isn't propped up by military spending.

  3. Re:What about C++? on The Coming War Over the Future of Java · · Score: 1

    By the way, Slashdot removes the bit shift operators from my post, that wasn't me forgetting them.

  4. Re:What about C++? on The Coming War Over the Future of Java · · Score: 5, Informative

    C++ has an astonishingly complicated grammar, which means that compilation takes forever and other tools don't work as well as they do for languages with simpler grammars, like C or Java.

    C++ doesn't really have compile-time encapsulation: if you add a private member to a class, you need to recompile everything that uses that class even though the class's public interface didn't change. That woudn't be so bad in and of itself except that C++, again, takes forever to compile.

    C++ also doesn't have run-time encapsulation or really any serious run-time error checking that you don't do yourself. Yes, it's for performance reasons, but some people are working on problems that aren't performance-critical and would prefer a language that doesn't pound nails through our dicks. (if it doesn't have encapsulation, why do they call it "object oriented?")

    C++'s exception support is hilariously broken. 1) If you've allocated some memory for an object, and then you throw an exception, you don't have that pointer anymore, and because C++ doesn't have garbage collection you've just leaked memory. The only way around this is to implement garbage collection yourself; C++ weenies call this "RAII" and if they're really far down the rabbit hole they sometimes don't even realize that it's just them implementing shitty reference-counting garbage collection. 2) You can't throw exceptions in destructors. Well, you can, but when an exception is raised, all the destructor for objects on the stack are called, and if one of them throws an exception while you're already handling an exception the program terminates. Seriously, that's what the standard says, I'm not making this up. So you can't throw exceptions in destructors, or call any function that might throw an exception. 3) In every major compiler I've used, exception handling support is implemented in such a way that it slows down every function call you make. Yes, it's only slightly, but it means if you really care about performance, you can't use exceptions, and if you don't care about performance why the hell are you using C++? And even if you want to use them they're almost worthless; I mean you can't even get a goddamn stack trace out of them. You can throw arbitrary objects, but the catcher can't figure out what the hell the object is because of C++'s lack of reflection. Etc.

    C++, in an effort to be sort-of compatible with C (except where it's not compatible with C, which makes you wonder why they bothered in the first place) keeps all of C's features while creating duplicate features with their own new, horrifying problems. So you have C++ templates, but you still need to deal with C macros. You have std::vectors, but you still need to deal with arrays. You have std::string and char*, and neither is particularly good. Making things even funnier, C++ doesn't like to use its new features and prefers the C stuff: a string literal is a char*, not a std::string, the arguments to main() are int argc, char** argv, rather than something sensible like std::vector args, iostream does not take std::string for its filename arguments, etc.

    While we're on the subject, the standard iostream is pants-on-head retarded. The streams are stateful, which means that std::cout foo; depends not only on the values of cout, foo, and the overloaded left bit shift operator, but also on whatever's been sent to cout in the past. You send values like std::hex or std::setw(int) to set parameters, so when you grab a stream you don't really know what the fuck will happen. This is supposed to be an improvement over printf? They're verbose as hell, too: say you're printing some hex numbers. In C, you'd use "printf("0x%08xn", x);" for int x. In C++, you use "std::cout std::hex std::setfill('0') std::setw(8) x std::dec std::endl;" It's absurd.

    The standard library is completely anemic. I'm not even talking about GUI stuff, here: there's no platform-independent way to do some really basic stuff like pausing for a length of time, or starting a new thread. You can use so

  5. Re:The climate skeptics will have a field day on Peer Review Highly Sensitive To Poor Refereeing · · Score: 1

    Mine, too, but you're not going to convince your average whiny soccer mom of this until the price of non-nuclear electricity jumps significantly.

  6. Re:The climate skeptics will have a field day on Peer Review Highly Sensitive To Poor Refereeing · · Score: 3, Insightful

    Oh please. Let's face it, it's easy for the government to ignore environmental concerns; they've been doing that for years. The real barrier is the general public that's okay with nuclear power as long as the power plant isn't near their neighborhood, as long as trains carrying fuel or waste don't go anywhere near their house. They'd love them some cheap electricity, sure, but just build it near some other people.

  7. Re:This will not stop best buy from have monster s on Calling Shenanigans On Super SATA's Claimed Audio Qualities · · Score: 1

    Ah, DealExtreme. Why buy your cheap Chinese crap from Wal-Mart when you can buy it directly from China for cheaper?

  8. Re:Wait... on Convicted NY Drunk Drivers Need Ignition Interlocks · · Score: 1

    It would only tell them to pull over if registered as having alcohol in their breath, right? So, they can avoid this mild inconvenience by /not drinking while driving/

  9. Re:Amazing how uninformed the author is on No, Net Neutrality Doesn't Violate the 5th Amendment · · Score: 2, Insightful

    You know what, you're right; the government should provide internet access, as in this century it's as much basic infrastructure as postal roads were in the Founders' time, and having private companies run the show will only fuck everything up.

    Or do you think that the Founders didn't want the federal government to help provide infrastructure for communication? The Constitution doesn't seem to agree.

  10. Re:Next Week on a Very Special "D-Bag Lawyer" on No, Net Neutrality Doesn't Violate the 5th Amendment · · Score: 1

    Then again, I prefer to call it the war of northern aggression and feel that the states had the right to secede. Oh well....

    Ah yes, that "northern agression" where the government was going to force the South to "relinquish control of their PROPERTY", that "PROPERTY" being other human beings.

    If the South had been allowed to secede, there would still be legal human slavery on this continent today. Why are you so concerned with the rights of "states" and not the rights of human beings?

  11. Re:WTF? Just ask the patient. on Could Colorblindness Cure Be Morally Wrong? · · Score: 1

    Yes, please, where do I swipe my card?

    It's a brave new future we're heading into.

  12. Re:Forty acres and a flying car... on Stroustrup Says New C++ Standard Delayed Until 2010 Or Later · · Score: 1

    Dunno about the GP poster, but preprocessor macros would be the very first thing on my list.

  13. Re:Damn on China Dominates In NSA-Backed Coding Contest · · Score: 1

    You realize you need to go to college and then to a graduate school to get a teaching certificate in most states, right? I made almost double that with nothing but a bachelor's degree.

  14. Re:But does it work? on Court Orders Breathalyzer Code Opened, Reveals Mess · · Score: 1

    You may need to revisit the legal definition of "reasonable doubt". Being able to contemplate a scenario where the evidence could be wrong is not sufficient to overturn the evidence. Which is exactly why the code needs to be a matter of court record, so that the defendant can see whether or not this scenario actually exists or not.

    Seriously, what is the benefit of denying this right to the defendant?

  15. Dropbox on Flash Drive Roundup · · Score: 1

    You can get something similar for $0/month if 2GB is enough for you, and it has a really nifty auto-sync utility.

    https://www.getdropbox.com/referrals/NTYwNjQzNzk

  16. Re:Newspapers on Phony Wikipedia Entry Used By Worldwide Press · · Score: 4, Insightful

    Except they skipped the part where they didn't take blame for using Wikipedia as a source in the first damn place, because professional journalists aren't supposed to use Wikipedia as a fucking source in the first fucking place.

  17. Re:Supply and Demand on Why Is It So Difficult To Fire Bad Teachers? · · Score: 1

    Given that you need a graduate degree in pretty much any state to be a teacher, it's terrible. A masters' level engineering or business degree will kick the shit out of that salary.

  18. Re:Public education... on Why Is It So Difficult To Fire Bad Teachers? · · Score: -1, Flamebait

    English must not be your first language, then, because if it was you'd have learned that it's rife with exceptions and special cases that a speaker is expected to simply memorize.

    Or do you think the plural of "goose" is "gooses"? Is the superlative form of the adverb "good" the word "goodest"?

  19. Re:Difficult to Define a "Good" Teacher on Why Is It So Difficult To Fire Bad Teachers? · · Score: 1

    No, it's a socioeconomic issue. Japanese-American families on average have more money than African-American families. If a kid's family has more money, the kid will usually do better in school for a number of reasons, none of which are cultural.

  20. Re:Go STEAM yourself ... on ioquake3 1.36 Goes Gold · · Score: 1

    Your Steam login still exists, they don't delete accounts with paid games for inactivity (that would be retarded). You forgot it (hint: what e-mail address were you using at the time, you can recover your password that way), but GP poster forgot where he put his Q3A disc, so whatever.

    And I have a feeling that your game discs will decay before Steam's servers go down.

  21. Re:Sweet on Ubuntu 9.04 Released · · Score: 1

    PulseAudio is great if you use its advanced features. I can play a song on my netbook and have the sound come out of the giant speaker system connected to my desktop. That's pretty awesome.

  22. Re:Jaunty on Ubuntu 9.04 Released · · Score: 2, Informative

    There's a panel applet that adds a menu to select what user should be logged in. If you've been updating an existing install since before this applet existed, then it might not be there, but by default on new installs it's in the upper left corner. You just click it, pick a different user, and then they type in their password.

    (of course, I don't bother with separate user accounts on my systems, but the feature is there).

  23. Re:I have a feeling.... on Vista Post-SP2 Is the Safest OS On the Planet · · Score: 1

    As opposed to other operating systems that download and install software through a package manager rather than having the user go to the software publisher's website and manually download it through a web browser.

  24. Re:not free if you can't jailbreak on id Releases Open Source Wolfenstein 3D for the iPhone · · Score: 4, Informative

    The game engine is open-source, but the levels and art assets have always been non-free.

  25. Re:Adblock on What Filters Are Right For Kids? · · Score: 1

    Dunno where that crazy rumor came from, but ABP+EasyList blocks ads, it doesn't just "hide" them. See:

    http://easylist.adblockplus.org/adblock_plus_faqs.htm#abpdownload