« first day (584 days earlier)      last day (4590 days later) » 

03:02
what about this?
note: all the C prefix stuff is Microsoft (MFC class framework)
@CheersandhthAlf selectObject(foo, bar) is still possible without keeping the result, isn't it? Wasn't that what you wanted to avoid?
yes, that's what i'm asking: should i add dynamic check in destructor of SelectionCleanupSpec?
or is that over-engineering?
intended usage is just for myself and one other
Ah, I was more interested in why there are two separate classes by now. One that is move-only and does the dynamic check and is convertible to the other one which has the real functionality and is copyable then?
yes
except the other one isn't copyable at all
Oh right, then the dual class design makes sense even without that check.
03:30
Anyone familiar with mercurial in here? I'd really appreciate it if someone could answer this question (it's not getting very many views because of the tags)
0
Q: Merge earlier Mercurial changeset with tip

PrætorianI have a local Mercurial project. The tip revision is 562. In revision 549 I made changes to 4 files in the project. These files have also had other changes made to them from revisions 550 through 562. How can I compare and merge revision 562 (tip) with the changes made in revision 549? Basic...

 
1 hour later…
Xeo
Xeo
04:46
58
Q: Which is better option to use for dividing an integer number by 2?

AbhineetWhich one is the best option and why for dividing the integer number by 2? For eg:- If x is an integer variable then, which option from the mentioned below is the best option for dividing by 2? Technique1: x = x >> 1; OR Technique2: x = x / 2;

seriously, wtf
> People love discussing things that don't matter, because it's so easy to have an opinion about these things.
5
Xeo
Xeo
Damn you Haskellians... :P
Updated comments don't seem to get updated here :(
Xeo
Xeo
The comment is rendered once I think, like everything that's oneboxed
Though "rendered" sounds a bit wrong if it's just a quote with some links..
05:13
Stateful view.
06:01
^ How can one prove that it's very similar to C curve?
06:42
@ScottW similar avatars.
@Xeo even if the integers are unsigned and bitshifting is faster, the compiler will optimize division to use bitshifting.
^ Coffee is very healthy.
Xeo
Xeo
@RadekdaknokSlupik Huh?
Of course it is. Only if it wouldn't taste like crap.
@Xeo the question you onebox'd.
Xeo
Xeo
06:45
Yeah, I was just dumbfounded at how many views and upvotes that thing gathered in just about 8h
And I could swear that thing is a dupe
Just too lazy to look right now
lol 8 hours. Of course it's a dupe.
I like this question. :P
Xeo
Xeo
Anyways, off to sleep. g'night ... or, g'day I should say.
23
A: Why is 'X x; x();' allowed, when 'X' defines a conversion to function pointer, but not, when it defines a conversion to a functor?

WTP'--x(5); // works ?! This implicitly casts x to an f_ptr and calls that. C++11 standard: ยง 13.3.1.1.2 Call to object of class type [over.call.object] 2) In addition, for each non-explicit conversion function declared in T of the form operator conversion-type-id ( ) attribute-specifier-se...

Später.
Ok.
I'm hungry.
sbi
sbi
07:10
:)
07:27
@sbi lol, wtf?
morning :D
sbi
sbi
@thecoshman "If-Star-Wars-was-real-22-520x389.jpg"
@sbi last I checked, the battle droids did not have free will enough to slack off. They were brilliantly efficient machines. Though, really could have done with using something like a server farm where each droid is a small server that. Thus the destruction of the trade federation ship would not have stopped the droid army, and Star Wars would have been very different
sbi
sbi
It seems you're wrong about that. :)
@sbi woah, never seen them looking so pissed
07:36
@ScottW ?
some how, I don't think you are going to be that productive today @sbi
sbi
sbi
@thecoshman Just you wait until I shake that tiredness out of my bones, and start doing useful things... Yawn.
1) get (and drink, you pedantic feckers) some tasty wake up jouice, coffe normally fits the bill here, but what ever works for you
2) ...
3) profit!
@sbo just post the full link? http://www.retronaut.co/2011/02/if-star-wars-was-real/
^ that cost way too much time to uncover
sbi
sbi
Why do that, @soho?
2
07:42
I like the one with the band in the background, really subtle (see, I know there are bees in subtle things, well, a bee)
South of Houston Street? Soho London? Small Office/Home Office?
sbi
sbi
State Bank of Oklahoma?
Doesn't seem to fit with the unexplained soho
Damn. now I see it
ROFL -- very stylish
@sbi I don't get it :(
sbi
sbi
@thecoshman It was an answer to @sehe, who had mistyped my nick.
07:51
well... sbi your the sweetest guy explaining that all the way for thecosh
ooooh
I now have to suffer the pain of a doing a merge in clearcase
08:07
I'm not using clearcase through choice :P
Fight the system, use Mercurial.
oh god I wish I could
@thecoshman DVCS: you always can Guerilla Version Control
It's what I do to make life bearable despite visual sourcesafe/Serena Dimensions
oh sweet Jesus on a stick. Friend just got email asking "Could you please provide the IP address of Ireland?"
3
@sehe unless I'm missing something, that will only help me with revising the changes as I make them. It will not spare me all the other shit I need to deal with in clearcase
@thecoshman It will give you a lot more control. Especially when you have to wiggle a commit in (doing 'red tape' adjustments to fit Clearcase, e.g.). And yes you could auto-tidy things with a precommit hook if you find yourself doing the same adjustment(s) over and over
Also, you're not bound by lousy, slow, search facilities (e.g. git grep OLDREV1 'someIdentifier' -- path/projectX etc)
08:20
is unix just CR or just LF?
never mind
sbi
sbi
@sehe Gorilla Version Control seems appealing. :)
:)
mawnin nubberies
@thecoshman Nobody is just CR.
08:35
hi
@DeadMG didn't Mac OS (classic) use to do that?
no idea, but I don't think they do now
sbi
sbi
@jalf Yep. Unix LF, MacOS CR, Windows CRLF.
One short question. When is the good time of the day (in UTC or CET) to ask question on SO? In what part of the day will I'll get the most immediate viewings?
@Dialecticus Any time. You get enough views at any time.
:) that contradicts my experience
08:43
generally, the European evening is the most active time
@Dialecticus Ok, let me rephrase that. The varying number of views won't make a real, consistent difference to the quality of answers you get
sbi
sbi
@Dialecticus North American business hours are the busiest on SO. However, that doesn't say anything about the quality of the answers you'll get. And since it's not only the number of answers that rise then, but also the number of questions, your question might get drained in the noise.
ok thanks all
@sbi European evening == North American business, give or take, right?
sbi
sbi
@DeadMG Oh, I wasn't trying to say you're wrong about that. It's just that I think it's not the fact that it's evening in Europe that makes SO so busy at that time, it's that Merkin developers are at work and coding.
08:52
as far as I'm aware, the majority of the population, at least in this chat, are European
and I guess that it might not be representative of the overall C++ population, but I don't see why it wouldn't be
and in my experience, if you ask a question at midnight our time, it's answered by the European early-risers at 6-7am or a little later; not by the Merkins still at work at 4pm their time
sbi
sbi
Yeah, I also think here it's mostly Europeans. (Although I'd be careful judging this, what with me usually being at sleep when the Merkins spend their leisure hours here.) I doubt that this room is representative for SO proper, though, in this regard.
well, since I've been sick, I've spent many a sleepless night here
Merkins. Wat.
and at 4am, it's still me, the robot, cat, etc- the usuals, not a Merkin population
sbi
sbi
@ScottW Doggie style, no doubt. :)
08:59
Merkin: a pubic hair piece. Why do I even come to this chat.
sbi
sbi
See, when you say "WOOF!" it sounds authentic. But every time @Dead does that, I think "YELP!"
@Cicada No, look at the other definitions.
sbi
sbi
@Cicada Actually, I was referring to meaning #2.
@sbi I usually add "bitch" or something to the end
@Cicada Because it's the best chat.
sbi
sbi
09:00
That said, I have no idea why anyone would want to come to this chat. Well, maybe if you think SO isn't enough of a madhouse, and meta is too much of it...
@sbi people come here who have too much time on there hands, or don't want to be working
sbi
sbi
@DeadMG No, you don't.
Or are attending a course on ISO 9001.
@ScottW or JavaC :D
@ScottW rules are there to be violated.
sbi
sbi
09:03
@Cicada While this is a darn good place to bitch about Java and C, I would definitely look elsewhere for a course on 9001.
@sbi How curious.
aaaargh SK-Logic why do you even exist?
Meh today is my chemistry exam. Fucking boring.
I make a statement, he makes a statement, neither of us adds benchmarks (performance question), therefore he's right and I'm scum?
what the fuck is wrong with this guy:?
Distraction is great!
sbi
sbi
@DeadMG I don't know who SK-Logic even is, but that message seems like a pretty weak attempt to steer the chat in a direction that makes it fit for the lion to appear.
09:04
hehe
last time I tried that, he disappointed me greatly, that overly sexualized cat
five, four, ...
sbi
sbi
@ScottW Ah, yeah. If I apply the message to the one three before it, this seems a good interpretation.
@Cicada What even is ISO 9001?
sbi
sbi
@DeadMG It's an ISO standard. What else could it be?
Go eat a gorilla bone.
@ScottW I had a delicious Cornish Pasty for breakfast today.
sbi
sbi
09:06
@RadekdaknokSlupik Well, a day with an exam being boring might be the best thing you can expect from a day with an exam.
microwaved it so it was nice and hot
can I bitch about other users on Meta?
because that SK-logic guy completely deserves it
09:09
Post it on meta, link it here and let us judge.
sbi
sbi
@RadekdaknokSlupik You should be prosecuted for animal cruelty. Sending a pathetic dog against a 600lb grumpy package of raw power...
A pathetic hungry dog, to be exact.
hmmmm
to go and eat a nice huge chunk of cheese?
to go and eat a nice huge chunk of gorilla meat!
Do you count jimmie rustling among your interests?
09:12
the hell is jimmie rustling?
rustling like how jimmie does it
sbi
sbi
Are you whining about this user, @Dead? What's he done?
@Cicada I had to look this up. I am none the wiser now, though.
@sbi Didn't know he had an account on SO, I've only encountered him on Programmers.
consider this answer and look at the comments
@ScottW either eat or stop complaining. :P
31
A: Should we avoid object creation in Java?

Jarrod RobersonYour colleague has no idea what they are talking about. Your most expensive operation would be listening to them, they wasted your time mis-directing you to information almost a decade out of date as well as you having to spend time posting here and researching the Internet for the truth. Hopef...

sbi
sbi
09:15
@ScottW How about eating something? (Yeah, strange idea, I know.)
Know your memes :)
sbi
sbi
@DeadMG Ah!
Your avatar made me think of that ISO 9001 certified meme.
@ScottW How about this:
@DeadMG should we avoid Java!
09:16
I make a claim, he makes a claim, therefore he's right? the hell is he smoking?
@RadekdaknokSlupik kek
Rather than avoid object creation in Java, one should seek to avoid code execution
sbi
sbi
@sehe It's not mine!
Get to work, ape...
@sbi Tis what they all say.
sbi
sbi
@sehe I am at work.
09:17
But you're not working.
sbi
sbi
@Cicada He doesn't look bored enough to be grumpy. Not me.
@RadekdaknokSlupik That depends on whether you would classify "waiting for this lengthy operation to reproduce that bug" as work.
Speed the operation up.
@RadekdaknokSlupik I think sbi is intentionally giving rigid interpretations to innocuous lines for a while now.
Where do you people work at, if I may ask?
I always feel bad when @sbi goes through all the effort to write long messages in chat, and I respond with a very short one.
:p
sbi
sbi
09:19
@RadekdaknokSlupik That would be contrary to the goals I am tasked with: preserve memory.
@Cicada semi government, large C# project dealing with funding of schools and other education institutes
Download more RAM.
Hehe
now I'm banned from the Programmers chat for calling him a giant prick
09:20
at least to get banned from this chat I had to make some comment about fucking someone's mother
sbi
sbi
@Cicada I am working in an office. It's in a nice old building. From the window, I have a look at a lake, and at the smaller one of Berlin's two TV towers.
So you're looking at lakes and towers instead of working? I'm going to tell your boss!
sbi
sbi
@RadekdaknokSlupik It would be more effort for me to write short messages. I am afraid none of my tweets ever took <15mins, because I have such a hard time to cramp my thoughts into 140chars.
@RadekdaknokSlupik He rented this office and praised it to us for its viw (among other things), when he announced the company would move. So you wouldn't be telling him anything new.
:( missed chance!
@ScottW !
I'm a student
by that what I mean is for various reasons I don't attend university and the thought of speaking to my lecturers sends me back to bed crying for an hour
and therefore am about to fail my degree hardcore
09:26
@DeadMG I'm in pretty much the same boat :)
sbi
sbi
Well, studying does imply a certain degree of ability to get your ass up. Even though, from what I learned from an in-law who teaches in the UK, there's a lot of hand-holding involved there.
also
I need to get a new goddamn doctor
sbi
sbi
@DeadMG You need a new doctor to get your avoideritis cured? That's a hard thing for a doctor to get you rid of.
no, that's therapist
need doctor to cure my fucking stomach
12 mins ago, by sehe
Rather than avoid object creation in Java, one should seek to avoid code execution
It's not my fault that the others talk too much :)
aaargh ur code so bad — DeadMG 1 min ago
09:34
whoops
@DeadMG ^ don't have anything more constructive to contribute? Why don't you keep quiet?
I probably should not have left it like that
I would have edited it, but the OP responded really fast
sbi
sbi
@sehe I, too, sometimes find it necessary to negatively comment on code. I don't like to not to do that, because it might encourage beginners that the code in question is normal.
09:39
he was right, though
sbi
sbi
Uh oh. Team meeting. Yawn. afk
whilst it was instinctive to have that reaction, I should probably not have commented just that
@DeadMG @sbi I'm fine with the general comment (I did it too) but at least explain roughly what is wrong so the OP can learn from it, instead of just getting ridiculed
@DeadMG I like your followup, though I'd personnally remove the earlier comment
nah
I find it too unfortunately funny for that#
Woof. Woof. And "Biatches". Or something :)
09:42
lol
I find it funny because it's just so true and to the point
@DeadMG I'm not a great example, but I very rarely attended any classes in university. I found that's not really necessary if you take the time to study yourself.
@RMartinhoFernandes Nah, I just need to get a therapist.
The trick there is to actually take the time to study, and not just pretend you did.
Does anybody have experience with apps that link MFC statically.
Hmm. Uni pretty much killed my passion for CS. I'm just a zombie now.
09:44
@Cicada Agree. University is a worthless pile of junk.
3
Too much theoretic courses. No practice. Sucks.
not just that
but their only measure of theoretical success is "did you memorize the theory?" not "Can you use or apply or create theories?"
hehe @Cicada
I liked theory of computation.
@DeadMG Yes indeed. I wonder how the students graduating are gonna get a job. I mean. Seriously. They can't code at all so how are they supposed to work?
@Cicada Whereas as far as I'm aware, I'm miles ahead of the normal CS grad in terms of software engineering experience/skills
09:50
All the hours spent on my pc rather than going at parties have had more influence on my career than all the CS courses I have attended so far. That's scary.
Well just a fraction of all CS grads get into programming.
@Nils Unfortunately I have some experience. What's your question'
Well basically: 1>MSVCRTD.lib(MSVCR90D.dll) : error LNK2005: "public: bool __thiscall type_info::operator!=(class type_info const &)const " (??9type_info@@QBE_NABV0@@Z) already defined in Libcmtd.lib(typinfo.obj)
@Cicada Er, what do you think CS is?
Perhaps what you meant was "University killed my passion for programming"
which would be perfectly valid
I also added Nafxcwd.lib;Libcmtd.lib to the additional dependencies and to the libs to ignore.
09:54
But CS is basically about theory, not practice.
@Nils I imagine there are a bunch of other messages similar to that, right?
@Cicada well, some of us (1) tried to complement the theory with practice, rather than doing one or the other, and (2) apparently went to a univeristy which was better at teaching CS
@Cicada Well I would just look around which courses you might interest you. What about digital image processing, AI, machine learning or things like computational fluid dynamcis?
Yes @jalf that would be more correct. However I also enjoy all the abstraction that goes behind. As long as it is applied.
@Nils Looks to me like you're dynamically linking the CRT to an MFC lib which statically links the CRT, causing duplicate symbols for all CRT functions.
09:56
@Neil sure
@DeadMG ah..
@Nils There's a switch in the project settings saying "Statically link CRT".
I use /MTd
or where is that switch?
MSVC likes to link both at once for no apparent reason.
@RMartinhoFernandes Aww man, what a party pooper
09:59
Add /NODEFAULTLIB:libcmtd to linker settings.
@Nils It should be /MT, not /MTd, I think
/MT is static release, /MTd is static debug.
yeah
d is just for debug
I want a debug build first :)
MTd = Multi-threaded debug
@CatPlusPlus /NODEFAULTLIB:libcmtd seems to have no effect
10:02
LUNCH TIEM NAO
@DeadMG I can't find any switch which says "Statically link CRT", however I'm on VS 2008.
@Nils I'm pretty sure that all versions of VS offer static CRT linking.
The US once dropped an atomic bomb on a South Carolina town. If you pretend it didn't actually happen, it's funny.
Hi guys, are there any Qt programmers here?
@RMartinhoFernandes That's not particularly interesting, since there was no dropped nuclear material. Calling it "an atomic bomb" is like calling my penis "a thousand children".
10:18
I liked the use of the emergency release lever.
true, but it's extremely misleading to say that they dropped an atomic bomb
time for games
Have funsies.
@DeadMG But it sells more newspapers/gives more blog views!
A thousand children? I don't get it.
@RMartinhoFernandes As if I give a flying fuck cake.
Hmm, cake.
@Pubby The device they dropped could produce an nuclear explosion when armed. Supposedly his penis can produce a thousand children when armed.
10:26
@Pubby Just because technically, I might use my penis to create a thousand children in some hypothetical future, does not mean that I am carrying a thousand children in my underwear
I get it
@Pieter I use qt
and they're both impossible
even Cracked's list of the most fertile people ever caps at about 120 children, IIRC.
Don't link to it. I believe you.
10:50
fucking shitty internal web based tools that need to use fucking shitty activeX controls just to be able to upload shitty documents to a shitty revision control
by the way, perhaps you feel angry
to right I fucked of
why to hell do people put so much fucking effort into making things painful for every one else
there is no need for this tool to be IE only
there is no need to fucking Java to upload god damn fucking files
there is not need for activeX controls
it is the biggest pile of wank ever
man
I got a message from a moderator on PSE
if you are dealing with activeX.. you might be interested in solving my MFC problems..
maybe it's about that thing I said in their chat
10:54
:D
how the fuck can a company last so long with such shitty fucking tools
@DeadMG What did you say?
@RMartinhoFernandes Something along the lines of "SK_LOGIC Y U A GIANT PRICK"
Oh.
You two met again.
yep
got banned from their chat for saying that
at least over here I had to say something rather rude about fucking someone's mother
10:57
That was really overboard.
can't even remember what it was now
hahaha
that's nice

« first day (584 days earlier)      last day (4590 days later) »