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

Linus Torvalds: 'I Still Want the Desktop'

slashdice careful what you wish for (497 comments)

Linux "won" mobile in the same way Michael Moore "won" the war on anorexia.

yesterday
top

Qt Upgrades From LGPLv2.1 to LGPLv3

slashdice Re:Authors' consent (102 comments)

GNU/FSF projects won't accept contributions (beyond a couple lines) unless you've signed a CLA

yesterday
top

C++14 Is Set In Stone

slashdice Oh god so what? (189 comments)

The problem (as if there's only one!) is that the c++ committee members only have one thing in common: They hate C!

So you get a mix of people trying to bolt their favorite features from cobol, haskell, java, etc onto C. You know, to improve it. Maybe they should just stick to their failed language and leave the rest of us alone?

The second problem (as if there were only two!) is that they don't update the language to reflect what people what people are doing with it, they update the language to reflect what they think people should do with it. That means adding features that no compiler can implement (like exported templates) or feature nobody can or should use (like std::vector<bool> or cout/cin). I think they've started getting a little bit better in this regard, adopting better parts of boost rather than just making shit up. And clang++ implements draft proposals and provides feedback. Of course they're still full of dumb ivory tower ideas like adopting cairo.

2 days ago
top

C++14 Is Set In Stone

slashdice Re:Still... (189 comments)

VC++ is a C++ compiler. They generally only add C features when they're incorporated into C++ (which will be never for some of them).

2 days ago
top

C++14 Is Set In Stone

slashdice Still... (189 comments)

// comments are in the c99 standard.

2 days ago
top

Fighting Invasive Fish With Forks and Knives

slashdice Re:What kind of fish? (180 comments)

Yeah, except the one guy who was paid to read the summary didn't.

2 days ago
top

Interviews: Ask Bjarne Stroustrup About Programming and C++

slashdice Re:also: (425 comments)

std::vector<bool> is specialized to compress/store the values as bits rather than bools (basically a variable length std::bitset). operator[] returns a proxy object rather than a boolean&. It's a clever trick but it should be a separate class, not a specialization, since it violates their own rules for containers and can break your code (how do you take the address of a bit? Oh, you can't). One of Scott Meyers's (Effective C++, Effective STL, etc) rules is: Dont use it.

5 days ago
top

Ask Slashdot: What Recliner For a Software Developer?

slashdice The best seat in the house (153 comments)

Sit on the toilet. You need to get a comfortable seat but you can work, shit, eat (I have a mini fridge within reaching distance), watch tv (I also have a tv mounted on the wall), pull your pud, whatever. And no pants required!

They don't call it a throne for nothing!

5 days ago
top

Interviews: Ask Bjarne Stroustrup About Programming and C++

slashdice Re:Will C++ Continue to be verbose? (425 comments)

close, but no cigar.

std::iota(std::begin(myVec), std::end(myVec), 0);

That works if myVec is a std::array or a int[100]. And many compilers will generate vector code for it (much faster!) whereas it's less likely with the manual loop.

about a week ago
top

Interviews: Ask Bjarne Stroustrup About Programming and C++

slashdice Multiple Return Types? (425 comments)

c++11 added attributes which is kind of what you want, I think. Except there are only 3 standard ones and compiler-specific ones are namespaced.

about a week ago
top

Interviews: Ask Bjarne Stroustrup About Programming and C++

slashdice diversity? (425 comments)

Workforce diversity is a big issue these days. What steps has the c++ working group taken to increase the numbers of female and minority contributors? C++ (perhaps unfairly, due to the popularity) is often criticized in feminist circles for being a patriarchal programming language. Will you be taking steps to address those concerns?

about a week ago
top

Interviews: Ask Bjarne Stroustrup About Programming and C++

slashdice also: (425 comments)

Has everyone responsible for the std::vector<bool> tragedy been kicked in the nuts until they are no longer at risk of reproducing?

about a week ago
top

Interviews: Ask Bjarne Stroustrup About Programming and C++

slashdice Do you ever feel bad? (425 comments)

Maybe the premise of this question is wrong... but I seem to recall reading somewhere that you hate C but built C++ on top of it because it was popular. Is that true and if so, do you ever feel bad about the bait and switch?

about a week ago
top

Ask Slashdot: Good Technology Conferences To Attend?

slashdice You just have to go to... (131 comments)

And don't try to hook up with them. They're out of your league. If she says "yes", she probably has a penis or in a con artist (or both).

Source: my buddy Rob found out the hard way. Of course, I always figured he liked to walk on the wild side.

about two weeks ago
top

The Man Who Invented the 26th Dimension

slashdice Re:String theory is voodoo physics (259 comments)

Trying to develop a model that unites both head shape and psychological attributes is also incredibly difficult.

about two weeks ago
top

Ross Ulbricht's Lawyer Requests Suppression Of Silk Road Evidence

slashdice Re:How soon will the idiots start posting stupid l (54 comments)

A lot of bitcoin retards seem to think that the IRS needs new tax laws to deal with bitcoins. Because somehow the existing tax laws (capital gains and barter) don't cover it.

about two weeks ago
top

Ask Slashdot: What To Do About the Sorry State of FOSS Documentation?

slashdice Just avoid shitty GitHub projects. (430 comments)

Sorry folks, we accidentally used dice.com to hire some new sourceforge developer advocates. The official slashdice HR guidelines prevent us from hiring people on dice.com (we don't eat our own dogshit) but the HRtard responsible, umm, well, was hired from dice.com. Rest assured that we're firing all of them and sourceforge will continue to serve the finest adware installers for stable open source projects t(meaning they haven't been updated since the 90s.)

about two weeks ago
top

Ask Slashdot: What To Do About the Sorry State of FOSS Documentation?

slashdice It's open source (430 comments)

fix it yourself.

about two weeks ago

Submissions

Journals

slashdice has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>