« first day (331 days earlier)      last day (4609 days later) » 

7:02 PM
Hey babes
 
> Ah yes. We've always been at war with Eastasia, and the builds have always been flawless. Understood :D – nhinkle 10 hours ago
 
What are "rvalue references 3.0"?
 
The latest iteration of rvalue refs, I guess.
VC10 currently implements rvalue refs v1.
 
7:08 PM
@RMartinhoFernandes on the page it's written 2.0
 
Ah, there's an explanation below the table
 
well gcc supports most of c++11 features already
 
I am disappointed by the lack of variadic templates, alias templates, and pretty much everything else.
They're adding very little on top of VC10.
 
Eugh there's some awful examples on photography on Giz right now: gizmodo.com/5839407/…
 
Ohh, I didn't know there's a proper TR2 proposal already. Cool.
@RMartinhoFernandes They mainly seem to have added concurrency support, which is probably the most important issue marketing-wise.
 
7:14 PM
@KerrekSB Even that is not complete.
 
@RMartinhoFernandes Hm. The overall progress seems fairly meek, especially compared to GCC.
 
Yeah, I guess we'll have to wait for VC12 for serious C++11.
 
So close to falling asleep right now
Wait that sounded like I was saying this conversation is boring, I meant I'm tired
 
@KerrekSB Then there's the minor little detail that the IDE uses the EDG front-end, so it'll probably recognize (and quite possibly correctly highlight) many of the new features long before the compiler itself deals with them...
 
7:22 PM
Is there a central repository of TR2 proposals somewhere?
 
I wonder how they dealt with the ambiguity between managed enums in C++/CLI and strongly-typed enums in C++11.
 
I wish they'd put zip iterators, bimaps, multi-index and multi-array in there.
@RMartinhoFernandes How do strongly-typed enums work?
 
Nah, the ambiguity is syntax. The syntax for both is exactly the same.
 
@KerrekSB Standard name is 'scoped enumeration' and that really says it all.
enum class foo { bar }; means you must use foo::bar, not bar.
 
@LucDanton Oh, so you're just putting the enum values inside a namespace, as it were?
 
7:25 PM
And no implicit conversions to int or such.
 
Still no variadic templates in VC11? :(
 
Or can that enum class also have other members and constructors?
 
@KerrekSB That and the no implicit conversions Martinho mentioned. No members.
 
Not sure I like the construction enum class. I would have preferred explicit enum.
 
Just noticed that there are new papers available at open-std. I think I will read them tomorrow.
 
7:26 PM
Much like I would have liked to see explicit typedef to make strong typedefs.
 
@KerrekSB enum struct is available, too.
 
@LucDanton Any difference?
 
1
Q: Is there a limit to the length of variable names in C++?

MosheIs there a length limit to the names of variables in C++? What is it? Does this have anything to do with the "bitness" of the machine?

What's GCC's limit?
 
@FredOverflow No, which seems rather strange -- I've read that they implemented them in gcc in something like a week.
 
@KerrekSB There's a small, possibly outdated list at wikipedia.
 
7:27 PM
@KerrekSB No.
 
@Moshe "Bitness" should be "bititude". "Bitness" should mean "does it or does it not have bits". "Bititude" would be the "amount of bits".
@LucDanton Hm. This feels gratuitous.
 
@JerryCoffin Because it was already an extension (and hence the move towards standardization in the first place), no?
 
@KerrekSB edited
 
@KerrekSB Well, only spot class and struct differ in C++ is template template parameters IIRC.
 
@RMartinhoFernandes Fairly outdated. thread is even in TR1. And I really don't care for ASIO all that much -- if something that platform dependent would be an obstacle to full support, I'd rather not have it in the TR... or maybe have different levels of TRitude, like "mandatory" and "optional".
 
7:31 PM
@LucDanton No, I don't think so. The bottom line is that variadic templates are really pretty simple: the only thing you can do with a variadic template is instantiate it over some other template (typically use the first argument to instantiate some non-variadic template,and the same variadic template with the remainder (if there is one).
 
@LucDanton How so? TTPs of all things I would have thought don't care at all whether something is a class or a struct.
 
TRitude, lol.
@KerrekSB You can't write template <template <typename> struct>.
 
Does anyone know if GCC defines a minimum length?
 
@RMartinhoFernandes Ahh, I see what you mean. But both classes and structs can be used as parameter values.
 
7:32 PM
Thinking about it I'm not sure this is really about struct vs class -- even for template type parameters it's typename vs class, struct doesn't even come into play.
 
@LucDanton template <template <typename> typename> wouldn't make much sense, would it?
 
@LucDanton Yeah. The only thing that matters is whether a type is of class type or not. So in some sense the word "class" inside the TTP isn't quite the same as the class/struct delcarators.
@RMartinhoFernandes I always thought that'd be neat to allow. After all, there's no ambiguity.
 
@JerryCoffin Well, if by 'implemented them' you mean 'implemented some bits' (rather than 'most of it') then okay, I can buy one week. I've been crashing GCC with variadic template hackery for longer than one week though.
Also there is that lingering bug about fixed-size pack expansion, still.
 
@LucDanton Hey LD: Aren't you the guy with the GCC 4.8 snapshot build environment?
Maybe you can help out with this question.
 
I wish! 4.7 isn't out yet.
 
@LucDanton Right -- I wasn't arguing that the implementation in gcc is really great or anywhere close to bug-free. OTOH, they have captured enough of the essence that you can at least play with it, and from what they've claimed, that much seems to have been done in about a week, starting from essentially nothing.
 
@KerrekSB I think all that could be said (well, guesstimated really) on the topic has been said, except for the relevant quotes.
(But no I haven't tested the code on a snapshot.)
 
@LucDanton OK, fair enough.
@FredOverflow That's gross.
 
@KerrekSB Not that it's a bad question and I've been paying attention to it for some time though!
 
@KerrekSB Yes, it's gross, but what do you expect? It's C++!
 
7:44 PM
Why is there a unary + for pointers?
 
@FredOverflow But it's literally using auto_ptr as the basis for a new pattern. Some things just need to know when to die...
 
@LucDanton It's quite curious really. Especially that GCC error; never seen something like that before.
 
@KerrekSB It's long dead, the link is from 2004
 
@FredOverflow It's lived longer than many of the much more useful pastebin links from here :-)
@LucDanton Why not? Isn't there a unary + for every primitive type?
 
7:47 PM
@KerrekSB Because there is no corresponding unary -. What kind of expression will sprinkle its operands with +'s?
 
@LucDanton The pointer is probably converted to bool, and the + operator then converts the bool to an int ;-)
 
@FredOverflow delete +p; is well formed.
 
"What kind of expression..." I guess you mean "What kind of crazy man...".
 
@LucDanton Indeed it is. That's funny, didn't know that.
 
> For every type T there exist candidate operator functions of the form T* operator+(T*);
 
7:48 PM
@RMartinhoFernandes some_c_api(+some_vector.data(), +some_vector.size(); // They said I was crazy!!!!!!!
 
Well, delete p; is quite the destructive process, so at least you can make that a little less gruesome if you put a little plus before the pointer.
 
Wow, 7 exclamation marks! Crazy indeed.
 
And a missing closing parenthesis that I won't edit in.
Also iterators don't support +it either, so for pointers it really stands out I think.
 
delete + + + + + + + + + + + + + + + + + + + + + + + + + +p;
 
7:51 PM
for(auto it = +&*container.begin(); it != +&*container.begin() + n; + +it) { ...
 
delete
+ + + +
 + + +
  + +
   +
   p;
 
+ +it, typo?
 
@RMartinhoFernandes No.
 
Nasty.
Woo, add in the function pointer craziness! Free combinations of splats and intersections!
 
void (*p)() = +&*+f; (*+p)(); ?
 
7:53 PM
do we have an expert on Windows internet shortcuts here?
 
Internet shortcuts?
 
@AlfPSteinbach Yes, I am certified.
 
Is that an euphemism for bookmarks?
 
I got my certification from w3schools.com
 
7:55 PM
Run!
 
it's just that earlier today i created shortcut to the blog article that @tony linked to
i called that "source"
now when i tried to open it the URL was missing
 
@AlfPSteinbach It's your file associations more than likely.
 
trying to add it back I get error message!
 
One was saved with FF other with IE?
 
but i successfully created new shortcut
 
7:55 PM
@AlfPSteinbach you are going to read all those papers?
 
created by right-click, new shortcut, paste URL, ok, type in name
 
Make all extensions visible.
 
Yea but there things such as FireFox shortcut
 
the new one has an extra tab in Properties, shown above, and it's SMALLER, and different icon (namely Firefox) and it has the URL
both files have file extension ".url"
 
Could be a shell extension.
 
7:57 PM
@RMartinhoFernandes they are, but "all" doesn't include e.g. [.url]. :-(
 
@AlfPSteinbach Alt+Tab to a command-line (you already have one open, don't you ;)?) and look at it.
 
Yea but the 2nd one says "Web Document"
it's different
 
Shell extensions can look inside files and intervene in the file type detection.
Visual Studio does that to show .sln differently according to the version.
 
:1452093 D:\readings\papers\10 interesting papers> attrib
A            D:\readings\papers\10 interesting papers\01 Fundamental Conceps in Programming Languages.pdf
A            D:\readings\papers\10 interesting papers\02 Why Functional Programming Matters.pdf
A            D:\readings\papers\10 interesting papers\03 An Axiomatic Basis for Computer Programming.pdf
A            D:\readings\papers\10 interesting papers\04 Time Clocks and the Ordering of Events in a Distributed System.
pdf
A            D:\readings\papers\10 interesting papers\05 On Understanding Types Data Abstractions and Polym
 
Can't copy paste from the silly PDF, but apparently the Standard is unclear on whether auto (*f)() -> int = foo; is valid.
 
7:58 PM
So, it could be some Firefox thingy.
 
A            D:\readings\papers\10 interesting papers\source.url
A            D:\readings\papers\10 interesting papers\source2.url
 
Even auto (*f)() -> auto = foo; is unclear. How weird.
 
@AlfPSteinbach Which one works?
 
the latest one, with Firefox icon
and this is crazy, the first one even has a DARKER THICKER SHADOW behind the properties dialog
 
A what?
@AlfPSteinbach That's because it has focus.
 
8:00 PM
oh, ok, it was just because it was active window; disregard
 
lol
Can you look inside the files?
 
yes
you mean hex?
 
@AlfPSteinbach text editor
 
If they're binary...
 
it's going to be html
with a bunch of javascript inside
 
8:03 PM
Wow.
That's baffling. Why not just a URL and possibly some stupid metadata?
 
@RMartinhoFernandes probably because it's like a cached version of the page
create a link to www.google.com, you'll see the google source
 
How do I create one of those things?
 
Right-click on your desktop
New Shortcut
type in a web address (e.g. www.foxnews.com)
 
Oh.
Something broke.
[{000214A0-0000-0000-C000-000000000046}]
Prop3=19,2
[InternetShortcut]
URL=google.com
IDList=
No JavaScript in sight.
 
Hm, I don't get the hex representation as text. I used old Visual Studio 2003
 
8:07 PM
I opened it in Notepad (Notepad2).
 
@RMartinhoFernandes hmm, not here. I used Notepad++ and for every shortcut I get an excerpt of the page
 
  delete
+ +     + +       + +           + +
+ +               + +           + +
+ +           + + + + + +   + + + + + +
+ +               + +           + +
+ +     + +       + +           + +
  + + + p;
4
 
"works on my machine"
 
@FredOverflow This seems to have taken you some time ;)
 
@CodeMonkey HAh! "Clever" editors! It's following the URL and loading the page instead!
:P
 
8:08 PM
@RMartinhoFernandes LOL
 
@LucDanton And I didn't get it right the first time, too much space :)
 
see? :)
 
@FredOverflow I'm starring that, even though it looks awful on the starboard.
 
@FredOverflow too bad the p; has to be on the same line as the + signs
 
@FredOverflow madness!
 
8:10 PM
@CodeMonkey Well, you can put it on its own line, but that would look worse, wouldn't it?
@RMartinhoFernandes Maybe people will click on it and see the real message :)
 
@FredOverflow I dunno.. the p; kinda ruins the symmetry you got going on.. I'd prefer it on the last line
 
No! Leave it. A wart adds to the sense of perfection.
 
@RMartinhoFernandes okay the second one (the one that works) looks like that
[{000214A0-0000-0000-C000-000000000046}]
Prop3=19,2
[InternetShortcut]
URL=http://blog.fogus.me/2011/09/08/10-technical-papers-every-programmer-should-read-at-least-twice/
IDList=
HotKey=0
but the first one, it does not look like that
 
@AlfPSteinbach And the first?
 
LÀFâh€S‡ Bi¢ê+00Ìa€blog.fogus.me/2011/09/08/…(  1SPSâŠXF¼L8C»ü“&˜mÎ
 
8:11 PM
Ouch.
 
and it gets mysteriouser, because the URL is clearly present in the shortcut data, it just isn't there in the properties dialog (or when double-clicking)
 
Exactly how did you create that one?
 
sbi
In other news, Cleverbot passes the Turing Test, although the intelligence of it talking to itself leaves room to improvements.
 
i think, by right-clikcing, [new -> shortcut]
 
"Passes the Turing Test" is a bold claim.
 
8:14 PM
Paramedic to the Prince (http://www.amazon.com/Paramedic-Prince-American-Paramedics-Mysterious/dp/1439245819/ref=sr_1_1?ie=UTF8&s=books&qid=1286962424&sr=8-1)

> "No, the people, too," he said. "We hate all Americans."
 
> That being the case, Cleverbot’s success in conning people into thinking it was human is greater than chance (...)
 
sbi
@RMartinhoFernandes I know, but it does come up only a little worse than the average human.
 
Damn journalists, > 50% != greater than chance.
And I suck at stats.
 
statistically speaking, i suck at stats too
 
sad, the list of supported C++11 features in VC11 has been announced
 
8:18 PM
@RMartinhoFernandes What?
 
sbi
@jalf Oh my. Why is that sad?
 
@sbi There's very little in there.
 
just not much new in it
they've updated their lambda implementation and added the new enum stuff, and... uhhh
standard layout and trivial types
 
@sbi hm, i wonder if "George" is still loose in the Microsoft forums
 
@LucDanton To show that something cannot be explained by chance you need to perform a statistical test, like a Chi-squared test or something. It could have obtained 59% by chance. Again, I suck at this.
 
8:21 PM
the library side is looking a bit better, but the list of core language features is pretty sad
2
 
sbi
Here's another interesting piece of news (can you tell I'm bored): A dino living 150 million years ago was plagued by a virus that's a relative of measles. The earliest it was found so far had been in the neolithic. That's interesting, because viruses leave no (direct) traces, so nobody knows how old they are. cell.com/current-biology/fulltext/S0960-9822(11)00881-5
 
@RMartinhoFernandes Oh right. Necessary but not sufficient.
 
@sbi so if it leaves no traces, how do they know?
viruses don't consume host DNA?
 
The article doesn't give out conditions of the Turing Test, I'll have to look up some info.
 
(i'm not a biologist)
 
8:23 PM
they're adding some TR2 stuff though, and have trimmed container classes by (finally) applying the empty base optimization
 
or pathologist
 
I wish journalists could be shot for not providing links to sources.
 
@RMartinhoFernandes isn't it a blogger?
 
@CodeMonkey The line is blurry today.
That looks like a news site, so I'm calling the people that post news there journalists.
 
8:25 PM
so what's new kids?
 
lol
Babies on the block
 
lulz
did I miss anything?
 
Did Miss eye anything?
 
we haven't bashed Java or singletons lately :P
perhaps it's time to do so
 
8:28 PM
Scala has language support for singletons: object
go
 
@TonyTheLion @Cat has been away lately. Coincidence?
 
@jalf I just recommended your article on singletons to a friend who didn't know why they were bad
@RMartinhoFernandes oh, hmmm
 
Me. Do you think you passed the Turing Test?
CB. I doubt it - I know nothing about Maths - you might though.
Me. It's not Math related.
CB. I never said it was.
Me. You said, "I know nothing about Maths".
CB. If you say so.
 
Could've fooled me. Sounds more intelligent than most people on the internet
2
 
He's a smartass too ;)
 
8:30 PM
@CodeMonkey The bot on the test is a a lot smarter.
Where can you try it out, btw?
 
www.cleverbot.com
 
cleaverbutt?
 
ME: What do you know about sex? CB: It's stupid.
uh, fail! :P
 
Blah, can't find transcripts anywhere.
I wanted to see the control group.
 
8:35 PM
@RMartinhoFernandes cleverbot.com/machine
 
@CodeMonkey That's not the control group.
 
sbi
@CodeMonkey By looking at the bones this virus affects.
 
> Q: How many digits does PI have? A: An infinite number.
not bad!
 
cleverbot is creepy. It called me "hunnie" :|
 
8:36 PM
heheh
 
Ok, my instance is dumb as shit.
 
CB told me that it's horse knows about differential equations
 
I asked what it was doing and it started rambling about my favourite swear word.
 
> Q: What happened at Chernobyl? A: I just don't want to go back.
sounds like he doesn't know
 
8:38 PM
User: Do you know about differential equations?

Cleverbot: Yes, but it's a kid's show, right? What about it?
 
> Q: What's the lightest atom? A: I don't know; I'm not studying chemistry. I'm going to be a journalist.
lol
 
is there any way to edit DBC files on a mac, even through unix terminal??
 
lol
 
> Q: Let's drink together! A: I am not 21 yet.
 
only windows??
 
8:39 PM
Yea, some of the answers are nonsensiscal.
 
I'm not impressed so far
 
> Q: When did Einstein die? A: No, but everyone will.
???
 
ME: I hear that a rhinoceros flew along the Mississippi in a pink ballon, this morning. What do you make of that? CB: That sounds ridiculous!
 
8:40 PM
Took it long enough to start making sense.
 
Unfortunately, I had to stop making sense myself.
 
sbi
@TonyTheLion But we had a good bashing of the meta police today. (BTW, I already gained back 55% of the meta rep I lost today for annoying Jeff. :b)
 
Me: What? When did you last fuck a girl?
Cleverbot: 6 hours ago.
lulz
@sbi oh yea, I forgot, that's true
 
@RMartinhoFernandes I'm a bit tired lately.
 
8:42 PM
so that's why you haven't been online?
 
Oh lookit at that, flaggers are back.
 
sbi
Dammit! Whose on a flagging rampage again?
 
Counter-flag all the things!
3
 
All the things!!!
@JamesMcNellis is here!
Hello!
what was flagged anyways?
my fuck?
 
I've tried to sleep, but I can't somewhat.
 
8:44 PM
oh that sucks :(
what's keeping you awake?
narwhal bacons?
 
Not this again
 
I don't know, temperature combined with life suckage.
 
oh damn
@LewsTherin what?
 
Flagging
 
oh yea, it's becoming a meme in this room
 
8:45 PM
To piss you all off..I'm gonna flag all your comments
 
Man, Jeff sucks on the social skills level : meta.stackoverflow.com/questions/105804/…
2
 
@LewsTherin WHY?
gtfo if you're gonna go on a flagging spree, you're not wanted here!
 
To piss you all off xD
:O I was messing dude, chillax
 
Weak troll. 0/10
 
8:46 PM
flaggers gonna flag
 
I fell for it
haters gonna hate
 
I can't be arsed to click the flag button
 
me neither
 
Caters gonna cat.
Or something.
 
> for example, some users flag their question to say "this question is great!" - true story
 
sbi
8:47 PM
@FredOverflow Flaggers are gonna burn in hell for the crime of disrupting conversations.
 
There is a glowing cat now...so is that going to be a new species or something?
 
@RMartinhoFernandes lol
 
NYAN NYAN NYAN.
 
oh noes the NYAN cat
haven't heard it in ages
must NYAN ALL THE THINGS!
 
You can hear it for ages!
 
8:48 PM
:P
 
I recently saw a 23:59:59-long version.
 
I know
offs
that's too long
 
It's a bit of waste of disk space, since you can just restart from 00:00.
 
Jeff said most flags are helpful and he rarely declines one
 
It's youtube space, so...
 
8:50 PM
@CodeMonkey he's obviously promoting his own system
 
Well, there was a trick for auto-restarting YT videos.
 
Well, a manual restart every 24 hours shouldn't be too much trouble.
 
girls!
 
8:52 PM
Robot!
 
> CB: You are an Artificial Stupidness.
WTF!
My artificial robot feelings are hurt.
 
Hello I have related or unrelated question on StackOverflow...I am new to chat section of stackoverflow. So, I apologize if this is a wrong place to ask this question.
 
Hi
 
How do you stop bounty after you started bounty?
 
8:55 PM
So, your point is lost basically...
 
Yes.
Placing a bounty and then withdrawing it would be very rude.
 
That cleverbot sucks.
 
@kbokthe It insulted me!
 
I'm trying to print out the values of Char from A and on.
 
@RMartinhoFernandes It's only rude if someone answers it
 
well, I am not intentionally doing that.....I just started a bounty on a question because I couldn't my program to work, but now I think I figured out the answer lol.
 
argh !
 
8:57 PM
lol
 
bounty overload
 
bounty=="awesome"
 
That sucks.....50 points lost lol
 
Can anyone help me please?
I'm working on this simple for loop and it refuses to work.
 
8:57 PM
yeah...sure.
bounty fail
 
@digitalanalog Answer it yourself. You can't award yourself the bounty, but you can still get some points from it to offset the loss.
 
@Moshe Code?
 
I'm testing "incrementing chars"
 
sbi
I have now asked a mod to block the user who keeps flagging senselessly. Fuck you, asshole!
 
8:58 PM
Just paste on ideone, not here.
2
 
#include <iostream>
using namespace std;

int main (){

//
// Declare a char with the value of A
//

char c = 'A';

//
// Determine how many chars we want to print.
//

int numberOfCharsToPrint = 200;

//
// Loop through and print out the char
//

for (int i = 0; i<numberOfCharsToPrint; i++) {

cout << c;

c++;

}

return 0;
}
 
yeah? Interesting
 
@CatPlusPlus Where?
 
stop the spam
 
@sbi what.
 
@CatPlusPlus or ask it on SO :)
 
or Im gonna play bounty with you
 
Also, I think you're pushing it with the comments.
Oh, Cleverbot likes action movies.
 
sbi
@kbokthe Someone had flagged you picture. And I just had enough of "funny flagging" for the day. So I flagged for a mod to step in and block that asshole.
 
@Moshe what's the problem you are having with the code :S
Looks fine to me...
 

« first day (331 days earlier)      last day (4609 days later) »