52,921 reputation
10148230
bio website tech.turbu-rpg.com
location Seattle, WA
age 32
visits member for 4 years, 8 months
seen 3 hours ago
A lifelong programmer who's been coding in Delphi since its initial release and currently makes a living at it.

2d
comment Does the company own my work?
@Josh: Then the company owns the files; give them back. It's really that simple. They don't own you, and you're free to leave if you don't want to stay, but if the contract says your work belongs to them you're obligated to respect that.
2d
answered Does the company own my work?
May
21
comment Why is the Java bytecode instruction set not orthogonal?
Wasn't Java actually originally designed for embedded systems? (In the early-to-mid 90s, well before the advent of the Arduino and similar, those definitely qualify as memory-constrained!)
May
12
comment Why dynamically typed languages do not let the developer specify the type?
Metaprogramming is "not easy to describe in a static manner"? When I work with Boo, I find that to be the exact opposite of the truth: The AST is defined in a statically-typed, object-oriented hierarchy, and so writing visitors and code generators becomes that much easier because each AST node carries around well-defined information about its identity and semantic content just from being a member of whatever class it is.
May
10
comment How do web servers enforce the same-origin policy?
@Benny: That's highly unlikely. The Referer line is generated by the user's web browser, and the user is the victim here, not the attacker. He has no reason to forge the Referer, and the attacker doesn't have the opportunity to do so.
May
7
awarded  Guru
May
6
comment What are the chances of Google's Go becoming a mainstream language?
@hippietrail: It came in at #12 in the recent Code2014 poll. (By comparison, Objective-C--and the entire iOS platform by association--came in at #16.) Everything above it is a major language that pretty much every developer knows about even if they don't actually use it. So it would seem that it's gotten pretty big pretty quickly. Granted, it's a pretty informal poll, but it gives a decent "finger on the pulse" snapshot of current developer attitudes.
May
5
comment How to operate a computer without an operating system?
@JörgWMittag: That may have been true in 1981, when that article was written, but today it's a very different deal. Heck, in 1984 it was a very different deal! A better definition would be, "the Operating System is the standard library for the platform itself." Also, any paper that cites Lisp, APL and Smalltalk as "examples of success" when all three have been anything but loses a lot of credibility right there.
May
4
awarded  Good Answer
May
4
comment Is the regex syntax in .net 3.5 the same as the regex syntax in the latest version of .net framework in c#?
That's actually referencing an old joke about how if you try to solve a problem with regular expressions, now you have two problems.
May
4
comment Is the regex syntax in .net 3.5 the same as the regex syntax in the latest version of .net framework in c#?
If it's changed, then do you now have three problems?
May
4
comment Why does C provide language 'bindings' where C++ falls short?
@DocBrown: Then feel free to write an answer that answers that. But in the meantime, count the upvotes. I'm clearly not the only person around here who thinks that I answered what's being asked.
May
4
awarded  Nice Answer
May
4
comment Why does C provide language 'bindings' where C++ falls short?
@DocBrown: Sure looks to me like the question is about C language bindings vs. C++ language bindings.
May
4
answered Why does C provide language 'bindings' where C++ falls short?
May
1
comment How would I prevent assemblies that have been digitally signed from being called by unsigned assemblies?
@RobertHarvey: That does seem entirely unreasonable to me. If you don't want anything but your program to use this code, why put it in an external DLL? As I said, that's the entire point of making an external DLL.
May
1
comment How would I prevent assemblies that have been digitally signed from being called by unsigned assemblies?
Why would you want this? Digital signing means "I can prove who the author of this assembly is." I can see why you would want to say "my signed code can't call into an unsigned, and therefore untrusted, assembly," but I don't see any legitimate reason to say "nobody who I'm not already familiar with can use my code." That goes against the whole point of putting your code in an assembly in the first place--making it accessible to external code--and it smacks of DRM, which 1) doesn't and never can work and 2) is generally regarded as malware around here.
Apr
30
answered Should method names getX and setX only be used for fields and have no other effects?
Apr
28
comment Why do many exception messages not contain useful details?
chances are the users will never write it down... and you will be told "Well it said something about a violation..." This is why you use an exception logging tool to automatically generate the error report containing the stack trace and possibly even send it to your server. I had one user one time who was not very technical. Every time she would submit a message from the error logger, it would go something like "I'm not sure what I did wrong, but..." no matter how many times I explained that this error meant the bug was on my side. But, I always got the error reports from her!
Apr
24
comment Which mathematical properties apply to XOR Swap algorithm (and similar bitwise operator algorithms)?
@David: It does on early CPU architectures. An XOR looks at each bit position independently of any other bits, whereas + and - require carry operations where the result of an operation on one bit can affect the operation on neighboring bits. This means it's a more complicated operation to implement, and it used to take multiple cycles before Moore's Law made it cheap to implement the complicated transistor logic needed to do addition in a single CPU cycle. Look up the history of the Binary Adder for the details.