Skip to content

Instantly share code, notes, and snippets.

View zenogantner's full-sized avatar

Zeno Gantner zenogantner

View GitHub Profile
@zenogantner
zenogantner / gist:1245362
Created September 27, 2011 15:24
Niecza stack trace
Could not load signature of MyMediaLite.Data.Ratings:GetUsers due to:
Could not load signature of MyMediaLite.Data.IRatings:GetUsers due to:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Could not load type 'MyMediaLite.Data.Ratings' from assembly 'MyMediaLite, Version=1.99.4287.30433, Culture=neutral, PublicKeyToken=null'.
at MyMediaLite.IO.RatingData.Read (System.String filename, IEntityMapping user_mapping, IEntityMapping item_mapping) [0x00024] in /home/mrg/src/mymedialite/src/MyMediaLite/IO/RatingData.cs:41
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d0] in /mnt/data/src/mono-2.10.5/mcs/class/corlib/System.Reflection/MonoMeth
@zenogantner
zenogantner / rating_prediction.p6
Created September 27, 2011 15:10
Perl 6 / MyMediaLite example script
# load assembly
CLR::System::Reflection::Assembly.LoadFrom("../../src/MyMediaLite/bin/Debug/MyMediaLite.dll");
# get types from assembly
#constant EntityMapping = CLR::("MyMediaLite.Data.EntityMapping,MyMediaLite");
#constant RatingData = CLR::("MyMediaLite.IO.RatingData,MyMediaLite");
#constant MatrixFactorization = CLR::("MyMediaLite.RatingPrediction.MatrixFactorization,MyMediaLite");
#constant EvalRatings = CLR::("MyMediaLite.Eval.Ratings,MyMediaLite");
# load the data