« first day (647 days earlier)      last day (4294 days later) » 

1:02 PM
anyone here familiar with US economy?
 
@thecoshman except it's not really poor design, it's designed to be just good enough to get to market with minimal effort which worked out incredibly well
@IAmBatman anything more specific?
 
I am trying to understand some facts
There's so much BS out there and it's hard to get factual answers
 
@IAmBatman the fact is, I'm jobless and homeless. Let me send you my paypal info.
 
@Flexo true, more a case of lack of design
@IAmBatman this a lounge... for developers... very few of us are American, and AFAIK none are on right now
 
user1182183
I'm Polish, troll.
 
1:07 PM
@GamErix prove it
 
user1182183
żółć - bardziej polskiego słowa nie spotkasz ;)
 
Basically my question is about US profits. I don't understand how firms can be hitting record profits when people are struggling.
 
user1182183
@IAmBatman apple has their HQ in sweden or norway or something so they don't have to pay taxes
 
user1182183
thtat's why they are rich and people are strugling
 
user1182183
stupid different laws in each country
 
1:10 PM
@IAmBatman there was an article in this week's Economist; the problem is firms are failing to invest so excess revenues go straight to profit.
 
Why aren't they investing?
 
@IAmBatman too scared
 
@thecoshman I'm American, doofus
 
My friend is arguing with me that the profits are because consumers are spending more and thus demand is sufficient, but to me that is just BS
 
better to sit on a pile of cash and ride out any storm than take any risks which may/may not improve the situation
asset stripping looks profitable on paper too
 
1:11 PM
@IAmBatman the economy generally improves when consumers spend more.
 
it seems like the record profits/cash reserves are because of lean cost-cutting measures like overseas sales and not hiring in-house/cutting jobs
 
@keith.layne oh well excuse me for not staling every one
 
how true is it that these profits are because "consumers are spending more"?
@Flexo But then how does cutting taxes help that situation when they are at record highs?
 
@IAmBatman that's politics and speculation
 
@IAmBatman not much. Corporations try to maximize profit, if they can do so at the expense of ordinary people, they don't care. They're kind of orthogonal interests.
 
1:13 PM
there are several schools of thought
 
@GamErix Languages don't have speeds.
 
But thing is I feel like it isn't a matter of politics, it should be factual no?
 
politics are factual. And gay.
 
but it's such a complex system you can't prove if one is correct which is where politicians come in - they are paid/elected to speculate/gamble on the big unsolvable problems
Complex systems present problems in mathematical modelling. Complex systems is a new approach to science that studies how relationships between parts give rise to the collective behaviors of a system and how the system interacts and forms relationships with its environment. The equations from which complex system models are developed generally derive from statistical physics, information theory and non-linear dynamics, and represent organized but unpredictable behaviors of systems of nature that are considered fundamentally complex. The physical manifestations of such systems cannot ...
 
i just don't understand why corporations need more money if they already have tons of money
 
user1182183
1:14 PM
well java is made out of C, so there is some overhead, or am I wrong?
 
@IAmBatman they don't need more money, they need to feel safer about spending it
 
Our economy might be recovering right now, but the Europe situation is downing it. Not a policy thing IMO, more of a bad luck and timing thing.
 
but where is the data to suggest this uncertainty/risk that overrides the cost of hiring people?
 
@keith.layne funny given that the US subprime thing is what dragged the EU down in the first place :)
 
It is the sole aim of corporations to make money. People invest in them in the hope that they will make money and return on the investment. It's capitalism, not socialism.
 
1:16 PM
i mean, businesses hire people when there's demand, no? so if they feel it's too risky, it's because they don't know if they can hire people and still make a profit by having people spend on their stuff. isn't that a blatant nod to a demand-side problem?
 
@Flexo shrug
 
@KonradRudolph Debunking this is, IMO, pointless. He's been pretty careful to point to the notion that what he's written about is only a tiny part of what he's really done, and his conclusions are all based on work that's much more solid, but that he hasn't told us enough about to evaluate at all. His replies to the comments are all full of "How do you know I didn't?", "I really did a lot more than I wrote about", etc.
 
@Flexo that's over my head, I'm just saying it's all interconnected...we screw Europe, Europe screws us, it's all dirty economic incest.
 
economist.com/node/21559365 (if this link works)
 
@JerryCoffin I think his post is worthless and harmful. If he had more rigorous analyses, he should post those – but I doubt it
 
1:18 PM
The suggestion there is that it's down to short-termism in managers and shareholders preferring share buybacks etc. over capital investment.
 
micro-benchmarking is hard. In fact, there was na excellent paper on that (which he may or may not know, but is very relevant here) which shows that even the number of environment variables (yes!) can influence a program’s performance drastically, rendering the benchmark completely moot
@Jerry in particular, he finds that Java outperforms C++ here, and he finds that one compiler version outperforms another one drastically – but he can explain none of these results, rendering them utterly useless to extrapolate from
 
@KonradRudolph every program when run has to examine all env vars, right? Wouldn't think of that.
 
the big assumption though is that what you're measuring mirrors a tight loop somewhere in the real world which is so hard to make true
 
Once both gay marriage and marijuana are finally legal, those of you against them are not invited to the really fun parties I'm gonna throw.
 
like if I'm really struggling on a fixed loop problem then the solution is (probably) pre-compute
 
user1182183
1:20 PM
;o
 
@keith.layne The environment variables are just one of the many confounding factors which may introduce a systematic bias
 
@GamErix Yeah, right. I double dare you.
 
I prefer never to benchmark or profile or even debug. Segfaults are not my problem. :)
 
“Trivial” means “vitally important if you’re actually doing the work, but not important if you’re just watching.” http://ow.ly/csn6F
 
@keith.layne In fact, if you can get away without profiling, then don’t! It saves you a lot of frustration
 
1:23 PM
@KonradRudolph Oh, I quite agree. The problem is that he refuses to provide what he claims as the real basis for his conclusions. Without that, he has the constant, ongoing ability to say: "yes, but that doesn't really matter, because it's only a tiny part of the picture" (or something similar).
 
@JerryCoffin He's playing with a stacked deck!
 
@JerryCoffin Ah, ok. Yes, that’s it, essentially
 
You can just treat profiling data like subatomic particles...
 
char* String::ToCString() { return this->Buffer+'\0'; }
2
Lovely.
 
What the fuuuck.
 
1:26 PM
that's beyond lovely.
Java much?
 
user1182183
ok I just calculated that the max level woul be 46339 lol xd
 
@R.MartinhoFernandes I have to admit, we had a basically equivalent code for the longest time in our library without noticing. Our excuse, the code was actually much more complex than that and nobody noticed that it essentially boiled down to this for some combinations of types
 
@R.MartinhoFernandes I assume Buffer has an overloaded operator+(char) and operator char *()? Right?
 
@R.MartinhoFernandes It's worse than that really. My simile has always been that it's like teenagers racing cars where the winner gets to keep both cars -- but he gets to drive both cars, and you have to just trust him when he says: "Honest, I was really driving your car as fast as it would go, but mine was faster!"
 
@ecatmur No. Buffer is a char* (it was already null-terminated, and that's why this actually worked by pure luck). For context, that came from TDWTF.
 
1:33 PM
You should add \0 to all your raw pointers, just in case.
@JerryCoffin You didn't include an abstract: -1
 
wassup?
 
@TonyTheLion was soup what?
 
@keith.layne I do get a little long-winded sometimes. Sorry 'bout that. :-)
 
I kind of want some one to try to hack my account so I can see 2-step doing it's work
@JerryCoffin bah, that's nothing compared to @sbi
 
1:41 PM
@JerryCoffin I hope you don't mind me directing some rep that way in the future.
Also, I found a tiny but somewhat jarring typo in there: "but then you get on benefit from the compilation". Want to fix it?
 
funny how one never really gets away with grammatical mistakes/spelling mistakes on the internet.
 
@R.MartinhoFernandes that's not the only one, but at least I'm not a pedant asshole :)
 
Xcode is worse at editing code than Notepad.
 
@keith.layne he's a robot, he's programmed to find errors.
@CatPlusPlus sounds like you're going through hell there. I feel sorry for ya
 
@R.MartinhoFernandes I guess I can't really object to that. Typo fixed. Thanks.
@thecoshman Hmmm...maybe it's a by-product of being an old fart.
 
1:46 PM
@keith.layne Well, that's the only one that I had to stop to decipher.
@TonyTheLion I'm just laughing.
 
@keith.layne If you can point out the others you saw, I'd appreciate it. Might as well fix all I can while I'm editing.
 
@CatPlusPlus but Notepad is teh win!
@TonyTheLion is that so? I never noticed my self
 
To prove Tony's point, you're not getting with "my self" there.
 
1:54 PM
@JerryCoffin oh crap, now I have to reread the whole thing :)
 
@R.MartinhoFernandes really? oh man, that always catches me out :(
 
-15
A: What C++0x feature will have the most impact?

John what day to day C++ development will be like in a few years I wonder how much day-to-day C++ development will still be happening in 5 years. It'll still be around of course but on niche platforms of course, compiler support for the new standard could take years to arrive. And as for ...

^ quick, downvote before it gets deleted!
 
> Microsooft's C++/CLI
@JerryCoffin ^ middle of paragraph before GC section
 
Oh, downvotes on community wiki answers are free? Awesome.
 
2:00 PM
@keith.layne Corrected. Thank you.
 
I thought I saw something else, but clearly it's not eye-catching enough for me to see it on the second read.
 
0
Q: memset leaking mem at template class constructor

Icebone1000This class ctor is leaking memory, I cant say what is going on. How I know? If I comment out the second ctor line, the leak goes away. template< class T, int fixedSize > class Resource_Cache{ private: ID3D11Device * m_pDeviceRef; // the one that actually can create stuff UINT...

 
I was really just harassing Martinho anyway :)
> How I know?
 
> OH GAWD I'M USING POINTERS AND NEW ALL OVER AND HAVE A MEMORY LEAK I'M SURE IT'S BECAUSE OF THE MEMSET.
 
Going back to the question of benchmarks, I find it a bit hard to imagine how anybody could actually look at the results on the computer language benchmarks game site, and characterize it as Java being even close to C++. In terms of speed, the best Java ever manages is a tie, and it sometimes loses by up to about 3x. In memory usage, it's much worse, nearly always losing by a factor of at least 3.
 
2:05 PM
what do you predict is the future for US and the student loan situation?
won't it default eventually
 
In javascript, I believe if (undefined) evaluates to false, is this the case with C++ as well? — bobnargot 54 secs ago
 
did "it" take out a loan?
 
Xeo
Hey robot, how's it going with your proposal?
 
I need to hammer out the little details before I send it off.
I'm not sure what to put under "V. Design Decisions".
 
Xeo
I'm a bit reluctant to propose something myself because of all this formal stuff
 
2:10 PM
@Xeo Be bold. A first proposal doesn't need standardese. They will help iron out that later.
IOW, grow some spheres.
 
What proposal.
 
Needs more blah blah. And jquery.
 
> This proposal has little impact on the current standard, as it consists solely of the addition of an attribute, which, has intended for attributes, does not change program semantics.
 
Xeo
@CatPlusPlus I like how everyone gets that typo
 
2:15 PM
"as intended for attributes"? But it's still weird, I'd just get rid of that.
 
@Xeo This is not current text. I fixed that a long time ago.
 
Xeo
I know, I was the first to point it out here :P
 
2:32 PM
foobargl
 
I have a feeling that my PC is going to reboot automagically tonight.
 
@Xeo This is the current text, btw: gist.io/3170221
gist.io fucks up the code :(
 
-1
A: Why do undefined parameters in an if statement not cause a segfault or another error?

haydnKingCalling array[-1] isn't an error, it's pretty much just shorthand for *(array - 1) i.e. the value at the address one int before array. Assuming the OS has allocated this address to your program, you'll just get some random bit of data cast to an int. Because the data stored at that location is l...

kaboom.
 
@keith.layne Hehe.
 
exterminate! exterminate!
That conveniently brought my rep to a multiple of 5. Right on.
@thecoshman how can you tell that dude he "has the right sort of idea"?
He needs to be corrected with extreme prejudice. Especially when he writes garbage right next to a good answer.
 
2:43 PM
I said he has the right 'thinking'
 
Func<Node, T> somethingWentWrong is a very good parameter name.
 
@thecoshman my bad, misquoted you. Don't sue. But I don't think there's anything right about his thinking or his idea.
 
@keith.layne he is crudely correct in describing what 'array[-1]' is attempting, but like I said, as did many others, it's UB as to what happens when you attempt that
 
@keith.layne Who?
 
@R.MartinhoFernandes second-guessing your grammar?
 
2:50 PM
0
Q: forcing first char of strings to be returned on myString[1] instead of myString[0]?

Adam SerafiniI'd like string representations in my code to start with index 1 (not 0). The paper I'm working from indexes at 1; I'd like to remain consistent with the original description. At the moment I'm simply initialising strings with an additional space char: the_string = ' ' + string; However, it m...

Oh god, why.
 
@R.MartinhoFernandes The array[-1] guy
 
@keith.layne You know, I think I'm wrong. You can actually say it's foobargl behaviour.
 
hey guys I just need a quick answer to this 1 line of code. I just don't know what the identifier is
I'm looking at Google Chrome Source code and I see a class defined like this:
class VIEWS_EXPORT Widget : xxx
{
}
 
grep
control-f
 
But VIEWS_EXPORT is this:
#if defined(COMPONENT_BUILD)
#else // defined(COMPONENT_BUILD)
#define VIEWS_EXPORT
#endif
 
2:54 PM
what is the confusion?
 
Is this a convention/hack/language feature of c++ ??
 
preprocessor macro
 
@keith.layne What is the purpose of defining a class with a preprocessor macro?
class VIEWS_EXPORT Widget
 
it doesn't look like it's doing anything, actually. And it's not "defined with a macro" per se.
 
It's for those __declspec thingies.
 
2:55 PM
the preprocessor replaces the string VIEWS_EXPORT with its definition before compiling
you can pretty much ignore it here
unless you need to understand what it does
 
ok, so I thought it was some funky C++ hack/thing people do..
 
If you don't know what those __declspec thingies are, you can either just pretend VIEWS_EXPORT is not there, or google around what the __declspec thingies are.
 
@R.MartinhoFernandes is it like slapping some meta data into the class?
I thought for a second it could make the build fail or change it somehow.
 
Yeah, sometimes.
 
I see.
 
2:58 PM
The build system will define VIEWS_EXPORT to be something different depending on what kind of build is (this is usual when building DLLs, for example)
If the build system don't define VIEWS_EXPORT, that piece of code you found defines it to nothing, so it won't cause errors.
 
right. So the preproc will just replace the #define before the class name?
 
19
Q: What is __declspec and when do I need to use it?

Scott JI have seen instances of __declspec in the code that I am reading. What is it? And when would I need to use this construct?

 
and it could make the build fail
 
well, that took me all of 10 seconds to find ¬_¬
 
2:59 PM
@thecoshman read my mind I was just looking at it
 
@gideon If VIEWS_EXPORT was not defined it could, but that piece of code makes sure it's always defined.
If it's defined to nothing, the end result is just the normal class Widget : blah blah.
 
Ah i see.
thanks all I wanted to know :)
Thank @R.MartinhoFernandes and @keith.layne. You guys are awesome! :)
 
@gideon good luck.
> nevertheless, this does address another long-standing question: are programmers using certain languages or technologies more welcoming of newbie questions?
 
@keith.layne not sure what you mean there? Was my question really that noobish?
 
@gideon no, unrelated, I was reading that post. Your question was noobish, but that's fine.
 
3:06 PM
Alright :)
 
it was just unfortunately sandwiched between the other two messages :)
 
Hey guise. Any reason why nslookup correctly resolves a hostname, but ping doesn't? (I tried emptying the cache, also the host is reachable. Mac OS X 10.6)
 
I've seen that before, but don't know if I solved it.
 
Anyone ever saw that guy before?
 
3:12 PM
And C# too.
 
Okay. Bin it, please.
 
drive-by link-bomb
 
Thank you.
 
@Cicada I even had a case where ping didn't resolve a host on the local net even though it was in /etc/hosts....but nslookup was fine. Seemed like it was some interaction between all the different parts that was disconnected somehow.
 
3:15 PM
@Cicada are you sure ping is not resolving and simply not just being ignored by server?
 
@Cicada The real problem is OS X.
 
oh yeah, I've never used OS X.
 
It is not polite to enter all active chatrooms and greet people with nothing but a link to your seconds-old question. — R. Martinho Fernandes 6 secs ago
Left them a "warning".
 
You should have left him a "punch in the face." Or maybe a "broken nose."
 
Ah damn. I missed some trolling opportunities.
 
3:18 PM
@keith.layne Despite the near-universal solution I regularly suggest, I'm actually not violent at all.
 
Don't fuck with the QA Squad.
 
I'm not either, I just talk big.
@R.MartinhoFernandes I was however surprised at your gun experience.
 
Playing Battlefield is good gun experience.
(I'm not serious)
 
@keith.layne clearly he's a kill bot, what of it?
 
anyone with any thoughts of what the current "paste-and-run" services such as ideone/codepad are lacking? I'm reviving my own project with the same purpose
 
3:22 PM
I dig this keyboard user script thing
updated c++11 compiler?
syntax highlighting for whitespace?
 
75% of comments are rated as "friendly"?? We need to fix this.
 
@keith.layne an updated c++11 compiler is given!
@keith.layne hmm, what's that?
 
ideone still has GCC 4.5, right?
 
mac os x isn't that bad, I'm using it daily
 
the programming language that consists entirely of whitespace chars, just kidding
 
3:24 PM
@EtiennedeMartel it's still "c++0x" and not "c++11", and they are usually very slow when updating
@keith.layne I actually had support for that on a previous pastebin service of mine
 
@refp I'm also using it daily. I like the platform, but I dislike Apple's business model to cease any form of support or updates the exact second a new version comes out.
 
just for fun you could hilight spaces and tabs differently
 
I don't like the fact that I absolutely need to upgrade to Lion just to use Clang and OpenGL 3.
 
you could add support for piet or mondrian or whatever it's called.
 
@EtiennedeMartel erhm, what? I don't have Lion and I can use clang if I want to
 
3:26 PM
@keith.layne My dad is into hunting, and I used to go hunting with him on weekends since I was a kid, and started hunting with him since I was of legal age (16). Now I rarely do so any more, because I'm not always around. And now my dad is more into fishing.
 
@refp Clang 3.2? With libc++?
 
I grew up with guns around the house (well, not around the house, more like in the gun safe, but you get the idea).
 
@R.MartinhoFernandes fishing is good.
 
@R.MartinhoFernandes Oh, for I second there I tought you had guns growing in trees around your house.
@keith.layne Oh yeah it is.
 
@refp Up-to-date compilers (and boost!), and version control.
Basically, I want gist + liveworkspace.
 
3:28 PM
we had a boat when I was growing up and went fishing all the time in the summer. I haven't fished now for years.
 
:/tmp% uname -a
Darwin H2O.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
:/tmp% clang++-mp-3.2 --version
clang version 3.2 (trunk 160101)
Target: x86_64-apple-darwin10.8.0
Thread model: posix
 
@keith.layne Yeah, fishing is cool, too. Dad got me that bug as well.
 
@R.MartinhoFernandes how advanced must the version control system be? I had a quite "simple" diff and fork-tree on my previous site
 
@refp Like gist.
Oh, and providing stdin as well, which IIRC, liveworkspace doesn't have.
 
@R.MartinhoFernandes oh, well I think mine was a bit more functional than gist to be honest
@R.MartinhoFernandes mhm, that's also given.. I'm going to try to keep it simple and easy to use but provide the same functionality that ideone has (that site is too cluttered)
 
3:31 PM
Oh, and please no JS-y editor crap.
 
an easy socket api would also be quite nice, something that would enable cat foo.cpp | nc domain.com 1234
 
I think vim+paste-inda-textbox is superior.
 
I shall call it ... "NetBeans online"! :P
 
also I don't like the idea of certain syscalls being disables, like the functionality to write/read files.. therefore I'll emulate syscalls by hooking them (using ptrace or such)
no actual files will be written to disk, but the program will behave as if it did
 
Wouldn't a tmpfs do that?
@R.MartinhoFernandes Oh he got the lounge too did he? :) — Leigh 13 mins ago
Hehe.
 
3:34 PM
@R.MartinhoFernandes I'll emulate as much as possible to make it as secure as possible (disregarding the fact that writing a lot of code will probably make it more insecure)
@R.MartinhoFernandes if the actual syscall is NOPed, well.. it's a plus
 
Also, love Raymond Chen's comment on that question.
You tell me what left recursion is. You're the one who brought it up. You can read your textbook or ask your teacher. — Raymond Chen 16 mins ago
 
@R.MartinhoFernandes tmp.glork.org/proposal.png this was a draft of the previous pastebin (lacking remote execution support)
 
I'm not sure diffing is that useful for that kind of service, but if you already have the codez, then by all means.
I'm not sure how representative I am as an user.
 
@R.MartinhoFernandes I'm going to rewrite the whole thing though.. but the diff was put in place to ease "I need help with this code, what do I need to change" thingies
 
Hey Guys
 
3:41 PM
@refp Oh, I see. I usually just use to provide examples to people, or to give proof something works.
@JoshElias Howdy.
 
I wanna get suckless dwm running on my macbook, though it feels as if it's going to be a hassle putting it in there and running without any problems..
I'm really thinking about going back to arch linux and running it on my mac.. but blargh, the reconfiguration of everything will take time
 
If you have a static function:
void WMIWrapper::CreateCOM(wchar_t* err, int errLength)
{
if(FAILED(hRes = CoCreateInstance(CLSID_WbemLocator, NULL, CLSCTX_ALL, IID_PPV_ARGS(&_locator))))
{
ERRStream << "Unable to create a WbemLocator: " << std::hex << hRes << endl;
return;
}

wcscpy_s(err, errLength, ERRStream.str().c_str());

}
_locator has to be static too yes?
 
When I do that, i get unresolved external errors
Error 2 error LNK2001: unresolved external symbol "private: static struct IWbemLocator * WMIWrapper::WMIWrapper::_locator" (?_locator@WMIWrapper@1@0PAUIWbemLocator@@A) C:\Users\Josh\Desktop\WMIWrapper\WMIWrapper\WMIWrapper.obj
 
You need to define it too.
See here:
 
3:47 PM
@R.MartinhoFernandes should I replace the use of mac os x with arch linux on my macbook? yes, no, hell yeah?
 
16
Q: Unresolved external symbol on static class members

DanielVery simply put: I have a class that consists mostly out of static public members, so I can group similar functions together that still have to be called from other classes/functions. Anyway, I have defined two static unsigned chars in my class' public scope, when I try to modify these values i...

@refp You're asking me?
 
@R.MartinhoFernandes yes, and please don't ask me why I'm asking you - I have no idea really
 
I have no idea. I know next to nothing about Macs.
 
yeah I read that
 
Anyone want to write a fairly difficult algorithm?
0
Q: Tessellate a plane of points

DriseI have a file filled with 3d points. The points form a plane. Here is an example file: 25 1 -1 0 1 -0.5 0 1 0 0 1 0.5 0 1 1 0 0.5 -1 0 0.5 -0.5 0 0.5 0 0 0.5 0.5 0 0.5 1 0 0 -1 0 0 -0.5 0 0 0 0 0 0.5 0 0 1 0 -0.5 -1 0 -0.5 -0.5 0 -0.5 0 0 -0.5 0.5 0 -0.5 1 0 -1 -1 0 -1 -0.5 0 -1 0 0 -1 0.5 0 -1 ...

 
3:48 PM
@Drise What did you try.
 
but where do I redefine them exactly?
 
@R.MartinhoFernandes I have an algorithm, but it's not mine to share. It's just really slow.
 
@JoshElias Somewhere in the .cpp file.
 
oh...anywhere? like at the top or something?
 
@Drise You'll have trouble getting help like that. People don't like to be told to "do my work for me", which, while I understand that may not be your intention, it's what it comes across as.
@JoshElias Yeah, it should be fine anywhere.
 
3:50 PM
K I'll give er a shot
 
@R.MartinhoFernandes I would much rather ask "How could this algorithm be improved" but again, it's not mine to share.
 
I'd remove part about the file and just say "I have a bunch of regularly space points. I need to build triangles out of them. What algorithm can I use for that?".
Giving out specs for the file gives off the wrong idea, IMO.
Also, how is your Tri a triangle?
AFAICS it's just a point.
 
@R.MartinhoFernandes IT worked! Thx again, I read that example but thought "IWbemLocator* WMIWrapper::_locator;" in my .cpp didn't make sense. So you have to REDeclare all static members in your CPP?
 
No, just define them.
 
doesn't that happen in the constructor?
 
3:54 PM
It just looks like a redeclaration to the untrained eye :)
 
ooo
 
@JoshElias You got the terminology wrong, as it's called a definition, but the idea is that.
 
static...class variables..
not instance variables...this is starting to click i think
am I on the right track, you wouldn't define them in the constructor because you don't need an instance to use them? so they need to get defined externally?
 
Just remember that the header (where the var is declared) can be included any number of times, but the static var must only be defined once.
 
right on! thx for the help guys!
 
3:57 PM
good luck
 
o hai
another woefully boring day of work
 
@refp You got that through MacPorts?
 
@EtiennedeMartel mhm
 
Do you think that running a linux VM fullscreen on one monitor and windows on the other will confuse my retarded coworkers?
 
@EtiennedeMartel as I recall there was a few bumps on the way, but nothing a little bit of vim configure couldn't handle
 
3:59 PM
is anybody here familiar with Unity BTW?
Unity3D I mean
 
@keith.layne, Probably.
 

« first day (647 days earlier)      last day (4294 days later) »