|
Or at least know how to grease palms.
/ravi
|
|
|
|
|
It's easy to find those less savory characters.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
Yes, they're the salt of the earth.
/ravi
|
|
|
|
|
|
Your brain: it fascinates and scares me.
cheers
Chris Maunder
|
|
|
|
|
Sounds like a line from Zachary Quinto's character 'Sylar'[^] on Heroes.
Hmm.
Hamster-wrangling could be a superpower in certain contexts...
Software Zen: delete this;
|
|
|
|
|
That's possibly the nicest thing anyone has said to me all day!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Nice try there, Bridge. Unfortunately, math is broken. This is common for all those converters to JavaScript (except Emscripten of course, which actually works). Could we all stop doing this, please? It's not that hard to get it right.
Bridge.NET right now:
int a = int.MaxValue;
int b = a + a;
Global.Alert(b);
var a = 2147483647;
var b = a + a;
Bridge.global.alert(b);
http://live.bridge.net/#4c6aca236466b524c45e[^]
No Bridge, an int cannot be 4294967294. The only correct result is -2, because the only correct result is "whatever C# does".
Suggested code: come on guys, this is trivial to generate.
var a = 2147483647;
var b = a + a | 0;
Bridge.global.alert(b);
long doesn't even begin to work. I admit that would be a bit trickier, but tough sh*t, the job of a compiler is to get the semantics right, even if it isn't trivial. I'm disappointed, and frankly, annoyed. "But GWT does it too!" - yes and they were wrong to do it. Bridge seems to be yet an other syntax converter that doesn't actually care about semantics. And what's the point of that? If I have to write "JavaScript, but in C#" then why would I even do it? I don't get to use existing C# code because it wouldn't bloody work, the only thing I get is slightly different syntax. It doesn't even do type checking.
modified 20-Oct-15 10:08am.
|
|
|
|
|
Hi Harold, good catch: did you notify Bridge about this ?
«I want to stay as close to the edge as I can without going over. Out on the edge you see all kinds of things you can't see from the center» Kurt Vonnegut.
|
|
|
|
|
Not yet. Do you think it would help? I can't imagine they don't know about this already.
|
|
|
|
|
I can. It's an edge case - okay, it's one that's pretty easy to check, but I doubt they've been so rigorous with cases like this.
|
|
|
|
|
Alright then. I've tweeted them, might also post in their forum
|
|
|
|
|
Maybe they'll give you a pressie for finding something they missed
|
|
|
|
|
harold aptroot wrote: Bridge seems to be yet an other syntax converter that doesn't actually care about semantics.
Javascript has semantics???
Marc
|
|
|
|
|
... and that's when the fight started.
Software Zen: delete this;
|
|
|
|
|
|
I ahve 2 GB and only because I stole 1 GB from a machine that has been lended to me indefinetely. Someday someone may ask me to return it and then I'll have 1 GB of RAM again.
Think of 2 VS2008 instances running, one debuggng the other (I was developing an add-on) with only a single, meager GB of RAM.
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
"When you have eliminated the JavaScript, whatever remains must be an empty page." -- Mike Hankey
|
|
|
|
|
I assume you're only still working there because several years later you're still waiting for Word to finish loading so you can update your resume.
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
|
|
|
|
|
Usually we work with Visual Basic 6 and Visual C++ 6, so performance are rarely a problem. In 2012 they were planning to switch to VS2008 (always on the cutting edge ) but having 600+ projects to mantain under VS6 and several idiosincrasies between syntax and include files, coupled with a stubborn coworker (we are two teams of two and I'm the younger one, so a single developer is a force to be reckoned with) made the change both impossible and too damn late to be useful.
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
"When you have eliminated the JavaScript, whatever remains must be an empty page." -- Mike Hankey
|
|
|
|
|
But on the plus side, the VB6 runtimes still ship with Win10...you still have several years to migrate to .NET!
"Go forth into the source" - Neal Morse
|
|
|
|
|
|
|
Are you kidding, right? Who'd put sensitive core business as QA of a production line over the net? The few machines that are connected over Internet in order to have remote maintenance are connected to VPNs. Also we provide an antivirus.
Those are embedded systems not servers or workstation, ideally the only communication with the machine should occur by PLC. Nobody in the sane world puts machines that control the production lines over the net accessible "urbi et orbi"!
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
"When you have eliminated the JavaScript, whatever remains must be an empty page." -- Mike Hankey
|
|
|
|
|
When a clueless auditor and a clueless PHB realize they've got unpatched boxes and/or boxes whose OS licenses can't be verified by the automatic network scanning tools because they're not networked...
Or when the bored operator plugs in a network cable so he can screw around on the internet without having to go back to his desk or get his phone out of his pocket.
If you can gaurantee they'll never be attached to the internet, never being patched probably doesn't matter (although ask the Iranians about Stuxnet ); but I'll bet on human stupidity every time.
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
|
|
|
|
|
Normally in production lines there is an almost militaristic control of what happens - tampering with the equipment could cost days of lost production. We still have Win2000 machines up and running in several plants.
Dan Neely wrote: Or when the bored operator plugs in a network cable so he can screw around on the internet without having to go back to his desk or get his phone out of his pocket. We have an antivirus on every machine, plus this kind of behavior brings trouble to the operator due to misconduct, not to us. The machine is sealed, it must be treated as an embedded system.
Dan Neely wrote: When a clueless auditor and a clueless PHB realize they've got unpatched boxes and/or boxes whose OS licenses can't be verified by the automatic network scanning tools because they're not networked...
Then they patch it, break drivers, stand with uninspected (impossible to sell in many cases) production for several days until a qualified technician restores the machine and gets fired. It happened several times in the past, it's not happening anymore... I wonder why
Those machines are almost never attached even to the company LAN and the very few customer who do so have strong network policies so that teh machine is off-line. When they are connected to a LAN they are usually on isolated special purpose LANs.
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
"When you have eliminated the JavaScript, whatever remains must be an empty page." -- Mike Hankey
|
|
|
|