« first day (832 days earlier)      last day (4342 days later) » 

17:00
I think lazy is good. a good thing.
@user1866880 ... Now I don't want to be lazy. :c
the inventor of washing machine wanted his wife relax more, that's his motivation.
Women sit on those things.
I would spend 2 weeks to do automation script if I have to do repetitive tasks over and over, cos I want to be ]'lazy'
@user1866880 No, he wanted his wife to stop using the extra washing work as a reason to not have sex with him
17:02
......
</sarcasm>
When I was a kid I sat on the Washing Machine sometimes because it was warm and it was freezing.
@ThePhD FWIW, what you call the "easy-to-use" GUI has been for a long time a large source of complaints regarding the UX by C++ programmers.
(And only C++ programmers, because .NET programmers get a decent UI for configuring their projects; go figure)
You forget he started with C#
@Rapptz I started with C++, thank you very much. D:<
17:04
Sure you did.
I have only used VS GUI for c++ , then on linux only text editor, and I didnt like it.
If there is help from an IDE, why resist it?
And then ActionSCript 3 / Flash / FlashDevelop (really well-done IDE for AS3), and then a bit of C++, and then C# (Game Development, later on with a while of development with XNA), and then now I'm back in C++.
with intelliSense, and all that stuff.
My first true love, C++. <3 < <3
@user1866880 Is there any help? Besides slowing you down to the point of raaaege?
17:06
@user1866880 Yeah, IntelliSense is yet another joke.
INtellisense sucks. =l
VAX got it more-correct than Intellisense ever did. =[
I don't know why VS doesn't just make VAX part of itself.
Then again, if Microsoft hires up the company I'm sure they'll rebrand it, re-management it and then it'll go to shit.
user142019
iOS SDK y u no Haskell.
eclipse c++ can tell you as you type, oh syntax error, oh you missed a bracket.
17:07
@ThePhD I was just starting to write: "Thank god they haven't though..."
user142019
Any decent editor can do that.
user142019
Vim can do that too.
even syntax error?
@JerryCoffin I know, right? Could you imagine what Ballmer might do to it? :D
user142019
With the right plug-ins.
17:08
@user1866880 mostly syntax error
@ThePhD Perish the thought!
In VS10 IntelliSense is constantly complaining about the wrong errors.
@sehe that's why you need a decent machine
That does not help.
that helps a bit
17:08
@BartekBanachewicz That does the opposite.
Intellisense was a niiightmare in VS2010. Holy god. ;~;
@R.MartinhoFernandes why?
@BartekBanachewicz I only use decent machines. A 8Gb Q9550 and a 4Gb i7 2660 should be ample
@BartekBanachewicz Because it makes you waste time with lies?
the only place intellisense has consistently worked has been C#, and even there VAX improved it.
17:09
@BartekBanachewicz I don't want "bits" of help. I want less frustration.
I recently did C# and i like it.
2
user142019
C# is nice.
Still, though, the main reason I like VS is because I can set up projects - even large projects - easily and quickly.
C# on VS is a whole different matter.
@user1866880 You naughty boy :)
17:10
but yes it is only good for certain types of project,
@user1866880 You mean, like most :)
Eric Lippert ran a tight C# ship.
And did the right things with what he had.
@ThePhD ... aground (j/k)
what do u mean
anyway, log on steam and launch chivalry
user142019
17:10
Java > C#
@ThePhD And what kind of things do you set up in those large projects?
@Zoidberg ?!?!?!
but I think linux people hate c#
@R.MartinhoFernandes I know right?! All I had to do was press "." then enter and it'd code the entire application for me.
user142019
@sehe > Implying I'm serious.
17:11
@user1866880 Why? I'm definitely "UNIX people" and I love C#
@Zoidberg Go away, troll :)
user142019
Okay. :(
@Rapptz Have you used R#? Sometimes I would really get that feeling.
@R.MartinhoFernandes his 140 include files and 1 .cpp
17:12
@R.MartinhoFernandes Mostly defines, includes, and libraries. I exclude cpp/c files I don't want to compile, maybe change the platform and then just compile.
@user1866880 You have heard of Mono, I hope? And you know serious projects don't hinge on 1 platform?
user142019
Mono is a joke. Only Java is really cross-platform and that's why it's so great.
@Rapptz Hey, that's a great compilation model. :c
@sehe yeah! exactly !
@ThePhD Yes, that takes me no effort too. Admit it, you just like the GUI.
17:12
I think c# is great!
@ThePhD It's awful and you should feel bad.
@user1866880 You seem to think too much :)
i have not tried mono, but read about it.
@R.MartinhoFernandes Nope.
@Rapptz It's wonderful and I feel ~~amazing~~ !
17:13
@Rapptz What.
@R.MartinhoFernandes Yeah pretty much. It takes me less time to do it in the GUI than the CL.
I got told my c# experience is irelevant to this place's c++ on linux
Or to make my makefile. q_q
@ThePhD Header Only Applications(TM): You invented the logical consequence to header-only libraries!
17:13
For 140 include files and 1 .cpp I don't even need a Makefile in vim.
@R.MartinhoFernandes He usually makes everything a .h file and he has 1 main.cpp
but I felt there are ways c# designs things are beneficial when you want to implement something in c++ as well.
or something to that extent.
:set makeprg=g++\ main.cpp <- done.
No Makefile was harmed.
@Rapptz It's the best way to do C++. I don't need multiple compilation files: those take foreeveerr.
17:14
@user1866880 Well, in a way it might be. Though, your C# experience is most definitely not wasted, if you did the C# with a C++ background. Lot's of interop and performance tuning, for example
@R.MartinhoFernandes Hey hey, you forgot my libraries, D:
@ThePhD Ok, I will assume you are trolling now.
@user1866880 Exactly my feeling.
@ThePhD Takes the same amount of effort as in VS.
17:14
@R.MartinhoFernandes I've always had trouble with multiple-include-with-multiple-cpp files. D:
is there workplace using mono+c# ? I'd love to join, even for a low wage.
Yeah, you suck.
@R.MartinhoFernandes It's way worse. Can't copy/paste that!
I do not suck!
42 secs ago, by ThePhD
@R.MartinhoFernandes I've always had trouble with multiple-include-with-multiple-cpp files. D:
17:15
For most projects, a single .cpp with multiple .h works really well.
@user1866880 I've used it. I even used IKVM (Java+C#) on both Windows and Linux (in a single project).
I can only say, c# is good for certain projects, when performance is not critical. u dont want Garbage collection to kick in when you are busing doing someting.
But I advocated it myself.
nods head in shame
17:16
@Shotgun Ninja my question is ready, can I post it here?
THERE IS NO SHAME IN A SINGLE CPP FIILE
Seriously, you are afraid of using multiple .cpp files in your project in VS, and are trying to tell us you know what a good build system looks like?
2
q_q y u all hatin'.
@ThePhD With good reason :)
@sehe did you use c#+mono commercially?
17:17
I'm not afraid, I've done it before, it's just unruly and gross to manage and I have to have 2 files for every class I want to write. I much prefer writing everything in one class, once, defining it in one class, once (all in the header file), unless I need to offshore the definition because of circular-dependencies with pointers.
so is your main.cpp like, 140+ lines of #include?
@user1866880 Well. It was a proprietary project for Nato HQ. Not in a commercial product, but the work was commercial for me (since my company got paid for me to build it)
@ThePhD Whatever. I was trying to give some weight to your opinions on this matter, but I won't anymore.
Berlin police are hunting a serial killer: 10 women attacked- 8 fatally- on S-Bahn trains in 4 months. Nazi govt. censoring news of murders.
@sehe I am jealous
Also, this was scary until I realised it was the from the WW2 tweets.
17:19
:c
@R.MartinhoFernandes What, you wondered "Nazi government?!?"
@EtiennedeMartel That was when I realised it.
Fine. Be that way. ;~;
@ThePhD If it makes you feel better, I think having two files for a class is dumb too.
Assuming the class is.. compact :|
But you'll all see! One-definition headers-only is a great compilation model and C++ will have it sooon!
17:20
Free lebanese food. Yum.
@ThePhD If you want to know, all I do whenever I want to add a new .cpp file to my "project" is... writing it. That is how difficult it is.
And FWIW, most of my stuff is header-only too. I only have the UCD ABI and tests as .cpp files.
Seeeeeeeeeeeeee header-only isn't a terrible iddeeeaaa!
But when you complain about the build system it is
ANd really, I only use header-only for my library. My application that's using that library is still regular with .cpp and .h and all the other delicious stuff. D:
@ThePhD I have one .cpp per public class, more or less.
Actually, I have some .cpp files for internal classes too.
17:24
Except it's not really delicious, because I'd rather just write one thing and writing two is archaic. ._.
@ThePhD What do you mean?
My classes are header-only.
The point is that I don't fight the build system that I claim is the best.
Oh, I'm not fighting the VS build system in particular. I'd do this to make or scons or anything else anyday. My bone to pick for header-everything is with the compilation model of C++ itself. My dream is that I'd be able to write the class once and that it'd be usable everywhere. That its bytesize and other relevant information during compilation would be forward-declared before everything, and then the compilation would begin in a second pass. But that's really just dreamining. =[
Headers only is unreal in real projects.
?_?
@Rapptz Compilation takes too long.
17:29
Yeah I know
(Which is funny, since that was the excuse that ThePhD gave for using a single .cpp file)
The only reason right now I'm using a single .cpp is so that my header-only library can also be made into a DLL.
I just think it's silly to insult every project that uses headers only by calling it an "unreal" project.
If I take away the #define MYLIBSHARED, it'll compile and link in as a header-only to the application itself and MY GOD IS IT FAASST
WOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO‌​OOOOOOOOOSHAAAAAAAAAAAAAAAAAAa
user784668
Oh cool.
17:31
DLL y u so slow. ;~;
@ThePhD Wait, so you ship a DLL and the client still has to parse the entire code?
@R.MartinhoFernandes Yes! No...? Maybe. I don't know.
user784668
@rubenvb I just managed to break it on x86_64-w64-mingw32. I think I'm close to finding the culprit now.
That is kind of... counterproductive.
My library started out as header-only. But then I was like "Can it also be a DLL?" And so I made it a dll. You can have either header-only or DLL.
I should probably write the library completely differently if I do it DLL style.
But that's a port for later.
17:33
Yeh, and with the DLL you get all the disadvantages of both. Congratulations.
Some vendors distribute headers and one obfuscated cpp file. It's like a portable lib.
@StackedCrooked Yeah, but it's still build once, use declarations everywhere.
Not build once, use inline definitions everywhere anyway.
I've only seen it once. It was a networking library. Don't remember the name..
@user1866880 You shouldn't be. Have fun with the job you have. There's always a challenge. There's always the bad parts too
user784668
Can somebody explain me why the autohell tests if a given header is readable by the preprocessor and then if it's readable by the compiler? It seems that it ignores the preprocessor result altogether, if the preprocessor errors but the compiler succeeds, there's only a warning and uses the compiler result.
17:34
What I really yearn for is the C# compilation model in C++. That's what I yearn for. ;~;
@ThePhD So much was apparent
you mean with version ctrl? @ThePhD
@user1866880 ... What? No? D:
C# with VS is too sexy.
One day, I will sneak into the C++ committee.
I will get a simple compilation model pased.
17:36
Makes me feel cheated.
C# with VS is ezmode.
ikr.
sbi
sbi
^Sorry, I couldn't help it, had to post.
17:36
@ThePhD I thought you might like c# way that assemblies are versioned, so you can avoid dependecy hell in deployment.
.[First Letter][Space/Enter] <--- Get work done.
some solution for memory leak
@Rapptz FWIW, it feels kinda sucky once you have used R#.
yeah well I'm never touching Resharper or Visual Assist or any of those things
Gonna keep my vanilla.
@pourjour Plug the holes. Don't make holes in the first place.
17:37
@R.MartinhoFernandes what do u mean by holes
@pourjour new and stuff.
@Rapptz I had VAX before C# for the C++ dev.
YOUTUBE STOP BOTHERING ME ABOUT USING GOOGLE PLUS
user784668
@pourjour This should give you a nice memory leak: static_cast<void>(new int[100000000]);
I DON'T WANT IT SHUT UP GO AWAY GODDAMNIT ;~;
@R.MartinhoFernandes I didn't use dynamic allocation there just normal stuff like char [] and LPWSTR and so on
17:38
There's no SHUT UP PERMANENTLY option. Only "Ask me later", in very small test in the corner.
@pourjour Then you have no leaks. Did you use malloc?
It's like they expect you to just keep taking teh question over and over, 'till you break and you're forced to sign up for Google+.
@R.MartinhoFernandes no I used loop
it's eating memory
@R.MartinhoFernandes but I didn't declare anything in this loop
I used assignement only
17:41
C++ applications don't just "eat memory" you don't allocate.
0
A: What does "break when an exception is void" mean?

perfanoffAn exception can be of any type, including void. You can write this code: try { if (a == 0) throw std::exception(); else throw void; } catch (std::exception e) { std::cout << e; } catch (void) { std::cout << "Void exception was thrown! No custom error message!"; } This is ...

WTF
FtpPutFile(hFtpSession, text,fileName, FTP_TRANSFER_TYPE_UNKNOWN,0);
mbstowcs(wtext, text, MAX_PATH);
LPWSTR CHEMIN = wtext;
DeleteFile(text);
strcpy(text,"");
strcpy(fileName,"");
mbstowcs(wtext,"", sizeof(wtext));
here some function I used under the loop
@R.MartinhoFernandes Let's downvote that to Oblivion.
that doesn't look like C++ to me.
@R.MartinhoFernandes I wonder if a template function can throw a void. I know it can "return" teh result of (a function that returns a void)...
@MooingDuck If it could, it would be throw T(); anyway.
17:44
this is very MS c++
oh, catch(void) doesn't compile on stackedcrooked's thing.
@MooingDuck Of course not.
user784668
@rubenvb Bah, nope. I thought it's pkgversion for some reason. It's not.
thought I'd check
I might compile because of some silly MS extension, but that's it.
17:46
@Joe Propably from his backside. — Etienne de Martel 16 secs ago
nope, can't throw the result of a void function either. wonder what he did.
he saw the words void exception so he threw a void without actually checking?
@EtiennedeMartel Why?
oh, the answer
yes
@Joe Propably from his backside. — Etienne de Martel 3 mins ago
That is not nice.
You should always be kind, curteous and polite whilst using Stack Overflow.
(teehee)
17:50
Oh you.
For sure.
@Non-StopTimeTravel Yeah, he should have written "Probably"
@R.MartinhoFernandes Indeed. Misspellings are offensive.
@R.MartinhoFernandes By the way, your "About Me" is grammatically incorrect.
@Rapptz Which part?
17:52
"an Unicode expert" => "a Unicode expert"
@Rapptz It says "a Unicode expert".
He either quickly edited it.. or..
See, told you I am not an expert. I don't even know the right article for it.
user142019
17:53
Onicode
Aha. I still haven't fully figured out how to "find everything" in chat.
more like, English grammatical fail, rather than Unicode fail
@DeadMG Well, English is not his first language, after all.
user142019
@Rapptz I just tried to dismiss that pop-up. :|
2
@DeadMG It's my fail, I decide what kind it is.
17:54
So chat has its own profile as well?
yep
@Non-StopTimeTravel Just a short about thingy.
@Zoidberg This was my FB profile picture for a while
user142019
@Non-StopTimeTravel Okay.
17:55
Despite being based on the female rather than the male default avatar, you'd be amazed how many times it gets people.
@R.MartinhoFernandes k
With those JPG artifacts?
@Non-StopTimeTravel nice!
user142019
It looks terrible.
@Rapptz Though this isn't a direct link to the actual image I used, in fact yes! It's very effective at its minimum thumbnail size.
user142019
17:56
@Non-StopTimeTravel Is that for DeadCicada?
user142019
Oh new Google Images is nice.
@Borgleader .... what?
@Zoidberg I'm not sure.
@Non-StopTimeTravel Some semi-regular that poses as a bug.
I'm gonna stink of garlic and onions for years now.
But it was goooood.
0
Q: What does =* mean? (Winsock - C++)

Shahid KhaliqI was learning about Winsock and was looking at code from the page : Winsock Tutorial 1. There is a line in the program which included the operator =*. Can anyone please tell me what this is? I do know a *= b is equivalent to a = a * b. And I read on stackoverflow that =+ is the obsolete form o...

^^ ahaha
user142019
17:57
lol
@R.MartinhoFernandes ok
@Non-StopTimeTravel just updated my facebook profile picture.
Reminds me of this one:
50
Q: C# lambda expression reverse direction <=

user215675I have seen some code which uses the <= operator. Can you explain what is the use of having lambda in reverse direction?

lol, reverse lambdas.
17:59
@MooingDuck You're on facebook during work hours? Shame on you!
user142019
@Mysticial Unlambda?
Breaking News: I have now resorted to Red Bull
user142019
ew
Woot, I managed to reduce this from 162 failed tests to... oops. 658.
2

« first day (832 days earlier)      last day (4342 days later) »