« first day (194 days earlier)      last day (4756 days later) » 
00:00 - 23:0023:00 - 00:00

12:00 AM
Hee, coding on COM. It does sound like a drug.
 
 
1 hour later…
1:30 AM
hi
 
cpx
hi
 
 
2 hours later…
3:27 AM
any template freaks in the room?
@Xaade: if you like looking for patterns in primes, check out stackoverflow.com/questions/3918968/….
 
 
4 hours later…
7:13 AM
hi i've posted question in the site but not getting any suitable answer
I need to create a word document from a c++ program, Im using windows 2008 server,office automation fails sometimes here and also I need non interactive service to handle as automation provides interactive service.I've implemented automation it fails sometimes

What are the ways I can create Openoffice doc?

can you please suggest me any links or tutorials to do the above.

PS - I came to know about couple of methods 1.Openoffice SDK 2.Office OpenXML

If you have worked with the above please suggest me which of the above to use.
 
 
2 hours later…
9:41 AM
2
Q: How do Lisp (Clojure) and Tcl compare in terms of abstraction and metaprogramming abilities?

StackedCrookedBoth seem to be good for building extensible API's and code generation. What are the main differences between them? What do you see as their strengths, weaknesses, ...

^ Closed as subjective and argumentative, despite the fact that the actual answers are constructive and not argumentative at all. :(
 
@StackedCrooked so are we going for a beer tonite?
wasn't sure if we confirmed that or not?
 
sbi
10:00 AM
@TonyTheTiger @StackedCrooked ISTR you settling on Friday night. :)
 
@sbi I thought it was tonight, but I am not sure anymore... bwah
memory fail
 
hi
 
sbi
10:24 AM
lo
@TonyTheTiger The transcript can fix that. It starts here: chat.stackoverflow.com/transcript/10?m=642280#642280
 
@sbi thx for reminding me that I have a bad memory... hahah
 
10:44 AM
@TonyTheTiger Yeah, we didn't really confirm yet. How about tomorrow? I'm feeling a little hungover today.
Or perhaps tonight is OK as well.
@TonyTheTiger Let's discuss the details over email.
 
11:15 AM
hmm
 
hi all
 
@StackedCrooked ok
 
has anyone here worked with office openXML?
 
@Greenhorn no never used it
@JohannesSchaublitb hello
 
11:42 AM
my rep is 6337, but if it was 1337 that would have been cool :)
 
Als
@TonyTheTiger: Why?
 
@Als look up 1337 on google
Leet (or "1337"), also known as eleet or leetspeak, is an alternative alphabet for the English language that is used primarily on the Internet. It uses various combinations of ASCII characters to replace Latinate letters. For example, leet spellings of the word leet include 1337 and l33t; eleet may be spelled 31337 or 3l33t. The term leet is derived from the word elite. The leet alphabet is a specialized form of symbolic writing. Leet may also be considered a substitution cipher, although many dialects or linguistic varieties exist in different online communities. The term leet is also ...
 
sbi
@TonyTheTiger Well, you do know how to get from here to there, don't you?
 
@sbi you talking about my rep?
 
sbi
@TonyTheTiger Weren't you?
 
11:49 AM
@sbi yes I was,
yea I know how to get back, but I don't wish to :)
 
sbi
@TonyTheTiger But it would be cool. (Or so someone said.)
 
@sbi yea that was theortically, not in practice, as I had too much work to get this far :p
 
sbi
@TonyTheTiger Maybe I should get used to using more smileys.
 
@sbi lol yea, I have a hard time telling when people are serious or not on the chat
 
no, rly?
 
11:53 AM
@DeadMG yes really
 
no, rly?
 
kek™
 
no, rly?
 
11:57 AM
@DeadMG got hung up in a loop?
 
of course not
no, rly?
 
no, rly?
 
sbi
Please stop wasting bandwidth. (If you don't know what to talk about, there's always sex talk.)
 
@sbi isn't that a waste too, why talk about it, if that gains us no pleasure, doing is much preferred :)
no, rly?
 
sbi
@TonyTheTiger Well, in the absence of the ability to actually do it, at least talking about it might help a bit. :)
 
12:08 PM
I wouldn't admit there's an absence of the ability, as much as the absence of an opportunity.
 
@sbi lol hahah :) perhaps...
@Xaade possibly true, there's always Pr0n :p
 
lol
 
@Tony : What..... those things in "District 9"???
 
@DeadMG you're doing what @JohannesSchaublitb does? Did you take a course for that?
@Xaade huh? don't remember that movie very well...
 
Seriously.... I'm not speciesist..... but in that case.... humans need only apply
 
12:11 PM
well, he showed me a porn of your mother
so the instinct to lol was unsurmountable
 
@DeadMG ewwww....
 
yeah, and that
 
12:51 PM
room topic changed to Lounge<C++>: Where humans need only apply
 
@Xaade hahaha
anyone
0
Q: c++0x char16_t strlen equivalent function

NoSenseEtAlHi, I have a simple question: is there a way to do a strlen-like count of characters in zero terminated char16_t array?

 
user428370
1:41 PM
has anyone found a way to get a directx dev environment for a flashdrive using mingw and eclipse?
 
@user428370 I don't know how I can meaningfully interpret the "flashdrive" element in your question.
 
user428370
A portable usb based storage device
 
@user428370 Even if you put all the tools, includes and libs on a flash drive you will probably still need to update the PATH environment variable on the system that you're using.
^ This person is very involved.
 
David's father has three sons : Snap Crackle and _____ ?"
 
@TonyTheTiger I don't know. Google it?
 
1:51 PM
Pop
 
@TonyTheTiger Damnit
 
@StackedCrooked oh c'mon
 
Snap, Crackle, and Pop! are the cartoon mascots of Kellogg's breakfast cereal Rice Krispies (Australia: Rice Bubbles.) History The elf characters were originally designed by illustrator Vernon Grant in the early 1930s. The names were derived from a Rice Krispies radio ad: :Listen to the fairy song of health, the merry chorus sung by Kellogg's Rice Krispies as they merrily snap, crackle and pop in a bowl of milk. If you've never heard food talking, now is your chance. The first elf appeared on the product's packaging in 1933; inspired by the ad, Grant added two more and named the trio ...
 
@MartinhoFernandes no
 
@TonyTheTiger Sorry, I misread your question as "David has three sons." My bad :/ (I probably would have fallen for it anyway.)
What if David is a girl? Haha!
 
1:53 PM
@StackedCrooked lulz
I can sizzle like bacon,
I am made with an egg,
I have plenty of backbone, but lack a good leg,
I peel layers like onions, but still remain whole,
I can be long, like a flagpole, yet fit in a hole,
What am I?
 
Pop is David's nickname.
 
@MartinhoFernandes lol :p
 
@TonyTheTiger Reminds me of the School Rumble episode where during a school play the following riddle was presented: "What walks on 4 legs in the morning, 2 during the day, and 3 legs at night?". And the girl answered with a lot of conviction: "a MONSTER".
 
@StackedCrooked hahahah :)
 
2:22 PM
How do I get an URL to a SO answer?
0
A: How do you save a whole array to a disk in c++

StackedCrookedAfter some tinkering I came up with this: #include <cstddef> #include <fstream> #include <iostream> template<class T> void SaveArray(const std::string & file, T * data, std::size_t length) { std::ofstream out(file.c_str()); for (std::size_t idx = 0; idx <...

^ Critique welcome. (I'm not too familiar with this stuff.)
 
I guess it has to do with operator precedence right?
oops removed by accident
how is this valid *data++; ?
 
@TonyTheTiger "in >> *data++;" is the same as: "in >> *data; data++;"
 
@StackedCrooked but it works why?
 
It can be used when using iterators. For example:
`while (*iter1++ == *iter2++);`
@TonyTheTiger Operator precedence, just like you guessed.
 
@StackedCrooked ok thx
 
2:33 PM
"data++" can be seen as a function call to Increment(data), which would be implemented like this:
T * Increment(T * ptr) {
T* copy = ptr;
ptr = ptr + 1;
return copy;
}
 
@StackedCrooked oh cool :)
 
@StackedCrooked good visual.... +32 points
 
@Xaade 32 points? out of how many?
 
@StackedCrooked 32/0
 
@Xaade Giving points like this reminds me of the opening scene in Baccano :)
@Xaade NaN
 
2:37 PM
@StackedCrooked reminds of me of school really
@StackedCrooked hahah
 
@StackedCrooked : Like "Who's Line is it anyway".... the points don't matter.
 
sbi
@StackedCrooked First thing I noticed: You could let the function templates take a ref to the array, having the compiler deduce the array's length for you. You can see the clumsy syntax for this here.
 
(X& ~Y) | (X & Y) is equivalent to X | Y
Useless expansions R Us
 
only had 2 coffees today, omg ??
@sbi interesting point!
 
@Xaade Shouldn't it be (X& ~Y) | (X & Y) | (~X & Y)?
 
2:46 PM
@MartinhoFernandes (X & ~Y) != (~X & Y)
 
@sbi Interesting!
 
I see.....
Maybe it would be better to say
( X == ~Y) | (X & Y)
I forgot that if one were zero and the other one, then both would be zero and return false.
I'm really checking if they are opposite.
( X == ~Y) is equivalent to (X & ~Y) | (~X & Y)
 
Just found out that this works:

template<class Array>
void PrintArray(const Array & inArray)
{
std::size_t length = sizeof(inArray) / sizeof(inArray[0]);
for (std::size_t idx = 0; idx < length; ++idx)
{
if (idx != 0)
{
std::cout << ", ";
}
std::cout << inArray[idx];
}
std::cout << std::endl;
}

int main() {
const char* notes[3];
notes[0] = "do";
notes[1] = "re";
notes[2] = "mi";
PrintArray(notes);
return 0;
}
This is pretty cool! I always thought there was no way to pass an array as a function argument without also specifying the length.
Btw, idention doesn't work when posting code samples? I used 4 spaces though...
 
1 & ~1 == 0
~(~1 | 1) == 0

0 & ~0 == 0
~(~0 | 0) == 0

1 & ~0 = 1
~(~1 | 0) = 1

0 & ~1 = 0
~(~0 | 1) = 0

so

X & ~Y => ~(~X | Y)
 
3:03 PM
In formal logic, De Morgan's laws are rules relating the logical operators . ("and") and + ("or") in terms of each other via negation. With two operands A and B: :\overline{A \cdot B} = \overline A + \overline B :\overline{A + B} = \overline {A} \cdot \overline {B} In another form: :NOT (P AND Q) = (NOT P) OR (NOT Q) :NOT (P OR Q) = (NOT P) AND (NOT Q) The rules can be expressed in English as: "The negation of a conjunction is the disjunction of the negations." and "The negation of a disjunction is the conjunction of the negations." Formal definition In propositional calculus form: ...
That's it.
 
I feel like I've been cast to a void*....
3
 
sbi
@StackedCrooked And what will happen if someone passes this a pointer?
 
3:18 PM
@TonyTheTiger when you gaze into the void*, void* gazes into you.
 
@Eugene hahah :)
 
@sbi Undefined behavior I guess. But that would be wrong usage wouldn't it?
@sbi It would be interesting if this could be caught as compiler error, but I can't think of any way currently.
 
3:46 PM
@Eugene : In Russia, void * @ you.
 
@TonyTheTiger Not sure what you mean here, but ++ has higher precedence than *.
 
@Xaade I can confirm it first hand :)
 
@Xaade What does the @ stand for here?
 
@Eugene : I'm glad to know Russia is still Russia. I loved Spy vs. Spy.
@FredOverflow : FINE!!!
 
@Xaade So...
> In Russia, void * FINE!!! you.
 
3:52 PM
void* pAwkwardGaze = (void*)&user;
 
I don't get it.
 
But that's less funny.
@FredOverflow @ = AT
 
@FredOverflow I'll spoil it for you: In Russia void * (star[es]) @ (at) you
 
Or.... &
while(you.getLocation() == cRussia.getLocation()) void * = &you;
 
4:13 PM
Syntax error.
 
I wish C++ had sane string support... I have to work with std::string, std::wstring, char*, QString, CAtlString, ICU::UnicodeString, NSString and CFString, all in one codebase!! </rant>
 
4:28 PM
folks!
 
4:42 PM
Why do you have Qt and ICU in the same codebase?
 
@JohannesSchaublitb Howdy!
 
Als
hmmm
 
In Soviet Russia pointers dereference you!
In Soviet Russia, government controls commerce.
^ My favorite one :)
 
4:58 PM
@StackedCrooked : Wouldn't that be "TRUE" though?
 
It's a subtle joke.
 
In commerce, Soviet Russia controls government.
 
It suggests that in the USA commerce controls the government.
 
hello fellas
 
Xeo
good evening everyone o/
 
5:04 PM
@Xeo Hi Xeo!
I've reached halfway the last episode of A.Beats.
 
Xeo
hi @Stack :)
nice! and, your opinion?
 
@Xeo Not bad. A bit slow to start. It becomes interesting in the second half. I think it's decent.
 
@PiotrLegnica Don't ask me :(
 
Xeo
@StackedCrooked I especially liked the opening. It's nice.
 
@Xeo Yeah, the animation is also quite advanced.
 
5:10 PM
@StackedCrooked : In USA Clout controls government.
 
@Xeo I liked the part where the main characters recovers his memories of the train accident. That was captivating.
 
@Eugene Thanks
 
Xeo
@StackedCrooked So, you said you're halfway through the last episode? Are you watching it right now?
 
@Xeo No, I watched it yesterday and somehow got bored :) I think I'll watch the rest of it now, to get my sense of completeness.
 
Xeo
@StackedCrooked I don't know what to think about the end. :| Oh, and there is an OVA with another of the operations - operation high tension syndrome. :) It's quite funny.
 
5:21 PM
@Xeo btw have you seen any of these: "Hunter x Hunter", "The Twelve Kingdoms", "One Piece", "Haibane Renmei", "Baccano!"?
^ They are some of my favorites.
 
Xeo
@StackedCrooked I've read Hunter X Hunter, too bad it's currently on hiatus with chap 310 :/
 
@Xeo Oh, you got further than me then. I only watched the animated series. Really enjoyed it though.
@Xeo watching the last episode right now. Damn now they start singing. lowering volume :D
 
Xeo
@StackedCrooked Watching it at work? :P
 
@Xeo Nope, I'm at home now. (It's 7:30 PM here.)
 
Xeo
@StackedCrooked Oh, GMT+2 (summertime) for you too? Where do you live?
 
5:29 PM
@Xeo I live in the city of Gent, Belgium.
 
Xeo
Hm, funny. I have 100 Manga on my "currently reading" list :)
 
@Xeo Damn.
@Xeo I want to start reading the One Piece manga just because I want to know how the serie progresses after anime.
 
@StackedCrooked : I've seen the first "season" of 12 kingdoms.... I liked it, but the rest was hard to find, and it seems to go on forever.... so I dropped it.
Watching Oh My Goddess right now. Funny show that is.
Claymore was a good manga to read...
 
Xeo
@StackedCrooked Here you go but the manga has currently 622 chapter :)
 
@Xaade It's 37 episodes in total. (Actually a new chapter started after that, but it was cancelled so it stops at episode 45.)
 
5:41 PM
damn.... I hate manga that go on forever.
@StackedCrooked I saw up until the point where the girl was officially throned and the kingdoms lay balanced.... after she "beat" the guy who was "cheating" the balance.
 
@Xeo ALRIGHT! My love for this series has grown into some sort of blind fanatism. Just can't get enough.
 
I didn't find it all that enjoyable, because the only way for there to be conflict, is if someone's cheating the balance system. At which point they suffer so greatly, that it doesn't reflect any real form of conflict at all.
 
@Xaade That's the first story arc. There are two more parts that are interesting: the story of Taiki and the story of the two girls that wallowed in self-pity.
 
The conflict felt fake.
 
@Xaade What do you mean with "cheating the balance system"?
 
5:45 PM
Well. There's the rule of "no conflict". If someone does "attack" someone else, the country that attacks suffers degeneratively.
Their adviser gets sick. They dip into poverty. etc.
Cheapens the conflict, to know that the "evil" enemy "cannot" win.
 
@Xaade If you continue watching the anime you'll encounter the story of the bad lord of a province that did evil to his hearts' content. His did this because he wanted to proof that the Gods didn't really exist (because they didn't interfere). He was able to continue doing this for a while. (And it reaches an interesting conclusion.)
 
I don't mind if you just say the conclusion, because I simply got bored at the middle.....
I prefer Claymore's version of a stalemate.
That was one badass stalemate.
 
@Xaade Also the King of Kou was very aware of the fact that he cannot win, yet he continued his way. You may want to read this conversation between him and Kourin (his kirin): eugenewoodbury.com/shadow/shadow_ch63.htm
 
Again. I don't like the fake balance.
I like real balance.... through sheer power or wit.
Nothing tactical about knowing you can't win.
Actually.... my favorite form of balance is extreme cases of wit and strength, where the balance is perfect in the end. One side is just so strong, and one side so smart that they can't beat each other... That makes interesting fights.
 
@Xaade The series is not really about this balance. It's about personal growth, becoming stronger, etc..
@Xaade In 12 kingdoms a balance is between the King and the Kirin. One is ruthless, the other is merciful.
 
5:59 PM
I don't know. I just think they could have eliminated the balancing rules and the series would have been that much better for it.
Give the evil guy a chance to win, you know. I mean, there could be severe penalties, but just a chance would be good enough.
Otherwise, it's just a soap opera.
 
@Xaade Yeah, but that's kind of the foundation for the whole story.
 
Nah.... it's not at all. The relationships are a foundation for the story. The rules and such are just a plot device.
A loophole would have sufficed.
 
@Xaade Actually King Kou could have "won" by killing Youko or Keiki. His ambition was to go down and drag the kingdom of Kei along. He didn't succeed in that, but he could have.
 
Then, give him a real reason to do that....
The guy looked more like a sorry loser. A sadistic tyrant would have been better.
Replace him with FF6's Kefka.... now you're talking.
 
@Xaade It is also a story about human nature. Even if there is not way to "win" the evil way, the king may still become corrupted and harden himself.
 
6:04 PM
Someone that perseveres through the penalties and somehow still almost comes on top through brutality.

I don't want to feel sorry for the bad guy... I want to pummel him into dust.
Yeah, but you're missing my point. Most stories have the evil tyrant suffering without noticing.... and without rules either.
That's more realistic
 
@Xaade The sadistic tyrant would be the evil lord that I mentioned earlier. Also the King of Hou had become pretty much a sadistic tyrant before he was killed in a coup d'etat.
 
Like LuBu. He didn't even realize he was losing (or maybe he did and didn't care), but he was so much of a badass that he plows through. He loses when he loses the morale of his men.
Well, I'm sorry if I'm wrong, but I remembered the first king she fought had this whole self pity conversation with his Kirin that just felt like his balls fell off.
 
@Xaade Do you mean somebody like Lelouch Lamperouge. He's probably my favorite tyrant.
 
I'm not saying I didn't enjoy the show. I did appreciate the Character growth. As a matter of fact, I think it's one of the strongest anime for developing characters.
 
@Xaade btw, I'm not familiar with Kefka or LuBu, gonna have to look that up.
 
6:09 PM
It's just that the show presents almost a chessboard fashion of combat, that tells you in advance, that the aggressor can't win. At which point I enjoy watching the pawn fight her way down the board and become queen, then after that see no point in watching the game.
After the first plot, I was like.... story over... next.
 
hi
 
@Nils : hey
 
what's up?
 
@Xaade Yeah, you're right that the victory was predestined (although she could have died). The story is essentially about the personal battle.
 
Yeah, didn't like that.
 
6:12 PM
@Xaade btw, perhaps the King could win if he did evil, and then start repenting once the Gods are angered. Hit and run tactics :)
 
Like I said earlier. I liked the Claymore version of balance. Where everyone has a trump card they can play, keeping everyone in check. The way to beat the other team is by skirmishing to give the illusion of battle, then flanking the opponent's trump card.
 
@Xaade With trump card you mean the individual's abilities?
 
trump card refers to a reserved tactic. The tactic can be, from the enemy, hidden, misunderstood, or fully disclosed.

In the cold war, nuclear capability of the two countries were well matched, thus making the nukes their trump card.
 
@Xaade However, the Claymores are pretty much at the mercy of the "Organization". They can't really win either.
 
: Exactly. They do the same thing without all the predestined "rules" and give the illusion of victory fairly well. The trump card is the ability of the four to awaken without losing control. The north's trump card is Priscilla, the south doesn't have one, and the west has manipulation as her trump card. The organization's trump card is the abyss feeders.

At the end of it all, the entire conflict is meaningless because of a greater war outside the setting of the story.

However, the illusion of victory and the constant balance between the parties is a great motive.
The real thing is realizing that the organization is in essence destroying itself through a spiraling loss of control over the situation. Giving the main characters freedom to move.

Survival is their motive.
 
6:21 PM
@Xaade I see, but, I don't really understand the point you're trying to make here (relative to the "balance" in the Twelve Kindoms).
 
@StackedCrooked : I'm saying that it's better to not be explicit about the rules.
They never have to mention the rules in the 12 kingdoms. Just make the evil dictator ironically catch a virus that people suspect is punishment.
Or just have the demoralization of the army and citizenry be the weakening factor (like it is in real life).
 
Actually, I think Kabila (of Congo) matches the sort of evil dictator that you're describing. He's evil, but in the end he's still the boss.
 
Having explicit rules is just lack of creativity.
Scrapped Princess is a good example of this.
 
@Xaade You know the saying that limits boost creativity :)
 
The rules are loosely applied, and mostly not disclosed until the end. Giving the illusion of victory.
 
6:24 PM
@Xaade Haven't seen that one (only the first 10 episodes or so).
 
Finish it.
The way the limits were applied is far superior than 12 Kingdoms and accomplishes the same exact thing.
 
@Xaade I should probably restart it, I stopped watching about 2 years ago. I'll give a second try.
 
Actually, now that I think about it. Most religious end-times follow this same exact pattern.
 
@Xaade It still seems to be that you're judging the 12 Kingdoms by the wrong criteria. It's like you're judging a drama as a war movie.
@Xeo do you read most manga online or do you actually own the books?
 
Xeo
@StackedCrooked since most manga I read aren't even out of japan, I read the scanlated versions online :)
 
6:36 PM
@Xeo I'd like to try it on a Kindle or iPad. That should be awesome.
 
Xeo
@StackedCrooked I read them on my iPod sometimes. :) m.mangafox.com for example is a nice low-traffic mobile version
 
@Xeo Ah, I'll have a try on my iPhone. Never considered that.
 
6:58 PM
cool
Using the c preprocessor, can I define a macro which is only replaced with something if something else (like DEBUG) is defined, otherwise its replaced with nothing?
 
#ifdef DEBUG
#define FOO foo
#else
#define FOO
#endif
?
 
lol stupid!
thx :D
 
Xeo
7:21 PM
@Stack, did you read / watch Fullmetal Alchemist?
 
@Xeo I saw both anime.
 
Xeo
@StackedCrooked I can only recommend the manga. It's quite epic
 
And I liked both, but preferred the second one.
@Xeo How is it different from watching the anime?
 
Xeo
The first one was done while the manga was still ongoing, the second one ended together with the manga and was made a lot closer to the manga
 
@Xeo Yeah. I also like that the second one was longer and could do more buildup of the entire story.
 
7:30 PM
@Nils always use #ifndef NDEBUG
 
I read the Fruits basket manga after having seen the anime. It becomes clear that much of the humor is lost in the translation to video. Many drawings have little notes or scribbles with funny remarks. In the anime these are either skipped, or appear as a text balloon, or spoken by one of the characters. But it all goes too fast resulting in a chaotic experience. Some of the parts I found rather irritating in the anime (Yuki's older brother) turned out to be hilarious in the anime.
 
Yay, double negatives. Naw, I prefer to define DEBUG. :P
 
@PiotrLegnica How is NDEBUG a double negative?
Oh, I see. Never mind :) :/ :)
 
@PiotrLegnica I guess it depends if you're using an IDE… but you have to define (or not) NDEBUG one way or another
 
NDEBUG is really only used in cassert, and standard assert is, well, crap.
 
7:34 PM
so who's watching the Royal Wedding tomo?
 
@PiotrLegnica Is there a difference between the cassert and standard assert?
 
@PiotrLegnica what do you use instead?
 
Xeo
@TonyTheTiger What wedding? :>
 
@Potatoswatter FYI this is how I defined my own Assert.h: code.google.com/p/tetris-challenge/source/browse/trunk/Main/…
 
@TonyTheTiger Are they getting married on the space shuttle?
 
7:37 PM
#define GC_ASSERT_M(Exp, Msg) do { if (!(Exp) && GCAssert((Msg), #Exp, __FUNCTION__, __FILE__, __LINE__)) GC_DEBUG_BREAKPOINT(); } while (0)
 
Sorry, @Xeo, my last comment was meant for @Potatoswatter.
 
Where GCAssert shows that fancy assert failed window.
And GC_DEBUG_BREAKPOINT is __asm { int 3 }
 
@Potatoswatter Not sure, would be cool if they were though :P
 
Not portable, but it's development tool, it doesn't have to be.
 
@TonyTheTiger Who is getting married again?
@TonyTheTiger Ah, so it's William. Good for him.
 
7:38 PM
@StackedCrooked google.be/…
 
It's defined to BOOST_ASSERT on non-MSVC compilers, anyway.
 
@PiotrLegnica I see.
 
married_type wedding(kate, william);
 
use #ifndef NNNDEBUG :D
who's kate and william?
 
@Nils google it
UK wedding
 
7:41 PM
It has the advantage of breaking where assert was used, not inside the CRT.
Well, that, and it doesn't reuse stock Abort/Retry/Ignore dialog. :P
 
@PiotrLegnica I've done almost no development for Windows ;v)
 
bah we have democracy here
 
@Nils So everyone is king!
 
Eurotophobia : It is the fear of female genitalia.
2
 
Just ask Hannibal Gadafi what happened to him when he thought he does not have to obey the local laws :P
 
7:43 PM
:P
 
@Potatoswatter As long as they can afford the King Certificate (TM).
 
@PiotrLegnica Supply and demand…
 
I demand to be a king! Supply me one!
 
@TonyTheTiger Wiktionary just auto-corrects that to erotophobia…
 
oops, didn't see the link address had kamasutra in it
 
7:45 PM
Perhaps it's supposed to be "uterophobia" but specifically EURO for european women.
 
@Potatoswatter hahahah
 
7:55 PM
@TonyTheTiger educational video: imdb.com/title/tt0780622
 
@Potatoswatter I don't get the relation?
 
@TonyTheTiger Then get the movie!
 
@Potatoswatter lol
 
what's demotivating about that?
 
8:07 PM
Background.
 
that reminds me I should read Timon Ferris new book
 
@Nils what did he wrote?
@Nils Are you sure it's not Timothy Ferriss?
 
4 hour body something
yes mean Timothy Ferriss
 
@Potatoswatter hahaa
 
8:13 PM
there we go
 
sbi
9:10 PM
I see that you have talked about "that topic" again. You'll draw the attention of the meta police!
 
@sbi It's just a topic of epic importance :P
 
sbi
@TonyTheTiger You mean erotic importance, shirley?
 
must be popular, cuz people keep starring my posts with "that topic"...
@sbi that is it too :)
how was your day @sbi? did you find the bug?
or did it just bug you?
 
sbi
@TonyTheTiger I didn't need to find a bug today. If I was talking about a bug yesterday, I already found that.
 
9:26 PM
Rule #1 of bugs: you don't talk about bugs.
 
sbi
Well, since I spend most of yesterday merging the trunk into my feature branch, making sure the tests run Ok, and then the feature branch into the trunk, again running all tests, I thought I close the day doing something useful, and upgraded Jenkins, our CI tool. Around 11pm I gave up trying to get the damn thing up and running, so I wasted most of today doing that. Bad day.
@PiotrLegnica We aren't starship troopers. We're allowed to talk about bugs.
 
@sbi We are starship troopers. Our task is to eradicate bugs.
 
Hah, I broke my Jenkins with an update, too. I couldn't figure how it was broken, though, so I replaced it with Buildbot.
 
sbi
@MartinhoFernandes You know, I used to have that wife, who used to ask me what I'd hunted when I came home from work, to which I always answered that I was out hunting bugs, and slayed a few of them. So she would say "how nice, we're going to have bugs again for dinner tonight!" But she ran away. :( I suppose I should have offered some more dietary variety. But hunting bugs is all I know...
 
9:52 PM
@sbi It's a way of life I guess
 
sbi
@TonyTheTiger Yeah, indeed. And I got over it, though it wasn't easy. But we did have fun back then, with me being the bug hunter. :)
 
@sbi hehe :)
 
0
Q: How to implement copy_if in terms of std::remove_copy_if?

StackedCrookedI have worked out a solution that works most of the time: #include <algorithm> #include <functional> #include <iostream> #include <vector> // Overload that takes a function pointer template<class ForwardIterator, class OutputIterator, class ArgType> void copy_if(Fo...

^ Any takers? :D
 
sbi
10:24 PM
 
10:39 PM
@sbi Cool :)
 
Xeo
hello @sbi!
 
10:54 PM
@sbi Hunting bugs is all you do? I'm sure you have also created software at some point in the past?
 
sbi
@StackedCrooked What's creating software if not hunting bugs? :) Anyway, at some point, when some piece of software is old, most of what you do is A) adding little stuff to it and B) searching bugs.
 
I'm so lame, trying to get rep by answering questions like this: stackoverflow.com/questions/5825953/… .
 
@sbi ... A) adding bugs to it and B) searching bugs. FTFY
 
00:00 - 23:0023:00 - 00:00

« first day (194 days earlier)      last day (4756 days later) »