« first day (177 days earlier)      last day (4768 days later) » 

10:00 PM
what do you think happened
 
Xeo
@JohannesSchaublitb Did, what is there? Zooming to about x20 didn't help (ctrl+scroll)
 
@JohannesSchaublitb you gave her a beer?
@Xeo it's a point....
 
sbi
@Tony LOL!
 
@Xeo I made a point. @sbi doesn't buy it
 
sbi
@Tony Oh, now I got it! he made a point!
@JohannesSchaublitb I'm not gonna buy your points. They are way to small.
 
10:01 PM
@sbi I made loads of those today with tina, but yea... she didn't get the point.
 
sbi
@JohannesSchaublitb Now what did you do to the poor old English-speaking lady?
@Tony You've been too greedy, not letting her have any?
 
@sbi she was desperately trying, but her english failed her or my english was just not advanced enough to understand her
 
@Tony I live in a world that doesn't make any sense. And by now I've absorbed enough Internet to either die from the exposure, or develop some funny mutations.
 
@sbi I told here that some dorks are on the track and that the train had to stop
 
@PiotrLegnica well that's an unfortunate state of affairs
 
10:04 PM
Hm, I wonder if there's an equivalent of the banana equivalent dose for the Internet.
 
@JohannesSchaublitb that was boring... no way to put it in a blend of templated C++ :P
ok I'm off, see ya'll
 
i observed her decaying. it felt all like C++, i tell ya.
 
Xeo
Since litb is currently present
0
Q: Is it possible to emulate template<auto X>?

XeoIs it somehow possible? Suppose it's only for user convenience, as one could always type out the real type with template<class T, T X>, but for some types, i.e. pointer-to-member-functions, it's pretty tedious, even with decltype as a shortcut.

 
sbi
@JohannesSchaublitb So that's why the train had to stop. And you told her. And then what?
 
sbi
10:14 PM
@JohannesSchaublitb Don't you lol me!
 
Xeo
@sbi He laughed out loud, obviously. Maybe he's a psychotic maniac or something like that?
 
i'm sorry. I took the pills again
 
sbi
@Xeo You may now share the costs for my new monitor with @Piotr.
@JohannesSchaublitb In front of the old lady?! You pervert!
@Xeo Would you please stop distracting @Johannes! He's managed to draw out a 90secs scene over half an hour now, and I'm almost dead from the suspension!
 
Xeo
@sbi go to tvtropes.com as @PiotrLegnica does and spend your time there until litb finally lets us know that ultimate secret
 
10:18 PM
alright ill leave now
 
Xeo
kekeke
 
sbi
@Xeo How should I do this? I can't pull my eyes from this window until he's finished?
@JohannesSchaublitb Are you mad? Do you think I'm joking? I want to know what you did to that poor old foreign lady!
 
i didn't do anything to her
lol
 
Wikipedia works, too. Or Something Awful. Or Reddit.
 
also, no one has solved my quiz yet
 
10:20 PM
Wow, it's a miracle I get anything done.
 
the top voted answer is even wrong
8
Q: Why does this initializer_list use misbehave when passing strings?

Johannes Schaub - litbI've tried the C++0x initializer-list implementation of my G++ version but it outputs only empty lines. #include <initializer_list> #include <iostream> #include <string> int main() { std::initializer_list<std::string> a({"hello", "stackoverflow"}); for(auto it = a.b...

i would be glad if anyone could shed some lights on this!
 
sbi
@Johannes: We're all used to you drawing out those little stories over an unchaste amount of time. (I remember the story where you lost your key.) But this is really stretching our patience. What was the point of your story about that old lady?
 
just think that i'm an old poor lady that took the picture of a hot young guy and this lady needs your programmers insights.
 
sbi
@JohannesSchaublitb Ugh. I guess it's high time I went to bed.
 
sbi, the point is.... I could apply my english IRL!
haha
 
Xeo
10:30 PM
hm. are lines in a textfile always at most 1024bytes? on windows this seems to hold true, but is that really so? and for other OS too? or is that just the text-editors?
 
Any line width restriction is arbitrary. I don't think I've ever seen a real text file with that long lines, though.
 
sbi
@JohannesSchaublitb Oh, that. You should move to Berlin, if you're interested in that.
@Xeo No. No. No. Some, anyway,
 
Xeo
@sbi Thanks for that exhaustive answer. :P
 
@Xeo Completely arbitrary. Some text files turn out to be 150 megs of xml without pretty formatting.
 
Xeo
@Eugene You said the three letter word!
2
 
10:43 PM
@Xeo Did I miss a new chat rule? :)
 
Xeo
1 hour ago, by PiotrLegnica
Eh, good thing we're not talking about XML. Now that's an offensive three-letter word.
 
sbi
@Eugene Certain three-letter words are shunned: meta.stackoverflow.com/questions/86733/…
 
@sbi Ah, I remember that one :)
Nothing wrong with xml... >.>
 
I wouldn't call 150MB of unformatted XML a text file.
 
Or html. Can have pretty text in html without ever using any '\n's...
 
sbi
10:53 PM
Oh. Too bad. That was actually pretty good.
 
Xeo
Wait, what?
 
sbi
@Xeo I hadn't thought about dpi and the like. Otherwise it would have been a funny fake.
 
Xeo
Oh, i see now :P well played
 
sbi
@Xeo No, I didn't. Now all that's funny is me, failing so epically.
Well, it's time to go to bed for me anyway.
See you!
 
11:25 PM
What do you guys think of function-aware SFINAE?
That is, if it fails to compile the definition, it simply rejects that function as a possible overload.
 
Xeo
11:41 PM
@GMan Me likes. :)
 
@Xeo Can you see any potential problems with it?
I can see increased compile-time as different overloads are tested, but it simplifies things.
 
Xeo
@GMan Well, during compilation the compiler tests all possible overloads anyways, so I wouldn't say it increases compile time
 
@Xeo It only tests the function declaration, though, and doesn't attempt to compile the definition.
That's why we have enable_if's and compile-time branching, to test when functions will be able to compile within the the declaration.
 
Xeo
@GMan Ahh, now I see what you mean. Sorry, my understanding of definition and declaration is always confused...
 
That's okay. :)
 
Xeo
11:49 PM
How would that function-aware SFINAE work?
if a function matches for the overload set, but then doesn't compile during instantiation, it takes it out again?
 
Let me write up an example.
Right.
 
Xeo
hm, would be nice to have those enable_ifs inside the function as to clear the declaration
well yeah, that could possibly increase compilation time
but any other reason to use such a SFINAE instead of the declaration one?
 
@Xeo just ease of use.
 
sbi
43
A: What is the difference between a definition and a declaration?

sbiA declaration introduces an identifier and describes its type, be it a type, object, or function. A declaration is what the compiler needs to accept references to that identifier. These are declarations: extern int bar; extern int g(int, int); double f(int, double); // extern can be omitted for...

(No, I'm not here. I'm already in bed. But thanks for asking.)
 
Xeo
53 mins ago, by sbi
See you!
 
11:53 PM
Haha.
 
Xeo
@sbi Aww
 
@Xeo The reason I ask is I'm tentatively designing the standard library for my new language.
And I have a function:
pop(T)(T container, lazy exception e = exception("empty container"))
{
	return enforce(proxy_pop(container), e);
}
 
Xeo
@GMan What's the language's name? :P
 
The problem is if I define my own type, class foo{}, and foo happens to have a function pop, say: pop(T)(T other) { /* foo-specific code */}, it can't resolve the overload without attempting to compile both, if I do foo f; pop(f);
@Xeo :3
 

« first day (177 days earlier)      last day (4768 days later) »