|
I know. I was showing that neither the original array was the problem nor the e.Operator was.
There was a question about whether it was null -- so I answered.
|
|
|
|
|
raddevus wrote: There was a question about whether it was null -- so I answered There was a statement that it was null. I'm glad you disagree
|
|
|
|
|
If this was C++, I'd wonder if loop unrolling and parallel execution of the individual loop iterations was happening. That would cause race conditions on the value in e.Operator.
Maybe try rerunning that with affinity set to a single core. Or maybe try it with a Fibonacci computation in the loop -- something whose result depends on inputs from the previous iterations, and therefore prevents loop unrolling and parallel execution.
We can program with only 1's, but if all you've got are zeros, you've got nothing.
|
|
|
|
|
Interesting ideas.
|
|
|
|
|
No programming questions in the lounge!
Even if they're Microsoft bug programming questions!
Marc
|
|
|
|
|
Don't you have articles to write?
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
John Simmons / outlaw programmer wrote: Don't you have articles to write?
Marc
|
|
|
|
|
You can kill it with reflection, but that wouldn't happen by accident..
|
|
|
|
|
My cat did walk on the keyboard...
I have a theory that the same happened to Brendan Eich. When he removed the cat from the keyboard something that looked like a language appeared on the screen and thus JavaScript was born. Cats really are evil (yet fluffy and lovable) creatures
|
|
|
|
|
If a cat was involved I'm pretty sure it wasn't by walking on the keyboard. Mistaking it as the litter box OTOH...
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Hey now, my code isn't THAT bad!
|
|
|
|
|
I didn't realize you were one of brendan's pseudonyms...
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Neither did I, who's this Brendan?
|
|
|
|
|
You might want to talk to your quack about alzheimers the next time you schedule an appointment since you wrote this a little more than an hour ago[^]:
Sander Rossel wrote: I have a theory that the same happened to Brendan Eich. When he removed the cat from the keyboard something that looked like a language appeared on the screen and thus JavaScript was born.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Oh, THAT Brendan!
Actually, I've been doing a lot of JavaScript lately. It messes with my mental health, so I'm not fully accountable for what I say or do. Me and the voices in my head are trying to figure it all out, until we do please bare with us
|
|
|
|
|
Hey now, there's no need to blame cats for that!
The problem was (as it often is) a last minute change request from management . I imagine it went something like: "Hey Brendan, we decided we need to add a scripting language that looks Java before Netscape 2.0 ships in 10 days. That should be a simple change, right?".
|
|
|
|
|
Static fields are initialized in the textual order in the source code. So there are situations, particularly to do with partial or full circular references where you may access a field before it's initialized. These issues may be hard to repro in test conditions, and are more commonly observed in multi-threaded environments, or where serialization is involved (such as with remoting/WCF).
|
|
|
|
|
Yeah, but since variable e is an initialized ExpressionModel I'd say ConditionOperators should be initialized. Also because the code worked a few times already (without restarting)
If this happened in production I'd pretty much be at a loss
|
|
|
|
|
Worst case, you could brute-force a contrived unit test until the bug is repro'd
|
|
|
|
|
Worst case, I abandon programming altogether, can't find a new career, end up in the gutter and die of alcohol poisoning at the age of 34
Or maybe your case IS worse...
|
|
|
|
|
Ok, Mister TakesEverythingLiterally, why don't you go back to bug fixing instead of these nerdy joke attempts.
|
|
|
|
|
Nish Nishant wrote: why don't you go back to bug fixing Actually, this project is still in development phase, a.k.a. the phase were bugs are produced
After that we'll deliver to the production server so we (our users) can test the application.
And then we can do some bug fixing
|
|
|
|
|
Ah, the all-important phase-1 of any software project, developers writing hard-to-find bugs
|
|
|
|
|
Florence + The Machine - I Will Be[^]
Florence + The Machine did some tracks for the upcoming Final Fantasy XV
I'm a fan of both, so that's double good news
Three awesome tracks, but only one can be my sound of the week.
I really like the ambiance in this one, combined with the powerful voice of Florence.
Enjoy
|
|
|
|
|
I think that after you get enough rep points you should be able to obtain the Forum Nazi privilege level that allows you to instantly close any question in Q&A where the OP states they get an error but doesn't say what the error is, or says what the error is and dumps 300 lines of code but doesn't say what line the error occurs at.
|
|
|
|