« first day (108 days earlier)      last day (4841 days later) » 

12:22 AM
Damn, I just wanted to take a look at gcc's strcpy implementation, but of course it's not a template and thus the source code is not included.
 
I ♥ templates
 
strcpy is commonly implemented as:
char* strcpy( char* target, const char* src ) {
char *p = target;
while ( *p++ = *src++ );
return p;
}
 
@DavidRodríguezdribeas Robert said "And your first example is a bit of a straw man, since I suspect few people would actually code the strcpy method this way" and this got me curious.
12
Q: Why do we have postfix increment?

FredOverflowDisclaimer: I know perfectly well the semantics of prefix and postfix increment. So please don't explain to me how they work. Reading questions on stack overflow, I cannot help but notice that programmers get confused by the postfix increment operator over and over and over again. From this the ...

First comment
 
ugh
remember that part where I didn't go to the doctor because my parents told me not to and I started to feel better?
bad idea
 
12:40 AM
@FredOverflow, well, we might be just a few people that would implement it as such... but I have seen that code before, and that is how I would write it myself. I kind of like the terseness of it
@DeadMG, how are you feeling tonight? any better?
 
no
else I'd be asleep
 
Sorry to hear that, have you had anything to sooth the stomach?
 
tried some ibuprofen, it's all I got
not doing an awful lot right now though
 
@DeadMG: What did the doctor say? (Assuming you went...)
 
no, the point is that I'm regretting not going
 
12:44 AM
So, will you finally go tomorrow? (Oh wait C++ does not have finally...)
 
What was the problem again?
 
@DavidRodríguezdribeas His parents don't believe he is sick.
 
to be entirely fair
I did feel better a couple days ago
quite a lot better
and I decided that they were probably right and it had just blown over
but now I most definitely do not feel better anymore
 
I'm going to bed, see you around. @DeadMG, try to get some rest and see a doctor or at least ask a nurse for advice on your particular symptoms. Get well!
 
will do
 
 
7 hours later…
7:32 AM
I guess it's been about two weeks since all that misunderstanding about the unpinned messages
because I just saw the last one go
 
7:45 AM
lol
 
 
3 hours later…
10:24 AM
the sheer silence....
 
10:44 AM
They've been saying IPV4 space is running out for years; maybe it really is. http://goo.gl/1qcOA
 
 
2 hours later…
12:53 PM
The number of allocatable free IPs has now dropped to around 7,825,878. Not that many left.
 
the iPocalypse has been coming for some time
 
1:20 PM
@DeadMG haha "iPocalypse", that is funny :) :p
 
1:40 PM
@sbi: wasn't this the guy that got a 6 month ban on SO? cstheory.stackexchange.com/users/3502/swengineer
 
yes it was
and look, he's asked two questions and one has been closed already
 
and the second surely will be too
 
in theory there is no difference between practice and theory,
in practice, there is.
 
sizeof(int*) isn't required to be greater or equal to sizeof(void*), right?
 
1:51 PM
I think that all non-member pointers are required to be the same size
but I'm not too sure
 
int* is required to be not smaller than void*
Indirectly, that is, since you have to be able to convert from int* to void* and back
 
ok...
@DavidRodríguezdribeas yeah, this is what I was actually wondering
 
In practice, again Yoggi commenting, they are the same size, there is no reason to use a bigger size type for just void*
 
of course
so void* must be greater or equal to any pointer type (but function pointer), I guess
 
sbi
@FredN If you have an account on cst, you might want to flag the closed question and give the mods a hint that the guy has been suspended on SO for a flood of stupid questions, so he should be closely watched.
 
1:59 PM
I don't; not interested in the CST site myself
 
meh, they all get linked, it's not like you have to earn enough rep to comment
 
104
A: What's your favourite quote about programming?

Walter In theory, there is no difference between theory and practice. But, in practice, there is. — Jan L. A. van de Snepscheut

(I prefer the version in the first comment)
 
@peoro yes
Fud-Fighting...
0
Q: Create reference to new object

dandrestorHello! I am just learning C++, and I've come across the following conundrum: As a C++ newbie, I've read that using reference instead of pointers (when possible) is generally a good idea, so I'm trying to get into the habit early. As a result, I have a lot of methods which have the general form ...

 
2:23 PM
@AlfPSteinbach: comment thread whale ahoy
 
yes :-)
people get so riled up when i point out some ungood thing. like hey, you haven't considered this (trivia example). argh.
 
I think it got blown out of proportion
particularly for beginners, the form that creates variables and then passes them has clarity benefits over using inline temporaries
 
perhaps, but it's a pain reading code where every little thing is a distinct variable
 
I'd expect any programmer to learn when and how to convert one to the other as they gain competence with c++
@AlfPSteinbach only if poorly done, and if they're writing poor code, it will be a pain to read anyway :)
 
char const firstPart[] = "Hello, ";
char const secondPart[] = "!";

cout << firstPart << userName << secondPart << endl;
 
2:30 PM
ah, that's a breath of fresh air to read after dealing with i18n
but case in point: firstPart and secondPart are poor names
 
2:42 PM
@FredNurk I have always considered that quote to be "Yoggi" Berra's... mine is currently on the right, as I wrote it yesterday regarding a comment of @sbi:
How do we convince people that in programming simplicity and clarity —in short: what mathematicians call "elegance"— are not a dispensable luxury, but a crucial matter that decides between success and failure? -- Edgster W. Dijkstra
 
I didn't link for the authorship, though I was curious enough to find out wikiquote lists it as unsourced and unknown authorship between those two and another
 
@FredNurk Well... if I have to reckon that someone copied from others, Yoggi is the least probable candidate to have read the quote from .... well, to have read at all.
(I don't mean to enter a discussion over the quote's ownership, just a fun remark on the author that also said: "Baseball is ninety percent mental and the other half is physical")
(And I keep typing Yoggi, but the actual nickname was Yogi)
 
2:59 PM
@DavidRodríguezdribeas hah
 
3:30 PM
 
hahaha
 
i'm just wondering about the blackstuff: "The IP datagram is printed, on a small scroll of paper, in hexadecimal, with each octet separated by whitestuff and blackstuff." ?
 
don't worry about the blackstuff, worry about the whitestuff – colloquially known as "pigeon shit"
 
Are they metering all traffic or just some? Perhaps you can tunnel traffic over HTCPCP
 
@JamesMcNellis but at least they don't have to worry about deleting their pointers
 
@JamesMcNellis Sweet!
 
@JamesMcNellis ROTFLMAO :-)
 
3:58 PM
@JamesMcNellis hahah
does anybody know any code that crashes the C++ compiler or any implementation thereof? just for a laugh
if that is even possible...
 
Intellisense
 
there are lots of ICEs (internal compiler errors)
 
@Tony: I have seen both g++ and VS choking with code and dying, you can probably find examples if you search for "internal compiler error" in SO.
 
@DavidRodríguezdribeas thx
 
That seems to pull errors in different languages. No code is error free (well, Knuth's is, or almost), and compilers are not the exception
 
4:06 PM
I guess compilers must be amongst the hardest to write then
with their automata and all that jazz
 
@DavidRodríguezdribeas and DJ Bernstein's
 
Goodness, I didn't know this existed
 
@zenna oh, welcome
 
You've been having a hard time explaining things huh.
 
well, RAII does create objects, there must be overhead in that...
 
@FredNurk ...and this surprised you? Leave off "RAII" and it's still about as surprising as the sun coming up in the morning. I don't mean to sound condescending either -- I know for a fact that my wife (for one example) doesn't think I understand much of anything.
 
hah
you're right, I should know better; but I'm probably biased because I try to avoid the "omg, WE NEED PERFORMANCE, so obviously XXX won't work" type of crowd
 
@FredNurk I love that question: "This application is a single-threaded application", "check to make sure that these functions [...] aren't being called concurrently", "should volatile be used for the int test to mitigate any kind of caching?"
 
4:46 PM
yeah, the volatile red herring rears its ugly head again
 
Then of course I might be acting as a real asshole, a single threaded application with TAO might exhibit "multithreaded" behavior
 
by concurrently I think he really mean re-entrantly
 
double f(double a)
{
 double b, c;

 b = 10*a - 10;
 c = a - 0.1*b;

 return (c);
}
what does this do?
 
though that's not precisely the right term either, given that he wants to prevent prepare(); prepare(); finish();
@Tony computes a value and returns it? is it a trick question?
 
@FredNurk not a trick question, more like a "if you know your floating point arithmetic, you'll know this question"...
 
4:54 PM
@Tony: More like, neither the question nor the answer gives an apparent purpose for the question to be asked
 
@Tony returns some approximation of 1? where approximate is a relative term, as in much closer to 1 than std::numeric_limits<double>::max()
 
5:08 PM
@Fred: No, apparently they don't.
 
5:18 PM
Hum, what's wrong with Noah Roberts? I mean, why it seems like anybody hates him, and he hates everybody?
 
@peoro I don't hate him... the only SO user I openly dislike is "There is nothing you can do" (stackoverflow.com/users/207177/there-is-nothing-we-can-do). I don't quite know why, probably because he is passive aggressive both when asking and when commenting
The gravatar does not help either
 
@DavidRodríguezdribeas I've noticed him too, and similarly can't explain why I feel the same way
 
hmm, I see
 
He has a very pessimistic name. :)
 
user379888
Hello
 
user379888
5:30 PM
Can someone help me out with my database
 
user379888
I am starting to work on a database project in C++ and I need to make something extra ordinary using C++
 
user379888
Any idea?
 
ssqls is nice ...looking for link
I'm assuming you're using MySQL, though.
Maybe a bad assumption. What database are you planning on using?
 
30 votes a day is not nearly enough; I've been out for hours
 
200 points per day is not nearly enough: I've been capped for hours!
 
5:38 PM
psh, voting is participation, rep is rewards and meaningless to boot
 
it would be cool if you could cash it in for stackoverflow merch. though.
or maybe that would take the fun out of it
 
@JamesMcNellis I'm pretty sure I was capped before I even got up this morning. Is the rep-cap intended to de-motivate the people who helps others the most?
 
@JerryCoffin On the bright side, it is motivation for me to focus on getting work done. ;-)
 
5:54 PM
The worst thing about reputation cap is that nobody will ever be able to reach Jon Skeet
also because he'd keep getting +200 everyday just thanks to his older answer...
 
@peoro You can if (a) you answer a lot of questions and (b) a large number of those answers are accepted.
 
Look at Alex Martelli reputation: it's two perfect lines, I guess we can find the exact number of posts will let you statistically get +200 rep per day
 
@JamesMcNellis @JerryCoffin Uhm... maybe the rep cap is there to allow others to answer questions by demotivating you to continue hogging all the correct answers :P
 
@JamesMcNellis of course, also if you get ten +500bounties per day, but that's not so much realistic...
 
Uhm... @peoro did you just find a hole in the system? Create a second user, get the rep-cap with both, and then offer bounties with one of them that get accepted by the other... if at least you could get merchandise from it... (heck, I have reached the cap probably twice in two years, that will not help me at all)
 
6:00 PM
@DavidRodríguezdribeas I've thought about that; I think that would probably be frowned upon.
 
it'd be patently obvious, personally
 
@DavidRodríguezdribeas I post my fair share of incorrect answers too. ;-)
 
@DavidRodríguezdribeas I read on meta that there are anti cheat systems :-P
 
The fact is that I would not believe it that anyone reaching the rep-cap is actually doing it just for the rep
you have to really like it to invest enough time to get the right answers, always, first, accepted
 
@DavidRodríguezdribeas Obviously! But anyway I think it's frustrating to have a ranking if it's static.
 
6:03 PM
Last year the user with the most reputation was not Jon Skeet
 
I've got less than 7K rep, it doesn't concern me at all, yet the system looks bad
@DavidRodríguezdribeas Uh, really?! Couldn't imagine it!
 
Oh, yeah, I read about him...
Hum, well, he got more reputation that year, but he's never been the one with the most reputation... (was referring about this ranking, not weekly/monthly/yearly one)
 
If you see the rep graph is almost flat until Jan 2010, then it is a perfect straight line... do these people have a life? holidays?
 
@DavidRodríguezdribeas What is this "life" of which you speak?
 
6:07 PM
eheh...
 
I think that if top users skip a day they would get +200 anyway, for the previous day's answers (plus the older ones)
 
@DavidRodríguezdribeas Some guy built a Turing Machine based on Conway's Game of Life.
 
really? link
 
6:14 PM
@DavidRodríguezdribeas I've seen a few comments from Martelli indicating he places much more value on the rep than I'd warrant; but I'm not sure how to take them, and this doesn't exclude that he answers for other reasons
 
man
I love SCARY iterators
every time I read about them, I laugh so hard
 
@JamesMcNellis I can just imagine setting up a glider gun pointing towards it
 
@FredNurk Hum... What happened to him?
He's off since october
 
I couldn't tell you
bits of prog21.dadgum.com/57.html affect everyone, I'm sure
 
@FredNurk Arguing with an engineer is like mud wrestling with a pig. Sooner or later you realize he's enjoying it -- I don't know the author, a professor quoted that some years ago in a technical discussion
3
 
6:27 PM
I've heard variations on that too
"... you both get dirty, but he enjoys it"
 
@DavidRodríguezdribeas That is absolutely wrong! Engineers do not like arguing! Where do you get this idea that engineers like arguing?!
 
I have a global hook and I get a first chance exception which seems to cause my program not to work. I expect the exception to be somehow caused by an access to an int array at some point. However, I have no idea how I would be able to debug this code as I can't get MSVS2010 to break on the first chance exception. Anyone got any pointers?
 
@72con as i recall ms debugger breaks very nicely on first chance exception. you just have to tell it to do so. in visual studio place some check mark in a check box.
 
you can set Visual Studio to break on exception throw
it's in Debug -> Exceptions
 
Ok, maybe it actually does - I put a check mark on all the boxes in the exceptions dialog but my system then hangs when I start debugging..
 
6:38 PM
Ctrl+Alt+E
 
this coffee maker doesn't work. i selected all the options, and still doesn't make coffee!
 
has anybody used the boost::asio lib
are the asynch network things done via APC's or DPC's or how does that actually work?
 
@Tony what are DCP's?
A Deferred Procedure Call (DPC) is a Microsoft Windows operating system mechanism which allows high-priority tasks (e.g. an interrupt handler) to defer required but lower-priority tasks for later execution. This permits device drivers and other low-level event consumers to perform the high-priority part of their processing quickly, and schedule non-critical additional processing for execution at a lower priority. DPCs are implemented by DPC objects which are created and initialized by the kernel when a device driver or some other kernel mode program issues requests for DPC. The DPC reques...
considering that Boost is pretty OS-agnostic, and that we're talking asynchronous here, my bet would be ACP. but why not just look at the Boost docs?
sorry, typo. amazing: that it's like 50 years since it was recognized that transposition is the most frequent typo, that [Ctrl T] would be nice to correct it, and that still almost no editor or edit-field has that functionality
for that matter, request for comments, how many of you folks would like Caps Lock removed or replaced with something else?
personally I'd like a big Control or Command key there
 
I'd rather have a hotkey that takes what I just wrote and changes it so I won't regret having written it later. That would be a handy hotkey to have for the few times it would be handy.
@AlfPSteinbach THAT WOULD MAKE SHOUTING MUCH MORE TEDIOUS.
 
@JamesMcNellis why would you regret having written it later, and how would you know that you had written it later?
 
7:01 PM
@AlfPSteinbach thx :)
I did write DPC btw..
 
fuck i hate downvoters i hate them i fucking hate them!
1
Q: C++ returning more precise of two template arguments from function?

gctI'm curious if there's any way to do this in C++. Let's say I have a templated vector class: template <typename T> class vector { public: vector(T a, T b, T c) : x(a), y(b), z(c) {} T x,y,z; }; And then I have a templated addition operator: template <typename A...

 
@wilhelmtell I would usually upvote to cancel the anonymous downvote, but in this case... are you sure that scheme is going to work? because for template parameter type deduction (your type A), those conversions are not considered. example?
@wilhelmtell I mean, judging from the comments the downvote is probably for an invalid reason, namely confusing the vector in your example (and in OP's example) with std::vector, but still I don't think your scheme can work?
 
7:17 PM
template<class T>
struct vector {
    template<class X>
    vector::vector(const vector<X>& v);
    // …
private:
    T a,b,c;
};

template<class X>
vector::vector(const vector<X>& v) : a(v.a), b(v.b), c(v.c)
{
}
That's it. Use that with the single-type addition operator.
 
@wilhelmtell It is not as easy as you are writing
 
ok forget everything. i take it back.
 
@wilhelmtell I tried your scheme and the compiler barfed. What did I do wrong?
template<class T>
struct vector {
    vector(): a(0), b(0), c(0) {}
    vector( T a_, T b_, T c_ ): a(a_), b(b_), c(c_) {}

    template<class X>
    vector(const vector<X>& v);

    // ...
private:
    T a,b,c;
};

template<class X>
vector<X>::vector(const vector<X>& v) : a(v.a), b(v.b), c(v.c)
{}

template <typename A>
vector<A> operator +(const vector<A> &a, const vector<A> &b) {
   return vector<A>(a.x+b.x, a.y+b.y, a.z+b.z);
}

int main()
{
    vector<double> v = vector<double>() + vector<int>();
 
From the syntax standpoint, your definition of the constructor is not correct it should be:
template <typename T>
template <typename X>
vector<T>::vector( vector<X> const & rhs ) { ...
 
7:24 PM
@FredNurk Well, as @FredOverflow pointed out yesterday, until C++0x is promulgated, C++ doesn't support multi-fredding, so the confusion is understandable.
 
But that does not solve the issue for a couple of reasons, the first being that with operator+ being a template it has to match all arguments, that is, it will not perform conversions.
 
@DavidRodríguezdribeas I have always loved that template..template mess when defining; but it still took me a few years until I decided every class template I wrote from there-on out would be fully defined in the class definition
 
(similar than the reason std::min( 10u, 9 ); does not compile)
Then, even if it was allowed to perform the conversion, without the magic by @litb (referenced in @JamesMcNellis answer) directing the conversion in one direction, the compiler would not know what conversion to perform. vector<int>() + vector<char>(), should it promote the char or demote the int?
@AlfPSteinbach You did nothing wrong, the compiler cannot solve that for you...
 
we could just remove demotions, after all the public school system has for years been putting emphasis on self-esteem for its own sake; 'bout time programming languages caught up
 
@FredNurk programming languages will never catch up with self-esteem. Too many programmers insulting them on a daily basis.
 
7:32 PM
"everyone that participates in overload resolution gets a trophy and a ribbon!"
 
Today I had to explain (again) at work that the compiler has a right not to compile your code if it is incorrect. Still some people fail to grasp it... "But I have always done it like this, so it should compile now"
 
does every generation feel like they're screwing up their kids?
@DavidRodríguezdribeas blatantly incorrect or just led to UB? UB is probably the best and worst feature of c++
 
struct test { static const int x = 10; };
Compilers seem to gladly accept that without a definition of the static member (in general) even if the programmer is required to define it in one compilation unit:
const int test::x;
Nothing to weird, I just find it interesting when people blame the compiler for not accepting their perfect code, instead of looking at the code and understanding that it is not right. When I was younger I once approached my boss and told me: "the compiler is buggy it is failing with my code, come take a look...", he looked at me and answered: "we can see what is wrong with your code, I bet 99 to 1 that the compiler knows better"
 
@DavidRodríguezdribeas that's not clear, 0x clarifies with "odr-used"
 
Well, we are using g++ 4.0, which is a C++03 compiler, and the standard states:
§9.4.2/4 "If a static data member is of const integral or const enumeration type, its declaration in the class definition can specify a constant-initializer which shall be an integral constant expression (5.19). In that case, the member can appear in integral constant expressions. The member shall still be defined in a namespace scope if it is used in the program and the namespace scope definition shall not contain an initializer."
the important part is: "The member shall still be defined in a namespace scope if it is used in the program"
 
7:41 PM
C++03 §9.4.2p4 and N3225 §9.4.2p2, if you're curious
oh, you already found them
@DavidRodríguezdribeas and §3.2 defines "used", but it's still not clear when a definition is required in 03 or not
 
§3.2/2 ... An object or non-overloaded function is used if its name appears in a potentially-evaluated expression.
 
I wonder how much harder it would be to write a reference c++ compiler instead of standardese, with the caveat that certain things could still be UB
@DavidRodríguezdribeas and check out the DRs that led to changing that
 
Whether that restriction can be lowered for constant expressions or not is another thing, but a compiler that rejects that code (in fact a linker that rejects linking) is fine. WRT the reference c++ compiler... Comeau, but the online test does not link
 
oh sure, if it's clearly needed (e.g. you take the member's address), you should get an error
sounds like your co-worker was just ignorant of declaration vs definition
 
That is the behavior in g++ 4.0, if passed by reference or a pointer is taken, and the reason why he was complaining on the compiler instead of trying to see what the problem was
 
7:49 PM
that's something people often forget about const references: they maintain object identity, which is very important in c++'s object model
 
In most cases the compiler will inject the value, but then you make a subtle change that seems unrelated and then it complains (change void foo( int ) to void foo( const int & ), and suddenly it complains about x::y not being defined
 
make foo a template – 3 or 4 levels deep into another template – then make that change :)
@DavidRodríguezdribeas I mean behavior, not just diagnosable rules; instead of i++ + ++i, for example, you either find the rule that says it's UB or the reference's behavior is normative
I guess I'm primarily getting rid of unspecified behavior, but implementation-defined is still an issue
 
UB is more often than not UB because it would be too hard to diagnose or provide a guarantee. Some other times it is just an issue of the platform
 
(a goal would be to reduce number and complexity of the statements which decide what is UB in this hypothetical)
yeah, I'm not trying to eliminate UB
not like it would ever happen for c++, anyway :)
 
8:40 PM
not sure if you guys resolved "used", but, for C++98/03 there is a DR, and it's fixed in the current draft. essentially, if you take address or bind to reference (which amounts to taking address), then it's used.
 
Well, we kind of got to the agreement that the compiler is rightfully complaining in those two cases, which was the actual use case at hand.
 
I just misunderstood at first, thinking the claim was that a definition is always required
once that was cleared up, I thought we were in agreement
 
9:19 PM
:297317 huh
You wrote a message for me,but apparently removed it?
(the notify box still showed it as "@Joh")
what was it about?
@Fred lol multifredding xD
 
it won't be in 20 years
it will be the day C++0x is Standardised
or, for those of us with an early conforming compiler, the day we downloaded it
 
yesterday, by FredOverflow
Finally, C++0x will support multi-fredding!
there's no easy way to link to several messages without creating a "conversation", is there?
 
if you don't care about lvalue results, you can use my promote<> template and write a min and max function easily
it will even support lvalue result if both branches are of the same
 
9:25 PM
@JohannesSchaublitb i saw that referenced by James (I think it was), but do u have link?
 
i think that's enough for the vast majority of cases
 
6
A: Uses of a C++ Arithmetic Promotion Header

Johannes Schaub - litbFor this, what you can use is the ?: operator. It will give you the common type between two types. First, if the two types are the same, you are fine. Then, if the types differ, you invoke the ?: and see what type you get back. You need to special case the non-promoted types char, short and the...

 
@JohannesSchaublitb Its about my fight with the chat interface... I did mention you above as I referred to an answer by JamesMcNellis (I'll try to avoid) that in turned referred to a previous answer you wrote. As with the @ Joh... that was a plain mistake, I meant to refer to JohnDibling, but instead of pressing [tab] I pressed [enter]...
 
ohh i see now
 
@AlfPSteinbach I am always amazed with Alexandrescu and what he has done for C++, it blew up my mind with Modern C++ Design (2003), was working on compile time checks for concurrency around those dates... back 10 years ago. I wonder whether metaprogramming was already been coined as a term.
I am still trying to figure out whether his proposed abuse of volatile to enforce compile time thread safety checks is genius or awfully mistaken --maybe none of the above, creative but not so useful...
 
9:42 PM
I recall seeing "metaprogramming" for templates around 2001-2002
 
@DavidRodríguezdribeas Modern C++ Design was first printed in 2001.
 
@JamesMcNellis I am really bad with dates... (if it were only dates :)
 
@DavidRodríguezdribeas I had to look it up; it just confirms @FredNurk's statement.
 
I don't know one way or the other before 2001, that was the year I really learned templates
 
@dribeas: I think it's quite brilliant, but very dangerous and not understood by most.
And I have found it extremely useful in my attempts to write more robust miltithreaded code.
 
9:58 PM
@DavidRodríguezdribeas: vi? :%! includeguard (or is that vim only?)
 
Does it strike anyone else that questions often go like this:
"Where's the toilet paper?"
"Right there."
"How do I wipe my butt?"
3
 
yes, frequently
 
I think that in many cases it starts with a brief discussion on the number of plies in the roll, and potential advantages of rarely noticed features like the inclusion of some scent.
 
yes - but don't those questions belong on toiletoverflow?
 
And then of course ends with "Please to now be wiping my butt fully, flush the toilet and wash my hands."
 
10:09 PM
followed by the latecomer with the comparison to bidets
 
@Fred: lol
 
10:27 PM
@JohnDibling That specific question would be off-topic on Stack Overflow, though. I'd think it might be on-topic on Programmers.SE, though.
 
Programmers.SE is, after all, the "dumping ground." ha ha
 
@JohnDibling Well, they insist that it isn't, but everyone truly knows otherwise even if they won't admit it.
 
10:43 PM
Where does this all leave Theoretical Computer Science?
 
@DavidRodríguezdribeas I don't know. I think I might understand maybe two questions on that whole website.
 
I find some of them interesting: Collaborative tools for dummies/professors, but then again I am not a professor
@MSalters, a common around SO C++ tag, wrote an interesting question: Limits on lock-free collections? there, it's a pity that the answer was too theoretical --but then, it was just appropriate for the website.
The actual question is, whether from a theoretical point of view, all containers (as in C++ standard library containers) can be implemented lock-free.
 
11:01 PM
Slightly OT but perhaps there are some x86 Windows 7 users here that might be willing to participate in a study where they would get to try out a scalable and tiling window manager for windows 7? cs.uta.fi/~jl70756/study_introduction.php
 
There are some brilliant questions on Stack Overflow: stackoverflow.com/questions/4868966/…
 
11:27 PM
@72con Is this open to anyone? I don't have windows 7, but a coworker that is interested in user interfaces might want to participate
 
Yes, it is open to anyone, I'd be happy if you let him know about the study.
 
@72con It looks interesting, but I don't have any 32-bit OS installs anymore.
 
Yes, I've been running into a lot of people who just don't have 32 bit Win 7's..
Difficult to find participants for the study.
A wealth of 64 bit users around..
 
Twice as many bits means it's twice as good!
 
11:53 PM
hmmm
Was stackoverflow.com/questions/4868966 really that horrible ?
 
@6502 Your answer was good. The question itself was horrible. The OP gave two lines of code and asked "what is wrong with this?" with no context. Even in the only plausible intended context the code would have been ill-formed.
 
hmmm, and also the author never bothered to try to fix it or to add any explanation...
 

« first day (108 days earlier)      last day (4841 days later) »