general-purpose

Lua as a general-purpose scripting language?

When I see Lua, the only thing I ever read is "great for embedding", "fast", "lightweight" and more often than anything else: "World of Warcraft" or in short "WoW". Why is it limited to embedding the whole thing into another application? Why not write general-purpose scripts like you do with Python or Perl? Lua seems to be doing great ...

Has Lua a future as a general-purpose scripting language?

As already discussed in "Lua as a general-purpose scripting language?" Lua currently probably isn't the best scripting language for the desktop environment. But what do you think about the future? Will Lua get so popular that there will soon be enough libraries to be able to use it like Python, Ruby or something similar? Or will it sim...

What are your top priorities for features in a general purpose programming language?

My definition of general purpose is a bit specific: a general purpose programming language should be able to handle all problem domains, including implementing operating system kernels, device drivers and all sorts of programming language facilities. This definition basically excludes all mandatory garbage collected languages (including ...

What to tell an MBA Boss?

Hello all, I have joined recently a small web company, whose only product now is a web product, which until now was being developed by another company (it was outsourced). Recently I am appointed as Tech Lead here with following responsibilities: System Optimization for performance and scalability - front-end and back-end - match glob...

Does anyone know how many sentences there are in the original Penn Treebank?

I can't seem to find that in the documentation anywhere ...

If 'else' is about to happen anyway should it be declared or not?

Possible Duplicate: Should else be kept or dropped in cases where its not needed? When a = 0 This: var foo = function() { if (a != 0) return true return false } Or this: var bar = function() { if (a != 0) return true else return false } ...

is there a particular format, which is understood by all applications (i.e specially readers like doc, pdf )

well i faced i lot of prob converting the html data on page to pdf and to doc making sure images also appear in the converted article but failed i understand that XML is something like a foundation so is it? and how to use it? i mean any guide of how to generate the xml of the page and then to change its extension to the needed(pdf,d...

So I want to create a browser-based interactive realtime animation of the Earth and the other planets going around the Sun...where do I start?

Hello. I would like to create a browser based, interactive, realtime animation, showing the Earth as it goes around the sun, depending on the time of day and time of year. This animation should also (eventually) show the other planets in the solar system and the user should be able to pan around the solar system and see it from differen...

which programming language is best suitable for music application developing?

Hello all, I would like to write a piano application, where i could press keys and hear sound like in piano. Which language is the best and which Skills I need to solve that? Best regards, Ragims ...

How would you explain what an iPad is to your grandfather?

I was asked in an interview: How would you explain what an iPad is to your grandfather? please give some realistic idea to really make this happen... ...

Which applications are best developed in C++ over C# in today's business?

I'm only curious. I have already developed microcontroller software in C and Assembly. So, I can see an application for these languages. As for today, I'm specialized in information and process systems and even though C++ is object-oriented and offers powerful development capabilities, we mostly develop in .NET C#. So my question is t...

General Purpose Registers - Order

Why are the general purpose registers ordered as they are? (eax, ecx, edx, ecx) For example when regarding the "inc" instruction, the opcodes are: inc eax - 40 inc ecx - 41 inc edx - 42 inc ebx - 43 Is there a reason why they are ordered that way? ...

Javascript as a general purpose language?

In a weekend geek seminar I attended, several instructors extolled the virtues of Javascript. I've used Javascript to some extent, but their enthusiasm caused me to want to step a little closer. I've learned bits-and-pieces about Rhino & SpiderMonkey. I know about server-side scripting & the restrictions placed on local file access (and...

How to return local vars([object]) from function?

I use vars() function for the first time, and noticed this behaviour: nodes = ['one', 'two', 'three'] for node in nodes: vars()[node + '_'] = 'some calc ' + node vars()[node] = vars()[node + '_'] print one With this snippet Python outputs some calc one as expected, but if I use it inside function like this: def main(): ...

What generic, flexible user interfaces are there which can relate to a variety of backends?

What I'm looking for is a type of user interface that has various generic elements which can be edited and arranged in a WYSIWYG manner by the user. Various backend models can be plugged in, and the user can then edit layouts of buttons, sliders, textual or graphic display elements, etc., and hook them up to control and display aspects ...