« first day (178 days earlier)      last day (4767 days later) » 
00:00 - 15:0015:00 - 23:00

Xeo
12:02 AM
@GMan shouldn't the foo function be called with foo f; f.pop()? or does your language change that to pop(f)? eg. allows both syntax for the same thing? I think i saw a starred post about sth like that
 
@Xeo I was going to let x.y() be syntax for y(x), but that just opens up multiple possibilities for no reason.
So no, just y(x).
 
Xeo
then how does the foo overload get chosen if it's defined the same way as the general function?
 
What do you mean?
 
Xeo
@GMan "and foo happens to have a function pop, say: pop(T)(T other)"
@GMan "pop(T)(T container"
(linked the msg for mouseover)
 
Right, so when you say pop(f), it looks up all the available pop functions, finds two, sees both work as candidates, so compiles each to see if it can eliminate one.
The problem is that (I don't think I mentioned it, sorry left you in the dark) both could work.
Should that be a "cannot resolve" error, or should there be some ordering method?
I think an error.
 
Xeo
12:08 AM
One sec
So you mean (translated to C++)
class foo{
  pop(T)(T other){....}
};
would be called with
pop(foo);
and the above given function would be called?
 
Yes.
Members defined in classes are just syntactic sugar.
 
Xeo
So there's no foo f; f.pop() ?
 
Right.
 
Xeo
ah, that clears it up
 
class foo { bar() {} } becomes class foo { friend bar(foo); } bar(foo) {}
Sorry, just kinda throwing code at you that has non-guessable syntax :p
 
Xeo
12:11 AM
but one thing I never understood about functional programming languages.. how does a programm work without state? (offtopic a bit)
 
@Xeo Mines not functional, fyi. And I've only dabbed in functional languages, so I don't know how large-scale programs work.
 
Xeo
okay, so what was the name of your language again?
 
Rachele.
 
Xeo
Ah, ok. I thought the language mentioned in your quote here chat.stackoverflow.com/transcript/10?m=555108#555108 was yours. :P sorry for that
 
Functions take old state and return new state, as far as I know FP.
 
12:15 AM
@Xeo Oh, no. That one looked interesting but my inexperience with functional languages made it hard to follow.
@Xeo Ah, having SFINAE peek into the function definition works pretty well, prima facie.
You could do:
foo(T)(T x)
{
    static assert(compiles(x++))
}
compiles is a compile-time predicate that returns true if the argument would compile as code.
 
Xeo
one sec, quick match in Melty Blood
 
@Xeo I think all functional languages that are used at scale must have some support for state. Otherwise it is very hard to do 2 letter things any general purpose language must be able to do -- IO, UI, etc. (somebody on internets said so)
 
Xeo
urgh.. the team i'm up against makes me cringe
 
 
1 hour later…
1:31 AM
hi
 
 
3 hours later…
Xeo
4:49 AM
Some users are just... stackoverflow.com/users/644073/karthik , answering every question of stackoverflow.com/users/692270/user692270 and some of his own and accepting his own answers even though other user said the same stuff earlier... while still getting a ridiculus amount of upvotes
 
 
1 hour later…
Als
6:12 AM
@sbi: No, I dare not look down upon anyone trying to learn English (or anything for that matter) I am not a native English speaker myself English is not my first language.
 
Als
6:28 AM
Seems Silence is the order of the day!
 
:D
 
Als
@GMan: Looks like something drastic happened here..while i was away....3 letter words and stuff...eh
 
Yes, a potentially touchy topic, and my view is far from unbiased.
 
Als
And your view is?
 
on what, the three letter word?
I'm in favor of it!
also hi
 
Als
6:33 AM
@Jalf : Hello..I am in favor of it too but the context of how it is used matters..and I don't know how can that context be controlled or evaluated because it would then require moderation
 
for most people, the context is usually the bedroom, afaik. And I think an attempt at moderating it would meet some resistance ;)
 
Als
@jalf: haha...its a real touchy topic
 
seriously though, there hasn't actually been as much drama over it here as it may seem. The topic line is meant as a joke :)
 
..and let's not get started about singletons :p
 
sbi
@Xeo But you're not up against us. You're supposed to collaborate with us!
@Als Ah, I hit an innocent bystander then. Sorry.
 
Als
6:39 AM
@sbi: Hello..welcome back!
 
sbi
@GMan How can you be biased about it?
@Als Thanks, but I'd rather had stayed in bed. <yawn/>
 
@sbi: Perhaps non-disinterested would be better.
 
@sbi about sex? I doubt anyone are really unbiased about it ;)
 
sbi
@lefke123 Discussing Singletons is boring as everyone here has the same opinion about them. They suck.
3
 
is there a way to search on SO only within my own answers?
 
Xeo
6:41 AM
@sbi Nah, in the Beat-'em up I'm currently playing
 
I'm fine with bringing sex up if it's done in a mature manner, but the reaction to requests for it to be put aside or for the room description be changed was both rude and petty, and now recent talk of it has been more in jest than in seriousness.
 
sbi
@GMan I have a hard time parsing that. "Non-disinterest". Mhmm. Not sure I know what you're talking about it.
 
@Model it means that you call a function which has been declared ( void foo();), but not defined void foo() { ... })
 
@sbi: Disinterested means non-partisan'd, I threw a double-negative in for kicks.
 
sbi
@jalf Maybe those not initiated? (And you just made this conversation here available for searches by those feigning disgust. Boo!)
 
Als
6:43 AM
Off goes Tina :)
 
In short, I'm not on the fence and might not just regurgitate facts, which might be what @Als would benefit from.
 
@sbi disgust?
 
@Model Do you want us to stop? If so, if it's only because you want help, please ask on the site main.
@jalf I usually Google: site:stackoverflow.com gman xyz
 
Als
@GMan: Was just curious thats all
 
@jalf The problem with my last solution is it tends to bring in thigns I've commented on as well.
 
sbi
6:45 AM
@jalf It seems you haven't followed the discussions on that meta question of mine. I envy you. ("I found it appalling that you pretended the discussion was merely how pornography and sex related to bandwidth and global climate change, when you knew full well that in context it did not start out that way, and in terms of words and messages sent, less of the conversation was about that than was about sexual humor.")
 
Als
@Model: thats sarcastic!
 
@Als Yeah, no problem, was just a warning.
 
sbi
@GMan I'm not even trying to understand that.
 
@sbi lol, k.
 
Als
@GMan: Im not taking any 3 letter words even, YOU now lol
 
sbi
6:47 AM
Anyway, I'm meant to sort a few things out before I go to work. <reluctantly_sets_out_on_his_tasks/>
 
unfortunately work is not a three letter word :p
 
Als
@Tony: Hey Tony, Hello!
 
@sbi ah, well, screw those people ;)
 
@Als Hello
how are you on this not so punny day?
 
sbi
@jalf Now you're getting disgusting! :)
 
Als
6:49 AM
@Tony: Im quite well, Just had a pre-employment medical test this morning...I start on Monday..So enjoying the happy days :)
 
If people are so ashamed of their own origins, that's their own problem.
 
@Als oh didn't know you needed a medical test to do programming?
 
@sbi oh and nah, I gave up following the meta discussion after teh first day or two
didn't seem like it was worth it
 
@jalf t'was interesting nevertheless...
 
Als
@Tony: Its a pre employment medical test...Its pretty common I guess...They make sure you don't leave them hanging with just "Hello" when you are supposed to write "Hello World!"
 
6:53 AM
@Als oh and not being able to write Hello World is a medical issue?
@Als What part of the world are you in?
 
Als
@Tony: Naah just you don't die out on them after writing "Hello" lol
In Asia
 
@Als oh I see
 
Als
@Tony: I thought its a common practice for employment everywhere...what part of world are you at? Not a practice there?
 
@jalf What do you mean?
 
@Als I'm in Europe and I didn't need to do a medical checkup to start a job as programmer
but perhaps the state of health is better around here, not sure
 
Als
6:57 AM
@Tony: Ya perhaps....I always thought its a common practice everywhere...something new
 
@Als funny eh, how you can assume something is a certain way all around the world, just cause you have it where you live. I'm sure there's things we do around here that aren't done in Asia
 
Als
@Tony: No I guess the same goes around in Americas and the South East Asian countries
 
@Als surely
 
Als
And pre employment medical checks are usually in place for almost all job positions..So..But perhaps If you are in one of the scandinavian countries health infrastructure is better there and hence the checks not needed
or a common practice
 
@Als I guess :p
 
7:13 AM
@GMan I mean that as far as I know, most people wouldn't be here if it wasn't for sex
3
 
@jalf lol
 
sbi
@Als I'm not sure (never had a reason to look into this), but I have the distinct feeling that it would be unlawful here for your employer to request information about your health status. I think this would be alike them deciding whether to employ you based on your gender, race, religion etc., which is forbidden.
 
"here" being alive on planet Earth, not on teh SO chat specifically ;)
although the same may be true for the chat, for all I know
also, git submodules are just ridiculously awkward to use
 
Als
@Sbi: I Dont think Medical status is included in that gender, race etc list
 
not to change the subject, or anything
 
7:15 AM
@sbi valid point, hadn't even thought that far
 
sbi
@Als And I said I have the feeling that, here, it is.
 
@jalf but you are changing the subject :p git != sex
 
sbi
@Tony After having listened to Linus talking about git for a few minutes, I have my doubts, you know.
 
Xeo
blergh, lerning C# in c++ lectures now... wtf? D:
 
@sbi hahah :p
@Xeo they are NOT the same... I don't know why your professor has them mixed up
 
Xeo
7:22 AM
na, we just got some extra lectures that weren't planned, and he just shows us some stuff useful for toolchain programming
the lecture is just labeled "c++"
 
C++ and C# are basically the same.
 
@GMan I once thought the same thing... fatal mistake...
besides some syntactic sugar, they are different in many respects
 
Xeo
@GMan Yes, they're both programming languages :P
 
:)
Ah fekking hiccups, these ones hurt like a @#$.
 
Als
7:49 AM
@Sbi: Maybe...
 
/me is learning more about type traits :)
one of my coworkers finally decided to learn C++, woot woot :)
 
Als
@Tony: I want to utilize my time till joining new job next week by understanding templates more better
 
@Als yes, sounds like a good plan ::)
 
Als
:) What domain do you work on @Tony?
 
@Als for now, medical
 
Xeo
7:55 AM
@Tony, are you following Stephan T Lavavej's C9 c++ lectures? he had one for type traits too
 
@Xeo yep I've watched that first series he made
not the advanced one yet
 
Xeo
the type traits where part 10 IIRC
the advanced series is really cool, digging into the STL implementation of VC :)
 
I have a typedef of double or float which is called scalar, eg typedef double scalar; How can I check later weather scalar is a typedef of double or float?
 
sbi
@Tony There's that classic by Natan Myers. His domain is cantrip.org, I think.
 
@sbi yea I know about that one, I'm just reading the one on DrDobbs, which seems quite good :)
 
8:06 AM
template <typename T, typename U>
struct is_same { enum { value = false }; };

template <typename T>
struct is_same<T, T> { enum { value = true }; };

const bool scalarIsFloat = is_same<scalar, float>::value;
 
@GMan W00t, type traits!!! :)
 
@Nils Like that. Note that in C++0x, you can just #include <type_traits> and use std::is_same.
 
well unfortunately I don't have C++0x
 
Xeo
or if you're using boost already, <boost/type_traits.hpp> does the same under boost::is_same
 
hmmm
neither boost
 
8:09 AM
@Nils Then just copy and paste what I've given you into your own header.
 
@Nils Note the latest version is 1.46 (so ...1_46...), though I doubt the documentation has changed much there.
 
thx
humm but I don't see how to works
 
It's called template specialization.
Basically, if you do is_same<int, int>, the compiler sees that your specialized version fits (template <typename T> struct is_same<T, T>{};), and so it picks that over the non-specialized version (template <typename T> struct is_same /* note, no specialization here */ {};).
 
sbi
@Tony Actually, this is what's called a meta-function. (Although I have to admit that the distinctions are hazy.)
 
8:14 AM
@sbi oh I see, I'll have to look that up
 
sbi
@Tony Little to look up there. You pass in parameters as template arguments, and get the result as ::value. It's executed at compile-time.
 
@sbi but isn't that the same with type traits too, it's templates too no?
 
sbi
Anyway, gotta leave for work!
@Tony Although I have to admit that the distinctions are hazy.
std::char_traits are definitely more than a mere meta-function, but, yeah, a meta function can be seen as a traits type with just one typedef.
Anyway, I really gotta go...
 
cpx
@sbi bye.
 
Xeo
@sbi You say that phrase way too often
 
8:30 AM
@Xeo he likes that phrase
if you have a const std::string& and you have to pass it to a C function, a const_cast is deadly right?
copy or something would be better right?
 
C cannot possibly accept a std::string. Do you mean it accepts char*?
 
@GMan yes that's what I mean, but my C++ wrapper takes a std::string& obviously
 
@Tony: Depends. In C++0x, you can use &str[0] to get a pointer to a null-terminated contiguous array, much like you can with std::vector.
 
@GMan not using C++0x
 
@Tony Shame, because the hairy problem is in C++03. They intended for what I said above to be true, but eff'd up the wording, so technically it doesn't have to be contiguous or null-terminated.
 
8:38 AM
@GMan so I guess I'll have to use the copy algo then?
 
That said, any real implementation is contiguous, so much so that given the changes in C++0x and the original intentions, it's fair just to say they are always contiguous in C++03.
I'm not as sure about the null termination, I'd need to check. But you can str.push_back(0) and use &str[0] to mimic C++0x, pragmatically.
 
@GMan is there some article or tutorial on what you're talking about, cause I always get somewhat lost in that string stuff and contigious etc
 
@Tony: Not really. I mean I'm sure there's one around, but this is just me reading standards and defect reports. :/
 
@GMan maybe I should post a SO Question and then someone can write a detailed answer...
 
But in both cases beware, here comes the wild card! Your C function may shove a null-terminator somewhere midway through the string, intended to truncate it. But the std::string container will have no idea.
So in the end, unless you're positive it won't attempt to change the length, it's best to provide a buffer then shove it back into a std::string.
(By the way, if the C function simply failed on const-correctness, using const_cast is fine.)
(That is, if the argument could have been const char* but they made it char* instead, like C often does, feel free to const_cast the const off; it's only undefined behavior if modifications are actually made.)
You may ask a question, but I am going to sleep now. :)
 
8:46 AM
@GMan ok thx for the advice :)
 
No problem, good night.
 
0
Q: What to watch out for when converting a std::string to a char* for C function?

TonyI have read many posts asking the question on how to convert a C++ std::string or const std::string& to a char* to pass it to a C function and it seems there is quite a few caveat's in regards to doing this. One has to beware about the string being contiguous and a lot of other things. The ...

 
Xeo
9:35 AM
Wait, we finally got the [migrated] tag instead of [closed] if the question migrated? REJOICE!
 
@Xeo yea it seems so, I noticed that too :)
 
9:53 AM
For the lulz of it all :)
 
10:19 AM
@Xeo That is wonderful, it means that a question can be migrated and closed and both will stick there: programmers.stackexchange.com/questions/67447/…
So basicallly asking on whether someone should learn C++ after java is off topic both in SO and programmers... where is it on-topic? "Seasoned advice" (i.e. cooking.stackexchange.com)?
 
sbi
@Tony & @Xeo: Got out much too late, made up some time on the way, but still arrived 15mins late at work, left a dozen people waiting for the scheduled meeting, had the dev head speak very serious words to me. It's one of those days, you'd rather stayed in bed...
 
@sbi wow, sucky day!!! :(
 
Hi, Anyone here...?
 
yes
 
dear I have a question. Stackoverflow is not allowing me to post a question. why is it so??
 
Xeo
10:27 AM
no, there's currently an idling contest running here
 
@SarfrazAhmed No idea
@Xeo seems the contest is over now :p
 
I don't. I just tried to post a question and it said "Sorry we are no longer taking questions from this account"
 
@SarfrazAhmed seems your account was blocked for some reason... maybe you should be answering some questions first
 
Did I do anything wrong?? Can someone help me regarding this issue???
@Tony so whats the procedure for answering the question?? And why they Blocked my account??
Can someone with higher previliges unblock my account??
 
I could be wrong, but I think once an account is blocked it becomes impossible to unblock it.
 
10:42 AM
Can Someone provide me with email address of SO??
 
OK, now I'm starting to get a sense...
Thx. That's Beaker, blowin' stuff up.
 
@john did I do something wrong with my account??
 
@Sarfaz: Have you created or used other accounts from the same computer?
 
@john No. I just start using this computer a month ago...it is basically my office computer
@Model Thanks, I sent a mail hope someone will reply
 
sbi
@Tony No sunny, no punny!
@Model ??
 
10:50 AM
@model
Thanks
 
11:01 AM
very nice
 
11:34 AM
haven't seen @DeadMG for a while, anyone know what's going on?
 
@Model That is a linker error (LNKxxxx) and it is saying that somewhere in your code (void CImageToolDoc::OnBitsSep) you are using a function DibBitSeparation that returns void and takes some arguments and is correctly declared, but that the linker is unable to find the symbol
Translating that a little bit more into English, it may mean one of a set of things: you did not provide a definition for the function, you did not compile the definition, or you did not linked the object file / library that contains it
void foo(); // declaration
int main() {
   foo();
}
That will trigger exactly that error, now if you defined foo in the same translation unit, or in a different one and linked them together, then the error would go away
 
@Model here's what I was looking for earlier, which might help answer your question: stackoverflow.com/questions/860093/…
 
I don't get what causes the UB in the answer, can anyone elaborate:
0
Q: Temporaries problem in C++

vBxI have this piece of code that prints the content of a directory using Boost.Filesystem: class Shell { private: const string& command; const path& firstPath; const path& secondPath; public: // constructor Shell(const string& _command, const path& _firstPat...

 
sbi
11:50 AM
@Model "Grumpy thinking ==> grumpy mind ==> grumpy future"!
 
@sbi hahah nice :)
@sbi could be our new tagline for the room?
lol
Where grumpiness presides
 
sbi
@Tony When you try to bind a const char[] to a std::string, a temporary is created, The class refers to that by a const std::string. The temporary dies at the end of the fully statement, leaving the class to refer to a dead object.
@Tony Go for it, if you like. I won't ever say anything against grumpiness. :)
 
@sbi oh the implicit ctor assignment to a string literal, I get it :)
room topic changed to Lounge<C++>: Where grumpiness presides: Grumpy thinking ==> grumpy mind ==> grumpy future!
 
sbi
@Tony ??
It's a literal passed to the ctor.
 
@sbi huh, yea, so where does the binding of the const char[] to the std::string then occur?
@sbi I thought this was the offending line:
path Path = "c:\\workspace";
 
12:08 PM
hi all
 
Xeo
Somebody else want to flag this question? :P stackoverflow.com/questions/5537276/why-sizeof13-33-is-8-bytes see my comment there
 
sbi
@Tony No. Look at Erik's answer. Shell shell("ls", Path) passes "ls" to const std::string& _command, which then passes it to const string& Shell::command.
 
@sbi oh yes, now I see it... the devil is in the details... I overlooked that string member being a reference
 
why this error  unresolved token (0A000037) QueueIterator.Queue<char>.__dtor

do
	{
		Queue<char> q;
		cout << "type some text: " << endl;
		cin.get(next);
		while(next != '\n')
		{
			q.add(next);
			cin.get(next);
		}
		cout << "you typed: " << endl;
		Queue<char>::Iterator i;

		for(i = q.begin(); i != q.end(); i++)
			cout << *i;
		cout << endl;

		cout << "again?";
			cin >> ans;
	}while(ans != 'n');
its declared on queue.h: Queue(const Queue<T>& aQueue);
why cant i use that typename char in Queue?
using on main function?
 
@cyberrog what about your destructor?
 
12:13 PM
this is what is on queue.h

class Queue
		{
		public:
			typedef ListIterator<T> Iterator;

			Queue();
			Queue(const Queue<T>& aQueue);
			Queue<T>& operator =(const Queue<T>& rightSide);
			virtual ~Queue();
			void add(T item);
			T remove();
			bool isEmpty() const;

			Iterator begin() const {return Iterator(front);}
			Iterator end() const {return Iterator();}

		private:
			Node<T> *front;
			Node<T> *back;
		};
 
I think you've probably declared your dtor and not defined it or some such thing, I might be wrong
 
@Tony maybe i need to define it
 
tbh you really really need to post it on SO as question, not in the chat
@cyberrog yes you do
 
@Tony dtor means destructor?
 
@cyberrog yes
 
12:43 PM
@sbi Good call on the c_str lifetime thing …
 
Als
@sbi: About the "enable desktop notification" link we were talking today, I just noticed there is some funny business about it...In the Starred Feeds, try clicking once or twice on "show 3 more" or that kind of link...and then sometimes that "enable desktop notification" link shows up...I noticed because for me by default it is visible and clicking once or twice hides it.
 
sbi
@Tony Yeah. If possible, a class shouldn't store references to external objects, because it doesn't have any control over their lifetime.
@Als Doesn't do that for me.
 
@sbi yes, that seems logical :) Though I have that in some places in my code, but that was cuz there seemed to be no other solution... :(
but perhaps in some cases that's an ok thing to do?
 
sbi
@KonradRudolph Yeah, I was contemplating adding this to your answer, but wasn't sure whether it's fair to extend it by almost 50%, then got distracted, and now James has already explained it all. But I'm a sucker for lists and enumerations, and if some comprehensive answer came along which listed easy-to-remember rules of thumb in list items, it would get my vote. <nudge/>
 
@sbi that's the kind of answer I was hoping to get <hint/>
 
sbi
12:50 PM
@Tony Well, in some cases it might be the lesser evil, which is why I wrote "if possible", after all. But I think one's POV as to which evil is the lesser might considerably change after a few nights debugging such issues.
 
@sbi I can only imagine the sheer horror shudders
 
sbi
@Tony Nah, I'm not going to steal James' content and @Konrad's formatting to make my own answer. :)
 
@sbi ok, fair enough :)
 
Als
 
sbi
Well, maybe if I'd make it a CW, so I wouldn't be stealing their rep directly... Anyway, I got work to do now. Feel free to poke me about this later on, when you haven't gotten anything satisfactory.
 
Als
12:53 PM
@Sbi: Check that
 
sbi
@Als Never saw that. It might indeed be browser-specific.
You're on Chrome, right? Anyone else has seen that? If so, what browser do you use?
 
@sbi I have it and I'm on Chrome, and it works for me too!
 
Als
@sbi: Yes I am on chrome and clicking on "show 3 more" or whatever that is on ur browser hides or unhides it for me...You might want to try the same.
 
sbi
11 mins ago, by sbi
@Als Doesn't do that for me.
@Als Anyway, you pictures revealed that you didn't star a a single message, not even mine! You're henceforth off the list of my online friends!
:)
 
Als
@sbi: I just came in...Didn't read through ...I usually starr after reading transcript, when at ease.....About the that thing being browser specific you might be correct..just check on Firefox and it doesn't show up
 
cpx
1:26 PM
I couldn't turn my PC on for about 2 hours after i spilled it over with some coke. :S hopefully It came back to normal. :)
 
@cpx Coke should go into your mouth, not your PC.
2
 
cpx
I still got some problems with my touchpad though
 
The biggest problem with touchpads is that they exist.
 
@PiotrLegnica true, they are very annoying to use
 
sbi
@Tony Some people can't aim to hit their mouth. :)
2
 
1:35 PM
@sbi hahahah :p
 
@cpx You are pretty good. Spilled a Tequila sunrise on mine once, never been the same since.
 
@Drahakar what a waste.... :p
 
@Tony The keyboard or the Tequila sunrise?
 
@Drahakar the Tequila of course :)
 
@Tony hahaha
 
1:49 PM
ok so I have multiple projects in my solution, I have project A depends on B, but now I need to get a header from B included in A without having circular reference... any idea?
 
why would it be a circular reference? There's no correlation between projects referencing each others, and translation units including headers
 
@Tony If it would only be files, I would suggest forward declaration, but for projects... Could you try to split a 'common' part (I don't know if it is such a good idea)
@jalf really?
@jalf wouldn't that get your IDE upset?
 
@Tony: Are you sure your design isn't broken?
 
Yeah, a project is just vistual studio's (rather rigid) way of compiling related code to a single output. There's no magic in it, and it doesn't change how the language works
nah the IDE doesn't care what you include
 
@jalf: Project A depending on Project B implies that there could be a circular dependancy int he code.
 
1:54 PM
@JohnDibling not sure, how can I tell if my design is broken?
 
cool, thanks for the info @jalf :)
 
Do you have something like this?
 
@Tony Why would you get a circular reference here?
 
@JohnDibling yep, but then it's no longer anything to do with projects or the IDE. Then it's a plain matter of include dependencies
 
just trying to pass a struct defined in B to a constructor in a class in A
 
1:55 PM
struct A { B b_; }; struct B { A a_; };
 
where in B I am using class from A
 
but it sounds like it'd be cleaner to factor the common header out into a separate "common" project, or something like that
 
Or make then the same library
 
@jalf another one? I have some of those already
 
2:07 PM
If you're not grumpy, you shouldn't be here :) LOL :P
 
2:24 PM
aarggghhh more singletons:
 
How does one add a footnote to a post?
 
@JohnDibling is that even possible?
 
I've seen it done. But I dont have a link to check.
 
On SO, you need to do it manually.
 
@Piotr: Elaborate, please.
 
2:29 PM
Blah blah blah <fancy character>.

<fancy character> Footnote.
 
Oh, so there's no way to make a real footnote?
 
Nope. There is a Markdown extension for footnotes, but it's not implemented here.
 
sbi
threading (n): a programming model in which every app developer is forced to solve computer science's most difficult problems
(via @wilhelmtell)
 
@sbi he makes a good point I'd say
 
sbi
@JohnDibling You play with <sup> and <sub>. See the source of this answer: stackoverflow.com/questions/4421706/operator-overloading/…
 
2:36 PM
Threading: a thousand new, exciting ways for your program to blow up.
 
@sbi, thx!
 
sbi
@PiotrLegnica "Threading: a thousand new, exciting ways for your program to blow up - and all at the same time!" :)
 
Theading: where Heisenbugs feel at home!
 
2:49 PM
I normally add footnotes by putting a number in superscript, then adding the footnote following a ---, and preceding it with the same number in superscript.
 
Uhm... on the starred comment about singletons... there are those of us that don't agree, but are afraid to standup. I mean, a friend of a friend once said that they can be valuable.
 
@DavidRodríguezdribeas valuable? in extremely rare cases then.
 
@David: Fortune favors the bold.
@David: Compose a Pro-Singleton argument. Post it (somewhere, not sure where). One of two things will happen. Either anti-Singleton'ers will learn something, or you will.
2
 
00:00 - 15:0015:00 - 23:00

« first day (178 days earlier)      last day (4767 days later) »