« first day (618 days earlier)      last day (4344 days later) » 

11:00 PM
@sehe, try IDA with the Psuedocode generator
it's like .NET Reflector but for C
 
@CheersandhthAlf I don't know. The crux was, it looked like a windows path. That not only fooled the OP but also most answerers. It was very simple. The filename was D:\XAMPP\htdocs\magento_41\magento, it wasn't a nested folder names 'magento'
 
@sehe I think we're talking about different things, so, nevermind :)
 
yes i saw now. i looked at the question. what was a file doing on *nix system with name like a window path?
 
jesus christ
tried to replace some case fans
 
@David Olly is nice enough for me. Obviously, I tried IDA, but... since I don't actually need to use pirated software to... well you know. I mostly use Olly, only try IDA if I get really stuck
 
11:01 PM
what do they do with the screws on those things, weld them in?
 
@CheersandhthAlf Being a fuck up
@DeadMG So you can stick your toe in it at full speed, again?
 
@sehe Yeah.
 
@DeadMG Perhaps the core overheated
Jun 18 at 10:32, by DeadMG
my toe hurts
 
nah, cable fell out
but I already bought some extra fans to solve the heat problem so I figured I'd chuck em in anyway
 
@sehe that's... wow.
 
11:02 PM
bad move, turns out you need the strength of an Ultralisk to unscrew the case screws and screw a case fan in
 
@MooingDuck It's also old. Over a year now
@DeadMG As long as you don't exert that amount of pressure on the CPU fan or indirectly the mobo...
 
Ugh, my laptop gets hot enough to leave blisters. Don't complain about heat issues.
Btw, it's an hp. Don't buy hp.
 
hp is hot
I like curios people ;). They make everything. — Kamran Amini Jun 10 at 3:04
I'm off to bed. Night all
 
Bye sehe
 
sehe
Hello all
 
11:16 PM
Are global variables on the stack?
 
Update me what are we talkn about?
 
Global variables.
 
most definitely not
 
@Drise no, they're in their own separate area
 
Ah. So defined outside the main function huh?
Lol I'm confused
 
11:19 PM
@JamesDyson yes
 
Damn, lost points for that question.
Not even the heap?
 
So what are we talking about? World destruction? How much we/me hate Java and a stupid language called ladder logic?
Or how HP laptops are sexy
Is this room dying again?
Yeah it is
 
@Drise nope
 
g'day.
 
Hello
 
11:34 PM
hi
 
Oh the rooms lives!
 
is a c++ expert here?
 
Fire away (I'm not but I'll attempt)
 
why is c++ approach of splitting class files to .h and .cpp files is more useful than java/c# approach of 1 file/class ?
 
You mentioned java. I hate Java. Apart from that I don't know. Let me have a look. (Learning is 80% more effective if teach somebody)
 
11:38 PM
hmm.. I never grasp this, what is the SO-philosophy when two answers contain almost the equivalent answer, should one of the authors delete the one with fewer votes or should you just leave it?
 
does your job imply c++?
 
1
Q: memset difference?

Vinicius HortaI did read the usage of memset on msdn and on cplusplus.com, I know that(please correct me if im wrong): int p =3; // p = object value // &p = memory address where p is stored so what is the difference of: char szMain[512]; memset( szMain, 0x61, sizeof( szMain ) ); cout << szMain[4...

 
Me?
 
@DavidFrank seperation of interface and implementation, also improved compilation on systems with small amounts of memory.
 
My job?
 
11:38 PM
now we got three answers to that question.. what to do?
 
@James yes
 
(mostly historical reasons)
 
@MooingDuck why did they keep this?
@MooingDuck it could also work to include all code to .h files
 
@DavidFrank if they changed it, then everyone would have to rewrite everything they've written in the last 30 years.
 
just like for templates
no
they wouldnt need to change the language
just the practise
when u write template classes, u cant have a cpp file
u have to include all code into your . file
 
11:40 PM
@refp I've seen up to 7 dupe answers come within 2 min. before.
 
@DavidFrank no, globals not in a function cannot be in a header file (well, they can, but it takes effort and is a bad idea)
 
I have no job. I am a student that has not even left high school and is failing to see how the curriculum is benifical at this stage. Instead I choose to eat the internet and learn that way.
 
@Mysticial and how should you handle those cases?
 
@DavidFrank you'd also have to mark every function as inline
 
Got an unrelated question, but i'm wondering if stackoverflow is appropriate for me to ask design related questions...
 
11:41 PM
@refp If mine doesn't get voted to near the top within the first wave of votes, I delete and leave.
 
@James Why do u hate java then? c++ programmers tend to hate java
 
Designing what?
 
@JamesDyson: Designing and implementing web applications.
 
@MooingDuck why would i have to mark my functions inline?
 
@JamesDyson Typical problem.
 
11:43 PM
@DavidFrank because the language requires it if they're in a header and not in a class.
 
@MooingDuck I'm talking about implementing a class.
@MooingDuck Why is it good to split it to a .h and a .cpp file
 
@DavidFrank to separate the implementation and the interface.
 
@MooingDuck It needs more effort than advantage it gives.
 
I hate Java because 1. It was made originally for bloody house hold appliances not 3D games and such. I hate it also because the language is slow due to the fact it compiles itself a few times before actually processed. I find the script messy. Apart from that I couldn't learn it bahaha and it has one good side I suppose. Its portability.
 
@DavidFrank I disagree. Strongly.
 
11:46 PM
I make a spleig migake icts cuase I'm on a gomgile phone
 
@MooingDuck I dont have much experience, Ive only had a few projects using C++, but my biggest problem is that if I change the interface of a method, I have to replace at 2 places
@MooingDuck Why is btw violating DRY, isnt it
 
@JamesDyson I'd be afraid if my household appliances used Java. What if the garbage collector kicked in just as the auto-shutoff safety for the stove was about to run? I'd get a kitchen fire.
 
Hahah
Well I learn either what I'm told or pick of the internet ans get corrected along the way
 
@DavidFrank It's not. It used to be because doing so would limit the amount of memory needed by the compiler.
it's not a positive trait now
 
Yeah, now it's more a hassle than anything else.
 
11:49 PM
@DavidFrank to an extent, yes it is, but it means I can simply hand off my header to a coworker, and he can, at a glance, see all of the things he can do with my class, and he doesn't care about the details.
It's very nice when reading other people's code. The Java way is just a mess.
 
@MooingDuck you can do the same when using java/c#
 
@Mystical so was I right I was I right? :P
 
@DavidFrank and you can do the Java/C# thing in C++. So? That's not the way the language was designed.
 
Damn I mean or was
 
@MooingDuck i just want to understand why people force this 2 files/class thing. I tend to follow the rules. So if the rule says I have to create 2 files/class, I will do so. But I also like to know the background behind the rules: why they are made etc.
 
11:53 PM
@Mystical you have left me in rift. Was I right?
 
@JamesDyson Oh, I wasn't getting your pings because you left the sneaky "i" from my un. Use the respond arrows next time.
What were you asking?
 
@DavidFrank because they separate the interface from the implementation, which eases readability, and eases compilation in machines where the project is large compared to the amount of memory. (I'm pretty sure I told you this several times before)
 
Im on a mobile so these options are not available. Java was made/originated for the use of household appliances eh?
 
@MooingDuck ok, i see.
@MooingDuck Isnt it inconvinient that you have to make 2 changes everytime you change something?
 
@MooingDuck I recently had to split one of my larger projects into a .dll because linking took too long. So I supposed that's one of the reasons for separate header files.
 
11:57 PM
Otherwise boom, compile error..
 
I'm a late bloomer. im only new to c++
 
@MooingDuck Are you a c++ developer?
 
@DavidFrank no, once you get to big projects, you don't change the headers all that often, and they're really handy
@DavidFrank yes I am
 
@MooingDuck what development tool(s) do you use?
 
@DavidFrank Visual Studio 2008 and Netbeans at work.
 
11:59 PM
Visual studio huh
 

« first day (618 days earlier)      last day (4344 days later) »