Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Comments

top

Congresswoman and Staff Gunned Down

The Warlock Re:Before everyone starts speculating (2166 comments)

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?

more than 3 years ago
top

Navy Tests Mach 8 Electromagnetic Railgun

The Warlock Re:Yay! (440 comments)

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.

more than 3 years ago
top

The Coming War Over the Future of Java

The Warlock Re:What about C++? (583 comments)

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

more than 3 years ago
top

The Coming War Over the Future of Java

The Warlock Re:What about C++? (583 comments)

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 some "platform independent library wrapper" like ACE, but which of the many, many mutually incompatible wrappers are you going to use? Is that wrapper still going to be maintained when you're working on your program a few years down the line? Do you need to ship this wrapper's runtime to your customers? Why the hell doesn't the language spec specify some of this shit? The STL (and any other template-heavy code, particularly code that does a lot of operator overloading, too) also just loves to dump gigantic unintelligible multi-kilobyte error messages at the slightest provocation.

I could go on, really. If you've only used C++ in class or in personal projects then it seems like a neat language; it's not until you need to use it for a large codebase with lots of other people, some of whom have already moved on to other companies, that you realize what an unholy mess the language is.

more than 3 years ago
top

Peer Review Highly Sensitive To Poor Refereeing

The Warlock Re:The climate skeptics will have a field day (233 comments)

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.

about 4 years ago
top

Peer Review Highly Sensitive To Poor Refereeing

The Warlock Re:The climate skeptics will have a field day (233 comments)

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.

about 4 years ago
top

Convicted NY Drunk Drivers Need Ignition Interlocks

The Warlock Re:Wait... (911 comments)

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/

more than 4 years ago
top

No, Net Neutrality Doesn't Violate the 5th Amendment

The Warlock Re:Amazing how uninformed the author is (322 comments)

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.

more than 4 years ago
top

No, Net Neutrality Doesn't Violate the 5th Amendment

The Warlock Re:Next Week on a Very Special "D-Bag Lawyer" (322 comments)

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?

more than 4 years ago
top

Could Colorblindness Cure Be Morally Wrong?

The Warlock Re:WTF? Just ask the patient. (981 comments)

Yes, please, where do I swipe my card?

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

more than 4 years ago
top

Stroustrup Says New C++ Standard Delayed Until 2010 Or Later

The Warlock Re:Forty acres and a flying car... (501 comments)

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

more than 5 years ago
top

China Dominates In NSA-Backed Coding Contest

The Warlock Re:Damn (316 comments)

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.

more than 5 years ago
top

Court Orders Breathalyzer Code Opened, Reveals Mess

The Warlock Re:But does it work? (707 comments)

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?

more than 5 years ago
top

Phony Wikipedia Entry Used By Worldwide Press

The Warlock Re:Newspapers (391 comments)

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.

more than 5 years ago
top

Why Is It So Difficult To Fire Bad Teachers?

The Warlock Re:Supply and Demand (1322 comments)

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.

more than 5 years ago
top

Why Is It So Difficult To Fire Bad Teachers?

The Warlock Re:Public education... (1322 comments)

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"?

more than 5 years ago
top

Why Is It So Difficult To Fire Bad Teachers?

The Warlock Re:Difficult to Define a "Good" Teacher (1322 comments)

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.

more than 5 years ago
top

ioquake3 1.36 Goes Gold

The Warlock Re:Go STEAM yourself ... (176 comments)

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.

more than 5 years ago

Submissions

top

Barack Obama responds to FISA debate

The Warlock The Warlock writes  |  more than 6 years ago

The Warlock (701535) writes "After the "Get FISA Right" group became the largest group on the Obama campaign's social networking site, Barack Obama wrote up a response to the criticism over his guarded support of the new FISA amendments that, among other things, provide immunity to the telecom companies. The response is here:
http://my.barackobama.com/page/community/post/rospars/gGxsZF/commentary"

Link to Original Source

Journals

The Warlock has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?