« first day (292 days earlier)      last day (4654 days later) » 

6:03 PM
@TonyTheTiger ok. :) Let me know if you want to give it a try. Is simple enough. But if nothing else, I hope you can steal a few ideas from it
 
sbi
@TonyTheTiger You run them through (La)Tex.
 
@jalf yea I'll give it a try
and I'll definitely give my CV a good scrutiny, taking into account your advice :)
@sbi yes I do know that... I haven't lived on Mars for the last 10 years. (although I might come over like that :P)
@sbi check your gmail
 
sbi
@jalf: Maybe I should run my next CV by you, too? @Tony seems to think high of your reviews. :)
@TonyTheTiger I already did. I just don't have the time right now. I'm just chatting while the compiler runs. That's not enough time to thoroughly look at a serious document.
 
@sbi oh noes, I didn't expect you to do that now, I was just saying. Whenever you want, and if you don't then fine too
 
sbi
@TonyTheTiger And if not Mars, have you lived on Venus then? That might explain your fixation on sex, after all. :)
 
6:11 PM
@sbi oh yea, well I'm young and I probably should start looking for a girlfriend
but I'm terrible when it comes to girls
 
sbi
@TonyTheTiger I want to, but it all depends on when I'll get home tonight. (If the last days are anything to guess by, though, it will be late.)
 
Is the safe bool idiom part of C++0x (as a base class or something)?
 
@FredOverflow explicit operator bool.
 
You mean explicit operator bool?
 
oh :)
 
6:13 PM
5
A: Conversion function for error checking considered good?

Martinho FernandesIn C++03, you need to use the safe bool idiom to avoid evil things: int x = my_object; // this works In C++11 you can use an explicit conversion: explicit operator bool() const { return is_valid; } This way you need to be explicit about the conversion to bool, so you can no longer do crazy ...

 
Is it supported by major compilers yet?
 
GCC does.
 
@sbi yea I get it
 
How about VS 2010?
 
no
 
6:14 PM
hope you guys don't think I'm some kind of a perv, me with all my sex :P
 
sbi
@TonyTheTiger I have found (pun not intended, but noted) that searching is actually hindering finding one of the other sex. :)
 
Is Tony suffering from Samenstau?
 
@sbi I have never really searched per se, but I"m still not having much luck. I must be too ugly or too boring... probably both
 
That sounds weird.
 
6:15 PM
That sounds messy.
 
@TonyTheTiger probably too logical
 
@FredOverflow you'll have to explain that to me?
 
@sbi I have found once you have kids, you seem more desirable to the opposite sex
 
@TonyTheTiger not getting some
 
sbi
1 hour ago, by Als
That tit guy @TonyTheTiger is here :P
@Als Actually, a few of us have seen @Tony and can assure you that he is pretty much tit-free. :)
 
6:16 PM
@sbi yea, you can deny allegations of tit presence, though crutches is another thing, lol
oh maybe that's it, girls don't like guys with crutches :(
 
sbi
@CodeMonkey That might be true for one or two. IME, if you have more than that, this attraction tends to decrease again. :(
 
Not if you're on Mars ;-)
 
@sbi True
 
@FredOverflow oh thx, tried to read a german wiki article explaining it, but too hard for me
 
You guys have a single word for that?
 
6:18 PM
yea well, they're German, they have a single word for the most unimaginable things :P
 
They have a single word for whatever.
 
@CatPlusPlus Whenever you don't have a single German word for anything, you take several words and collide them.
 
and if there isn't one, they'll concatenate it
 
sbi
@TonyTheTiger basically, it means "semen congestion".
 
that's why concat is so popular in German
 
6:19 PM
notgettingsomeaneugen
 
@sbi sounds painful to me :(
 
@sbi That's really explicit.
 
sbi
@CatPlusPlus No, those are two.
 
@TonyTheTiger lol
 
sbi
6:20 PM
@MartinhoFernandes This is the C++ room. explicit is a keyword here! :b
2
 
Is the safe bool idiom described in any of the popular C++ books by Meyers or Sutter?
 
there you go, you've been warned now
@sbi hahahah
 
sbi
@FredOverflow I think you'll find the items of EC++ and MEC++ online somewhere at Scott's site (aristeia.com). ICBWT.
I've unpinned it. I hope that's Ok with you.
 
thank you
 
sbi
6:22 PM
@TonyTheTiger Oh, did you pin that?
 
@sbi no I didn't pin it, but I didn't really want it pinned either
just didn't think I could undo it
 
You can unpin it yourself. You can even unstar it if you want.
 
@MartinhoFernandes don't mind it being starred so much, but pinned it will stay up there forever
 
sbi
@MartinhoFernandes Psst!
 
in this room stars get given out generously, so it won't be there for long
 
6:24 PM
What?
 
what?
 
sbi
@MartinhoFernandes You shouldn't have told him that!
 
star wars
star me
and me
oh, this place isn't so much for trolling, damn :(
 
No, because you're a con cat.
 
6:26 PM
She really likes that finger.
 
sbi
@MartinhoFernandes Well, maybe it's just me liking her liking it? She does twitter several such great statements a day. (Did I mention that girl keeps amazing me?)
 
@sbi yes
 
Several times.
 
sbi
@MartinhoFernandes Spoilsport!
Oh, no! That is too silly. I'm outta here.
 
I guess I should watch this C9 Going Native thing
 
6:29 PM
See, you got the grumpy old ape grumpy.
 
wow, Diego sounds awesome when he says C++
 
hmm
how can you specify axioms?
 
Great, stupid dorf fell into a lake while hunting a turkey with his bare hands and drowned.
 
6:49 PM
is this an example of a WTF? pastebin.com/Wuk7SPyE
 
@MartinhoFernandes what's the point ? It seems totally useless to me
 
Maybe that's why it's a WTF.
To me it seems evil, not useless.
 
Als
I just got downvoted for using & instead of and in an answer because & is a valid operator in C++. And the answer was text, no code!
lol
 
@MartinhoFernandes Good thing he didn't fell into magma and proceeded to set everything on fire while still chasing the turkey.
 
6:55 PM
Well, it's one less useless mouth to feed. There's a reason I drafted that soaper and set him chasing turkeys.
 
@Als link?
 
@Als Wait, what?
 
Als
lol
0
A: Implementing virtual methods in other parent-branch than they are declared in

AlsThere is no relation between Dad class & Grandma class. Dad & Grandma are two completely different classes. Given that the method in Dad is not considered as an implementation of the pure virtual method in Grandma & has to be implemented in the Me class. When you derive from an Abstr...

 
@Als "Your answer would be clearer if you avoided using a valid operator as an abbreviation for the word and "
Ha!
 
Als
@CodeMonkey: For a moment my mind refused to believe that was happening lol
 
6:57 PM
@Als sounds like a dick
 
Als
@CodeMonkey: And add to add to it the comment "@Als: I had to read your answer more than once to get your meaning, so yes I did vote it down"
 
@Als So he didn't understand it and so he downvoted it.. wonderful. Comment would have been ok but downvote is silly
 
Als
@CodeMonkey: He did'nt understand reading it Once
So is the poster to be held responsible if reader doesn't understand a answer reading once
 
Well, it could be a badly written post.
That could warrant a downvote.
 
Als
@MartinhoFernandes: Is it?
 
7:02 PM
Depends on how badly written it is.
Some posts are just way too incomprehensible.
Not yours.
 
Als
@MartinhoFernandes: The reason given is usage of & instead of and since & is an valid operator
that is hilarious
 
Yeah, that's ridiculous.
You shouldn't use full stops.
 
Tell the down-voter they could've just edited.
 
Als
Not really bothered about the loss of rep but Such a trend is outright dangerous
 
If I start a new git repository, should I add and commit the .gitignore first and alone?
 
7:06 PM
It's not necessary to commit it alone.
 
then add everything else and then do the "initial commit"?
 
Yes, but create the .gitignore before adding.
 
so yes, add alone or yes it doesnt matter as long as .gitignore is there?
 
The latter.
 
k thanks
 
7:08 PM
Well, you don't need .gitignore if there is nothing to ignore.
 
In fact you don't even need to add the .gitignore. It's a very good idea to do so, but not required.
 
Als
@MartinhoFernandes: You are at work?
 
there was
I don't want to track the *.o
and the executable
and stuff like that
 
You can even mark .gitignore for ignore, if you like to do crazy stuff. :)
@Als No. I'm on vacation.
 
Als
@MartinhoFernandes: you said you were done coding earlier..coding on a vacation?
 
7:09 PM
Hobby project.
 
it worked perfect btw, thanks
 
git doesn't care whether the ignore file is in the repository. It only checks if the file physically exists. So as long as the file is there, you can do with it what you like
add it, ignore it, whatever
 
Als
@MartinhoFernandes:Aha i see
 
I've been swimming/programming these past few days.
 
at the same time?
 
Als
7:10 PM
@MartinhoFernandes: I heard that before and so the query
 
@jalf I've been considering it, but I'd need a water resistant laptop.
 
Or a laptop resistant water.
 
That sounds harder to get.
 
@CatPlusPlus huh?
 
7:14 PM
@CatPlusPlus ice?
 
yay, I broke my code again
 
@Drahakar Not swimmable.
 
refactoring is overrated!
 
Refactoring != breaking the code.
:P
 
@MartinhoFernandes got me there.
 
Als
7:17 PM
@MartinhoFernandes: Apparently our grumpy man @sbi knows that guy we discussed about downvoting
 
Als
@MartinhoFernandes: The downvoting over & and and
 
Ah, I see.
 
Als
@sbi: Thanks for editing that answer & Who is the guy though?
 
sbi
Ah, I see someone cleaned up. Thanks!
@Als I've known his name for about a decade. He used to be quite knowledgeable and prolific in the Borland newsgroups. I remember him (I haven't been there in years) as a nice chap. Don't judge him by this one incident.
 
7:21 PM
You used "it" again.
Am I doing this pedantry thing right?
 
Als
@sbi: I thought so but why he appeared so pissed about a trivial thing?
 
@MartinhoFernandes You have to surround it with <pedantic> tags.
 
sbi
@MartinhoFernandes That was due to me changing the original text without fixing all the surroundings.
 
who shouldn't we judge?
 
sbi
@Als To be frank, you seemed just as pissed. A simple look at his profile would have told you that he's a newbie. So why not friendly point out if you think he's done something wrong? Also, of course he's nitpicky. From what I know, he's a pretty good C++ programmer. They all are.
 
7:24 PM
I have a question about the chat rooms. If you flag a post, does the owner get notified on his SO account? And is it only the owner?
 
sbi
@jalf The guy who downvoted @als here over mere stylistic preferences.
 
Als
@sbi: I was pissed I admit. And seeing his profile I knew he was being nitpicky, his blog showed he is a good programmer.
 
sbi
@Collecter You might want to read this.
@Als He's got a blog?
 
@sbi I just want to get the attention of the owner of a room. He hasnt been around in a month.
 
Als
@sbi: Here
 
7:26 PM
Don't use flagging for that.
 
sbi
@Collecter Flag for a mod. (Before you do that, read the last few paragraphs of the newbie hints.)
 
@MartinhoFernandes Was also going to flag a real spam message at the same time and alright
 
sbi
@Als Yeah, I had already found it. Pretty dry over tha last three years. :)
 
At least there isn't a "I haven't had the time to blog" post.
 
Als
7:27 PM
@sbi: yes but you know they are good when you see some blog like that and look around for a bit
 
sbi
@Collecter In the message's popup is a "flag for moderator" link. Use that for spam.
 
what have I missed?
meh
 
Als
@TonyTheTiger: You missed a downvote discussion
 
@Als oh, sounds boring
let's talk about something interesting, like eh...
kittens???
 
Als
@TonyTheTiger: Pretty much...I too lost the fizz about it :P
 
7:31 PM
lol
 
Als
@TonyTheTiger: Dames, Booze & Sex...Weekend is around the corner eh
 
how was your day Als?
@Als meh, feels like weekend all the time for me, now that I"m jobless :(
it sucks tbh
 
Als
@TonyTheTiger: my day was okay, I need to deliver some functionality tommorow but the guy who is to give me the interfaces to the driver seems doozing
I got my middleware pretty much ready, but without the driver, pretty useless
:(
 
You mean "dozing"?
He's sleeping on the job?
 
Als
@MartinhoFernandes: Looks like, He ain't making no progress for sure
 
7:35 PM
oh gosh
that sucks
 
Als
@TonyTheTiger: Yup and the interface is two goddamn ioctl calls
 
@Als oh I see
 
Als
@TonyTheTiger: Seems to me I am more productive even if i linger in SO from work lol
 
I've been frustrated mainly, that's all hahah
 
Als
@TonyTheTiger: how about your hunting, Drew some blood?
 
7:38 PM
@Als well, I got this response from a recruiter today
>I have now had a look at your CV and to be honest I don’t think you have enough experience working on software of the kind of complexity that this role will involve, and unfortunately my client need someone who will hit the ground running.
The role will involve a range of challenging projects including optimising low-latency server side code and writing algorithms to process massive data sets over distributed systems requiring really strong skills in C/C++ and in-depth knowledge of Linux. From reading through your CV I didn’t see that you have enough experience in these areas unfortunately.
so that was shitty ballsack retardedness.
 
Als
@TonyTheTiger: oh
 
@TonyTheTiger sucks
 
Als
@TonyTheTiger: Don't worry, things will work out soon, I hope
 
@Als why do people automatically assume that you won't be able to do something cause you don't have experience, I find it so annoying
@Als yea, me hope so too
 
Als
@TonyTheTiger: Most of the times, a person with decent enough experience shall be able to adapt to different roles or work
I never understood the reason of such denials.
Afterall, Software industry is all about adaptability
 
7:42 PM
a: clean up your CV, b: screw recruiters, it's not like they know what they're talking about anyway
 
@Als yea, I can adapt too... you know, I had to adapt to living with pain for the rest of my existence, so I can surely adapt to a job
@jalf yea indeed :)
 
Als
@TonyTheTiger: Don't get worked up, things will work out fine, Just maintain the focus.
 
Is it better to call the companies themselves instead of the recruitment people that post these ads online
 
@TonyTheTiger IMO, yes
 
@Als lol, yea, sorry, I am a bit annoyed, didn't meant to vent it here... meh
 
7:44 PM
because the recruiter isn't a programmer, he can't gauge your qualification, so you're basically jsut playing bs bingo with him, and trying to say the right words so he can check the right checkboxes
whereas someone at the company itself might actually know what they need, and how to tell a good candidate from a bad one
 
@TonyTheTiger I've never used a recruiter for a job and I have never been unemployed by not using a recruiter YMMV
 
that's been my experience at least
 
@jalf yea I guess... I noticed that somewhat talking to a few of them
 
Als
@TonyTheTiger: no thats perfectly fine. There is a world of difference between how recruitements happen in my part of world and yours so I won't really know
 
@Als most likely the same way
 
7:46 PM
by the way, you should emphasize your C++ experience more on your CV for that kind of jobs, whether or not you go through a recruiter
 
when my dad hires someone, he makes them DO something to SHOW him what they can and can't do, and although that is a different industry (metal), it still better then what's written
 
or perhaps, especially if a recruiter is involved. He's been told to look for people who know C++, so if your C++ experience is a half sentence on your CV, he'll throw it in the trash can
 
cause I could hold a Masters in CS and still haven't a clue, but it seems to me that recruiters would rather take that then the guy that can sit down and write a workable piece of software, meh
 
Als
@TonyTheTiger: you should highlight your key skills(i believe that would be C++) more aptly.
 
You should gear your resume or CV for the job too
Don't just send out canned submittals
 
7:47 PM
@jalf you have a very valid point. :)
 
(4, 2)
 
@CatPlusPlus: You may be right about buffering stdio ... I've set the file open parameters to ILE_FLAG_NO_BUFFERING | FILE_FLAG_WRITE_THROUGH, but the files are still multiples of 4096 after a crash.
 
I have a valid point, too.
 
If you were to spend half a page on what you've done in C++, and how you're familiar with all the cool idioms and such, he'd be able to put a big checkmark next to the "knows C++" box
 
@CatPlusPlus yea, we know about your valid points.
 
7:48 PM
and you could do that imo. From your SO activities I know you know your stuff, and from your CV I know you've done C++ at at least one job before
 
Als
Okay..Too late for me now..have a good day folks..ciao
 
so shout it to the world ;)
 
@jalf yea I did
 
@TonyTheTiger Yeah, I have lots of them. Like (6, 6) or (111, 222).
I can sell you some.
 
@CatPlusPlus ahahah :) Now I get the joke, lol
 
7:49 PM
With a bulk discount.
 
@jalf Thanks a lot for your advice, I'm defo gonna make some changes :) :) :)
@CatPlusPlus lol :) You crack me up cat
now we know the girls tricks for us nerds
 
There is no girl on the internet.
Only guys and FBI agents.
 
that made no sense
fuck it
 
7:57 PM
the Internet: where men are women, women are men, and little girls are the FBI
 
oh yea
no exceptions!
and trolls are abundant
@DeadMG how's the parsing going?
 
it's good, actually
I grabbed a new version of Bison and it allows for the use of complex C++ types in actions
I'm hoping to complete it tonight
 
I'm confused
Apparently I'm logged in here
but my rep has disappeared?
 
says to me that you have 41 rep
 
Oh wait
Yeah it's working
Just like StackExchange being weird
and logging me in with my facebook account that I signed up with then lying about crap?
 
8:01 PM
@KianMayne huh?
 
@DeadMG oh wow
sounds good
 
I tried to answer a question, then it decided I wasn't logged in when I was, then I logged in via Facebook and I had 1 rep
 
sbi
@TonyTheTiger I have never seen a recruiter been so honest.
"Be the first of your friends to like this post." http://t.co/NP1g8Uu
 
@KianMayne ok... but what do you mean "lying about crap"
 
@CodeMonkey Like saying I had 1 reputation and that I wasn't logged in
 
8:06 PM
@sbi you mean they are generally liars?
or you saying that I suck? :)
@sbi hehe epic :)
 
sbi
@TonyTheTiger The first, if anything. All I've met don't have the slightest idea of what they're talking about. All they do is matching buzzwords, and when they match over 80%, they shout "bingo!"
 
@sbi wow! I had no idea really, I was under the impression they at least had some idea what they were on about.
 
sbi
The latest headhunter who contacted me told me he had a job that would fit what he knew about me perfectly. So I went to their website and found about three job listings that had C++ in them, all of them requiring web programming and DB stuff - which I had exlicitely told him I dislike. Also, they required good knowledge of technologies I hadn't even heard about before I ran into that (NOSQL). So I sent him an email detailing where he failed in a somewhat direct way. Never heard back.
 
what is "the index" in git?
from the man page of git-rm: Remove files from the index, or from the working tree and the index.
 
@sbi yeah, that's been my impression too, although I haven't met as many of them
@TonyTheTiger You know the saying that "those who can, do. Those who can't, teach"? It's pretty much the same. If you knew anything about programming, why would you waste your time as a recruiter?
@hexa Git only commits the changes you tell it to, where other VCS systems typically commit everything that's been modified
 
sbi
8:11 PM
@jalf For me it started in the end of the 90ies, and I've been contacted by dozens since.
Some even called me at work!
 
@jalf yes true
 
the index or staging area is where it puts stuff you've added, but haven't committed yet
 
I've only met one recruiter, and he got me a lead into McAfee (though not programming)
 
So you have to git add modified files as well as new files, to add the changes to the index
then when you commit, the contents of the index are committed, and nothing else
 
and the funny thing is, at McAfee they told me I'd be better off find a programming job then what they interviewed me for
hahah
 
sbi
8:12 PM
@jalf I had been teaching C++ for a decade. :-x
 
@jalf then the index gets flushed?
 
@sbi hahah
 
@sbi yeah, I always felt it kind of sold teachers short. I've met a lot of very knowledgeable teachers I have a ton of respect for
I think the saying applies better to recruiters ,tbh
@hexa yep
 
@jalf k, thanks
 
I wondered, can you actually hide the the questions with tags in it you don't want? on SO main.
 
8:19 PM
@TonyTheTiger You can do ignore, which I think does not hide them only grays them out
by adding the tags to the ignore list
 
142 files changed, 52108 insertions(+), 111558 deletions(-)
lol.
 
@CodeMonkey I know that, but I think it should just hide them entirely
 
@TonyTheTiger Migrated to Meta
 
I refuse to speak to the meta police
/me feels like beer, hmmm
 
Oh dear ;L
I know there's about 500000 of these but
http://www.youtube.com/watch?v=CDeG4S-mJts&feature=related
 
8:32 PM
@KianMayne hahah thats funny
 
damn
I'm experimenting with my parser, it's almost done
but it says that my input file is invalid :(
now I'm going to have to re-write my lexer
 

« first day (292 days earlier)      last day (4654 days later) »