reason

scripting fruityloops or propellerheads reason from VB or Python?

I have both Fruityloops and Propellerheads Reason software synths on my Windows PC. Any way I can get at and script these from either Visual Basic or Python? Or at least send Midi messages to the synths from code? Update : attempts to use something like a "midi-mapper" (thanks for link MusiGenesis) don't seem to work. I don't think Rea...

"Every language was created for a specific purpose"

I was reading the post Why Language is Important (Why I prefer C#) from 'Dot Net Thoughts' and the first paragraph of the article ends with this statement: ...every language was created for a specific purpose. This got me thinking about exactly "why" certain languages exist...ie what is their specific reason of their existence. ...

What is the purpose of Scala language?

It is my opinion that every language was created for a specific purpose. What was Scala created for and what problems does it best solve? ...

Reason for unintuitive UnboundLocalError behaviour

Note: There is a very similar question here. Bear with me, however; my question is not "Why does the error happen," but "Why was Python implemented as to throw an error in this case." I just stumbled over this: a = 5 def x() print a a = 6 x() throws an UnboundLocalException. Now, I do know why that happens (later in this scop...

iPhone Dev - Using a getter in the same class

(Just to let you now, I'm learning to develop for iPhone with a book I got called Beginning iPhone 3 Development: Exploring the SDK, and I do not use Interface builder) Is there ever a reason to use the getter in the same class, when a private member is visible? Like in Foo.h, having NSObject *myObj; ... @property (nonatomic, retain)NSO...

TSQL - SOME | ANY why are they same with different names?

According to MSDN BOL (Books Online) description on SOME | ANY (Transact-SQL), SOME and ANY are equivalent. It does make sense to use either SOME | ANY to make a query more readable. But is that the only reason why there are 2 keywords in TSQL where they serve the exactly the same purpose? Are there any historic reasons why they ...

Why are so many errors "AccessViolationException"s?

I have seen many errors over the course of my computer-using life, and a lot of them seemed to be Access Violation Exceptions calling way out into non-readable memory or 0x00000000/0xFFFFFFFF. What sort of programming error causes this? is it intentional to get the program to crash when something goes very wrong? ...

How can I get the Windows last reboot reason

I'd like to know what is the Windows API function (if any exists) that provides information about the last Windows reboot source. There are three main possible causes: The computer crashed on a blue screen A user or a program shutdown/restarted the computer A power lost The more details I can get the better. However, I need to know a...

What situations demand the use of eval() because there are no alternatives?

I know eval should be avoided in JavaScript for speed and security reasons. But in the case of PHP, rarely is security ever mentioned. More often, it's your program running slower than it should because of a haphazard use of eval. In what specific situations should you use eval because there is no other way around it? For clarity: We'...