Re: [Mono-list] open sourcing all of Microsoft .net

2013-09-06 Thread Mike Christensen
I'm pretty sure it already is..

http://referencesource.microsoft.com/netframework.aspx


On Wed, Sep 4, 2013 at 11:33 PM, nite n...@achren.org wrote:

 Has the case ever been made to Microsoft to open source all of .net? It's
 heading that way, now even the asp.net stack is open. Not much to lose, as
 it isn't part of their core business, and still not part of their core
 windows stack. Loads to gain, massive kudos from the dev community and the
 chance to win back the hoards of devs jaded by Microsoft for various
 reasons.

 Has anyone from the mono camp ever tried lobbying them, or aware of any
 efforts? What was the response?



 --
 View this message in context:
 http://mono.1490590.n4.nabble.com/open-sourcing-all-of-Microsoft-net-tp4660784.html
 Sent from the Mono - General mailing list archive at Nabble.com.
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] open sourcing all of Microsoft .net

2013-09-06 Thread Mike Christensen
Ah so it's more of a license issue than releasing the source issue.  Yea,
I seriously doubt that will ever happen.  But who knows..


On Fri, Sep 6, 2013 at 10:19 AM, Andrew Clancy n...@achren.org wrote:

 That's not open source, that's readable source, you can't fork it or use
 it, nor merge it with mono  have an official .net framework for linux etc.
 My thoughts are, if we did have this there'd be more appetite/scope to
 implement in .net in corporates and environments where linux and/or java
 rule. Where I work mono isn't an option as there's no other companies of
 our size using it to the scale we use java, but if a Microsoft backed .net
 made it to linux it may be an option (and I'm sure if ms open sourced it
 mono would do most of the work to merge, ms would just need to stamp
 approval)
 On 6 Sep 2013 18:10, Mike Christensen m...@kitchenpc.com wrote:

 I'm pretty sure it already is..

 http://referencesource.microsoft.com/netframework.aspx


 On Wed, Sep 4, 2013 at 11:33 PM, nite n...@achren.org wrote:

 Has the case ever been made to Microsoft to open source all of .net? It's
 heading that way, now even the asp.net stack is open. Not much to lose,
 as
 it isn't part of their core business, and still not part of their core
 windows stack. Loads to gain, massive kudos from the dev community and
 the
 chance to win back the hoards of devs jaded by Microsoft for various
 reasons.

 Has anyone from the mono camp ever tried lobbying them, or aware of any
 efforts? What was the response?



 --
 View this message in context:
 http://mono.1490590.n4.nabble.com/open-sourcing-all-of-Microsoft-net-tp4660784.html
 Sent from the Mono - General mailing list archive at Nabble.com.
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list



___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] java parser in C#

2013-04-09 Thread Mike Christensen
For it to really be useful, you'd have to make the runtime run compiled
Java code as well.  Otherwise, you'd have to re-write all the libraries..

Honestly, I'd rather just write in C#.  It's a way better language.


On Sun, Apr 7, 2013 at 11:33 AM, mutasim d_muta...@hotmail.com wrote:

 Good Day

 i think mono C# compiler can handle the java source excution as the parser
 of java is not different from C# just few syntaxes will be modify, as there
 alot of programmers using java for there development , and add java to the
 .net platform will return the J# to the developers



 --
 View this message in context:
 http://mono.1490590.n4.nabble.com/java-parser-in-C-tp4659251.html
 Sent from the Mono - General mailing list archive at Nabble.com.
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] java parser in C#

2013-04-07 Thread Mike Christensen
For it to really be useful, you'd have to make the runtime run compiled
Java code as well.  Otherwise, you'd have to re-write all the libraries..

Honestly, I'd rather just write in C#.  It's a way better language.


On Sun, Apr 7, 2013 at 11:33 AM, mutasim d_muta...@hotmail.com wrote:

 Good Day

 i think mono C# compiler can handle the java source excution as the parser
 of java is not different from C# just few syntaxes will be modify, as there
 alot of programmers using java for there development , and add java to the
 .net platform will return the J# to the developers



 --
 View this message in context:
 http://mono.1490590.n4.nabble.com/java-parser-in-C-tp4659251.html
 Sent from the Mono - General mailing list archive at Nabble.com.
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Oracle Managed Data Provider (ODP.NET)

2012-10-23 Thread Mike Christensen
Wonder if the DevArt drivers run on Mono..

On Mon, Oct 22, 2012 at 10:32 AM, Daniel Morgan monodanm...@yahoo.comwrote:

 Hey Paco.  Long time no see.

 I added the feature requests for mono and a fully managed odp.net driver.
  The fully managed driver isn't so fully managed after all.  There are
 DllImports to kernel32.dll.  But still, i tried running it on mono on
 windows, and it still failed. Some globaliztion Functionality missing in
 mono maybe.

 Sent from my iPhone

 On Oct 22, 2012, at 9:32 AM, Francisco T. Martinez 
 mart...@mfconsulting.com wrote:


 I received some email from Oracle trumpeting their new Beta Oracle
 Managed Data 
 Provider!http://www.oracle.com/technetwork/database/windows/downloads/odpmbeta-1696432.html?msgid=3-7320699120txtIt
  took little time to realize that this new driver does not seem to work
 with Mono.

 Well, there might be a forum to petition for a solution to the above:

 Feature request (Support ODP.NET on 
 Mono)https://apex.oracle.com/pls/apex/f?p=18357:39:9334166577265::NO::P39_ID:26141awaiting
  community votes
 (Note: the link above may require you to login to the Oracle Technology
 Network (OTN) but it is a free membership)

 When I voted, there were only 51 entries. Really? Come on fellow Monos,
 give it your ALL and upvote this feature request so that everyone can see
 just how much interest there is in the Mono project.

 Thank you in advance for your participation...



 
 This message was sent using IMP, the Internet Messaging Program.

 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list


 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] XBuild question removing directories

2011-12-22 Thread Mike Christensen
Ah excellent, it's not a deal-breaker right now so I'll just wait
until the next version..

On Wed, Dec 21, 2011 at 10:33 PM, Jonathan Pobst mon...@jpobst.com wrote:
 The good news is this has been fixed:
 https://github.com/mono/mono/commit/7c4e3654cb758d2f8543a4d8b0b4d5b25af780c3

 The bad news is that probably doesn't help you.

 I was writing my own tasks, so I just included the updated source code in my
 assembly and called it RemoveDirFixed.  Not sure if you have the same
 luxury.

 Jonathan



 On 12/22/2011 12:20 AM, Mike Christensen wrote:

 I have the following target:

   Target Name=Clean
     RemoveDir Directories=$(BuildDir) Condition= Exists('$(BuildDir)')
  /
     RemoveDir Directories=Imp/bin Condition= Exists('Imp/bin')  /
     RemoveDir Directories=Imp/obj Condition= Exists('Imp/obj')  /
     RemoveDir Directories=Modeler/bin Condition= Exists('Modeler/bin')
  /
     RemoveDir Directories=Modeler/obj Condition= Exists('Modeler/obj')
  /
     RemoveDir Directories=Queue/bin Condition= Exists('Queue/bin') 
 /
     RemoveDir Directories=Queue/obj Condition= Exists('Queue/obj') 
 /
     RemoveDir Directories=WebSite/bin Condition= Exists('WebSite/bin')
  /
     RemoveDir Directories=WebSite/obj Condition= Exists('WebSite/obj')
  /
   /Target

 When I run it I get:


 ~/KitchenPC  ./clean
 XBuild Engine Version 2.10.6.0
 Mono, Version 2.10.6.0
 Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2011.
 /Users/mike/kitchenpc/build.xml: error : Directory
 /Users/mike/KitchenPC/Build is not empty  at
 System.IO.Directory.Delete (System.String path) [0x0] infilename
 unknown:0
   at Microsoft.Build.Tasks.RemoveDir.Execute () [0x0] infilename
 unknown:0
 /Users/mike/kitchenpc/build.xml: error : Directory
 /Users/mike/KitchenPC/Imp/bin is not empty  at
 System.IO.Directory.Delete (System.String path) [0x0] infilename
 unknown:0
   at Microsoft.Build.Tasks.RemoveDir.Execute () [0x0] infilename
 unknown:0
 /Users/mike/kitchenpc/build.xml: error : Directory
 /Users/mike/KitchenPC/Imp/obj is not empty  at
 System.IO.Directory.Delete (System.String path) [0x0] infilename
 unknown:0
   at Microsoft.Build.Tasks.RemoveDir.Execute () [0x0] infilename
 unknown:0
 /Users/mike/kitchenpc/build.xml: error : Directory
 /Users/mike/KitchenPC/Modeler/obj is not empty  at
 System.IO.Directory.Delete (System.String path) [0x0] infilename
 unknown:0
   at Microsoft.Build.Tasks.RemoveDir.Execute () [0x0] infilename
 unknown:0
 /Users/mike/kitchenpc/build.xml: error : Directory
 /Users/mike/KitchenPC/Queue/bin is not empty  at
 System.IO.Directory.Delete (System.String path) [0x0] infilename
 unknown:0
   at Microsoft.Build.Tasks.RemoveDir.Execute () [0x0] infilename
 unknown:0
 /Users/mike/kitchenpc/build.xml: error : Directory
 /Users/mike/KitchenPC/Queue/obj is not empty  at
 System.IO.Directory.Delete (System.String path) [0x0] infilename
 unknown:0
   at Microsoft.Build.Tasks.RemoveDir.Execute () [0x0] infilename
 unknown:0
 /Users/mike/kitchenpc/build.xml: error : Directory
 /Users/mike/KitchenPC/WebSite/obj is not empty  at
 System.IO.Directory.Delete (System.String path) [0x0] infilename
 unknown:0
   at Microsoft.Build.Tasks.RemoveDir.Execute () [0x0] infilename
 unknown:0
 ~/KitchenPC

 On MSBuild, this works fine.  Is there a way to make it remove these
 directories without an error?  I suppose I could Exec a rm -R -f but
 I'd rather something that was cross-platform.  Thanks!

 Mike
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list



___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] XBuild question removing directories

2011-12-21 Thread Mike Christensen
I have the following target:

  Target Name=Clean
RemoveDir Directories=$(BuildDir) Condition= Exists('$(BuildDir)')  /
RemoveDir Directories=Imp/bin Condition= Exists('Imp/bin')  /
RemoveDir Directories=Imp/obj Condition= Exists('Imp/obj')  /
RemoveDir Directories=Modeler/bin Condition= Exists('Modeler/bin')  /
RemoveDir Directories=Modeler/obj Condition= Exists('Modeler/obj')  /
RemoveDir Directories=Queue/bin Condition= Exists('Queue/bin')  /
RemoveDir Directories=Queue/obj Condition= Exists('Queue/obj')  /
RemoveDir Directories=WebSite/bin Condition= Exists('WebSite/bin')  /
RemoveDir Directories=WebSite/obj Condition= Exists('WebSite/obj')  /
  /Target

When I run it I get:


~/KitchenPC ./clean
XBuild Engine Version 2.10.6.0
Mono, Version 2.10.6.0
Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2011.
/Users/mike/kitchenpc/build.xml: error : Directory
/Users/mike/KitchenPC/Build is not empty  at
System.IO.Directory.Delete (System.String path) [0x0] in filename
unknown:0
  at Microsoft.Build.Tasks.RemoveDir.Execute () [0x0] in filename
unknown:0
/Users/mike/kitchenpc/build.xml: error : Directory
/Users/mike/KitchenPC/Imp/bin is not empty  at
System.IO.Directory.Delete (System.String path) [0x0] in filename
unknown:0
  at Microsoft.Build.Tasks.RemoveDir.Execute () [0x0] in filename
unknown:0
/Users/mike/kitchenpc/build.xml: error : Directory
/Users/mike/KitchenPC/Imp/obj is not empty  at
System.IO.Directory.Delete (System.String path) [0x0] in filename
unknown:0
  at Microsoft.Build.Tasks.RemoveDir.Execute () [0x0] in filename
unknown:0
/Users/mike/kitchenpc/build.xml: error : Directory
/Users/mike/KitchenPC/Modeler/obj is not empty  at
System.IO.Directory.Delete (System.String path) [0x0] in filename
unknown:0
  at Microsoft.Build.Tasks.RemoveDir.Execute () [0x0] in filename
unknown:0
/Users/mike/kitchenpc/build.xml: error : Directory
/Users/mike/KitchenPC/Queue/bin is not empty  at
System.IO.Directory.Delete (System.String path) [0x0] in filename
unknown:0
  at Microsoft.Build.Tasks.RemoveDir.Execute () [0x0] in filename
unknown:0
/Users/mike/kitchenpc/build.xml: error : Directory
/Users/mike/KitchenPC/Queue/obj is not empty  at
System.IO.Directory.Delete (System.String path) [0x0] in filename
unknown:0
  at Microsoft.Build.Tasks.RemoveDir.Execute () [0x0] in filename
unknown:0
/Users/mike/kitchenpc/build.xml: error : Directory
/Users/mike/KitchenPC/WebSite/obj is not empty  at
System.IO.Directory.Delete (System.String path) [0x0] in filename
unknown:0
  at Microsoft.Build.Tasks.RemoveDir.Execute () [0x0] in filename
unknown:0
~/KitchenPC

On MSBuild, this works fine.  Is there a way to make it remove these
directories without an error?  I suppose I could Exec a rm -R -f but
I'd rather something that was cross-platform.  Thanks!

Mike
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Is OS/X case-sensitive?

2011-12-20 Thread Mike Christensen
Thanks!  I'm pretty sure I'm running the latest version..  I'll
verify, and log a bug..

On Tue, Dec 20, 2011 at 2:12 AM, Alan alan.mcgov...@gmail.com wrote:
 xbuild is a separate program and will not be affected by any changes in MD.
 If it's not doing case changes properly then it'd be worth filing a bug
 against it.

 Alan


 On 20 December 2011 05:34, Abe Gillespie abe.gilles...@gmail.com wrote:


 http://monodevelop.com/Download/Release_Notes/Release_Notes_for_MonoDevelop_2.8.5,
 fourth bullet item.

 On Mon, Dec 19, 2011 at 9:39 PM, Mike Christensen m...@kitchenpc.com
 wrote:
  It seems to me that in recent builds of Mono, the XSP webserver is now
  case-insensitive on OS/X - which I believe is by design since this
  file system (by default) is case insensitive.
 
  However, XBuild still seems to be case-sensitive on OS/X.  Will this
  be changed as well?  Thanks!
 
  Mike
  ___
  Mono-list maillist  -  Mono-list@lists.ximian.com
  http://lists.ximian.com/mailman/listinfo/mono-list
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Is OS/X case-sensitive?

2011-12-19 Thread Mike Christensen
It seems to me that in recent builds of Mono, the XSP webserver is now
case-insensitive on OS/X - which I believe is by design since this
file system (by default) is case insensitive.

However, XBuild still seems to be case-sensitive on OS/X.  Will this
be changed as well?  Thanks!

Mike
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-aspnet-list] Support for C#.NET Web Projects rather than only Web Applications?

2011-12-17 Thread Mike Christensen
 Hello,

 I spent a good and enjoyable portion of the morning converting a 6 project
 solution from VS.NET 2010 to MonoDevelop.  Made the changes necessary to get
 everything to compile, except...

 My web sites are what VS and MS refer to as Web Sites, they are not Web
 Applications with designer files and they do not compile to a DLL.  It is
 simply too impractical for these sites, and although I love MonoDevelop it
 too big a sacrifice to convert everything over to web applications.

 So, is there any way to keep the Web Site structure intact, to have new
 files not auto-generate designer tools, to avoid the CS0103 errors when I
 declare a control in the .aspx file and reference it in code-behind?

 Any assistance would elate me beyond what words could describe :)

 Chris

I think a very good first step would be to at least be able to open
Visual Studio .sln files with web sites, or at least the ability to
convert such a solution over to a full MonoDevelop project.

I'm running into the same boat, and would be interested in knowing the
suggested workarounds right now.

Mike
___
Mono-aspnet-list mailing list
Mono-aspnet-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list


Re: [Mono-list] MonoDevelop 2.8 released

2011-10-05 Thread Mike Christensen
Decided to give it a shot on Windows...  I have some bugs to file, can you
guys add 2.8 to the versions list on enter_bug.cgi?
On Oct 5, 2011 10:18 AM, Dale E. Moore daleemo...@gmail.com wrote:
 I'm pretty sure these folks are faster than the speed of light, so 2.6
will
 be coming out in about 5 minutes.

 On Wed, Oct 5, 2011 at 12:15 PM, Mike Christensen m...@kitchenpc.com
wrote:

 Wow! Didn't 2.6 just come out like an hour ago?
 On Oct 5, 2011 10:04 AM, Lluis Sanchez Gual slluis.de...@gmail.com
 wrote:
  The MonoDevelop team is proud to announce the release of MonoDevelop
2.8.
 
  MonoDevelop is an IDE primarily designed for C# and other .NET
languages.
 MonoDevelop enables developers to quickly write desktop and ASP.NET Web
 applications on Linux, Windows and Mac OSX. MonoDevelop makes it easy for
 developers to port .NET applications created with Visual Studio to Linux
and
 Mac OS maintaining a single code base for all platforms.
 
  The official announcement is available here:
 
 

http://monodevelop.com/Download/Release_Notes/Release_Notes_for_MonoDevelop_2.8
 
  A detailed description of the features included in this release is
 available here:
 
  http://monodevelop.com/Download/What's_new_in_MonoDevelop_2.8
 
  Many thanks to everybody that made possible this release.
  Enjoy!
 
  The MonoDevelop Team.
  ___
  Mono-list maillist - Mono-list@lists.ximian.com
  http://lists.ximian.com/mailman/listinfo/mono-list

 ___
 Mono-list maillist - Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-aspnet-list] Code Problem

2011-09-25 Thread Mike Christensen
I kinda think your code doesn't work because nothing is yet
initialized in the page constructor.  There's no Request object, and
probably the event hashtable hasn't been initialized.  Does anything
actually go on in Page::Page()?

On Sun, Sep 25, 2011 at 5:04 AM, mostafaxx mostafa_alshr...@yahoo.com wrote:

 nedry wrote:
 a nested class inside the actual page class, and that nested class is
 never used

 well it worked,
 but my code is straight, i’ve only defined one class called index..


 nedry wrote:
 It's been a while since I've done any .aspx
 well what do you do any way ??


 --
 View this message in context: 
 http://mono.1490590.n4.nabble.com/Code-Problem-tp3839138p3841168.html
 Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
 ___
 Mono-aspnet-list mailing list
 Mono-aspnet-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-aspnet-list

___
Mono-aspnet-list mailing list
Mono-aspnet-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list


Re: [Mono-list] follow up question about tools used: source code control?

2011-09-22 Thread Mike Christensen
 We use Github at Adzerk to host our source code control. What are people
 using out there?
 If you are using Visual Studio, are you also using the Team system?

I'm using Subversion, which runs on a Linux server.  I use Visual
Studio for development, and I also have an enlistment on a Linux box
where I do some Python development.  My site is www.kitchenpc.com
(doesn't run on Mono /yet/, but I'm hoping within the next couple
releases!)
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] [MonoDevelop] MonoDevelop 2.6 released

2011-09-17 Thread Mike Christensen
 The MonoDevelop team is proud to announce the release of MonoDevelop 2.6.

 MonoDevelop is an IDE primarily designed for C# and other .NET languages.
 MonoDevelop enables developers to quickly write desktop and ASP.NET Web
 applications on Linux, Windows and Mac OSX. MonoDevelop makes it easy for
 developers to port .NET applications created with Visual Studio to Linux and
 Mac OS maintaining a single code base for all platforms.

 The official announcement is available here:

 http://monodevelop.com/Download/Release_Notes/Release_Notes_for_MonoDevelop_2.6

 A detailed description of the features included in this release is available
 here:

 http://monodevelop.com/Download/What's_new_in_MonoDevelop_2.6

 Many thanks to everybody that made possible this release.
 Enjoy!

 The MonoDevelop Team.
 ___
 Monodevelop-list mailing list
 monodevelop-l...@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/monodevelop-list



Any ETA on an opensuse 11.4 package?
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Works on Windows, TypeLoadException on OS X ?

2011-08-13 Thread Mike Christensen
Is the file called disco.dll?  Note this is case sensitive on
non-Windows platforms, so it will not find Disco.dll.

On Sat, Aug 13, 2011 at 7:34 AM, Charles Rich r...@wpi.edu wrote:
 When I execute mono disco.exe (http://dl.dropbox.com/u/12370141/disco.exe)
 on both Windows 7 and OS X 10.6.8 with Mono 2.6.7 installed, it works
 fine on Windows (prints out a prompt line) but on OS X I get the
 following error message:

       Could not load signature of edu.wpi.cetask.TaskEngine:put due to:
       Exception in thread main cli.System.TypeLoadException: Could not
 load type 'edu.wpi.disco.Disco' from assembly 'disco, Version=0.0.0.0,
 Culture=neutral, PublicKeyToken=null'.
       at Module.main(Module.java)

 Note that this file was created from Java using ikvmc and that
 edu.wpi.disco.Disco happens to be the main class and extends
 edu.wpi.cetaks.TaskEngine.

 I tried looking at monodis of disco.exe, but there was too much data
 for me to figure out.

 Thanks in advance,

 -Chuck

 --
 Dr. Charles Rich, Professor of Computer Science
 Interactive Media and Game Development
 Worcester Polytechnic Institute, Fuller Laboratories B25b
 100 Institute Road, Worcester, MA 01609-2280

 Email: r...@wpi.edu   Phone: 508-831-5945   Fax: 508-831-5776
 Home: http://www.cs.wpi.edu/~rich
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Porting MSBuild script to XBuild with ItemGroup

2011-08-04 Thread Mike Christensen
This won't work because I include items that are not yet created until
after the target runs..

In other words, if I say:

Project
  ItemGroup Include=Foo*.* /

...

Then this ItemGroup gets populated before the Target runs.  If Target
then goes and creates Foo1.txt and Foo2.txt, those items won't get
included in the ItemGroup since they didn't exist when it was
evaluated.  That's why I need to have this ItemGroup within the
Target.

When will this bug be fixed?  It seems hugely important to support this.

Mike

On Wed, Aug 3, 2011 at 7:54 PM, Jonathan Pobst mon...@jpobst.com wrote:
 You need to use the old way of doing thing, the CreateItem task.

 http://msdn.microsoft.com/en-us/library/s2y3e43x.aspx

 Jonathan


 On 8/3/2011 8:29 PM, Mike Christensen wrote:

 What's the best way to port this code over:

   Target Name=Build

 ** Bunch of stuff here **

     !-- Crunch Files --
     ItemGroup
        ToCrunch
 Include=$(BuildDir)/WWW/Scripts/kpc*.js;$(BuildDir)/WWW/Styles/*.css
 /
     /ItemGroup
     Message Importance=High Text=Crunching Script Files... /
     Exec WorkingDirectory=Crunch Command=java -jar
 yuicompressor-2.4.2.jar %(ToCrunch.Fullpath) -o %(ToCrunch.Fullpath)
 --charset utf-8 /
   /Target

 If I run this, I get the error:


  : error : Error initializing task ItemGroup: Not registered task
 ItemGroup.

 Which I believe is a known limitation in XBuild.  However, if I move
 the ItemGroup outside the project, the set of files is empty because
 those files have not been build yet.  Thanks!

 Mike
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list




___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Porting MSBuild script to XBuild with ItemGroup

2011-08-04 Thread Mike Christensen
Oh I think I misread your email..  Looks like the CreateItem task can
actually add things to an existing ItemGroup within a Target?  If
that's the case, that'll probably fix my issue..

Can we bump the priority up on this bug though?  It looks pretty old..
 I'm still trying to get a Mono enlistment setup, but maybe I can help
out when I'm running.  xbuild seems like a great project to contribute
to.

Mike

On Thu, Aug 4, 2011 at 12:51 AM, Mike Christensen m...@kitchenpc.com wrote:
 This won't work because I include items that are not yet created until
 after the target runs..

 In other words, if I say:

 Project
  ItemGroup Include=Foo*.* /

 ...

 Then this ItemGroup gets populated before the Target runs.  If Target
 then goes and creates Foo1.txt and Foo2.txt, those items won't get
 included in the ItemGroup since they didn't exist when it was
 evaluated.  That's why I need to have this ItemGroup within the
 Target.

 When will this bug be fixed?  It seems hugely important to support this.

 Mike

 On Wed, Aug 3, 2011 at 7:54 PM, Jonathan Pobst mon...@jpobst.com wrote:
 You need to use the old way of doing thing, the CreateItem task.

 http://msdn.microsoft.com/en-us/library/s2y3e43x.aspx

 Jonathan


 On 8/3/2011 8:29 PM, Mike Christensen wrote:

 What's the best way to port this code over:

   Target Name=Build

 ** Bunch of stuff here **

     !-- Crunch Files --
     ItemGroup
        ToCrunch
 Include=$(BuildDir)/WWW/Scripts/kpc*.js;$(BuildDir)/WWW/Styles/*.css
 /
     /ItemGroup
     Message Importance=High Text=Crunching Script Files... /
     Exec WorkingDirectory=Crunch Command=java -jar
 yuicompressor-2.4.2.jar %(ToCrunch.Fullpath) -o %(ToCrunch.Fullpath)
 --charset utf-8 /
   /Target

 If I run this, I get the error:


  : error : Error initializing task ItemGroup: Not registered task
 ItemGroup.

 Which I believe is a known limitation in XBuild.  However, if I move
 the ItemGroup outside the project, the set of files is empty because
 those files have not been build yet.  Thanks!

 Mike
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list





___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] RemoveDir - XBuild vs MSBuild

2011-08-04 Thread Mike Christensen
https://bugzilla.novell.com/show_bug.cgi?id=710234

https://bugzilla.novell.com/show_bug.cgi?id=710238

These bugs will still get a home with Novell no longer in the picture, correct?

Mike

On Wed, Aug 3, 2011 at 7:09 PM, Mike Christensen m...@kitchenpc.com wrote:
 I'll get this filed right away, thanks!

 I found another bug which I'll also log:

 This works on MSBuild:

 RemoveDir Directories=$(BuildDir) Condition= Exists( $(BuildDir) )  /

 But causes a parsing error on xbuild.  It works if you put in the
 value rather than the property.

 Thanks!

 Mike

 On Wed, Aug 3, 2011 at 7:01 PM, Jonathan Chambers jonc...@gmail.com wrote:
 Mike,
 This seems to be a bug. Please file this, and as a workaround try adding a
 Condition attribute with an Exists check:
 http://msdn.microsoft.com/en-us/library/7szfhaft.aspx
 Something like:
 RemoveDir Condition=Exists('Imp/bin') Directories=Imp/bin /
 Thanks,
 Jonathan

 On Wed, Aug 3, 2011 at 9:13 PM, Mike Christensen m...@kitchenpc.com wrote:

 I'm trying to port an MSBuild script to XBuild and running into the
 following issue:

 RemoveDir Directories=Imp/bin /

 This crashes and stops building if Imp/bin does not exist.  On
 MSBuild, it will just do nothing and ignore the command.

 Is this a bug?  Is there any way I can say delete the directory if it
 exists?

 Thanks!

 Mike
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list



___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Porting MSBuild script to XBuild with ItemGroup

2011-08-04 Thread Mike Christensen
(For thread archive purposes since I hate finding a thread on Google
with my exact same problem and no one ever bothered to post the
solution)

Here's the XBuild compatible way of doing what I had below:

CreateItem 
Include=$(BuildDir)/WWW/Scripts/kpc*.js;$(BuildDir)/WWW/Styles/*.css
  Output TaskParameter=Include ItemName=ToCrunch /
/CreateItem

Mike

On Wed, Aug 3, 2011 at 7:54 PM, Jonathan Pobst mon...@jpobst.com wrote:
 You need to use the old way of doing thing, the CreateItem task.

 http://msdn.microsoft.com/en-us/library/s2y3e43x.aspx

 Jonathan


 On 8/3/2011 8:29 PM, Mike Christensen wrote:

 What's the best way to port this code over:

   Target Name=Build

 ** Bunch of stuff here **

     !-- Crunch Files --
     ItemGroup
        ToCrunch
 Include=$(BuildDir)/WWW/Scripts/kpc*.js;$(BuildDir)/WWW/Styles/*.css
 /
     /ItemGroup
     Message Importance=High Text=Crunching Script Files... /
     Exec WorkingDirectory=Crunch Command=java -jar
 yuicompressor-2.4.2.jar %(ToCrunch.Fullpath) -o %(ToCrunch.Fullpath)
 --charset utf-8 /
   /Target

 If I run this, I get the error:


  : error : Error initializing task ItemGroup: Not registered task
 ItemGroup.

 Which I believe is a known limitation in XBuild.  However, if I move
 the ItemGroup outside the project, the set of files is empty because
 those files have not been build yet.  Thanks!

 Mike
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list




___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Dictionary key'ed by Decimal works differently between Mono and .NET

2011-08-04 Thread Mike Christensen
I'm trying to get my unit tests to pass so I can try out my code on
Mono, however I ran into some different behavior using the
Dictionary class.  I've written a stand-alone test case to
illustrate the problem.

http://pastie.org/2318806

The code will print out True on .NET and False on Mono.  I believe
this is because I add the key as 0.5m to the dictionary, but I try to
look it up with 0.500m.  .NET will see these values as equal, Mono
will not.

Technically the numbers are equal, though they have different levels
of precision.  However, I'm of the opinion that Mono should emulate
.NET where-ever possible.

Mike
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] RemoveDir - XBuild vs MSBuild

2011-08-03 Thread Mike Christensen
I'm trying to port an MSBuild script to XBuild and running into the
following issue:

RemoveDir Directories=Imp/bin /

This crashes and stops building if Imp/bin does not exist.  On
MSBuild, it will just do nothing and ignore the command.

Is this a bug?  Is there any way I can say delete the directory if it exists?

Thanks!

Mike
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Porting MSBuild script to XBuild with ItemGroup

2011-08-03 Thread Mike Christensen
What's the best way to port this code over:

  Target Name=Build

** Bunch of stuff here **

!-- Crunch Files --
ItemGroup
   ToCrunch
Include=$(BuildDir)/WWW/Scripts/kpc*.js;$(BuildDir)/WWW/Styles/*.css
/
/ItemGroup
Message Importance=High Text=Crunching Script Files... /
Exec WorkingDirectory=Crunch Command=java -jar
yuicompressor-2.4.2.jar %(ToCrunch.Fullpath) -o %(ToCrunch.Fullpath)
--charset utf-8 /
  /Target

If I run this, I get the error:


 : error : Error initializing task ItemGroup: Not registered task ItemGroup.

Which I believe is a known limitation in XBuild.  However, if I move
the ItemGroup outside the project, the set of files is empty because
those files have not been build yet.  Thanks!

Mike
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] RemoveDir - XBuild vs MSBuild

2011-08-03 Thread Mike Christensen
I'll get this filed right away, thanks!

I found another bug which I'll also log:

This works on MSBuild:

RemoveDir Directories=$(BuildDir) Condition= Exists( $(BuildDir) )  /

But causes a parsing error on xbuild.  It works if you put in the
value rather than the property.

Thanks!

Mike

On Wed, Aug 3, 2011 at 7:01 PM, Jonathan Chambers jonc...@gmail.com wrote:
 Mike,
 This seems to be a bug. Please file this, and as a workaround try adding a
 Condition attribute with an Exists check:
 http://msdn.microsoft.com/en-us/library/7szfhaft.aspx
 Something like:
 RemoveDir Condition=Exists('Imp/bin') Directories=Imp/bin /
 Thanks,
 Jonathan

 On Wed, Aug 3, 2011 at 9:13 PM, Mike Christensen m...@kitchenpc.com wrote:

 I'm trying to port an MSBuild script to XBuild and running into the
 following issue:

 RemoveDir Directories=Imp/bin /

 This crashes and stops building if Imp/bin does not exist.  On
 MSBuild, it will just do nothing and ignore the command.

 Is this a bug?  Is there any way I can say delete the directory if it
 exists?

 Thanks!

 Mike
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Running Monodevelop on KDE?

2011-08-01 Thread Mike Christensen
Is there anything special you have to do to get Monodevelop to run on KDE on
openSUSE?

The default seems to be GNOME support, but I couldn't find any documentation
on any command line parameters or build options related to KDE..  Thanks!

Mike
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Running Monodevelop on KDE?

2011-08-01 Thread Mike Christensen
Basically here's what I get with ./configure - I'm running KDE, so I just
want to make sure I don't have to change some config option for this..

Configuration summary

   * Installation prefix = /usr/local
   * C# compiler = /usr/local/bin/dmcs
   * Mono class library development extensions: yes
   * Version control providers:
   * Subversion (Unix): yes
   * Git: yes
   * Platform bindings: GNOME
   * Unit tests: no

Now type `make' to compile MonoDevelop
Configuration Summary
-

MonoDevelop has been configured with
prefix = /usr/local
profile = default

Packages included in the build:
main


On Mon, Aug 1, 2011 at 5:09 PM, Mike Christensen m...@kitchenpc.com wrote:

 Is there anything special you have to do to get Monodevelop to run on KDE
 on openSUSE?

 The default seems to be GNOME support, but I couldn't find any
 documentation on any command line parameters or build options related to
 KDE..  Thanks!

 Mike

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Running Monodevelop on KDE?

2011-08-01 Thread Mike Christensen
On Mon, Aug 1, 2011 at 5:18 PM, Bojan Rajkovic bo...@canesystems.comwrote:

 On Aug 1, 2011, at 8:12 PM, Mike Christensen wrote:

 Basically here's what I get with ./configure - I'm running KDE, so I just
 want to make sure I don't have to change some config option for this..

 Configuration summary

* Installation prefix = /usr/local
* C# compiler = /usr/local/bin/dmcs
* Mono class library development extensions: yes
* Version control providers:
* Subversion (Unix): yes
* Git: yes
* Platform bindings: GNOME
* Unit tests: no

 Now type `make' to compile MonoDevelop
 Configuration Summary
 -

 MonoDevelop has been configured with
 prefix = /usr/local
 profile = default

 Packages included in the build:
 main


 On Mon, Aug 1, 2011 at 5:09 PM, Mike Christensen m...@kitchenpc.comwrote:

 Is there anything special you have to do to get Monodevelop to run on KDE
 on openSUSE?

 The default seems to be GNOME support, but I couldn't find any
 documentation on any command line parameters or build options related to
 KDE..  Thanks!

 Mike


 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list


 Hi Mike,

 There are no KDE platform bindings—if you want to contribute some, I think
 they'd be welcomed. Until then, MonoDevelop will use the GNOME platform
 bindings if/when available, even on KDE systems.


Once I get it to run, I can contribute whatever you need.

However, after doing a make and a make run, I get the following error:

cd main  make run
make[1]: Entering directory `/home/mike/mono/monodevelop/main'
PATH=/home/mike/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib64/jvm/jre/bin
PKG_CONFIG_PATH=/home/mike/mono/monodevelop/local-config:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:
LD_LIBRARY_PATH= DYLD_FALLBACK_LIBRARY_PATH=
MONO_GAC_PREFIX=/usr/local:
MONODEVELOP_LOCALE_PATH=/home/mike/mono/monodevelop/main/build/locale
MONO_ADDINS_REGISTRY=/home/mike/mono/monodevelop/main/build/bin
UBUNTU_MENUPROXY=0 exec -a monodevelop /usr/local/bin/mono --debug
/home/mike/mono/monodevelop/main/build/bin/MonoDevelop.exe

Unhandled Exception: System.TypeLoadException: A type load exception has
occurred.
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: A type load
exception has occurred.
make[1]: *** [runmd] Error 1
make[1]: Leaving directory `/home/mike/mono/monodevelop/main'
make: *** [run] Error 2

I think this has something to do with GDK or the GDK# wrappers..  I
installed these things from the openSUSE repositories, as I couldn't find
where to build them.

Mike
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Running Monodevelop on KDE?

2011-08-01 Thread Mike Christensen
On Mon, Aug 1, 2011 at 5:20 PM, Mike Christensen m...@kitchenpc.com wrote:

 On Mon, Aug 1, 2011 at 5:18 PM, Bojan Rajkovic bo...@canesystems.comwrote:

 On Aug 1, 2011, at 8:12 PM, Mike Christensen wrote:

 Basically here's what I get with ./configure - I'm running KDE, so I just
 want to make sure I don't have to change some config option for this..

 Configuration summary

* Installation prefix = /usr/local
* C# compiler = /usr/local/bin/dmcs
* Mono class library development extensions: yes
* Version control providers:
* Subversion (Unix): yes
* Git: yes
* Platform bindings: GNOME
* Unit tests: no

 Now type `make' to compile MonoDevelop
 Configuration Summary
 -

 MonoDevelop has been configured with
 prefix = /usr/local
 profile = default

 Packages included in the build:
 main


 On Mon, Aug 1, 2011 at 5:09 PM, Mike Christensen m...@kitchenpc.comwrote:

 Is there anything special you have to do to get Monodevelop to run on KDE
 on openSUSE?

 The default seems to be GNOME support, but I couldn't find any
 documentation on any command line parameters or build options related to
 KDE..  Thanks!

 Mike


 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list


 Hi Mike,

 There are no KDE platform bindings—if you want to contribute some, I think
 they'd be welcomed. Until then, MonoDevelop will use the GNOME platform
 bindings if/when available, even on KDE systems.


 Once I get it to run, I can contribute whatever you need.

 However, after doing a make and a make run, I get the following error:

 cd main  make run
 make[1]: Entering directory `/home/mike/mono/monodevelop/main'
 PATH=/home/mike/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib64/jvm/jre/bin
 PKG_CONFIG_PATH=/home/mike/mono/monodevelop/local-config:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:
 LD_LIBRARY_PATH= DYLD_FALLBACK_LIBRARY_PATH=
 MONO_GAC_PREFIX=/usr/local:
 MONODEVELOP_LOCALE_PATH=/home/mike/mono/monodevelop/main/build/locale
 MONO_ADDINS_REGISTRY=/home/mike/mono/monodevelop/main/build/bin
 UBUNTU_MENUPROXY=0 exec -a monodevelop /usr/local/bin/mono --debug
 /home/mike/mono/monodevelop/main/build/bin/MonoDevelop.exe

 Unhandled Exception: System.TypeLoadException: A type load exception has
 occurred.
 [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: A type load
 exception has occurred.
 make[1]: *** [runmd] Error 1
 make[1]: Leaving directory `/home/mike/mono/monodevelop/main'
 make: *** [run] Error 2

 I think this has something to do with GDK or the GDK# wrappers..  I
 installed these things from the openSUSE repositories, as I couldn't find
 where to build them.

 Mike


BTW, here's the things I'm enlisted in:

mike@dev:~/mono ls
gtk-sharp  libgdiplus  mcs  mono  mono-addins  monodevelop

I did a ./configure and make and make install on each, the other things it
was griping about I installed from the latest repos..  I'm guessing some
version is out of sync..
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Do you need to have Mono installed before you can build it?

2011-07-22 Thread Mike Christensen
 I'm getting the error:

 make[6]: Entering directory `/home/mike/mono/mcs'
 make[6]: gmcs: Command not found
 make[6]: *** [build/deps/basic-profile-check.exe] Error 127
 make[6]: Leaving directory `/home/mike/mono/mcs'
 *** The compiler 'gmcs' doesn't appear to be usable.
 *** You need Mono version 2.4 or better installed to build MCS
 *** Read INSTALL.txt for information on how to bootstrap a Mono installation.
 make[5]: *** [do-profile-check] Error 1

 The docs at:

 http://mono-project.com/Compiling_Mono_From_Git#Checking_out_for_the_first_time

 Seem to hint I need the Mono compiler installed before I can build
 Mono..  What's the most straight forward way to do this on OpenSuSE
 11.4?

 I do have gmsc.exe on another machine (version 2.6) - Can I just copy
 that somewhere and set EXTERNAL_MCS?  Thanks!

Ok I tried the

make get-monolite-latest

thing, and it seems to have built and the unit tests are passing..
haven't done a make install yet..

Is there a reason why the build script can't just build gmcs and then
run it?  I assume if this were easy it would work that way already
though :)

Mike
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Do you need to have Mono installed before you can build it?

2011-07-21 Thread Mike Christensen
I'm getting the error:

make[6]: Entering directory `/home/mike/mono/mcs'
make[6]: gmcs: Command not found
make[6]: *** [build/deps/basic-profile-check.exe] Error 127
make[6]: Leaving directory `/home/mike/mono/mcs'
*** The compiler 'gmcs' doesn't appear to be usable.
*** You need Mono version 2.4 or better installed to build MCS
*** Read INSTALL.txt for information on how to bootstrap a Mono installation.
make[5]: *** [do-profile-check] Error 1

The docs at:

http://mono-project.com/Compiling_Mono_From_Git#Checking_out_for_the_first_time

Seem to hint I need the Mono compiler installed before I can build
Mono..  What's the most straight forward way to do this on OpenSuSE
11.4?

I do have gmsc.exe on another machine (version 2.6) - Can I just copy
that somewhere and set EXTERNAL_MCS?  Thanks!

Mike
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] MonoTouch/MonoDroid now licensed by Xamarin?

2011-07-20 Thread Mike Christensen
http://blog.xamarin.com/2011/07/18/first-press-release/

So will Xamarin take over further development of MonoTouch and
MonoDroid?  Are they licensing the code from AttachMate, or did they
essentially take ownership of this code base?  Does that mean they'll
no longer be working on their own release?

Does this also mean people who bought MonoTouch from Novell will
continue to get support and upgrades from Xamarin?  Thanks!

Mike
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] MonoTouch/MonoDroid now licensed by Xamarin?

2011-07-20 Thread Mike Christensen
Excellent!  This was the exact outcome I was hoping for..

On Wed, Jul 20, 2011 at 2:00 PM, Stifu st...@free.fr wrote:
 Yes.
 Taking ownership.
 Yes (although they'll merge some work they did).
 Yes.

 See: http://tirania.org/blog/archive/2011/Jul-18.html


 Mike Christensen-2 wrote:

 http://blog.xamarin.com/2011/07/18/first-press-release/

 So will Xamarin take over further development of MonoTouch and
 MonoDroid?  Are they licensing the code from AttachMate, or did they
 essentially take ownership of this code base?  Does that mean they'll
 no longer be working on their own release?

 Does this also mean people who bought MonoTouch from Novell will
 continue to get support and upgrades from Xamarin?  Thanks!

 Mike
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list



 --
 View this message in context: 
 http://mono.1490590.n4.nabble.com/MonoTouch-MonoDroid-now-licensed-by-Xamarin-tp3682026p3682034.html
 Sent from the Mono - General mailing list archive at Nabble.com.
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] future of Mono

2011-05-30 Thread Mike Christensen
I, for one, after hearing that Attachmate was firing the Mono team
thought Well crap, that's game over for Mono - that was fun while it
lasted..

But during the past few weeks learning about the new company formed
and how all the old principals have joined, now I'm saying Sweet this
is the best thing that could have possibly happened to Mono! - I've
worked at both massive software giants and at small dot-com startups,
and crap simply gets done faster and better at a startup..  No more
listening to corporate VP schpeils about budget and marketing and
deadlines..  Just a bunch of smart people hacking away all day.  The
way it should be.

I've been on the fence about porting my website (www.kitchenpc.com)
over to Mono for quite some time now, as well as my build scripts,
tools and dev environment.  I think when 3.0 comes out and MonoDevelop
becomes just a /bit/ more polishes (it's so close!) then I'll finally
pull the trigger on this.  I'm so used to Visual Studio, but I think
VS2010 took a huge step backwards and MD has been progressing by leaps
and bounds..  A really solid debugger with a working immediate window,
autocomplete everywhere, and integrated script debugging is basically
what's stopping me..  Man I wish I had the time to help contribute to
that project..  Sigh.

Mike

On Mon, May 30, 2011 at 5:59 PM, jmalcolm malcolm.jus...@gmail.com wrote:

 newbie_mono wrote:

 I have been considering moving to mono on linux. Without Mono , the
 alternative is learning new languages and throwing away considerable code
 base. the recent developlments regarding disbanding the Mono team is
 disconcerting. I have two questions regarding mono on linux :

 1- is there really still a future for mono-( asp.net) on linux?
 2- is the performance equivalent to IIS ( all other things being equal). I
 don't really care about having all the features, but performance should
 not be less.


 These do not sound like flames to me. The concerns are legitimate given the
 circumstances. Let me take a stab at your questions:

 1) My own opinion is that Mono will be stronger than ever in the future.
 Mono is an Open Source project using the MIT/X11 license. The commits are
 still coming in on GitHub from multiple contributors (not just the ex-Novell
 team). Oh, and about that, the ex-Novell Mono team is pretty much now the
 Xamarin Mono team (with at least one exception). The old team has started a
 new company under the leadership of Miguel de Icaza and Nat Friedman. Miguel
 has been the heart of the Mono ecosystem since the project began. Nat and
 Miguel have run a successful dev company before. The Mono team is awesome. I
 expect big things.

 2) The performance is about the same in most cases in my experience. In some
 cases, .NET is faster and in some Mono is faster. In general, .NET is a
 little faster. It depends on your app. I can tell you one thing, Mono vs.
 .NET runtime differences will be dwarfed by other factors if you are doing
 web apps (database, network, memory, file system). There are differences at
 the Operating System level that will also make a difference and I think the
 performance advantage between Linux and Windows goes the other way (Linux
 being faster). People still seem to run into edge cases now and again where
 Mono falls down a bit. Be sure to report it if you run into one; the Mono
 team has been fantastic about addressing these quickly (when they are given
 enough information to dig into it at least).


 Learning new languages should be something to look forward to. Thankfully,
 both Mono and .NET provide ample opportunity for that. Of course, there are
 lots of other fish in the sea as well.

 Throwing away large working code bases--not so cool. One of the things that
 I love about Mono (and .NET) is the ability to keep learning and growing
 while still staying on the same fundamental platform (and being able to
 reuse old code often).

 The way the Mono (.NET) ecosystem weaves together is incredible. Mono
 completes the .NET picture by bringing cross-platform to the same level as
 multi-language was within the .NET framework already.

 I have created C# apps for the iPhone and Android that reused C# database
 and XML processing code that I first wrote for the web (ASP.NET). I have
 invested many months building ASP.NET Web Forms apps and then been able to
 evolve them using ASP.NET MVC in a deeply integrated way. I have Unix
 console apps/utilities (with pure text interfaces and/or using the Curses
 text GUI libraries) that share much of their back-end code with Windows
 Forms apps. I can write F# libraries that get used primarily as components
 of C# apps. I can write IronPython unit tests that test (and directly
 instantiate) classes written in C#. I have even used large Java libraries
 (thanks IKVM.NET) to enhance my ASP.NET projects. Code re-use is everywhere.

 In the same vein, I have embedded the Mono C# compiler as a component in
 otherwise purely MS .NET apps. I have also used 

Re: [Mono-list] Suitability of Mono

2011-05-21 Thread Mike Christensen
Sorry, I wasn't clear.  I meant Novell donating the ownership of the
code base to Xamarin so they could continue developing the for-profit
product.  Or like selling them the rights for a dollar or something.

On Sat, May 21, 2011 at 2:36 AM, Stifu st...@free.fr wrote:
 Guys, it's Xamarin, not Xamian. :p
 You are mixing Xamarin with Ximian (company founded by Miguel and bought by
 Novell). Although the Xamarin name was probably chosen because it sounded
 similar.

 2) Attachmate open-sources the whole thing (if they're nice)

 About this, it may be nice to users, but if given away for free, would
 prevent Xamarin from making money from these products (which might prevent
 the company from being profitable?). It just doesn't sound likely at all,
 anyway. Attachmate would have nothing to gain in doing that, and possibly
 the opposite: customers bitching about how they paid for a product that
 turned free a little while later.


 Mike Christensen-2 wrote:

 On Fri, May 20, 2011 at 5:25 PM, jmalcolm lt;malcolm.jus...@gmail.comgt;
 wrote:

 Mike Christensen-2 wrote:

 Are the iOS and Android Mono Frameworks that Xamarin is creating a
 totally different code-base from MonoTouch and MonoDroid?  What has
 become of the formerly Novell owned MonoTouch/Droid products?  Are
 those just being scrapped completely?

 If these are going to be totally new products, will they be designed
 similar to the Novell products (eg, will it be easy to port from the
 Novell platform)..


 Attachmate owns MonoTouch and Mono for Android. We do not know what they
 plan to do with them (but they have no Mono team now). I doubt they will
 just hand them over to Xamarin. Time will tell.

 Xamarin has said that they will create new versions of these products
 with
 something appearing in 3-4 months. So, I would expect perhaps six months
 for
 a real product. According to Miguel, the Xamarin products will be API
 compatible which just makes sense.

 Basically, you can use the Attachmate stuff today with the intent to
 replace
 it with Xamarin products when they are ready.

 It is a little unclear to me what Xamarin needs to re-write and what they
 do
 not. For example, a good chunk of MonoTouch was common with MonoMac
 (which
 is open source). All this common code is available on GitHub as the
 MacCore
 project under the MIT/X11 license. I see no reason why Xamarin could not
 use
 it.

 I think a big part of the engineering effort for MonoTouch was the full
 AOT
 (Ahead of Time) compilation and the selective linker. Most of that is in
 Mono proper I imagine and so should also be available to Xamarin. The
 LLVM
 integration to optimize the native code on iOS is also out in the open.

 A lot of the changes would be in MonoDevelop as well, which is also Open
 Source. I would think much of the work to support XCode4 integration
 would
 be in the IDE for example. Work to support intellisense for MonoTouch and
 Mono for Android would largely be in the IDE as well. Code to integrate
 the
 device simulators would be too. Basically, every time I think about it, I
 think of more stuff they could use. There is also all the Sliverlight on
 Android stuff they were doing...

 Anyway, the point is that Xamarin cannot just use MonoTouch or Mono for
 Android but, despite this, they probably do not really need to write
 those
 products fully from scratch either. It must sure help to have all the
 knowledge required and the ability to just use the fully designed API on
 each platform.

 Great info!  Thanks..

 As far as what becomes of MonoTouch (though it seems like most of the
 /real/ work is part of the open source dependencies) is up to
 Attachmate..  However, I could see three possible scenarios:

 1) Attachmate just abandons the MonoTouch code (if they're mean)
 2) Attachmate open-sources the whole thing (if they're nice)
 3) Attachmate sells the IP to Xamian for cheap (if such a deal could
 be worked out)..

 I'm very glad to see the Mono guys are still all together - starting a
 new company was an awesome idea, I'm definitely a bit jealous..  If I
 had some money I'd want to help fund this effort..

 Mike
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list



 --
 View this message in context: 
 http://mono.1490590.n4.nabble.com/Suitability-of-Mono-tp3538305p3540369.html
 Sent from the Mono - General mailing list archive at Nabble.com.
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Suitability of Mono

2011-05-20 Thread Mike Christensen
Sorry to hi-jack the thread, just a quick question..

Are the iOS and Android Mono Frameworks that Xamarin is creating a
totally different code-base from MonoTouch and MonoDroid?  What has
become of the formerly Novell owned MonoTouch/Droid products?  Are
those just being scrapped completely?

If these are going to be totally new products, will they be designed
similar to the Novell products (eg, will it be easy to port from the
Novell platform)..

Thanks!

Mike

On Fri, May 20, 2011 at 5:29 AM, Stifu st...@free.fr wrote:
 Hi,

 How about trying your .NET app with Mono? That'd be quite a good test.
 Anyway, wouldn't trying to fix the performance issues of your app be a
 priority over adding more features?

 By the way, Mono is an open source project, and Attachmate can't do anything
 about that. They only own the commercial Mono products. For the record,
 Attachmate has fired the whole Mono team, which led to the creation of
 Xamarin (http://tirania.org/blog/archive/2011/May-16.html).


 Yogi Yang wrote:

 Hello,

 I am new to Mono. Not actually totally new but actually have never used
 Mono for developing any serious app.

 Just recently I was assigned to task to evaualte Mono for our up coming
 project which is a document management system for small enterprises.

 We have burnt our hands with .NET (we have developed a semi DMS using .NET
 2 and firebird and/or MS SQL server as back end). I am saying burnt our
 hands, because under heavy user load the system just does not perform well
 and becomes sluggish.

 Now we want to update this semi DMS to a full featured DMS by adding many
 features like OCR (full and zonal), user rights, directory monitoring for
 new files, integrating with Open Office, etc. etc.

 I am told by my boss to evaluate Mono whether it will be suitable for such
 a complex system or not?

 But then while searching on net I read somewhere that Mono's future is not
 very clean now that Attachment has acquired it.

 I would like input from community on this.

 Is choosing Mono the best thing esp. when we want to develop a multi OS
 based software or not?

 Can someone please give unbiased opinion please?

 Regards,



 --
 View this message in context: 
 http://mono.1490590.n4.nabble.com/Suitability-of-Mono-tp3538305p3538363.html
 Sent from the Mono - General mailing list archive at Nabble.com.
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Suitability of Mono

2011-05-20 Thread Mike Christensen
On Fri, May 20, 2011 at 4:38 PM, Bojan Rajkovic
brajko...@coderinserepeat.com wrote:
 On May 20, 2011, at 7:08 PM, Mike Christensen wrote:

 Sorry to hi-jack the thread, just a quick question..

 Are the iOS and Android Mono Frameworks that Xamarin is creating a
 totally different code-base from MonoTouch and MonoDroid?  What has
 become of the formerly Novell owned MonoTouch/Droid products?  Are
 those just being scrapped completely?

 If these are going to be totally new products, will they be designed
 similar to the Novell products (eg, will it be easy to port from the
 Novell platform)..

 Thanks!

 Mike


 Miguel has said that these new products will be source-compatible with 
 MonoTouch and Mono for Android.

So new code base then.  Is Attachmate doing anything with the
MonoTouch code base, or is that unknown currently?
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Suitability of Mono

2011-05-20 Thread Mike Christensen
On Fri, May 20, 2011 at 5:25 PM, jmalcolm malcolm.jus...@gmail.com wrote:

 Mike Christensen-2 wrote:

 Are the iOS and Android Mono Frameworks that Xamarin is creating a
 totally different code-base from MonoTouch and MonoDroid?  What has
 become of the formerly Novell owned MonoTouch/Droid products?  Are
 those just being scrapped completely?

 If these are going to be totally new products, will they be designed
 similar to the Novell products (eg, will it be easy to port from the
 Novell platform)..


 Attachmate owns MonoTouch and Mono for Android. We do not know what they
 plan to do with them (but they have no Mono team now). I doubt they will
 just hand them over to Xamarin. Time will tell.

 Xamarin has said that they will create new versions of these products with
 something appearing in 3-4 months. So, I would expect perhaps six months for
 a real product. According to Miguel, the Xamarin products will be API
 compatible which just makes sense.

 Basically, you can use the Attachmate stuff today with the intent to replace
 it with Xamarin products when they are ready.

 It is a little unclear to me what Xamarin needs to re-write and what they do
 not. For example, a good chunk of MonoTouch was common with MonoMac (which
 is open source). All this common code is available on GitHub as the MacCore
 project under the MIT/X11 license. I see no reason why Xamarin could not use
 it.

 I think a big part of the engineering effort for MonoTouch was the full AOT
 (Ahead of Time) compilation and the selective linker. Most of that is in
 Mono proper I imagine and so should also be available to Xamarin. The LLVM
 integration to optimize the native code on iOS is also out in the open.

 A lot of the changes would be in MonoDevelop as well, which is also Open
 Source. I would think much of the work to support XCode4 integration would
 be in the IDE for example. Work to support intellisense for MonoTouch and
 Mono for Android would largely be in the IDE as well. Code to integrate the
 device simulators would be too. Basically, every time I think about it, I
 think of more stuff they could use. There is also all the Sliverlight on
 Android stuff they were doing...

 Anyway, the point is that Xamarin cannot just use MonoTouch or Mono for
 Android but, despite this, they probably do not really need to write those
 products fully from scratch either. It must sure help to have all the
 knowledge required and the ability to just use the fully designed API on
 each platform.

Great info!  Thanks..

As far as what becomes of MonoTouch (though it seems like most of the
/real/ work is part of the open source dependencies) is up to
Attachmate..  However, I could see three possible scenarios:

1) Attachmate just abandons the MonoTouch code (if they're mean)
2) Attachmate open-sources the whole thing (if they're nice)
3) Attachmate sells the IP to Xamian for cheap (if such a deal could
be worked out)..

I'm very glad to see the Mono guys are still all together - starting a
new company was an awesome idea, I'm definitely a bit jealous..  If I
had some money I'd want to help fund this effort..

Mike
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] C# 5.0 Async programming video

2011-04-19 Thread Mike Christensen
For anyone interested in async features scheduled for the next version
of C# and VB, this was a pretty cool video..  It kinda makes my brain
hurt a bit though..

http://channel9.msdn.com/Events/PDC/PDC10/FT09

For extra points, try to count how many times the speaker uses the
phrase if you will..

Mike
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] HTML Parser in Mono

2011-04-17 Thread Mike Christensen
Here's another one I came across, though I haven't used it..

http://www.majestic12.co.uk/projects/html_parser.php

Says it works well on Mono though..

Mike

On Sun, Apr 17, 2011 at 6:37 AM, Alex xtzgzo...@gmail.com wrote:
 Hi,

 I think HTML Agility Pack will do what you want:
 http://htmlagilitypack.codeplex.com/

 Regards,
 Alex

 2011/4/17 Joel Sevilleja Febrer joel7...@gmail.com:
 Thanks for answering so quickly. What I want is something like
 XDocument from .Net, so I can select elements and navigate through
 them. Thank you

 2011/4/17 Alex xtzgzo...@gmail.com:
 Hi,

 Do you want something that just does lexing/parsing or something that
 spits out a full-blown object model?

 Regards,
 Alex

 2011/4/17 Joel Sevilleja Febrer joel7...@gmail.com:
 Hi,
 is there any html parser for Mono? Thanks

 --
 Atentamente,
 Joel Sevilleja
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list





 --
 Atentamente,
 Joel Sevilleja

 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] logging to remote syslog servers

2011-02-10 Thread Mike Christensen
 I have been able to log requests to the local syslog server just fine. How
 to I edit my code to send the logs to a remote syslog server? Also, is there
 a way to change what computer name is sent to the syslog? We will be using
 this program in a Netboot environment for our Mac build process and the
 computer name will not be set yet. Just the randomly generated name.



 IntPtr ident = Marshal.StringToHGlobalAnsi(Network Software);

 Syscall.openlog(ident, SyslogOptions.LOG_PERROR | SyslogOptions.LOG_PID,
 SyslogFacility.LOG_DAEMON);

 Syscall.syslog(SyslogFacility.LOG_DAEMON, SyslogLevel.LOG_NOTICE, Test
 Message);

 Syscall.syslog(SyslogFacility.LOG_DAEMON, SyslogLevel.LOG_NOTICE, Test
 Message 2);

 Syscall.closelog();

 Marshal.FreeHGlobal(ident);

I don't know anything about syslog, but if I recall correctly, log4net
is able to handle this sort of thing pretty well.  It's a free and
open source logging library that works pretty well, and at the very
least maybe you can dig through the source code.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Site downloads section incompatible with IE

2011-01-05 Thread Mike Christensen
 This is not software-related at all, just noticed that the Mono website's
 downloads section ( http://www.go-mono.com/mono-downloads/download.html
 http://www.go-mono.com/mono-downloads/download.html ) doesn't work with
 Internet Explorer...

 If you try to click on one platform's icons, it does nothing but brings a
 JavaScript error. Tested with IE7 and IE8 on two computers. Works with
 Firefox.
 Doesn't know who cares but it might harm the project's accessibility...

If anyone cares, this happens due to the following line of code in download.js:

document.getElementById(stable_td + i).style.removeProperty(background);

IE, in its infinite wisdom, has decided not to support the
removeProperty method and instead has a removeAttribute method.  Or,
you can just set background to null or empty string.  Ugh DOM stuff
sucks, but yea this should be fixed.

Mike
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Microsoft Solver Foundation 3.0

2011-01-04 Thread Mike Christensen
A friend of mine is the lead engineer on that product (also one of the
smartest guys I've ever met)..  So if any questions or issues were to
arise in such a port, I'd have a connection.

I looked into using it for my website (which figures out recipes based
on what ingredients you have), however I didn't like the licensing
terms so I ended up writing my own code.

Mike

On Wed, Jan 5, 2011 at 10:57 AM, theOptimizer max.mi...@gmail.com wrote:

 Has there been any thought / interest about adding Microsoft Solver
 Foundation?

 http://code.msdn.microsoft.com/solverfoundation/Release/ProjectReleases.aspx?ReleaseId=1799

 Solver Foundation seems primarily to be useful for solving linear programs.

 --
 View this message in context: 
 http://mono.1490590.n4.nabble.com/Microsoft-Solver-Foundation-3-0-tp3174800p3174800.html
 Sent from the Mono - General mailing list archive at Nabble.com.
 ___
 Mono-list maillist  -  mono-l...@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] graffic interface

2010-09-01 Thread Mike Christensen
A lot of that wouldn't be too terribly hard to do with XAML/Moonlight..

2010/9/1 Juan Carlos Ferrández bioubu...@gmail.com:

 Hiya!

 I´ve been working on a kind of multimedia centre lately, developing
 different audio and video reproduction options, online newspapers reading,
 etc. The thing is that, as a beginner in mono, my graphic internet is quite
 spartan, mostly Stetic made (buttons, treeviews...)

 Is there any Library, like Pigment, for mono?

 Just to make an idea of it all, you can have a look to Pigment website and
 these following exemples (the last one above all):


 https://code.fluendo.com/pigment/trac

 http://macslow.thepimp.net/clips/pigment-example-4.ogg
 http://macslow.thepimp.net/clips/pigment-example-3.ogg
 http://macslow.thepimp.net/clips/pigment-example-2.ogg


 As a closer refference I was having a look at SDL through Tao. What do you
 think about this option?


 THANX
 JC

 (Sorry for my English  :(  )

 --
 View this message in context: 
 http://mono.1490590.n4.nabble.com/graffic-interface-tp2411363p2411363.html
 Sent from the Mono - General mailing list archive at Nabble.com.
 ___
 Mono-list maillist  -  mono-l...@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] String comparisons slow

2010-07-21 Thread Mike Christensen
Is there a release date for 2.8?

Also, how does the 2.8 GC (I realize it's only a beta) compare with the .NET GC?

Mike

On Tue, Jul 20, 2010 at 11:19 PM, Stifu st...@free.fr wrote:

 There has been performance improvements since Mono 2.0. You may get better
 results with Mono 2.6. Or if you're not in a hurry, wait for Mono 2.8 which
 should come out soon (that way you could also check out performances with
 the new GC).
 --
 View this message in context: 
 http://mono.1490590.n4.nabble.com/String-comparisons-slow-tp2296525p2296643.html
 Sent from the Mono - General mailing list archive at Nabble.com.
 ___
 Mono-list maillist  -  mono-l...@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] [Blatant Alias Abuse] Anyone want to help out with a coding problem?

2010-06-17 Thread Mike Christensen
Hi all – I apologize for the misuse of this alias, but I figured I
have the audience that might be interested in helping me out with a
rather difficult coding problem.  In fact, if I can find someone who’s
looking for some part-time work and is interested in a bit of extra
cash, then it’ll be worth it.

First off, a friend and I are starting a little dot-com here in
Seattle that focuses on recipes and meal planning.  We’re building on
a typical LAMP stack (Linux, Apache, Mono, Postgres – why what did you
think I meant?) so we need someone with those skills as well as pretty
serious computer science skills (probably Masters of PhD).

Here’s the problem.  Imagine you have a set of one or more recipes.
Each recipe requires one or more ingredients along with an amount of
that ingredient.  You also have a given user, who has an available set
of ingredients and amounts in their inventory.  The job is to find the
most efficient set of n recipes you can make with the given
ingredients, resulting in the fewest number of leftover amounts.
Sounds like your typical NP-Complete “multiple-knapsack” problem,
right?  I’ll make it a bit more complicated now.  This user also has a
set of “ratings” associated with zero or more recipes (0 stars, user
hates the recipe, 5 stars, they love it).  One of the parameters of
the function is to take a sliding scale (between 1 and 10) that
indicates how much their ratings will play into the recipes the
function chooses.  A scale of zero will tell the algorithm to ignore
their ratings and pick the most efficient set.  A value of ten will
try to use their available ingredients if possible, but worry more
about picking recipes they’re probable to like.  A default setting of
5 would pick some sort of even balance.

Here’s the data you have to work with:

-   All recipes will be in RAM, no database access required.  The
recipes contain only a guid, a list of required ingredients and
amounts, and a public average rating.
-   There might be 100,000 recipes for all you know, so a brute-force
“try every combination” approach is out of the question.  Scalability
is key.
-   I’d prefer an algorithm that results in more accurate results the
longer it runs, as the available system resources and system load
could dictate how long to run the algorithm before telling it to stop.
-   The engine is given a user profile (their inventory, all their
ratings, and how many recipes they want to cook)

Here’s my requirements for a solution:

-   Scalable of course.  Needs to be fast with lots of recipes, lots of
ratings, and able to work with multiple users at once.  RAM is cheap.
-   Algorithm functions as both a “suggestions” engine (think of the
Netflix algorithm for movie recommendations) and a “what can I make?”
algorithm, and can trend towards one side or the other.
-   All code needs to be written in C#.  I have a basic outline and all
data structures prepared, I just need to fill in the main function.
-   Code needs to have unit tests, proving it works.

If this sounds like something you’d want to spend a weekend or two on,
lemme know.  I’m willing to pay a grand or so.  I’m also willing to
donate that grand to your favorite open-source project or foundation.
Please reply to me privately so we don’t clutter up this list with an
off-topic thread.  Thanks!!

Mike
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] [MonoDevelop] MonoDevelop 2.4 released

2010-06-16 Thread Mike Christensen
+1 to an easy way to install this on Ubuntu 10.04..  Also, it looks
like my major gripes with the Immediate window are still there..

- No declaration of variables:

 int x = 5;
EOF expected
 Button b = new Button()
EOF expected

- No calling of methods:

 a
7
 a.GetType()
Evaluation failed.
 a.ToString()
Evaluation failed.

(Note: Sorry, this only seems to be the case for variables on the
stack, maybe the debugger doesn't box?)

- If you change the value of a string in the Value Visualizer, you get
an unhandled exception. (You can change this in the Immediate window)

- Adding variables to the watch window shows their value according to
the program execution.  If they're modified under the debugger, the
values are not reflected.  If you change the values in the watch
window, the immediate window will show the new value but the hover
over variable watcher shows the old value.  If you change the hover
over value, the hover over value will show the new value but nothing
else will.  It's like everything lives in its own universe.  The
debugger needs to write directly to the program heap.

- I still can't drag variables onto the watch window.  At least on the
Mac.  Further more, if I try, the text editor gets stuck in drag
mode.

Suggestions:

- Right click context menu on Immediate window should have a Clear button.


On Wed, Jun 16, 2010 at 2:40 AM, Daniel Hughes tramps...@gmail.com wrote:
 This release looks really good just one question however.

 If you click on ubuntu you get the following message

 MonoDevelop 2.2 is available in Ubuntu 10.4. Older Ubuntu releases
 contain older versions. MonoDevelop 2.4 coming soon.

 Does the coming soon message mean waiting to Ubuntu 10.10 or is it
 going to be available via a PPA on ubuntu 10.04?

 On Wed, Jun 16, 2010 at 9:21 PM, Lluis Sanchez Gual
 slluis.de...@gmail.com wrote:
 The MonoDevelop team is proud to announce the release of MonoDevelop 2.4.

 MonoDevelop is an IDE primarily designed for C# and other .NET
 languages. MonoDevelop enables developers to quickly write desktop and
 ASP.NET Web applications on Linux, Windows and Mac OSX. MonoDevelop
 makes it easy for developers to port .NET applications created with
 Visual Studio to Linux and Mac OS maintaining a single code base for all
 platforms.

 The official announcement is available here:

 http://www.monodevelop.com/Download/MonoDevelop_2.4_Released

 A detailed description of the features included in this release is
 available here:

 http://monodevelop.com/Download/What%27s_new_in_MonoDevelop_2.4

 Many thanks to everybody that made possible this release.
 Enjoy!

 The MonoDevelop Team.

 ___
 Monodevelop-list mailing list
 monodevelop-l...@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/monodevelop-list

 ___
 Mono-list maillist  -  mono-l...@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Mono with OpenID? Anyone done it?

2010-05-10 Thread Mike Christensen
I'm curious if anyone has built a site on Mono and provided OpenID
logon abilities.  Does the DotNetOpenAuth library work well under
Mono?  Anything I should watch out for?

I don't need any of those fancy ASP.NET controls, my stuff is all
static HTML with JSON calls so I just need to call into the library
code for the authentication stuff.  Thanks!!

Mike
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] MonoDevelop 2.4 Beta 1 released

2010-05-06 Thread Mike Christensen
This is awesome, I just installed this on my Mac and looks very good.
No glaring bugs or anything.  I have a few questions about the
Immediate window.  It seems to be read-only.  First off, I cannot
declare a new variable:

 string s = Hello;
EOF expected

Second, if I change an existing variable in the local scope, it
apparently ignores me:

 y
18
 y++;

 y
18

Third, I cannot call methods on local variables:

 y.ToString()
Evaluation failed.

(Note there's also no Autocomplete within the Immediate window which
would be a nice to have as well)..

When I'm debugging, I use the Immediate window quite a bit to mock up
code before I change my program, and some polishing up on the
MonoDevelop immediate window would go a long way.  The more this could
be like Visual Studio, the better.  (I'm sure you guys hear that one a
lot).  Any chance of fixing some of these issues before the final
bits?  Thanks!!

Mike

On Thu, May 6, 2010 at 4:19 PM, Lluis Sanchez Gual
slluis.de...@gmail.com wrote:
 The MonoDevelop team is proud to announce the release of MonoDevelop 2.4
 Beta 1 (2.3). This is the first release of a series of releases that
 will lead to MonoDevelop 2.4, hopefully around the end of May.

 MonoDevelop is a GNOME IDE primarily designed for C# and other .NET
 languages. MonoDevelop enables developers to quickly write desktop and
 ASP.NET Web applications on Linux, Windows and Mac OSX. MonoDevelop
 makes it easy for developers to port .NET applications created with
 Visual Studio to Linux and to maintain a single code base for all
 platforms.

 This release contains lots of new features and improvements. Here is a
 summary of the new features:

      * Workbench Usability
              * Improved look
              * Improved pad organization
              * Improved Error Workflow with In-line Error Bubbles
              * New Project/File dialogs
              * New Navigate To dialog
              * Solution and Class pad Zooming
              * New Options for selecting the user interface language,
                output pad font and GTK+ theme.
      * Project Model
              * Standalone Assembly Projects
              * External Console Support for Mac and Windows
              * Support for adding files to solution folders
              * Proper MSBuild file links in projects
      * Source Editing
              * Improved in-line search
              * Group Mode in Code Completion
              * Symbol Usage Highlighting
              * Editing Support in Block Selection Mode
              * Import Type Command
              * Code Focus Toggle and Follow-cursor
              * Quick Fix Command
              * Scrollable Region Tooltips
              * Improved Filtering in Completion List
      * Debugger
              * Pinned Quick Watches
              * Debug Value Visualizers
              * Improved expression evaluation
              * New Exception Dialog
      * Tools
              * New Hex Editor
              * Integrated T4 Templating
              * More Code Metrics
      * ASP.NET
              * Code completion for C# regions
      * Web References
              * Support for WCF Web References
              * Support for references that require authentication
      * Improvements in other add-ins:
              * NUnit
              * MonoTouch
              * Mac OS support
              * Vala

 A more complete description of what's new in MonoDevelop 2.4 is
 available here:
 http://monodevelop.com/Download/What%27s_new_in_MonoDevelop_2.4

 Release notes:
 http://monodevelop.com/Download/Release_Notes/Release_Notes_for_MonoDevelop_2.4_Beta_1

 Sources and packages are available here:
 http://www.monodevelop.com/Download

 Enjoy!


 ___
 Mono-list maillist  -  mono-l...@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Powershell over Linux

2010-03-01 Thread Mike Christensen
I'll take a quick stab at answering this, though I'm far from a
PowerShell expert..

The main question is what's so special about PowerShell and why is
it any better than Bash or what not.  I think the primary factor is
PowerShell is not a command line interpretter but an actual CLR host
itself (similar to how SQL Server can host the CLR for extended stored
procedures).  It can load managed DLLs into memory, and provide access
into managed objects using reflection and auto-complete stuff on the
command line based on the object type.  Commands are nothing more than
.NET classes with properties you set on the command line, so the
parser itself can do things like auto-complete command line
parameters, resolve ambiguous parameters (-rec is the same as
-recurse).  If you write a command, you don't have to do /any/ parsing
of the command line parameters (unless you want to)..

That being said, the actual command line interpretter is totally
abstracted from the PowerShell engine.  You could embed PowerShell
into your program and run PS scripts or even write your own command
line syntax.  The engine itself allows you to do pretty nifty things
such as instantiate managed objects on the fly.  I can say:

PS C:\ 1 + 1
2

What I've gotten is an actual Int32 object.  I can prove it with:

PS C:\ $a = 1 + 1
PS C:\ $a.GetType().Name
Int32

Further more, any CmdLet (which you can write in managed code and
load into the engine) has a full object model:

PS C:\ $b = dir
PS C:\ $b.Count
101

The real power of this is you can pipe the results of one command into
the input of another command and refer to the actual interface of that
object.  In *NIX, you have to do a bunch of grep'ing and text parsing
to really make sense of anything.

There's also some great things such as COM interop..  Watch as I
instantiate IE on the command line and make it navigate somewhere:

PS C:\ $ie = new-object -com internetexplorer.application
PS C:\ $ie.visible = $true
PS C:\ $ie.navigate2(http://www.cnn.com;)

The PowerShell team basically got a bunch of old-skool UNIX hackers
and had them sit down and design the command line environment they
/wished/ they had in UNIX.  This even included some old Amiga geeks
and long time sysadmins.  It's pretty well designed in my opinion.  I
for one would love to see something like this written on Mono, but I'm
afraid it's a long ways off from happening since it really takes
advantage of what the Windows system has to offer..

Mike

On Mon, Mar 1, 2010 at 11:22 AM, Ben Gamari bgamari.f...@gmail.com wrote:
 Excerpts from Andrew Brehm's message of Mon Mar 01 05:35:06 -0500 2010:
 I feel your pain. I would also love to use Powershell on (in my case) Mac OS
 X.
 Not to sidetrack the conversation but what exactly can you do in
 Powershell that you can't do in Bash/csh/Python/Ruby/Perl?

 It seems that Powershell is just another misguided attempt by Microsoft
 to emulate Unix facilities while ignoring the principle of orthogonality
 that gives the Unix tools so much of their power. I utterly fail to see
 why you should need yet another syntax just to do basic scripting. It
 seems they just created another language instead of fixing their
 completely useless command line shell (cmd.exe).

 I'll give Microsoft credit where credit is due (the CLR is a pretty
 excellent design and F# is a wonderful language), but command line
 scripting has never been their strength.

 - Ben

 ___
 Mono-list maillist  -  mono-l...@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Moonlight Unit Testing/Code Coverage Tools

2010-01-08 Thread Mike Christensen
I'm looking for any existing unit testing (Like NUnit) or Code
Coverage tools that could be used to test an API library written to
run on the Silverlight/Moonlight DLRs.  Anything out there already?

Mike
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] MonoDevelop 2.2 on OS/X problems

2010-01-03 Thread Mike Christensen
I just got around to installing MonoDevelop 2.2 and Mono 2.6 (Both
using the Disk Images) and am having several problems with web
applications.

1) Running with soft debugger usually does not work.  One of three
things happens (at random): The web browser is never launched but the
application appears to be running (If I open a browser and navigate to
localhost, I just get a DNS error so looks like xsp isn't running),
or; the web browser launches and tries to navigate to 127.0.0.1:8080,
but after 10 minutes still no response, or; MonoDevelop freezes with
the wait cursor and I have to Force Quit after several minutes.

2) I did get the app working once by changing the port to 8081,
however when I tried running it again it also ran but would no longer
trigger any breakpoints.  When I recompiled and tried it again, it
said it could not attach to the port (port in use).  I tried changing
to 8082, but this also locked up MonoDevelop next time I ran.

3) When I did get it to trigger a breakpoint, I noticed a lot of
limitations with the soft debugger.  First, I cannot drag variables to
the watch window (there's also a bug if you drag a variable name off
the IDE the move the mouse back, the mouse stays stuck in selection
mode).  Second, all information seems to be immutable.  If I change
button1.Text from Click me to Foo, it immediately just changes
back to Click me.  Third, I love the fact that there's an Immediate
Window, but as of yet I've found no use for it.  I cannot declare new
variables (int x = 5), I cannot seem to change any existing variables
(button1.Text = New Value;) and there's no auto-complete
(Intellisense) within variables.  Having an immediate window in VS for
both managed code and script is the single best feature of the VS
debugger, IMO.

On the plus side, MonoDevelop has definitely come a long way in terms
of Mac usability and raw speed.  It's quick, loads fast, no weird
re-size bugs (except for the fact I cannot seem to resize the entire
app, only toggle between maximized and normal)..  I would also /love/
to see a keyboard layout that would emulate Windows, where pressing
the End key actually moved to the end of the line (silliest thing
ever on Mac apps)..  The one time I did get the debugger working, it
seemed fast.

Keep up the good work, it's getting there slowly but surely..  I would
/love/ to have an open source alternative to Visual Studio 2008 but
looks like we're still a ways off..

Mike
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] ASP.NET C# development on Mac ?

2009-12-10 Thread Mike Christensen
Did you guys ever get the MonoDevelop debugger working on xsp on OS/X?

On Thu, Dec 10, 2009 at 9:54 AM, Michael Hutchinson 
m.j.hutchin...@gmail.com wrote:

 On Thu, Dec 10, 2009 at 3:42 AM, Austerus and...@dragonflame.org wrote:
 
  Hey Cygon and thanks a lot for the reply.
 
  I will try it with xsp alone right now but I was wondering about mod_mono
  (this solution would fit me better since I am running Apache anyway),
 where
  do I get it? I couldn't find it in the mono installation and on the
 website
  it sends me to the download page, but there I can only get Mono as a
 whole,
  no mod_mono.
 
  Also, do you know how to default the xsp port to 8080? (I have Apache on
 80
  and I need that intact).

 MonoDevelop uses xsp when you run as ASP.NET project within MD, and
 you can change the port in project options. It defaults to 8080.

 From the command-line, check xsp --help. IIRC the argument is --port.

 AFAIK it's possible to run mod_mono on the mac but you'll have to
 build it from source. And MonoDevelop doesn't integrate with
 Apache/mono_mono, so the dev cycle won't be so easy.


 --
 Michael Hutchinson
 http://mjhutchinson.com
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Sites Using Mono

2009-11-22 Thread Mike Christensen
If I'm not mistaken here, I think this thread is basically boiling
down to a trust issue; OP, please correct me if I'm wrong.

People /want/ to see some huge site such as ebay or something written
totally on Mono so they at least know Hey yes that's possible to do,
I can commit to that technology for my project and deal with problems
as they come up..

Mono can be the fastest thing on earth if setup right, but without a
solid résumé it'll be a hard sell..

Mike

On Sun, Nov 22, 2009 at 4:59 PM,  ty...@monkeypox.org wrote:

 On Sun, 22 Nov 2009, sirmak wrote:


 Thank you very much Miguel, I appreciate you so much, but all I found best
 were that two single host sites. I was need a mono reference like
 monster.com, reddit.com to make a decision for a similar project.


 As Miguel pointed out, the comparision simply isn't applicable.

 For example, I run a few small traffic sites on a single host running Lighttpd
 out in from of Mono.Webserver.FastCGI; most people tend to run mod_mono behind
 Apache.


 To be honest, running a large site on Monp is no different than running it on
 Perl, PHP or Python via mod_perl, mod_php5 or mod_python respectively. Most of
 my experience is running with Apache/mod_python; Python itself is not the
 fastest in the world but there are a number of techniques that are commonly 
 used to
 scale $LANGUAGE behind Apache (load balancers, recycling Apache workers, etc)

 I honestly think the primary reason to chose Mono for hosting sites is to have
 better control and insight into the framework powering the site, rather than
 licensing the stack from you know who.

 That said, there's a large number of bigger fish to fry (read: data
 model/layer) that cause scaling issues rather than just the framework/runtime.


 Cheers,
 -R. Tyler Ballance
 --
  GitHub: http://github.com/rtyler
 Twitter: http://twitter.com/agentdero
   Blog: http://unethicalblogger.com


 ___
 Mono-list maillist  -  mono-l...@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] How do I force a garbage collection / free a heap

2009-11-16 Thread Mike Christensen
Thanks!  This is exactly what I needed.  I did some tests and with a
large database (probably the most data I'll ever have) I allocated
about 500 megs on the heap.  Once I null out my temporary workspace,
GC.Collect() takes about 30ms to run and my process goes back down to
about 18 megs..  If I don't run GC.Collect(), I see the 500 megs
sitting around for quite some time..

Since this is simply a web site start-up routing, I think this is the
best way to go..

Mike

On Sun, Nov 15, 2009 at 8:11 PM, Michael Hutchinson
m.j.hutchin...@gmail.com wrote:
 On Sun, Nov 15, 2009 at 7:04 PM, Mike Christensen m...@kitchenpc.com wrote:
 Hi all -

 I have a program that generates some results, but in order to do so it
 must load a whole lotta stuff into memory for calculations.  When this
 is done, I only need the results and not the data in memory.  This
 data might be several hundred megs on the heap or more.

 When I'm done, I want to free this data and not have it sit around
 and slow down stuff.  Is there a way to force a GC cycle or just say
 delete these objects?  Is there a better design for this sort of
 thing (like can I create my own heap and just release the whole thing
 at once?)  Also, I'm aware that GC will freeze all threads while it
 works, which is okay since I only do this when the application starts
 and I don't mind if the start-up costs are slow (since it's a web
 site)..

 Any pointers would be great!

 You can use GC.Collect () to force a collection. Generally it's
 advised not to call GC.Collect, because it's best to let the garbage
 collector handle its scheduling, but it sounds like your use case is
 okay.

 --
 Michael Hutchinson
 http://mjhutchinson.com

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] How do I force a garbage collection / free a heap

2009-11-15 Thread Mike Christensen
Hi all -

I have a program that generates some results, but in order to do so it
must load a whole lotta stuff into memory for calculations.  When this
is done, I only need the results and not the data in memory.  This
data might be several hundred megs on the heap or more.

When I'm done, I want to free this data and not have it sit around
and slow down stuff.  Is there a way to force a GC cycle or just say
delete these objects?  Is there a better design for this sort of
thing (like can I create my own heap and just release the whole thing
at once?)  Also, I'm aware that GC will freeze all threads while it
works, which is okay since I only do this when the application starts
and I don't mind if the start-up costs are slow (since it's a web
site)..

Any pointers would be great!

Mike
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Android

2009-11-04 Thread Mike Christensen
Well the Windows Mobile 7 platform will be centered around the
Silverlight runtime.  I would suggest positioning Mono/Android in a
similar strategy.

On Tue, Nov 3, 2009 at 11:27 PM, Stifu st...@free.fr wrote:

 The Mono guys put a theme interface in place for WinForms, which could be
 used to make WinForms apps look right on Android.

 Just my 2 cents. Good luck!


 Thomas Jam Pedersen wrote:

 Thanks for your feedback Daniel.

 OK, so you don't like winform. (But this is where the majority of
 developers are worldwide)
 Would WPF be better for you?

 Let me tell you what we want. We are not particular focusing on winform.
 What we want to do, is to make it possible to build an application in
 Visual Studio.
 Then be able to run that application on 6 different platforms without
 having to rebuild it for each platform. And it should look and feel almost
 the same on all 6 platforms. And it shall be able to run both as a
 preinstalled application and as a small application which you run ondemand
 from URL link. (essentially embedded in a webpage)

 For Android we would like to make a bridge that enable you to access
 Dalvik (Android Java) functionality. But we don't want to force developers
 to do anything in Java or learn a new IDE.

 Given these two constraints (no java, no new IDE) it would be nice if some
 of you could give us  feedback on what you would like to have on Android.
 (and other mobile platforms)

 Best regards,

 Thomas


 -Oprindelig meddelelse-
 Fra: mono-list-boun...@lists.ximian.com på vegne af daniel
 Sendt: on 04-11-2009 06:49
 Til: Mono-list@lists.ximian.com
 Emne: Re: [Mono-list] Android

 I personally would rather bindings to the android graphics libraries
 (whatever they are called) then a winforms port which will just look and
 feel wrong.

 At work I am a windows mobile developer and develop using the compact
 framework and I can tell you that winforms on mobile devices sucks big
 time. Its impossible to create anything that look half way decent. And
 if you want to do anything remotely modern looking you have to drop into
 native libraries using pinvoke.

 So no thank you to the win forms but yes please to mono on android.
 Something on par with the iphone support would be great.

 Adam Tauno Williams wrote:
 On Tue, 2009-11-03 at 13:04 +0100, Thomas Jam Pedersen wrote:

 We are currently porting Mono to Android. (and soon also to ChromeOS)


 Exciting.  (a) I love .NET and (b) I just pre-ordered my Motorola Droid.

 I really, really, don't want to develop in Java.


 We expect to release the first version in the beginning of next year.
 (2010)
 We hope to make it so that winform programs developed in VisualStudio
 will run on all platforms without recompile (in most cases).


 Wow!  A Winforms app on a mobile device?  I don't even want to do that -
 but if you make it work someone should buy you a beer.

 ___
 Mono-list maillist  -  mono-l...@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list



 ___
 Mono-list maillist  -  mono-l...@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list



 ___
 Mono-list maillist  -  mono-l...@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list



 --
 View this message in context: 
 http://old.nabble.com/Android-tp26177657p26192032.html
 Sent from the Mono - General mailing list archive at Nabble.com.

 ___
 Mono-list maillist  -  mono-l...@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Android

2009-11-04 Thread Mike Christensen
Yes, there will be a core Silverlight framework (a Mini .NET if you
will) that will be the same on browser and mobile and then extensions
specific to mobile that will provide access to phone level hardware
like touch, GPS, camera, etc.

One person mentioned that being able to write a program once and have
it run anywhere is loony, which it is; but this strategy would make
possible the ability to write a mobile program and run it on WinMo and
Android with little or no recompilation.  WinMo (6.x anyway) has
something like 200,000 apps so even if half those port over to 7 (yes,
all third party 7 apps will be written in managed code) then I could
see a lot of the WinMo apps either supporting Mono/Android directly or
coming out with Android versions well before iPhone versions.

Mike

On Wed, Nov 4, 2009 at 3:20 AM, Robert Jordan robe...@gmx.net wrote:
 daniel wrote:
 Silverlight does provide a modern looking user interface.

 However the current sand boxed, browser based silverlight is not useful.

 WinMob 7 won't be based on the Silverlight *browser* plugin,
 which is just a host of the Silverlight framework.

 WinMob will host Silverlight 3.0 mobile apps directly, of course
 *with* GPS and other hardware support.

 If I would care about those devices, I'd go the Moonlight way,
 although I don't believe that a catch-all UI framework would
 ever be as useful as a lovely implemented native UI that
 respects the HIG of a certain device. See MonoTouch.

 Robert

 ___
 Mono-list maillist  -  mono-l...@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] [Mono-aspnet-list] sqlite questions?

2009-11-03 Thread Mike Christensen
I'll just have to chime in here and recommend at least taking a brief look
at PostgreSQL as well.  I tried it out a while back and haven't gone back to
either MS SQL or MySQL since..  You'll have no problems getting Mono code to
talk with it either.

On Tue, Nov 3, 2009 at 12:35 AM, william leader william.lea...@gmail.comwrote:

 I would suggest you consider using another database altogether. SQLite
 is meant to interface with c and c++ programs, neither of which is a
 language mono supports. Most asp.net applications are developed for
 Microsoft SQL server or MySQL server depending on where the developer
 wants the asp.net application to be run. Personally I would suggest
 MySQL as it has good support for ASP.net features like membership and
 role providers. Additionally the MySQL server can be run on a range of
 operating systems such as Windows and Linux. The MySQL libraries that
 allow .net languages such as C# to easily communicate with the MySQL
 server are known to work in both Microsoft and Mono environments. As a
 plus the community version of MySQL can be had for no cost, or if you
 need business support a commercial version is also available.

 -Will

 On Tue, Nov 3, 2009 at 5:01 AM, Dale E. Moore daleemo...@gmail.com
 wrote:
  Is this a good place to ask questions about sqlite? Can somebody please
 tell
  me where to go;)
 
  Has everybody (or anybody) worked with monodevelop to put together an
  asp.net application that uses an sqlite database that they then put into
  production?
 
  hello, hello, hello ... is there anybody out there?
 
  ___
  Mono-aspnet-list mailing list
  mono-aspnet-l...@lists.ximian.com
  http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
 
 
 ___
 Mono-aspnet-list mailing list
 mono-aspnet-l...@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-aspnet-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Is Mono serious? Is Mono still alive?

2009-11-02 Thread Mike Christensen
A few comments:

First, I think Mono is a fantastic platform that's making huge advances with
each release.  However, it simply doesn't compare with Microsoft .NET.  The
.NET Framework has hundreds of people working on it, a near unlimited
budget, and is the obvious choice for running .NET code.  It has one of the
most advanced garbage collectors ever written, has a huge arsonal of
profilers, code coverage tools, debuggers, third party frameworks, etc.  The
way I see it, the .NET name is associated with Microsoft and Microsoft has
somewhat of a bad rep in the open source community.  For this reason, those
who have made the decision to go open source most likely already steer away
from Microsoft based technologies.  Companies who are .NET enthusiasts most
likely have no problem running Windows servers at which point you might as
well just run the .NET Framework and runtime since it's free and is always
cutting edge.

Second, MonoDevelop is probably my favorite open source/free IDE (more so
than Eclipse or anything else I've used) but it's still far, far behind
Visual Studio.  VS looks great, is extremely flexible and has hands down the
most advanced debugger I've ever seen.  I can debug web apps, unmanaged
code, script code, whatever.  The only thing I've actually witnessed MD
being able to debug is managed console apps.  I work 99% on web applications
and until MD can debug web apps (on all platforms), it's totally useless to
me.  Until it can debug script code, it's severely limited to me.  I imagine
by the time it does all this, VS 2010 will be out and set an even higher bar
for MD to follow.

To summarize, Mono is a great platform and I appreciate all the effort that
goes into it, but I think companies either embrace the Microsoft world and
use Windows/.NET/VS or they embrace the open source world and use LAMP or
Java and Eclipse.  Trying to say This platform Microsoft invented is great,
we've ported it over to the open source world but it's of course not as good
as the real thing is a tough sell to many companies..

Mike

On Fri, Oct 30, 2009 at 9:03 AM, Stifu st...@free.fr wrote:


 Mono is alive and kicking. Other than the number of posts here and on
 monologue (http://www.go-mono.com/monologue/), which clearly shows Mono is
 nowhere near dead (unlike, say, dotGNU), the gap between Mono 2.0 (last
 year) and Mono 2.6 speaks volume about how fast things are moving.

 1) I take it you saw roadmap? http://mono-project.com/Roadmap
 As far as I know, other than WPF, pretty much everything in .NET is planned
 for implementation in Mono.
 The class status page (http://go-mono.com/status/) is also interesting,
 although it doesn't tell you about future goals.
 I believe Miguel said about a dozen of Novell devs worked on Mono (+
 contributors), I don't know much other than that.

 2-3) I agree about the lack of updated content / documentation... I believe
 Olive (or part of it?) was merged with the main Mono branch at some point,
 but I don't know the details.

 4) I'd pick MonoDevelop over Eclipse, personally. Although less mature,
 MonoDevelop is lighter and faster, and has just the features I need. It
 just
 needs to be polished some more (stability improvements, bugs fixing, OS
 parity by, for example, adding debugger support for everything on every
 OS...). MonoDevelop has been worked on for years, and with the relatively
 recent additions of debugging + Windows and OSX support, I guess the bulk
 of
 the work has already been done. If MonoDevelop had only just been started,
 I
 may agree with you, but MonoDevelop is there right now and already works
 fine.
 That said, that doesn't prevent Eclipse-enthusiasts from looking into Mono
 with Eclipse, but I don't think Novell should bother at this point.

 All of that said, few companies use (or even know) about Mono... which is a
 shame. Hope that ends up changing.


 cmdematos wrote:
 
  I don't want to stir up a hornets nest. It is my intent to see Mono as a
  strong enough offering to be able to recommend medium to large companies
  to commit to an Open technology stack that includes (and relies on) Mono.
  Forgive me if I am not well informed, I am definitely well intended.
 
  The following are issues that stop this from reaching any sort of
 reality:
  1) There is no visible Mono timeline and release plan. What is Mono's
  intent and stated goals for the future? Will it try to maintain parity
  with Microsoft Dot.Net to some level, and if so what level and by what
  time-line?
1.1) What are mono's resources?
1.2) Who are mono's sponsors?
1.3) Are we resourcing up to maintain pace with our plans?
 
  2) Many projects that should be enablers of achieving a reasonably parity
  with Microsoft Dot.Net have not been updated since Dec 2008 (such as
  Olive) If these are no longer strategic the thinking behind this should
 be
  made transparent.
 
  3) The mono site has a mix of outdated pages statuses and some (very
  little) new content. I agree 

[Mono-list] Will there be an easy way to install MonoDevelop 2.2 on Ubuntu

2009-11-02 Thread Mike Christensen
Hi - When MonoDevelop 2.2 is released, will there be an easy way to install
this on Ubuntu, or will the only way be to download the sources and build?

I tried building from the trunk, however I ran into an endless maze of
dependencies and gave up after about 2 hours.

Thanks!

Mike
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Does mono support VC++

2009-10-20 Thread Mike Christensen
Hi -

I believe you are mistaken in your terminology.  There is no such
thing as a VC++ DLL or DLL based on VC++ code.  Mono is a
framework designed to run managed IL code, which is a CPU agnostic
instruction set designed to be cross-platform.  A DLL compiled from
VC++ code is x86/x64 assembly code and thus is run directly by the
operating system and not the Mono or .NET runtime.

Mono is not some sort of Windows or x86 emulator, it's simply a
runtime.  Your DLL is most likely tightly coupled with various Windows
APIs that simply don't exist on Linux and thus your DLL would not
function properly.

Mike

On Tue, Oct 20, 2009 at 9:16 PM, Bharti Mishra bharti...@tcs.com wrote:

 Hi,

 I am migrating vb.net application onto linux(open suse) platform using mono
 2.4.3. I have one dll for printing which is based on 'VC++' code.
 when have tested this dll through MoMA, it shows this is not a proper dll.
 let me know does mono support VC++ code
 or any other solution to resolve this problem.

 thanks
 --
 View this message in context: 
 http://www.nabble.com/Does--mono-support-VC%2B%2B-tp25986289p25986289.html
 Sent from the Mono - General mailing list archive at Nabble.com.

 ___
 Mono-list maillist  -  mono-l...@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] MonoDevelop 2.2 Beta 2 released

2009-10-14 Thread Mike Christensen
Will MonoDevelop 2.2 (final release) support the debugging of Mono web
applications on OS/X?  Or will that remain only supported on Linux?
Thanks!

Mike

On Wed, Oct 14, 2009 at 12:03 PM, Lluis Sanchez Gual ll...@novell.com wrote:
 The MonoDevelop team is proud to announce the release of MonoDevelop 2.2
 Beta 2 (2.1.1). This is the first release of a series of releases that
 will lead to MonoDevelop 2.2, hopefully around November.

 MonoDevelop is a GNOME IDE primarily designed for C# and other .NET
 languages. MonoDevelop enables developers to quickly write desktop and
 ASP.NET Web applications on Linux, Windows and Mac OSX. MonoDevelop
 makes it easy for developers to port .NET applications created with
 Visual Studio to Linux and to maintain a single code base for all
 platforms.

 This release includes plenty of bug fixes and an important change: the
 license of MonoDevelop has been changed from GPL to LGPL 2.1.

 Release notes:
 http://monodevelop.com/Download/Release_Notes/Release_Notes_for_MonoDevelop_2.2_Beta_2

 A complete description of what's new in MonoDevelop 2.2 is
 available here:
 http://monodevelop.com/Download/What%27s_new_in_MonoDevelop_2.2

 Sources and packages are available here:
 http://www.monodevelop.com/Download

 Enjoy!


 ___
 Mono-list maillist  -  mono-l...@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-aspnet-list] Debugging web apps on Mono

2009-09-14 Thread Mike Christensen
Awesome!!  Looks like they're making great progress!  The immediate window
was my other huge want.

Now if we can get integrated script debugging I'll be real happy g

Mike

On Sun, Sep 13, 2009 at 11:42 PM, Marek Habersack
gren...@twistedcode.netwrote:

 Mike Christensen wrote:

 Just pinging on this (last time, sorry)..  I'm quite curious if any
 further work is being done on this.  Thanks!

 http://monodevelop.com/Download/What%27s_new_in_MonoDevelop_2.2#Debugger

 marek


 On Fri, Aug 21, 2009 at 12:55 PM, Mike Christensen 
 m...@kitchenpc.commailto:
 m...@kitchenpc.com wrote:

Hi all -

Does anyone know when the Mono debugger will support debugging code
running on XSP (And when MonoDevelop will support this as well)?  I
heard some people were working on this, but I cannot find any updates
in over a year.

Mike



 

 ___
 Mono-aspnet-list mailing list
 Mono-aspnet-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-aspnet-list



___
Mono-aspnet-list mailing list
Mono-aspnet-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list


[Mono-list] CLR 4 Garbage Collector video

2009-05-29 Thread Mike Christensen
Here's an interesting video outlining the upcoming GC changes in .NET 4.0..
 It's not really Mono related, but perhaps some of the GC geeks out there
will find it useful..
http://channel9.msdn.com/shows/Going+Deep/Maoni-Stephens-and-Andrew-Pardoe-CLR-4-Inside-Background-GC/
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Welcome Summer of Code 2009 Students!

2009-04-24 Thread Mike Christensen
Okay I really hate me too reponses but I would be wayyy into a PL/Mono
project..  +Int32.MaxValue for this..

2009/4/23 Rodrigo Cuevas belli...@gmail.com


 PL/Mono awesome project


 Abe Gillespie escribió:

 Congrats, all!

 And PL/Mono - hell yeah!

 -Abe

 On Thu, Apr 23, 2009 at 1:56 PM, Andreia Gaita shana.u...@gmail.com
 wrote:


 The results* are in, and this year the Mono project has been awarded 9
 slots. We had a lot of strong applications, and it was very hard to
 choose between them - we had many more proposals worthy of support,
 and there was a lot of fighting** between the Mono devs to narrow down
 the list to the final 9.

 The selected projects are:

 Improving, testing and integrating ParallelFx into Mono
 Jeremie Laval

 CIL optimizer
 Kornél Pál

 Class Designer Add-in for MonoDevelop
 Manuel Alejandro Ceron Estrada

 Implementing Git as class libraries in managed code
 Matt Enright

 Mono.Simd Amd64 Port
 Jerry Maine

 Database Designer Add-in for MonoDevelop
 Luis Ochoa

 TaskForce - Task focussed workflow for MonoDevelop
 Anirudh Sanjeev

 New features for VB.Net 9
 Alexandru Mihai Muscar

 PL/Mono: a procedural language for PostgreSQL
 Olexandr Melnyk

 We are now in the community bonding period, which means it's time to
 get to know your mentors, get comfortable with any tools you're going
 to need to use on the project, refine your project goals and scope,
 and do any setup required to get ready for coding.

 Things to do at this time:

 - subscribe to the mono-soc mailing list -
 http://groups.google.com/group/mono-soc-2009
 - if you haven't yet, join us on irc.gimpnet.org, the SoC-specific
 channel is #monosoc
 - get excited!

 Thank you to everyone who submitted an application, and
 congratulations to the accepted students!

 andreia|gaita

 * http://socghop.appspot.com/org/home/google/gsoc2009/mono
 ** no monkeys were hurt in the process
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list



 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list





 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Checking memory leak

2009-04-24 Thread Mike Christensen
I guess this really depends on what you mean by a memory leak..  If you mean
the object is not reachable and on the queue to be garbage collected, one
might just trust the GC.  However, there's also a lot of value on being
able to see what objects are on the heap (and large object heap), what
generation they're in, etc.  There may be objects that you believe are no
longer used, but the runtime still sees them as reachable due to your own
coding errors, and not GC bugs.

The .NET world has all sorts of great tools like SOS/Windbg as well as all
sorts of third party analysis.  Is there anything in the Mono world to help
out with this?

Mike

On Wed, Apr 22, 2009 at 5:03 PM, Rodrigo Kumpera kump...@gmail.com wrote:

 Hi,

   On Wed, Apr 22, 2009 at 8:52 PM, Ishwor Gurung 
 ish...@loopback.ath.cxwrote:

 Hi list,

 Whats an appropriate way to check for memory leak of a mono application?

 I googled around with some example using valgrind for mono app but
 couldn't find any concrete examples. What I've essentially done so far
 using valgrind is:
 $ valgrind --tool=memcheck --leak-check=full --show-reachable=yes mono
 ./ConnectUTest.exe

 This however, always produces memory leak (~14k/test on five runs so far):

 ==15141== LEAK SUMMARY:
 ==15141==definitely lost: 14,408 bytes in 760 blocks.
 ==15141==indirectly lost: 2,496 bytes in 126 blocks.
 ==15141==  possibly lost: 12,460 bytes in 419 blocks.
 ==15141==still reachable: 2,569,056 bytes in 16,726 blocks.
 ==15141== suppressed: 0 bytes in 0 blocks.


 Is this something I should worry about in itself or let the Mono's GC
 do its job with the memory and not worry about memory leaks? Can
 someone confirm if these are even a real memory leak (the one above
 with 14,408 bytes gone!)?

 Thanks.



 Valgrind is the best too to dig for memory leaks. But it will only report
 problems of
 unmanaged memory leaks. For managed memory, just trust the GC.

 Mono is supposed to do a clean shutdown, but we still have some small
 non-important
 fix leaks on things like support code. All of them leak a fixed set of
 memory at startup.

 Anyway, the best way to go is if your attach your valgrind file so I can
 take a look.

 Cheers,
 Rodrigo


 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] IHttpHandler works fine under IIS but not Apache

2009-04-03 Thread Mike Christensen

This is already done.

As I've stated in my email, this works for /Test.foo but not 
/Blah/Test.foo.  Apache requires the physical directory to exist on the 
filesystem, otherwise it returns a 404.


Ricardo Lopes wrote:

Hi,

You have to tell apache to send requests to *.foo to mod-mono, check
your configuration.

2009/4/3 Mike Christensen ima...@comcast.net:
  

Hi guys - I'm thinking this is most likely either an Apache limitation,
a configuration problem, or a bug in mod-mono.  I'm hoping it's the
latter so we can fix it :)

Let's say I have an IHttpHandler:

public class Handler : IHttpHandler
{
//Stuff here that will blow your mind
}


Now I register this in my web.config:

httpHandlers
 add verb=* path=*.foo validate=false type=Handler /
/httpHandlers

Good so far right?

When I go to:

/Test.foo

My handler will be invoked and it will do all sorts of great things that
you simply can't imagine, probably change the world and all.

However if I do:

/Blah/Test.foo

Then Apache gives me a default 404 File not found error.

If I go and create a blank directory on the file system called Blah,
things will then work again.  The point is, I do not want Apache or
anything else validating the filepath or directory structure.  Keep in
mind there's web apps such as SharePoint that allow you to provision
webs, subwebs, etc and these paths are completely resolved by HTTP
handlers and are totally independent of the filesystem.  Porting this
architecture over to Mono might cause problems.

My question is what is actually to blame?  Is Apache verifying the
directory before passing the request off to mod_mono?  It obviously
doesn't validate the file itself since Test.foo doesn't exist anywhere
on the filesystem.  I kinda think so because it's an Apache 404 error
page I'm getting, which depresses me.  Also, this doesn't happen on xsp
so I blame Apache.  Anything I can do about this?

On my app, I can hack around it by creating the directories or maybe
doing some hacks with vdirs and stuff, but is there a way we can provide
a better experience?  Thanks!!

Mike
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list






  
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] IHttpHandler works fine under IIS but not Apache

2009-04-03 Thread Mike Christensen
Cool!  I'll use this as well..

However, what if you wanted to build an app with a dynamic directory 
structure.  For example, you can create a user account called Peter on 
MySpace and then go to www.myspace.com/Peter.  However, I'm pretty sure 
they don't have a directory on the filesystem called Peter, nor an alias 
for Peter in their Apache config.

It would be nice to just disable this check, which is why I'm wondering 
whether this is Apache or mod_mono doing this.  IIS does not have this 
problem.

Thanks again!
Mike

Peter Hagen wrote:
 Hi

 I fixed this by using an alias. I added an alias in the site 
 configuration, and added the alias path to the web.config:

 Apache site config

 Alias /test /some/real/path/to/my/site/www
 Location /test
   SetHandler mono
 /Location

 Web.config

 configuration
   system.web
 httpHandlers
   add verb=* path=/test/* 
 type=Willow.Cms.Common.WebServiceHandler, Willow.Cms.Common /
 /httpHandlers
   /system.web
 /configuration

 With this configuration you don't need to create the directory

 Cheers

 Peter


 Mike Christensen wrote:
 This is already done.

 As I've stated in my email, this works for /Test.foo but not 
 /Blah/Test.foo.  Apache requires the physical directory to exist on 
 the filesystem, otherwise it returns a 404.

 Ricardo Lopes wrote:
 Hi,

 You have to tell apache to send requests to *.foo to mod-mono, check
 your configuration.

 2009/4/3 Mike Christensen ima...@comcast.net:
  
 Hi guys - I'm thinking this is most likely either an Apache 
 limitation,
 a configuration problem, or a bug in mod-mono.  I'm hoping it's the
 latter so we can fix it :)

 Let's say I have an IHttpHandler:

 public class Handler : IHttpHandler
 {
 //Stuff here that will blow your mind
 }


 Now I register this in my web.config:

 httpHandlers
  add verb=* path=*.foo validate=false type=Handler /
 /httpHandlers

 Good so far right?

 When I go to:

 /Test.foo

 My handler will be invoked and it will do all sorts of great things 
 that
 you simply can't imagine, probably change the world and all.

 However if I do:

 /Blah/Test.foo

 Then Apache gives me a default 404 File not found error.

 If I go and create a blank directory on the file system called Blah,
 things will then work again.  The point is, I do not want Apache or
 anything else validating the filepath or directory structure.  Keep in
 mind there's web apps such as SharePoint that allow you to provision
 webs, subwebs, etc and these paths are completely resolved by HTTP
 handlers and are totally independent of the filesystem.  Porting this
 architecture over to Mono might cause problems.

 My question is what is actually to blame?  Is Apache verifying the
 directory before passing the request off to mod_mono?  It obviously
 doesn't validate the file itself since Test.foo doesn't exist anywhere
 on the filesystem.  I kinda think so because it's an Apache 404 error
 page I'm getting, which depresses me.  Also, this doesn't happen on 
 xsp
 so I blame Apache.  Anything I can do about this?

 On my app, I can hack around it by creating the directories or maybe
 doing some hacks with vdirs and stuff, but is there a way we can 
 provide
 a better experience?  Thanks!!

 Mike
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

 



   

 

 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Guide to installing Mono 2.4 on a clean Ubuntu 8.10 Server machine

2009-04-02 Thread Mike Christensen
Thanks!  I'm thinking the official way to do it is probably create a 
file called mod_mono.load in /etc/apache2/mods-available that has:


Include /etc/apache2/mod_mono.conf
MonoServerPath /usr/local/bin/mod-mono-server2

and then create the link in mods-enabled.  Isn't there actually some 
sort of enable-mod script that does this for you too, rather than 
using the ln command directly?


Would people prefer this?  Thanks!!

Mike


Tinco Andringa wrote:

Hi Mike, I like your guide :)

I have one comment on step 7. What you do here is not the Apache way,
and may scare people since they have to edit the apache2.conf which
usually is a very large file.

  

7) Configure Mod_Mono with Apache

Type: cd /etc/apache2
Type: pico apache2.conf

Search for this section:
  # Include module configuration:
  Include /etc/apache2/mods-enabled/*.load
  Include /etc/apache2/mods-enabled/*.conf

Add the following line under the above lines:
  Include /etc/apache2/mod_mono.conf

At the end of this file, add the following line:
  MonoServerPath /usr/local/bin/mod-mono-server2

Press CTRL+X to exit Pico, answer Yes to save your changes and press
enter to use the same file name.

Restart Apache by typing: /etc/init.d/apache2 restart



Simpler would be to make a symbolic link in the
/etc/apache2/mods_enabled/ directory to the mod_mono.conf file like
so:

Type: ln -s /etc/apache2/mod_mono.conf /etc/apache2/mods-enabled/mod_mono.conf

And with that, it might also be a good idea to put MonoServerPath in
the mod_mono.conf file rather than in the apache2.conf. Since when one
would disable mod_mono, MonoServerPath would likely throw an error or
warning or at least be totally useless.

Great work!

Greetings,
Tinco
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

  
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Guide to installing Mono 2.4 on a clean Ubuntu 8.10 Server machine

2009-04-02 Thread Mike Christensen

Ok I've updated my step 7 section, I think this is a lot better.

7) Configure Mod_Mono with Apache

Type: cd /etc/apache2/mods-available/
Type: pico mod_mono.load

This will create a new file, add the following lines to the file:
  Include /etc/apache2/mod_mono.conf
  MonoServerPath /usr/local/bin/mod-mono-server2

Press CTRL+X to exit Pico, answer Yes to save your changes.

Now we have to activate our new module.

Type: a2enmod mod_mono
Restart Apache by typing: /etc/init.d/apache2 restart

8) Make sure it all works!

...

Also I've changed all the tar commands to tar -xvpjf so the user can 
see what's going on g


Also, *quick question* why doesn't the mod_mono.conf file just get built 
into the /mods-available directory in the first place, along with a 
mod_mono.load file?  If this happened, I'd only need to tell users to 
enable the mod and boom they'd be done.  Maybe the build guys can comment?


Thanks for the feedback!

Mike

Mike Christensen wrote:
Thanks!  I'm thinking the official way to do it is probably create a 
file called mod_mono.load in /etc/apache2/mods-available that has:


Include /etc/apache2/mod_mono.conf
MonoServerPath /usr/local/bin/mod-mono-server2
  
and then create the link in mods-enabled.  Isn't there actually some 
sort of enable-mod script that does this for you too, rather than 
using the ln command directly?


Would people prefer this?  Thanks!!

Mike


Tinco Andringa wrote:

Hi Mike, I like your guide :)

I have one comment on step 7. What you do here is not the Apache way,
and may scare people since they have to edit the apache2.conf which
usually is a very large file.

  

7) Configure Mod_Mono with Apache

Type: cd /etc/apache2
Type: pico apache2.conf

Search for this section:
  # Include module configuration:
  Include /etc/apache2/mods-enabled/*.load
  Include /etc/apache2/mods-enabled/*.conf

Add the following line under the above lines:
  Include /etc/apache2/mod_mono.conf

At the end of this file, add the following line:
  MonoServerPath /usr/local/bin/mod-mono-server2

Press CTRL+X to exit Pico, answer Yes to save your changes and press
enter to use the same file name.

Restart Apache by typing: /etc/init.d/apache2 restart



Simpler would be to make a symbolic link in the
/etc/apache2/mods_enabled/ directory to the mod_mono.conf file like
so:

Type: ln -s /etc/apache2/mod_mono.conf /etc/apache2/mods-enabled/mod_mono.conf

And with that, it might also be a good idea to put MonoServerPath in
the mod_mono.conf file rather than in the apache2.conf. Since when one
would disable mod_mono, MonoServerPath would likely throw an error or
warning or at least be totally useless.

Great work!

Greetings,
Tinco
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

  



___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
  
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] IHttpHandler works fine under IIS but not Apache

2009-04-02 Thread Mike Christensen
Hi guys - I'm thinking this is most likely either an Apache limitation, 
a configuration problem, or a bug in mod-mono.  I'm hoping it's the 
latter so we can fix it :)

Let's say I have an IHttpHandler:

public class Handler : IHttpHandler
{
//Stuff here that will blow your mind
}


Now I register this in my web.config:

httpHandlers
  add verb=* path=*.foo validate=false type=Handler /
/httpHandlers

Good so far right?

When I go to:

/Test.foo

My handler will be invoked and it will do all sorts of great things that 
you simply can't imagine, probably change the world and all.

However if I do:

/Blah/Test.foo

Then Apache gives me a default 404 File not found error.

If I go and create a blank directory on the file system called Blah, 
things will then work again.  The point is, I do not want Apache or 
anything else validating the filepath or directory structure.  Keep in 
mind there's web apps such as SharePoint that allow you to provision 
webs, subwebs, etc and these paths are completely resolved by HTTP 
handlers and are totally independent of the filesystem.  Porting this 
architecture over to Mono might cause problems.

My question is what is actually to blame?  Is Apache verifying the 
directory before passing the request off to mod_mono?  It obviously 
doesn't validate the file itself since Test.foo doesn't exist anywhere 
on the filesystem.  I kinda think so because it's an Apache 404 error 
page I'm getting, which depresses me.  Also, this doesn't happen on xsp 
so I blame Apache.  Anything I can do about this?

On my app, I can hack around it by creating the directories or maybe 
doing some hacks with vdirs and stuff, but is there a way we can provide 
a better experience?  Thanks!!

Mike
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Debian support

2009-04-01 Thread Mike Christensen

I will clean it up a bit and post it here for everyone to comment on.

Also I have a friend who's a UNIX guru and is curious about Mono and 
would like to try it out.  I'm gonna send the doc to him to get his 
feedback.  After that, I'll see if I can find someone who wants to host 
an HTML version of the doc.


Thanks again for your help!  I'm hoping my work will be made obsolete by 
a Mono 2.4 package that can be easily installed on Ubuntu.  Maybe soon?  
However, I like doing it this way because if I want to fix any minor 
bugs in the Mono framework and rebuild, that'll now be possible.


Mike

Daniel Soto wrote:

Well done!! Congratulations!!

It's not too hard installing Mono from sources after all. Of course, a
hand is necessary sometimes.

I think that it would be a great contribution to publish your
step-by-step guide to anyone that wish install Mono from sources in
Ubuntu/Debian. Maybe contacting to the webmasters of Mono-project... why
not?

Other sites, maybe ubuntuguide.org?

El mar, 31-03-2009 a las 17:26 -0700, Mike Christensen escribió:
  

Yup!  All good (I read your first email again)..

Have a simple Hello World program running, the rest I think I can do
since I have some OpenSUSE experience with Mono..  Thanks!

The next thing I'm gonna do is wipe the whole machine again and
reinstall from scratch, then try the whole thing again based on my
notes..

Also, I now have a pretty detailed step-by-step on how to install Mono
2.4 on a fresh Ubuntu Server install, I just have to clean it up a
bit.  Is there a Wiki or a website I can publish this to so other
people can make use of it?  Thanks!!

Mike

Daniel Soto wrote: 


Nope, still there is some things to do.

Edit the file /etc/apache2/apache2.conf

Search for this section

 # Include module configuration:
 Include /etc/apache2/mods-enabled/*.load
 Include /etc/apache2/mods-enabled/*.conf

Add the following line, below.

  Include /etc/apache2/mod_mono.conf

At the end of configuration file, add the following

   MonoServerPath /usr/local/bin/mod-mono-server2

Restart apache

   sudo /etc/init.d/apache2 restart

And you should now have apache with .net support.

El mar, 31-03-2009 a las 23:20 +, ima...@comcast.net escribió:
  
  

Might have been some fluke..

 


I just nuked the mod_mono-2.4 directory and redownloaded mod_mono,
this time I just did:

 


./configure

 


with no parameters and got no errors.  I did a make and a make install
with no errors (both took under 10 seconds, is this right?)

 


Anyway, now I have a file called /etc/apache2/mod_mono.conf

 


Does this mean yay?

 


Mike


- Original Message -
From: ima...@comcast.net
To: Daniel Soto daniel.sot...@gmail.com
Cc: mono-list@lists.ximian.com, FlappySocks stu...@diyefi.co.uk
Sent: Tuesday, March 31, 2009 4:01:00 PM GMT -08:00 US/Canada Pacific
Subject: Re: [Mono-list] Debian support



Yup, here's what I did:

 


apt-get install gettext
cd ..
wget http://ftp.novell.com/pub/mono/sources/mono/mono-2.4.tar.bz2
tar -xpjf mono-2.4.tar.bz2
cd mono-2.4/
./configure --prefix=/usr/local
make  make install
cd ..

 


This worked fine, no errors..

 


Next I built XSP:

 


apt-get install apache2-threaded-dev
wget http://ftp.novell.com/pub/mono/sources/xsp/xsp-2.4.tar.bz2
tar -xpjf xsp-2.4.tar.bz2
cd xsp-2.4/
./configure --prefix=/usr/local
make  make install


This also worked fine, no errors..  Then I build mod_mono:

 


wget
http://ftp.novell.com/pub/mono/sources/mod_mono/mod_mono-2.4.tar.bz2
tar -xpjf mod_mono-2.4.tar.bz2
cd mod_mono-2.4/
./configure --prefix=/usr/local
make

 


At which point I get the libtool error.  Maybe it's looking in the
wrong path for something?

 


Mike

 







- Original Message -
From: Daniel Soto daniel.sot...@gmail.com
To: ima...@comcast.net
Cc: FlappySocks stu...@diyefi.co.uk, mono-list@lists.ximian.com
Sent: Tuesday, March 31, 2009 3:43:35 PM GMT -08:00 US/Canada Pacific
Subject: Re: [Mono-list] Debian support

Did you built mono 2.4 successfully? Mono 2.4 is required before to
install mod_mono.

2009/3/31  ima...@comcast.net:



I can configure mod_mono now, however when I run make I get:



r...@mono24:~/mod_mono-2.4# make
Making all in src
make[1]: Entering directory `/home/mike/mod_mono-2.4/src'
/bin/bash ../libtool --tag=CC   --mode=link gcc -Wall
-DDFLT_MONO_CONFIG_DIR=\/etc/apache2/mod-mono-applications\
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -g -O2
-I/usr/include/apache2 -DLINUX=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
-D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/mysql
-I/usr/include/openssl -I/usr/include/postgresql
  
  

-I/usr/include/xmltok



-pthread-I/usr/include/apr-1.0   -pthread
  
  

-I/usr/include/apr-1.0



-I/usr/include/postgresql -I/usr/include/mysql -module -lglib-2.0
  
  

-o



mod_mono.la -rpath /usr/local/lib mod_mono_la

[Mono-list] Guide to installing Mono 2.4 on a clean Ubuntu 8.10 Server machine

2009-04-01 Thread Mike Christensen
Hi guys - I've written a rough guide to installing Mono 2.4 on a totally 
clean fresh install of Ubuntu Server 8.10.  This guide is geared towards 
people like me who don't really know a whole lot about Linux or Mono and 
are most likely coming from a Windows .NET world.  For that reason, 
everything is spelled out pretty verbosely and I try not to take any 
shortcuts (like stringing a whole bunch of commands together with 
ampersands and stuff).

I'd love to get some of the experts to review this, and perhaps a few 
people to try it out too if you have VMWare and can create a test 
machine quickly.  I've tried this twice so far and both times I haven't 
ran into any major problems.

Also, I'd like to convert this guide to HTML and post it up on a website 
somewhere, if anyone has any advice for me on this lemme know.  For all 
you bloggers, this guide is totally public domain and you can post it 
wherever you'd like.  Thanks!!

--

*** Complete @!#$'ing Moron's Guide to Installing Mono 2.4 on Ubuntu 
Server 8.10: ***

This is a step by step guide to installing Mono 2.4 and mod_mono on a 
fresh Ubuntu Server install.  Let's begin.

1) Logon to machine so you see a command prompt.

Type: sudo bash

Enter your password, you should now be root.  This will allow you to do 
whatever you want without typing sudo in front of every command.

2) Install all prequisits for Mono.  Note you can put all packages on a 
single line, but if you're just starting out, you might want to install
each one just to make sure it all goes well.  If any package is already 
installed, just continue on.  Depending on your system, you might already
have some of these.

Type: apt-get install build-essential
Type: apt-get install pkg-config
Type: apt-get install bison
Type: apt-get install libglib2.0-0 libglib2.0-dev
Type: apt-get install libpng12-dev
Type: apt-get install libx11-dev
Type: apt-get install libfontconfig1-dev
Type: apt-get install libfreetype6-dev
Type: apt-get install apache2
Type: apt-get install apache2-threaded-dev
Type: apt-get install gettext

3) Download and build libgdiplus which is required for Mono to build.

Type: cd ~
Type: wget 
http://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-2.4.tar.bz2

You should now have the file libgdiplus-2.4.tar.bz2 in your ~/ directory

Type: tar -xpjf libgdiplus-2.4.tar.bz2

This will decompress the tar file into its own directory, note you won't 
see any output)
You should now have a directory called libgdiplus-2.4

Type: cd libgdiplus-2.4/
Type: ./configure

You should not see any errors, but if you're missing any packages please 
install them and run ./configure again.

Type: make

Sometimes here I see some error about link something is not a valid 
libtool object and Error 1.  I have no idea what causes this, but I can
usually work around it by running apt-get update and ./configure again.

Type: make install
 
4) Build Mono:

Type: cd ~
Type: wget http://ftp.novell.com/pub/mono/sources/mono/mono-2.4.tar.bz2
Type: tar -xpjf mono-2.4.tar.bz2

This will take a minute or so because it's a big file and you won't see 
anything on the screen because stuff isn't too chatty in the UNIX world.

Type: cd mono-2.4/
Type: ./configure
Type: make

This will take a while - probably about 15 minutes or so.

Type: make install

When this is done, you should be able to type mono from the prompt and 
see mono options.  This is a good sign.
 
5) Build xsp (this also includes mono-server which is used for Apache 
integration)

Type: cd ~
Type: wget http://ftp.novell.com/pub/mono/sources/xsp/xsp-2.4.tar.bz2
Type: tar -xpjf xsp-2.4.tar.bz2
Type: cd xsp-2.4/
Type: ./configure
Type: make
Type: make install
 
6) Build mod_mono so you can run Mono web sites on Apache
 
Type: cd ~
Type: wget 
http://ftp.novell.com/pub/mono/sources/mod_mono/mod_mono-2.4.tar.bz2
Type: tar -xpjf mod_mono-2.4.tar.bz2
Type: cd mod_mono-2.4/
Type: ./configure
Type: make
Type: make install

7) Configure Mod_Mono with Apache

Type: cd /etc/apache2
Type: pico apache2.conf

Search for this section:
   # Include module configuration:
   Include /etc/apache2/mods-enabled/*.load
   Include /etc/apache2/mods-enabled/*.conf

Add the following line under the above lines:
   Include /etc/apache2/mod_mono.conf

At the end of this file, add the following line:
   MonoServerPath /usr/local/bin/mod-mono-server2

Press CTRL+X to exit Pico, answer Yes to save your changes and press 
enter to use the same file name.

Restart Apache by typing: /etc/init.d/apache2 restart

8) Make sure it all works!

Type: cd /var/www

This is your default website directory.  By default there's just a 
temporary index.html file that says It works!, you can remove this.

Type: rm *

Now let's create a test ASPX page.

Type: pico default.aspx

If you know ASP.NET, you can write some code here.  But for something 
dirt simple, just use:

%
Response.Write(Hello World!);
%

Save the file and exit Pico (CTRL+X)

In your web browser, you should now be 

Re: [Mono-list] Debian support

2009-03-31 Thread Mike Christensen
Is there a step by step on how to do this on a fresh Ubuntu install?  It 
took me forever to figure out all the packages I needed to install 
first, and now I just get Error 2 when I make.  Sigh..

FlappySocks wrote:
 I have just compiled mono 2.4 on Ubuntu, with no problems.  Fantastic. Well
 done mono.
   
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Debian support

2009-03-31 Thread Mike Christensen

Just to clarify a few points:

1) Are you downloading Mono tar files or using svn to checkout the 
source?  Does it really matter?


2) libgdiplus was giving me the most problems.  Can I install it using 
apt-get install or do I have to build from sources?  You're saying this 
already comes with the mono sources?  What specifically do I have to build?


3) Can you point out exactly what files you're downloading from where?  
FTP commands would help people not familiar with downloading from the 
command line.


4) Can you provide a bit more informaiton about what I need to download 
and build for mod_mono and Apache?  I don't care a lot about xsp, but 
from what I can tell you need to build xsp to have mod_mono and 
mono_server correct?  I assume this is because they share a bunch of code.


I'm installing a fresh Ubuntu image right now, I'm planning to create a 
step-by-step guide when I get this working with every single command 
line, etc.


Mike

Daniel Soto wrote:

I can describe a summary of how I get Mono 2.4 from sources, it's not difficult.

I assume using Ubuntu Intrepid Ibex (my system have it installed)

Requirements:
build-essential
Bison installed (apt-get install bison)
libgdiplus-2.4 installed (I got it from mono sources also, then
./configure  make  make install)

Get mono-2.4.tar.bz2, decompress it.
Change to directory created after decompress.
./configure --prefix=/usr/local
make
sudo make install

And... I believe that is all. The make command will take a long time to compile.

You can install XSP in the same way.

To asp.net support for apache web server (asumming apache 2):

sudo apt-get install apache-threaded-dev
Get mod_modo-2.4 and decompress it.
./configure --prefix=/usr/local
make
sudo make install

When it finishes, make sure that mod_mono.conf is created in
/etc/apache2 folder.

Edit /etc/apache2/apache2.conf

Search for this section:

 # Include module configuration:
 Include /etc/apache2/mods-enabled/*.load
 Include /etc/apache2/mods-enabled/*.conf

Add the following line, below.

  Include /etc/apache2/mod_mono.conf

At the end of configuration file, add the following

   MonoServerPath /usr/local/bin/mod-mono-server2

Restart apache

   sudo /etc/init.d/apache2 restart

And you should have mono 2.4 with .net support for apache, and xsp2
light webserver for development. Type mono --version to get the
version currently installed.

Those were the steps that I followed to get mono 2.4 fully functional
in a fresh Ubuntu Intrepid install.

Let me know if you need more help. I can give a hand.

Cheers.

2009/3/31 Mike Christensen ima...@comcast.net:
  

Is there a step by step on how to do this on a fresh Ubuntu install?  It
took me forever to figure out all the packages I needed to install
first, and now I just get Error 2 when I make.  Sigh..

FlappySocks wrote:


I have just compiled mono 2.4 on Ubuntu, with no problems.  Fantastic. Well
done mono.

  

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list




  
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Debian support

2009-03-31 Thread Mike Christensen
Hi - After decompressing the libgdiplus-2.4.tar file and running 
./configure I get the error:


configure: error: no acceptable C compiler found in $PATH

Daniel Soto wrote:

I can describe a summary of how I get Mono 2.4 from sources, it's not difficult.

I assume using Ubuntu Intrepid Ibex (my system have it installed)

Requirements:
build-essential
Bison installed (apt-get install bison)
libgdiplus-2.4 installed (I got it from mono sources also, then
./configure  make  make install)

Get mono-2.4.tar.bz2, decompress it.
Change to directory created after decompress.
./configure --prefix=/usr/local
make
sudo make install

And... I believe that is all. The make command will take a long time to compile.

You can install XSP in the same way.

To asp.net support for apache web server (asumming apache 2):

sudo apt-get install apache-threaded-dev
Get mod_modo-2.4 and decompress it.
./configure --prefix=/usr/local
make
sudo make install

When it finishes, make sure that mod_mono.conf is created in
/etc/apache2 folder.

Edit /etc/apache2/apache2.conf

Search for this section:

 # Include module configuration:
 Include /etc/apache2/mods-enabled/*.load
 Include /etc/apache2/mods-enabled/*.conf

Add the following line, below.

  Include /etc/apache2/mod_mono.conf

At the end of configuration file, add the following

   MonoServerPath /usr/local/bin/mod-mono-server2

Restart apache

   sudo /etc/init.d/apache2 restart

And you should have mono 2.4 with .net support for apache, and xsp2
light webserver for development. Type mono --version to get the
version currently installed.

Those were the steps that I followed to get mono 2.4 fully functional
in a fresh Ubuntu Intrepid install.

Let me know if you need more help. I can give a hand.

Cheers.

2009/3/31 Mike Christensen ima...@comcast.net:
  

Is there a step by step on how to do this on a fresh Ubuntu install?  It
took me forever to figure out all the packages I needed to install
first, and now I just get Error 2 when I make.  Sigh..

FlappySocks wrote:


I have just compiled mono 2.4 on Ubuntu, with no problems.  Fantastic. Well
done mono.

  

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list




  
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Debian support

2009-03-31 Thread Mike Christensen
Ok here's my Total friggen moron's guide to installing Mono 2.4 on 
Ubuntu Server so far:


-) Logon to machine
-) At bash prompt, type: sudo bash
-) Enter password, you should now be root.
-) Type: apt-get install gcc (this will install C compilers)
-) Type: apt-get install pkg-config (this is a dependency for libgdiplus)
-) Type: apt-get install bison (should only take a few seconds to install)
-) Type: wget 
http://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-2.4.tar.bz2

-) You should now have the file libgdiplus-2.4.tar.bz2 in your ~ directory
-) Type: tar -xpjf libgdiplus-2.4.tar.bz2 (this will decompress the tar 
file into its own directory)

-) You should now have a directory called libgdiplus-2.4
-) Type: cd libgdiplus-2.4/
-) Type: ./configure

Right now the error is:

No package 'glib-2.0' found

Should I apt-get install this from somewhere, or is there another tar 
file I need to decompress and build?  Thanks!!


Mike

Mike Christensen wrote:
Hi - After decompressing the libgdiplus-2.4.tar file and running 
./configure I get the error:


configure: error: no acceptable C compiler found in $PATH

Daniel Soto wrote:

I can describe a summary of how I get Mono 2.4 from sources, it's not difficult.

I assume using Ubuntu Intrepid Ibex (my system have it installed)

Requirements:
build-essential
Bison installed (apt-get install bison)
libgdiplus-2.4 installed (I got it from mono sources also, then
./configure  make  make install)

Get mono-2.4.tar.bz2, decompress it.
Change to directory created after decompress.
./configure --prefix=/usr/local
make
sudo make install

And... I believe that is all. The make command will take a long time to compile.

You can install XSP in the same way.

To asp.net support for apache web server (asumming apache 2):

sudo apt-get install apache-threaded-dev
Get mod_modo-2.4 and decompress it.
./configure --prefix=/usr/local
make
sudo make install

When it finishes, make sure that mod_mono.conf is created in
/etc/apache2 folder.

Edit /etc/apache2/apache2.conf

Search for this section:

 # Include module configuration:
 Include /etc/apache2/mods-enabled/*.load
 Include /etc/apache2/mods-enabled/*.conf

Add the following line, below.

  Include /etc/apache2/mod_mono.conf

At the end of configuration file, add the following

   MonoServerPath /usr/local/bin/mod-mono-server2

Restart apache

   sudo /etc/init.d/apache2 restart

And you should have mono 2.4 with .net support for apache, and xsp2
light webserver for development. Type mono --version to get the
version currently installed.

Those were the steps that I followed to get mono 2.4 fully functional
in a fresh Ubuntu Intrepid install.

Let me know if you need more help. I can give a hand.

Cheers.

2009/3/31 Mike Christensen ima...@comcast.net:
  

Is there a step by step on how to do this on a fresh Ubuntu install?  It
took me forever to figure out all the packages I needed to install
first, and now I just get Error 2 when I make.  Sigh..

FlappySocks wrote:


I have just compiled mono 2.4 on Ubuntu, with no problems.  Fantastic. Well
done mono.

  

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list




  
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Debian support

2009-03-31 Thread Mike Christensen

I've tried:

apt-get install libglib-2.0-dev

and get:

E: Couldn't find package libglib-2.0-dev

Is version 2.0 obsolete now?  How do I do a wildcard search for packages 
to install with the word glib in them?


Mike

Daniel Soto wrote:

A general rule if you get some error related to a missing library when
you building, it's to install a package with name [package_name]-dev,
pay attention to the -dev suffix.

2009/3/31 Daniel Soto daniel.sot...@gmail.com:
  

I remember that to install glib-2.0, I installed libglib-2.0-dev
package. Install it using Synaptic, it's the better way to search it
(I not remember the exact name of these package).

Let me know if you have luck.

2009/3/31 Mike Christensen ima...@comcast.net:


Ok here's my Total friggen moron's guide to installing Mono 2.4 on Ubuntu
Server so far:

-) Logon to machine
-) At bash prompt, type: sudo bash
-) Enter password, you should now be root.
-) Type: apt-get install gcc (this will install C compilers)
-) Type: apt-get install pkg-config (this is a dependency for libgdiplus)
-) Type: apt-get install bison (should only take a few seconds to install)
-) Type: wget
http://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-2.4.tar.bz2
-) You should now have the file libgdiplus-2.4.tar.bz2 in your ~ directory
-) Type: tar -xpjf libgdiplus-2.4.tar.bz2 (this will decompress the tar file
into its own directory)
-) You should now have a directory called libgdiplus-2.4
-) Type: cd libgdiplus-2.4/
-) Type: ./configure

Right now the error is:

No package 'glib-2.0' found

Should I apt-get install this from somewhere, or is there another tar file I
need to decompress and build?  Thanks!!

Mike

Mike Christensen wrote:

Hi - After decompressing the libgdiplus-2.4.tar file and running ./configure
I get the error:

configure: error: no acceptable C compiler found in $PATH

Daniel Soto wrote:

I can describe a summary of how I get Mono 2.4 from sources, it's not
difficult.

I assume using Ubuntu Intrepid Ibex (my system have it installed)

Requirements:
build-essential
Bison installed (apt-get install bison)
libgdiplus-2.4 installed (I got it from mono sources also, then
./configure  make  make install)

Get mono-2.4.tar.bz2, decompress it.
Change to directory created after decompress.
./configure --prefix=/usr/local
make
sudo make install

And... I believe that is all. The make command will take a long time to
compile.

You can install XSP in the same way.

To asp.net support for apache web server (asumming apache 2):

sudo apt-get install apache-threaded-dev
Get mod_modo-2.4 and decompress it.
./configure --prefix=/usr/local
make
sudo make install

When it finishes, make sure that mod_mono.conf is created in
/etc/apache2 folder.

Edit /etc/apache2/apache2.conf

Search for this section:

 # Include module configuration:
 Include /etc/apache2/mods-enabled/*.load
 Include /etc/apache2/mods-enabled/*.conf

Add the following line, below.

  Include /etc/apache2/mod_mono.conf

At the end of configuration file, add the following

   MonoServerPath /usr/local/bin/mod-mono-server2

Restart apache

   sudo /etc/init.d/apache2 restart

And you should have mono 2.4 with .net support for apache, and xsp2
light webserver for development. Type mono --version to get the
version currently installed.

Those were the steps that I followed to get mono 2.4 fully functional
in a fresh Ubuntu Intrepid install.

Let me know if you need more help. I can give a hand.

Cheers.

2009/3/31 Mike Christensen ima...@comcast.net:


Is there a step by step on how to do this on a fresh Ubuntu install?  It
took me forever to figure out all the packages I needed to install
first, and now I just get Error 2 when I make.  Sigh..

FlappySocks wrote:


I have just compiled mono 2.4 on Ubuntu, with no problems.  Fantastic. Well
done mono.



___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list




  


  
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Debian support

2009-03-31 Thread Mike Christensen

I get:

r...@mono24:~# apt-get install libglib-2.0-dev
Reading package lists... Done
Building dependency tree  
Reading state information... Done

E: Couldn't find package libglib-2.0-dev

If I do: apt-cache pkgnames glib I get:

r...@mono24:~# apt-cache pkgnames glib
glibc-pic
glib-java
glibc-2.7-1
glibc-doc-reference
glibc-doc
glibc-source

Are any of these what I need?

Daniel Soto wrote:

I recommend to you search for glib using Synaptic. I not remember the
name of these package and his exact name. The name is not glib-2.0
exactly, I believe (if my memory does not fail :-) ) that it is
libglib-2.0-dev.

The most problems related to missing libraries when building, are
solved searching for foolib-dev as Abe says.

2009/3/31 Daniel Soto daniel.sot...@gmail.com:
  

A general rule if you get some error related to a missing library when
you building, it's to install a package with name [package_name]-dev,
pay attention to the -dev suffix.

2009/3/31 Daniel Soto daniel.sot...@gmail.com:


I remember that to install glib-2.0, I installed libglib-2.0-dev
package. Install it using Synaptic, it's the better way to search it
(I not remember the exact name of these package).

Let me know if you have luck.

2009/3/31 Mike Christensen ima...@comcast.net:
  

Ok here's my Total friggen moron's guide to installing Mono 2.4 on Ubuntu
Server so far:

-) Logon to machine
-) At bash prompt, type: sudo bash
-) Enter password, you should now be root.
-) Type: apt-get install gcc (this will install C compilers)
-) Type: apt-get install pkg-config (this is a dependency for libgdiplus)
-) Type: apt-get install bison (should only take a few seconds to install)
-) Type: wget
http://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-2.4.tar.bz2
-) You should now have the file libgdiplus-2.4.tar.bz2 in your ~ directory
-) Type: tar -xpjf libgdiplus-2.4.tar.bz2 (this will decompress the tar file
into its own directory)
-) You should now have a directory called libgdiplus-2.4
-) Type: cd libgdiplus-2.4/
-) Type: ./configure

Right now the error is:

No package 'glib-2.0' found

Should I apt-get install this from somewhere, or is there another tar file I
need to decompress and build?  Thanks!!

Mike

Mike Christensen wrote:

Hi - After decompressing the libgdiplus-2.4.tar file and running ./configure
I get the error:

configure: error: no acceptable C compiler found in $PATH

Daniel Soto wrote:

I can describe a summary of how I get Mono 2.4 from sources, it's not
difficult.

I assume using Ubuntu Intrepid Ibex (my system have it installed)

Requirements:
build-essential
Bison installed (apt-get install bison)
libgdiplus-2.4 installed (I got it from mono sources also, then
./configure  make  make install)

Get mono-2.4.tar.bz2, decompress it.
Change to directory created after decompress.
./configure --prefix=/usr/local
make
sudo make install

And... I believe that is all. The make command will take a long time to
compile.

You can install XSP in the same way.

To asp.net support for apache web server (asumming apache 2):

sudo apt-get install apache-threaded-dev
Get mod_modo-2.4 and decompress it.
./configure --prefix=/usr/local
make
sudo make install

When it finishes, make sure that mod_mono.conf is created in
/etc/apache2 folder.

Edit /etc/apache2/apache2.conf

Search for this section:

 # Include module configuration:
 Include /etc/apache2/mods-enabled/*.load
 Include /etc/apache2/mods-enabled/*.conf

Add the following line, below.

  Include /etc/apache2/mod_mono.conf

At the end of configuration file, add the following

   MonoServerPath /usr/local/bin/mod-mono-server2

Restart apache

   sudo /etc/init.d/apache2 restart

And you should have mono 2.4 with .net support for apache, and xsp2
light webserver for development. Type mono --version to get the
version currently installed.

Those were the steps that I followed to get mono 2.4 fully functional
in a fresh Ubuntu Intrepid install.

Let me know if you need more help. I can give a hand.

Cheers.

2009/3/31 Mike Christensen ima...@comcast.net:


Is there a step by step on how to do this on a fresh Ubuntu install?  It
took me forever to figure out all the packages I needed to install
first, and now I just get Error 2 when I make.  Sigh..

FlappySocks wrote:


I have just compiled mono 2.4 on Ubuntu, with no problems.  Fantastic. Well
done mono.



___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list







  
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Debian support

2009-03-31 Thread Mike Christensen
/apache/sbin... no
checking for apxs2 in /usr/local/apache/bin... no
checking for apxs in /usr/local/apache/bin... no
checking for apxs2 in /usr/sbin... no
checking for apxs in /usr/sbin... no
checking for apxs2 in /usr/bin... no
checking for apxs in /usr/bin... no
checking for apxs2... no
checking for apxs... no
configure: error:  apxs was not found, DSO compilation will not


be


available.

Is this something I have to worry about?  What is DSO compilation?



The only thing server related I installed is: apt-get install


apache2



Maybe I need some sort of other packages too?



- Original Message -
From: Daniel Soto daniel.sot...@gmail.com
To: Mike Christensen ima...@comcast.net
Cc: FlappySocks stu...@diyefi.co.uk, mono-list@lists.ximian.com
Sent: Tuesday, March 31, 2009 11:28:50 AM GMT -08:00 US/Canada


Pacific


Subject: Re: [Mono-list] Debian support

I can describe a summary of how I get Mono 2.4 from sources, it's


not


difficult.

I assume using Ubuntu Intrepid Ibex (my system have it installed)

Requirements:
build-essential
Bison installed (apt-get install bison)
libgdiplus-2.4 installed (I got it from mono sources also, then
./configure  make  make install)

Get mono-2.4.tar.bz2, decompress it.
Change to directory created after decompress.
./configure --prefix=/usr/local
make
sudo make install

And... I believe that is all. The make command will take a long


time to


compile.

You can install XSP in the same way.

To asp.net support for apache web server (asumming apache 2):

sudo apt-get install apache-threaded-dev
Get mod_modo-2.4 and decompress it.
./configure --prefix=/usr/local
make
sudo make install

When it finishes, make sure that mod_mono.conf is created in
/etc/apache2 folder.

Edit /etc/apache2/apache2.conf

Search for this section:

 # Include module configuration:
 Include /etc/apache2/mods-enabled/*.load
 Include /etc/apache2/mods-enabled/*.conf

Add the following line, below.

  Include /etc/apache2/mod_mono.conf

At the end of configuration file, add the following

   MonoServerPath /usr/local/bin/mod-mono-server2

Restart apache

   sudo /etc/init.d/apache2 restart

And you should have mono 2.4 with .net support for apache, and xsp2
light webserver for development. Type mono --version to get the
version currently installed.

Those were the steps that I followed to get mono 2.4 fully


functional


in a fresh Ubuntu Intrepid install.

Let me know if you need more help. I can give a hand.

Cheers.

2009/3/31 Mike Christensen ima...@comcast.net:


Is there a step by step on how to do this on a fresh Ubuntu
  

install?  It


took me forever to figure out all the packages I needed to install
first, and now I just get Error 2 when I make.  Sigh..

FlappySocks wrote:
  

I have just compiled mono 2.4 on Ubuntu, with no problems.


 Fantastic.


Well
done mono.



___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

  



___ Mono-list maillist -
Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list 




  
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] debugging an asp.net application.

2009-03-31 Thread Mike Christensen
I had checked into this a while ago too and the disappointing answer is 
This isn't supported yet.  It's a limitation in the Mono debugger.  
When the mono debugger supports debugging web apps, MonoDevelop will 
support this as well..

Mike

Daniel Soto wrote:
 Hello.

 I'm trying the new Monodevelop 2.0 and works very well. I only have a
 doubt: How to debug an asp.net application in monodevelop?

 When I runs an asp.net app, the execution does not stop at the
 breakpoint placed in a line of an aspx.cs codebehind. I set the project
 options to Debug, not Release.

 In console, typing MONO_OPTIONS=--debug xsp2 enables to debug an aspx
 page. But in Monodevelop where this is configured? There is a way to
 configure monodevelop that runs xsp2 in debug mode?

 Thanks!

 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

   
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Re compile on Mono?

2009-03-29 Thread Mike Christensen
That kinda brings up the question of whether the Mono compiler and 
Microsoft compiler will generate the same IL.  I would assume the Mono 
compiler was modeled very closely after the Microsoft stuff (I think MS 
releases these compiler specs), the only major difference between the 
Mono and Microsoft platforms should be the runtime itself right?


In other words, are there instances where you'd get more efficient IL 
code by using the Microsoft compiler..


Mike

William Huskey wrote:

If it works there is no reason to recompile.

William Huskey
Lead IT Enginering
Protec IT Soultuons


On Mar 23, 2009, at 3:54, FlappySocks stu...@diyefi.co.uk wrote:

  
I have a console app, I am developing in Visual Studio for windows  
and Linux.
Is there any good reason why I should recompile using the mono  
compiler

before deployment for Linux, or am I ok just using the windows one?
--
View this message in context: 
http://www.nabble.com/Recompile-on-Mono--tp22657847p22657847.html
Sent from the Mono - General mailing list archive at Nabble.com.

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

  
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Bundling Mono

2009-03-25 Thread Mike Christensen

I would assume the assembly would be all pre-JIT'ed too?
see 
http://www.mono-project.com/Guide:Running_Mono_Applications


For example, if   my.exe is compiled with:

gmcs -r:my.dll -o my.exe *.cs

To create a bundle:

mkbundle --deps  -o mybundle.exe my.exe my.dll

The resulting executable is self contained and does not need the Mono
runtime installed to run. 
  


Ozzapoo wrote:
  

Hi. I have a .net executable which I wish to bundle with mono, so that
people without the .net framework can run it. However, I don't know how I
can do this on windows. Can anyone help?




  
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Step by step instructions to configure mod_mono under Apache

2009-03-17 Thread Mike Christensen
After building mono, mod-mono and mod-mono-server (2.2) from scratch, 
are there any step by step instructions on getting everything configured 
under Apache?  I'm having a hard time, I'm pretty sure everything is 
setup but for some reason I just see the ASPX source come up in the browser.

I must be missing something..  Thanks!

Mike
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list