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

1d
comment Why was the Itanium processor difficult to write a compiler for?
@supercat: I'm not talking about a hypothetical VM, but about a hypothetical IR that would be compiled the rest of the way by an Intel code generator.
1d
comment Pass by value result with exceptions
What language is this? It appears to use C-like syntax, but the "value-result" modifier isn't from anything I'm familiar with.
Apr
15
comment Sharing source code of my online game?
So you made a game 4 years ago that's built up a decent community of players, and now you're wondering about making it more open. First thing I think of is Neverwinter Nights. It came out in 2002, and it still has a strong, active fan community, because they included a comprehensive editor/mod tool set that can turn a non-trivial percentage of players into co-creators who build upon the established foundation of NWN. Releasing the source would be the ultimate expression of this attitude, and would make your community stronger, if less centralized. I say go for it!
Apr
13
comment Why do many exception messages not contain useful details?
Again, there's nothing wrong with letting the user see the entire stack trace, as long as the software is client-side. Every professional software project I've ever worked on, and most of the amateur ones as well, contained a logging system that would generate a full error dump when an unhandled exception was raised, including full stack traces of all currently-running threads in the process. And the user could (gasp, oh horror!) look at it any time he wanted, since that is necessary (not simply useful, but required) in order to send the error message back to us! What is wrong with that?
Apr
13
comment Why do many exception messages not contain useful details?
@Snowman: Yes, that's exactly the point of my original comment.
Apr
13
comment Why do many exception messages not contain useful details?
@Snowman: What's inaccessible to the user if it's client-side software? The owner of the machine owns the machine and can get at anything.
Apr
13
comment Why do many exception messages not contain useful details?
@Telastyn: Only if your system is open to attackers. If you're running a Web server, for example, you want to serve up bland error messages to the end-user, but you still want very detailed error messages to get logged at your end. And on client-side software, where the user is not an attacker, you definitely want those error messages to be as detailed as possible, so that when something goes wrong and you get sent a bug report, you have as much information to work with as possible, because a lot of times that's all you get.
Apr
10
comment Why in C# int template/generic parameters were not added?
Feel free to correct me on this, but isn't it true that 1) integer templates are what enable Turing Completeness in C++ templates, and 2) this means that C++ now has a Turing Complete sub-language capable of arbitrary computations, but without any implementation providing a debugger for the evaluator of that sub-language, which is a big part of the reason why templates are generally considered a horrible mess of write-only code? There's a good reason why most other languages that came after C++ have avoided going down the same path!
Apr
8
comment Language compiled to JS – most elegant way to do synchronous-style waits
synchronously (without blocking the thread, of course) You keep using that word. I do not think it means what you think it means, because synchronously means "blocking the thread".
Apr
8
comment NoSQL within SQL Server
@BlueRaja: Umm... XML databases are slow, particularly compared to relational databases. Since when is that controversial, or an opinion?
Apr
1
comment What's an elegant way for one loop iteration to affect another?
@omouse: ...and then he would have two problems. That saying's become idiomatic for a reason.
Mar
30
comment NoSQL within SQL Server
@MichaelT: Thanks for the link. I knew that was TDWTF material...
Mar
29
comment Does path coverage guarantee finding all bugs?
@Ixrec: SQLite makes a pretty valiant effort, though! But look at what an enormous effort it is! That wouldn't scale well to large codebases.
Mar
29
comment Does path coverage guarantee finding all bugs?
@digitgopher: I suppose, but if a program has no input, what useful thing does it do?
Mar
28
comment What kinds of Open-Source licenses are NOT OK to use internally in a corporation?
You would really want to take this up with someone from your company. As a general principle, using anything GPL in proprietary software is a violation. The GPL license is viral, which means if your company uses GPL-licensed code, they essentially have to open-source the entire project. Most open-source licenses are not viral, though. Some, like the Mozilla Public License, require you to freely publish changes you make to the MPL codebase itself, but that requirement doesn't carry over to your own code. But this is really too broad of a question to easily answer here.
Mar
27
comment Why did Alan Kay say, “The Internet was so well done, but the web was by amateurs”?
+1. A lot of what Alan Kay says makes him appear to be the sort of person who would not get the old joke about the difference between theory and practice. He's developed a lot of great theories over the years which have failed horribly in practice, and have been thoroughly out-competed in the "marketplace of ideas" by less theoretically pretty systems that actually work well, and Kay's never seemed to truly understand that.
Mar
24
comment How can I pass String value from EditText In Android Activity to Python Script and also retrieve the result from a function in the python script?
Well, first you would need an in-process Python script interpreter for Android. As far as I'm aware, no such thing exists. There have been a few attempts to create one, but none of the projects have ever been completed.
Mar
24
comment Better to write your .NET library with COM limitations in mind, or separate your .NET library from Interop?
Very strange line from the article: "But why would someone ever think of exposing a nice and clean .NET library for a development platform (COM) that was deprecated decades ago?" COM is deprecated? I think someone forgot to tell the folks at Microsoft; they're still adding new features to Windows with it!
Mar
20
comment Is CORBA outdated?
SOAP never was a good idea, even when it was popular.
Mar
16
comment Why use an enum to determine node type in a parse tree?
There are two basic ways. One is to have the node classes themselves contain the necessary logic for the compilation process; the other is to have the base node class declare methods to implement the Visitor Pattern and have visitor classes contain the compilation logic.