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

1d
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.
2d
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
21
awarded  Good Answer
Mar
21
revised How can I make a Python function examine every element of a list?
added 25 characters in body
Mar
21
awarded  Good Answer
Mar
21
awarded  Nice Answer
Mar
20
answered How come the computer doesn't have to read the entire table when the column is indexed?
Mar
20
comment Is CORBA outdated?
SOAP never was a good idea, even when it was popular.
Mar
18
awarded  Nice Answer
Mar
17
answered When is it a good idea to force garbage collection?
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.
Mar
16
comment Why use an enum to determine node type in a parse tree?
Why would you have to do that? The base class doesn't need all those properties; just the ones that are common to all nodes. What needs to know about the capabilities of all the disparate descendant classes is the code that operates on the trees. I've poked around inside a handful of compilers with polymorphic ADTs, implemented in various different styles, and never seen the problem you're describing.
Mar
16
comment Why use an enum to determine node type in a parse tree?
For parse trees especially, it is very uncommon to use polymorphism. It would require the base node type to know about all of the different capabilities/properties/attributes of every different node type in the parse tree. Why? The entire point of a polymorphic base class is that it doesn't have to know what its descendants are up to.
Mar
13
comment component-based power system for a game
OK, now I'm all confuzzled. I thought it was called UnrealScript. Granted, it's been a while since I did any work in that area, but... has that changed?
Mar
13
comment component-based power system for a game
C++? I thought Unreal had its own built-in scripting language.
Mar
12
comment Why JavaScript? What's the advantages?
You basically hit on it already. JavaScript is essentially the Comcast of programming languages: no matter how much it sucks, you really don't have much of a choice but to use it for a specific domain, because it's the only game in town.
Mar
11
comment How would you design a user database with custom fields
A schema is a fixed thing, by definition; you can't set one up if you don't know what the fields that you need are. Have a look at Entity-Attribute-Value for one way problems like this tend to get solved in a relational database.
Mar
11
comment In a program written in Pascal, what hardware components are used?
@MichaelT: Sure, but getting into the often-blurry distinctions between "true" compilers, VM bytecode compilers, and "true" interpreters can get confusing even for experienced developers. I deliberately gave a simple answer here to help get an inexperienced developer started.