« first day (399 days earlier)      last day (4547 days later) » 

5:00 PM
johannes, I'd be impressed if you wrote decent semantic actionable parsers
 
@JohannesSchaublitb Good luck with that :v)
 
thanks duude xD
i will care about being able to parse real world code tho
like boost
not just being "conformant" because that won't really help much IMO
 
for a parser generator, there's a couple obvious killer features
like DRY adherence
 
I just want to start with some shallow analysis, display a namespace hierarchy, then work to deeper levels of analysis ad-hoc.
 
comma_separated_list(rule) := rule *(',' rule);
the other is arbitrary return types and arguments for rules
 
5:04 PM
How far does the EBNF of the C++ standard get you, though? It seems they usually serve as illustrations, too often there are exceptions and too much of the language just can't be expressed that way.
 
the problem is templates
the rest of it isn't that much more complex than, say, C
 
That's one main problem. Figuring out what's a typename and what's an expression is no piece of cake outside templates, either.
 
yes c++ and c require that
 
user784668
@Potatoswatter Unless it is.
 
you need a symbol table while you parse
 
5:07 PM
man
I want to go back and keep writing my parser
 
@Fanael You implement the worst case ;v)
 
but VS won't compile it because it's fucking incompetent
 
C++ grammar sucks.
 
@JohannesSchaublitb and BNF doesn't use symbol tables.
 
user784668
@JohannesSchaublitb exactly.
 
5:08 PM
you can write syntactic contstraints as rules
like c++ does
 
So how does a generated parser handle that? Separate production rules for typenames and variables?
 
it doesn't all have to be part of the grammar :)
for example "int;" is not syntactically valid - a parser cannot parse it as a declaration. but grammatically it is a declaration
 
… and then there's a non-grammar rule which says "a declaration must declare a name".
 
@Potatoswatter perhaps each grammar production has a "predicate function" which is called to answer the question "can this production be applied?"
if it returns false, then it cannot be applied
 
That doesn't sound performant.
If you want to go fast, you have to always be solving something. Not testing hypotheses.
 
user784668
5:10 PM
@Potatoswatter Premature optimization! ;P
 
because the spec says "In a simple-declaration, the optional init-declarator-list can be omitted only when declaring a class (Clause 9) or enumeration (7.2), that is, when the decl-specifier-seq contains either a class-specifier, an elaborated-type-specifier with a class-key (9.1), or an enum-specifier. "
 
@Fanael When it comes to a large project, there is such a thing as architecture.
 
user784668
@Potatoswatter You did not get it.
 
that's why void f() { ; } is not ambiguous
 
@Fanael I'm laughing on the inside, don't worry.
 
5:12 PM
it could grammatically be an expression-statement or a declaration-statement. but the syntactic constraint says that it cannot be parsed as a declaration-statement
 
@JohannesSchaublitb Um, I'm looking at it now and it says that's an empty-declaration and "An empty-declaration has no effect." (7/5)
 
@Potatoswatter nono
empty-declaration occurs only at namespace scope
at block scope, that is an expression-statement with the expression missing (termed a null statement).
 
Okay… but it's still not excluded by the rule you just cited because it's not a simple-declaration.
 
it would be a simple-declaration. because in a simple-declaration, both the init-declarator-list and the decl-specifier-seq can be missing grammatically
so the declaration-statement (which is a block-declaration and which would in turn be a simple-declaration) would end up being ";"
 
OK, I see, and empty-declaration is only specifically allowed at namespace scope but nowhere else.
 
user784668
5:16 PM
Oh well.
 
user784668
Boost.Locale reinvents the wheel.
 
@Potatoswatter the committee first worded that a constexpr function may contain "- empty-declarations". but I saved them and mailed them that it's "- null statement" that they want to allow xD
so it seems to be a common confusion aaahaha
 
@JohannesSchaublitb God forbid :vP . LOL
 
user784668
Are you guys talking about parsing C++?
 
@Fanael Rather, Boost.Locale adds pneumatic tyres to the wheels to make them comfortable.
You can't argue with std::cout << as::spellout << 101.
 
user784668
5:23 PM
@KerrekSB if it weren't so ugly, yes.
 
@Fanael What was ugly about that?
 
user784668
@KerrekSB ah, sorry, I forgot that it's C++.
 
@KerrekSB is that how Boost.Locale works? Stream manipulators? I haven't looked at it yet. Oh wait, I don't have to.
 
user784668
In any other language, code like that would be a big WTF, in C++, it's da good ting.
 
@Fanael I'm not sure what your perspective is when you say things like that.
Sure, if you want a language that lets you program text conversion, then this may look verbose.
But if you think of C++ as an all-purpuse library design language, then the level of abstraction is pretty decent.
 
5:31 PM
At least now I know why some of you guys quote the standard so fluently...
 
hi anybody here familiar with the alignof operator in C++11? I have a question
 
user784668
I always hated stream operators. What they have to do with bit shifts? And I always hated stateful streams, because after applying a manipulator, you can never be sure if the state will be reverted after an operation or not. Unless you remember which manipulators do and which don't.
 
Not everything is easy, but few things are hard, and nothing is impossible.
 
@Fanael I have to agree with that.
 
@KerrekSB Causality is what makes FTL difficult, not impossible.
 
@AlfPSteinbach That's a bit muddled.
FTL violates causality. But the point is that causality isn't fundamental, it's only empirical.
 
In C++11 if i have a class "class A {int num;};" can I use "alignof(A::num);" similarly to the extended sizeof syntax? In the final draft I don't see alignof listed as an unevaluated operator.
 
user784668
Something like stream.write(spellout(1234)) would be cleaner, IMO.
 
@Fanael ?
 
@Fanael Well, write is already taken for raw output. Wouldn't want to mix raw and formatted...
 
5:40 PM
@Fanael Only setw has special support to revert the state at earliest opportunity. It's spread all around instead of properly centralized, of course. But what was that about Boost.Locales?
 
user784668
@KerrekSB Yeah, but 1) nobody said that in this hypothetical stream class write does raw output and 2) the name can be different if someone wants. It's just an example.
 
@KerrekSB I have seen folks like James Kanze argue that write is binary (in [comp.std.c++] no less). But really, it isn't. It's just a common misconception, but it does real havoc with any binary data in Windows. In short, everything available at the uppermost level is unclean. The most dirty is input of hex, it just UBs for any bad char.
The reason for the UB is that for no apparent reason at all, iostream input is defined in terms of C fscanf, which exhibits UB for ungood in-data.
 
@AlfPSteinbach surely that's not dictated by standard is it?
 
yes :-)
 
wow
so just a type-safe wrapper around fscanf? For why, just to not reinvent the wheel?
 
5:46 PM
@AlfPSteinbach I didn't say "binary", just "raw", as opposed to "formatted". Is that correct?
 
@KerrekSB i guess. not sure what you mean by "raw".
 
@AlfPSteinbach Well, unprocessed. Essentially the same as what fwrite does.
Insert bytes into the stream.
 
@AlfPSteinbach sorry for a dumb question, but what makes a bad char there?
 
user784668
@keithlayne A char that broke a window and ate a cat can be called a bad char, I think.
 
WEEKEND!
TROLLBAND!
 
6:00 PM
@Fanael he said it first
 
@JohannesSchaublitb That sounds like some Tolkienesque made-up evil lair.
 
@keithlayne ASCII control characters, like linefeed (if I understand your question right)
[d:\dev\test]
> type foo.cpp
#include <iostream>
using namespace std;

int main()
{
    char const s[] = "Hello,\nHello";
    cout.write( s, sizeof( s ) - 1 );
}

[d:\dev\test]
> cl foo.cpp /Fe"x"
foo.cpp

[d:\dev\test]
> x >result

[d:\dev\test]
> hexdump -C result
00000000  48 65 6c 6c 6f 2c 0d 0a  48 65 6c 6c 6f           |Hello,..Hello|
0000000d

[d:\dev\test]
> _
 
"And the ogres moved swiftly though the forests. They needed to reach Trollband before sunrise, or Grimholm the Gruesome would cast a spell over all of Lundheim."
 
Instead of just a newline you get a carriage return plus newline, courtesy of Windows' text mode.
 
user784668
@AlfPSteinbach What's so bad with it? Isn't that expected, as you're in text mode?
 
6:03 PM
@Fanael yes. where did you pick up the word "bad"? we were talking about "raw" and "binary"
 
@AlfPSteinbach hmmm
 
Gah, finally got Git to upload my new version: code.google.com/p/c-plus/source/browse/src
 
anyway, sorry, it seems that the scanf dependency has been fixed in C++11
 
user784668
@AlfPSteinbach it was you who was the first one talking about bad chars.
 
@Fanael perhaps you can quote it. it helps with context.
 
user784668
6:05 PM
22 mins ago, by Alf P. Steinbach
@KerrekSB I have seen folks like James Kanze argue that write is binary (in [comp.std.c++] no less). But really, it isn't. It's just a common misconception, but it does real havoc with any binary data in Windows. In short, everything available at the uppermost level is unclean. The most dirty is input of hex, it just UBs for any bad char.
 
oh, ok, for input.
lemme code up an example
 
@AlfPSteinbach I was thinking of scanf, and reading binary data...
@Fanael that was my bad, I keyed on the wrong word
@Fanael ...and you punished me for it staightaway
 
Anyone interested in a small meta matter? I want a new rejection reason for edits that correct OP code.
 
well my efforts at creating wrong result did not work out. at least visual c++ has improved.
#include <iostream>
using namespace std;

int main()
{
    unsigned    x;

    cout << "? ";
    cin >> hex >> x;
    if( !cin )
    {
        cout << "!sorry, input failed." << endl;
    }
    else
    {
        cout << hex << x;
    }
}
The problem was that in C++03 it was all specified in terms of scanf, §22.2.2.1.2/11 "A sequence of chars has been accumulated in stage 2 that is converted (according to the rules of scanf) to a value of the type of val."
 
@AlfPSteinbach in your first example would you get the conversion from \n to \r\n on Windows when writing to an fstream as opposed to stdout?
 
6:12 PM
@keithlayne depends on the mode, text versus binary
 
@AlfPSteinbach oh, ok, got it...it seems a little silly to have distinct modes, but I'm dumb.
 
hola:)
 
user784668
I'm almost always using binary mode.
 
@Fanael for text also?
 
user784668
Yes.
 
6:15 PM
@Fanael you must be Wimbledon champion :)
 
user784668
Yes, I know I lose \n <-> \r\n conversion, but I'm a proponent of using only \n. Everywhere.
 
user784668
@user411102 uhm, what? Why?
 
@KerrekSB I of course can only suggest edits, so I had no clue of the interface for actually actioning them.
SO seems pretty rigid for these types of things in general. Is there a dynamic component for the options when you for instance flag a question that belongs on another SE site? I've found in the past that the option I want doesn't appear, so I send a very nondescriptive flag request.
 
@Fanael what for compliment?
 
@keithlayne if it's not on the default list do it via the "other" box and begin the text with "belongs on"
 
user784668
6:21 PM
I have a little question on naming. How would you name a class that's similar to a streambuf, except that it's restricted to writing and it doesn't care at all about buffering, letting it be handled by derived classes? Something like Writer or StreamWriter or something?
 
user784668
Ah, naming. The most difficult thing in programming.
 
@awoodland you should be a moderator or something...
 
why do people put videos on youtube saying it's artist X when it's really Y?
like
 
@keithlayne He's in the election.
 
@awoodland I've done that before, just wasn't sure if that would be treated the same. By the way, you just got my vote by answering my question. :)
 
6:30 PM
@keithlayne I think there's a heuristic on "belongs on" in the other box that means they get shown to 10k users which probably leads to them getting handled faster
 
@AlfPSteinbach hmm...cause they're in hurry to just upload anything?
 
@awoodland That is totally sensible...is there not an option in @KerrekSB's case to give a custom reason for refusing an edit?
 
user784668
@Potatoswatter: why it's header-only?
 
@keithlayne there is a custom reason box, but it's a common case and it feels a bit wrong having to justify the reason every time you type it
 
6:33 PM
@Fanael Because it consists entirely of templates, aside from the string library, which will be templated soon.
 
user784668
@Potatoswatter Ah.
 
The .hpp files are implementation-only; formats.h defines everything you need to actually use the various stages, for what it's worth.
 
@vivek I know, I'm a smartass
 
user784668
Anyone can help me with my naming problem?
 
@Fanael stream_writer sounded reasonable
:1912243 does it interact with any other library components or is it totally free standing?
 
6:39 PM
@Fanael how does it allow the derived class to handle it? by overriding a virtual, or is it an abstract class?
 
But what does it do? A stream buffer minus buffering is just a stream… what does this add to, say, an output iterator?
 
user784668
@keithlayne almost abstract, really.
 
streambuf_type_thing_that_only_writes_and_doesn't_care_about_buffering?
 
@keithlayne apostrophe in a name?
 
user784668
@StackedCrooked yes, why not? It's okay. In Haskell, that is.
 
6:41 PM
ha, I knew someone wouldn't be able to help themself with that
@StackedCrooked it's in a monospace font, so it's allowed by the standard
 
I'm sorry, I should have read more of the history. I would suggest file_something, something indicating the kind of interface provided.
 
@keithlayne Yeah, there's an "other reason", but it's tedious to type.
Time was you could just "reject" and didn't need a reason.
I can see how making you specify a reason is a good thing, but it's also a bit of a deterrent.
 
@KerrekSB At that point are you voting, or do you essentially have veto on an edit?
 
user784668
@Potatoswatter I'd be okay, if the class had anything to do with files. It's a base class that only defines the interface, the derived classes handle the real thing, like for example file operations, socket writes or doing nothing (in case of some null_writer maybe?).
 
Well. I would suggest giving it OutputIterator semantics and calling it file_output_iterator. But it's bedtime for me.
 
6:45 PM
Things I'll never understand: how can a simple simple simple answer I posted 1 hr ago:
http://stackoverflow.com/questions/8195626/hough-transform/8195665#8195665

receive more upvotes than an answer that I posted 12hrs ago, that included 4hrs of coding: http://stackoverflow.com/questions/8187745/audio-output-with-video-processing-with-opencv/8191506#8191506

Can anyone enlighten me?
 
@keithlayne It's just consensus; two people have to "accept" or "reject".
 
and both are in the same tag!
 
@Fanael Oh, then, I got the wrong impression from the discussion I skipped earlier.
 
Sometimes I feel like I should just retire or maybe start giving half answers to question and let the OP burn some neurons.
 
Once again, then, I have to ask what the class does provide, and suggest OutputIterator semantics. Even just defining operator= to be pure virtual and operator++ and operator* to be appropriate no-ops could be very useful.
@karlphillip You've already gotten to 12.8k and you're just noticing this? Do what you like because you like it… doubly so if you're not getting paid.
 
6:48 PM
@karlphillip seems like both maybe should gave gotten more votes.
 
user784668
@Potatoswatter that'd be good if it didn't support writing character arrays (at once, not char-by-char) and seeking, and didn't have stubs for buffer management (set buffer and flush, they're not required to do anything useful if it there's no sensible thing to do).
 
@Fanael If it has set buffer and flush stubs, then it sounds a lot like basic_streambuf.
 
I ain't gonna lie to you, reputation motivates me a lot! A LOT! But it ain't all about earning points. I guess my disappointment is that the OpenCV tag has very few people that collaborate, and the ones that ask questions in this tag are usually newbies with less that 100 rep, which show up once, ask a question, and never come back to participate in StackOverflow.
 
basic_streambuf also doesn't have a lot of requirements on clients, for example you can null out the buffer pointers and do unbuffered I/O.
 
You can die waiting for help in OpenCV's mailing list (yeah, it's that bad), so Stackoverflow has been the number 1 place people has come for help.
 
6:54 PM
That library is a graveyard of grad students and college projects, no?
 
user784668
@Potatoswatter yeah, I know. But I don't want to rely on basic_streambuf for reasons that I'd rather keep for myself, lest some C++ weenies should kill me for being a heretic.
 
@Fanael LOL, finally the truth comes out ;v)
 
@karlphillip I only know about OpenCV in broad strokes, and I'm not using it any time soon, so I just ignore those questions...I think you pretty much hit the nail on the head, it's the type of people coming here for answers on those topics (and many others)
@Fanael let me go get my torch and posse
 
user784668
@Potatoswatter the most important reason is that I'm not using C++, actually.
 
user784668
Now I'll get killed :(
 
6:56 PM
@Fanael What then, D?
 
@karlphillip I've recently made an effort (I'm new obviously) to be more involved in voting, and I've noticed there is a big issue across the board.
 
Please don't say Java.
 
It's nothing new, found tons of discussion on Meta about it
 
user784668
Ja^H^HD, of course.
 
But good questions aren't voted up enough, and the SNR is just so high(low?) on this site.
 
6:58 PM
LOL! Well as I've been saying I need to be getting to sleep ;v)
 
@keithlayne I know what you mean.
 
And a big peeve is when I type an answer, and a few minutes later one of these smart guys from this room come and say the same thing, and they get votes and I don't. :)
 
user784668
It's my business what I'm using!
 
user784668
I can use PHP, Java and C++ if I want to! It's a free country!
 
user784668
Fortunately, I rarely want to use any of these :P
 
7:01 PM
@keithlayne That happens a lot, you'll get used to it. One thing I notice is who answered FIRST.
 
At the risk of being killed myself...I don't know much of anything about D, is it worth delving into for general purpose stuff? Is there good compiler support across platforms?
 
user784668
It's not even remotely comparable to C++ in terms of compiler support, unfortunately.
 
user784668
Let alone to C.
 
@karlphillip I'm going to start continually refreshing for the newest questions and type "FIRST!!!" in an answer, then go back and copy answers, and then come here and complain about not getting votes... :)
 
@keithlayne LOL you'll get in trouble real fast if you do that
 
7:05 PM
@karlphillip really? I'm not a dirty whore, so I'll never find out, but I'd bet some people would be too lazy to really deal with it
but I guess I should have faith in the system
@Fanael I guess I should do some reading then...I assume it's well-covered on Unix-like OSes?
 
user784668
@keithlayne depends what Unix-like OSes.
 
@keithlayne the other side of the coin is that EDITs are registered and stay in the history of the post.
 
@karlphillip yeah, I thought about that after I started typing
 
user784668
@keithlayne there are working compilers for Linux and MacOS X on IA-32/AMD64 (and for Win32, but it's not really Unix-like).
 
7:23 PM
If I have a class A and I have a[x] to access element x in a, what's the operator for setting that value by saying a[x] = y; ?
Is it just the operator [] (A &a) and then the assignment is handled in class A ?
Oh I figured it out
sorry
 
7:50 PM
@jalf What's up?
 
hi, nothing much
just painted my living room
 
=D
What color?
White ?
 
8:20 PM
Apparently some people use this micro-optimization: if((x|y) < 0) { ... }.
I wonder if it really translates to fewer asm instructions (not taking compiler optimizations into account).
/* Test whether compiler supports C++-style comments */
#define HELPER 0//**/
#define CPLUSPLUS_COMMENTS_SUPPORTED (HELPER+1)
^ I don't understand how this works for C. Edit: Ah, now I do.
 
@karlphillip Simple answers can be understood (and hence be upvoted) by a broader audience.
 
It would evaluate to "0/+1" which is valid syntax.
 
Hi:)
 
I really don't get this one:
int direction = 1;
char direction_name = direction["nsew"];
WTF?
 
@FredOverflow I became number 100 up voter ;) stackoverflow.com/questions/4172722/what-is-the-rule-of-three
 
8:31 PM
same as "nsew"[1] == s
 
@StackedCrooked a[b] == *(a + b) == *(b + a) == b[a]
 
@FredOverflow it is rule of associativity , right?
 
Quite a clever trick actually.
 
@StackedCrooked very bad style though
 
8:34 PM
@MrAnubis commutativity
 
I don't think this one is evil:
Node *left, *right;
int childCount() {
    return !!left + !!right;
}
 
@StackedCrooked did you see my messages?
 
@jalf Where?
 
messaged you here earlier
 
@StackedCrooked returns 2?
 
8:36 PM
@ManofOneWay thanks
 
@jalf I didn't see them.
 
@MrAnubis returns number of non-null children
 
@FredOverflow but left and right are un-init'zed but you're right in case they are init'zed , thanks
 
@StackedCrooked ah, was trying to say that bg&e can be a bit wobbly on newer pc's. The version from gog.com has some hacks/fixes to make it run on better on most systems, but with the Steam one all bets are off ;)
 
It seems they're either members or globals. I would bet my money on members.
 
8:38 PM
@jalf chat.stackoverflow.com/… (This is nice stalker API btw :D )
 
the main problem is audio and video getting out of sync
 
@LewsTherin you alive?
@FredOverflow how much money?
:)
 
Do you guys listen to trance?
 
music?
 
Yes baby
 
8:40 PM
@jalf I had rendering issues (flickering), but I found that this could be fixed by turning of one setting. Now it works fluently.
 
huh, I guess I didn't message you then :p
@StackedCrooked ah cool
 
@ManofOneWay WT... i am not baby man! :D
 
@ManofOneWay not if I can avoid it
 
@FredOverflow you also do GUI work?
 
@MrAnubis I hate GUI programming.
 
8:43 PM
@MrAnubis Sorry sir!
 
@FredOverflow why so ? :)
 
@FredOverflow @jalf I'll have you secretly connected in my headset while I'm at my interview on monday!
 
@MrAnubis Somehow it simply doesn't appeal to me. I like writing templates and stuff better.
 
@ManofOneWay no, it's fine ;)
 
I'm gonna be grilled
Hopefully it will go okey
 
8:45 PM
@ManofOneWay i didn't mean that in harsh way , so no worries and sorry :)
 
what interview? What did I miss?
 
@MrAnubis I know you didn't mean it the harsh way =) The only one getting angry at me for saying baby is @sbi
 
lol
 
I'll be heading to Oracle for a job interview on monday. It's the JVM / Compiler division
 
@ManofOneWay good luck :)
 
8:47 PM
It's basically for a summer internship and then if everything works out I'll also be doing my master thesis there
@MrAnubis Thanks :)
 
@ManofOneWay While you're working in the JVM/Compiler division, could you add reified Generics to Java, please? ;)
 
@ManofOneWay that is awesome, that may be the only interesting Java-related job left in the world :)
 
@FredOverflow If I'll get a job there I'll convince them to hire you. Then you can implement it!
@keithlayne Yeah =)
 
@ManofOneWay Probably too far away for me :) Where exactly did you apply, geographically?
 
@FredOverflow It's in Stockholm, Sweden
 
8:55 PM
not quite where I live :)
 
Deutschland ist nicht weit weg von hier
 
@ManofOneWay How many sites are there for that division, do you know? I guess there's no reason for development to be centralized in this day and age.
 
@keithlayne I don't know that much yet, sorry. I'll find out more on monday, then I can tell you.
 
Does small-buffer-optimization work like this:
struct string {
    char * buffer;
    char fast_buffer[32];
};
 
basically
 
8:58 PM
On a separate note, I never cease to be amazed by the fact that non-native speakers I meet across the interwebs have a much better command of my language than most of my countrymen
 
it's 6 characters, usually, not 32
 
sbi
@ManofOneWay Well, I did have a couple of my own babies in my arms, to one of them I had a stern talk about contraception the other day, so calling me a "baby"... Well, let's just say, The Grumpy Old Man is not a baby, Ok?
 
It's a clever trick.
 
@sbi geez, I'm glad I don't have to worry about that yet
 
@sbi When I read that comment I first thought it was posted by @DeadMG and didn't make any sense.
 
9:01 PM
@sbi Yes sir
@StackedCrooked lol
So did we agree on meeting in Portugal for the C++ Lounge gathering?
 
No it was at my house.
But that was rejected :(
 
sbi
@keithlayne Well, the two of us have strong ties, and I try very hard to be more of an older friend than a Victorian father, more counseling than directing, so that talk went quite well. (Which is more than her mother managed.) She considered the alternatives I presented concerning the visit of her beloved over Christmas, and picked the one I thought would be best. (She did pick someone else to help her pursue that path, but that was not unexpected, and totally fine with me.)
@StackedCrooked You know, you could hardly be more insulting than by confusing me with a puppy. Grim Look.
4
22 hours ago, by sbi
@MrAnubis I'll "sir" you.
@ManofOneWay You are actually planning a face-to-face meet of the C++ chatroom? Wow, I'm impressed.
@StackedCrooked On what grounds?
 
@sbi Good for you. I'm counting on my two boys to be threatening enough so that I don't have to be for my little girl... :)
 
@sbi I'll have to get better at C++ first, that's why I've ordered the Accelerated C++. But why not! It would be fun! And you have met before some of you at least?
 
@sbi It wasn't officially rejected, it was simply ignored :)
 
sbi
9:09 PM
@ManofOneWay I'm confused. You need t get better at C++ in order to have a beer with us? Why do I now have the strong suspicion that either you or me totally misunderstood something regarding this meeting thing?
@StackedCrooked Mhmm, pondering this, here's a proposal: We pick the spot most of us could travel to the easiest.
That's very easy, BTW. I drag @Björn into this, which makes two Berliners, plus @Konrad, who might be at home over Christmas. Add @Tony to the mix, who had been here before, and Berlin it is.
 
@sbi I have feeling C++ would still be mentioned at such a gathering. ;)
 
ohhh what?
 
sbi
@keithlayne Uh oh. Sounds like a bad plan, if you ask me. Actually, that sounds like a very bad plan.
 
I'd love to go for another beer, was fun last time :)
 
sbi
9:13 PM
@TonyTheLion We're not discussing sex this time, just go back to sleep.
 
@sbi lol, I'm not even thinking about sex, why did you have to mention it???
 
sbi
@ManofOneWay C++ is mentioned here all the time. So? When meatbags meet, there's much more distraction than when just our avatars clash here. Just by discussing the quality of the beer of the different places we come from, we can spend half the evening. Add to that the perils of traveling to wherever the meeting takes place, and we might never get to the topic of C++ at all. :)
@TonyTheLion Why? Well, because it's you. Why else?
 
lol hahah :P
 
sbi
@TonyTheLion I'm glad you enjoyed your visit in Berlin.
 
sbi
9:17 PM
National Command Line Interface Association - #NCLIA - Commands don't kill processes, people kill processes.
O.M.G.
 
:)
just reposting what other has posted before:
 
@AlfPSteinbach Are you mocking me :)
 
@StackedCrooked no, i liked that
 
@AlfPSteinbach It's from the animation called ".hack//Sign". It's about someone who finds himself in an online role playing game and doesn't know how to log off.
 
in the future you will be uncertain whether you're in game or not :-)
 
9:33 PM
It's a little slow-paced, but it had a few good parts. At one point there was a discussion about how powerful moderators should be and how strict the rules should be enforced (in an online social environment).
 
I'd happily attend a gathering
 
hm what can u say about this?
 
if you guys would happily pay for it
 
@DeadMG i'll buy you a beer if the others buy my tickets ;-)
 
@AlfPSteinbach Ah, haven't seen that clip yet.
 
9:36 PM
What am I doing wrong here when trying to overload the operator << for a template class? ideone.com/sKB6B
 
@ManofOneWay u forgot to template the << operator
 
sbi
@ManofOneWay It's a class template, and you tried to overload the operator for a class Node, not a class template.
template <class T>
std::ostream & operator << (std::ostream &o, const Node<T> &n)
{
    o << n.val;

    return o;
}
 
Ah.. I thought that would be like saying it belonged to the template declaration, but that would be if I also added Node<T> :: operat... ?
 
sbi
@ManofOneWay The only way to overload an operator as a free function for a class template is by making it a function template.
 
I saw this while compiling some large package:
> Running test suite...
> Crossing fingers and hoping it works...
Encouraging.
 
9:43 PM
Okey. Another thing, is Node equal to saying Node<T> inside the template class declaration, for example, is Node *next the same as Node<T> *next?
 
sbi
This is quite an impressive piece of scripture. (Note the one comment. I concur.)
4
 
@AlfPSteinbach The studio version is one of my favorite Yuki Kajiura songs. And the video is a very good live performance I think.
 
> checking for fortan compiler...
Oh God.
 
@sbi Lol
LOL > Lol > lol
 
sbi
9:52 PM
@StackedCrooked Damn. That was just the first image. It gets better.
 
@sbi My goal is to be much more like you in your story, not to be a bully with my kids...but I seriously do hope that my sons are protective of their little sister!
 
sbi
Oh, someone starred my link to that open letter. So it's not just me?
 
@sbi I just read it...wow. Reminds me of something that happened a long time ago that is a serious black mark in American history, the "Kent State Massacre"
Except thankfully we now have "non-lethal" munitions
 
sbi
@keithlayne I don't know the age differences between your sons and your daughter, and I don't know their ties, but in my (admittedly rather limited) experience elder brothers are rarely what teenage girls turn to when needing advice in contraception.
 
@sbi My little girl is 3, the boys are 5 and 6. Dear God I hope she doesn't talk to them about contraception...
but taking care of your little sister (with sincerity) I think is a good thing
 
sbi
9:58 PM
@keithlayne Oh, so you have another 8-15 years until you need to worry about this. That certainly puts things into perspective.
 
Compiling GNOME from source was a Bad Idea™.
 
@sbi Also, regarding that link: I don't know if you've spent time on this side of the pond, but UC Berkeley is probably the finest public school in America, and the California schools the best state schools generally, but not the kind of place where I'd expect this...
 

« first day (399 days earlier)      last day (4547 days later) »