Monthly Archives: February 2013

RX Example

Just an update to the doc with the Rx tutorial: Newer versions of Rx need a small change to the source code: Observable.FromEvent<EventArgs>(txt, “TextChanged”) Changes to Observable.FromEventPattern<EventArgs>(txt, “TextChanged”) And the references are: System.Reactive.Core System.Reactive.Interfaces System.Reactive.PlatformServices System.Reactive.Linq System.Reactive.Windows.Forms Rx is available on … Continue reading

Posted in C# | Tagged , | Leave a comment

Embedding a Python Interpreter in Java – Jython

So here is the other half of the code – the Java test end (Note Test Class in this case is a simple Java class with a property (string) Value) (The real case would not use propertis due to the … Continue reading

Posted in Python | Tagged , , , | Leave a comment

Embedding a Python Interpreter in C# – Iron Python

I needed to be able to execute scripts in two client applications. One was written in Java the other in C#. The script needs to manipulate classes in the language the interpreter in embedded in. This program works with IronPython … Continue reading

Posted in Python | Tagged , , | Leave a comment

More on F# Units

Another wonderful thing about units in F# is that you can specify conversions. Consider the following: [<Measure>] type s [<Measure>] type m [<Measure>] type v = m / s let v1 = 1<m> let v2 = 1<s> let v3 = … Continue reading

Posted in F# | Tagged | Leave a comment