[Mono-list] Mono Mugs? Shirts? where they at?
where is the web site to purchase mono mugs, shirts, etc, to (1) get this stuff - i need some new clothes!, (2) donate some coin to the project. i checked mono site and novell (quickly), nothing is jumping out surely it can't be the case that this stuff doesn't exist? -tl ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] mod_mono solaris9 problem
Juha, I, too, had this problem on Solaris 9, and there is another mail thread with regards to Solaris 10. I tracked this down to a problem when writing string lengths into the message that is sent from mod_mono to xsp. After applying the following diff to mod_mono.c it worked (I'd say perfectly but as I'm running Mono on a 170MHz TurboSparc, slow does not equate to perfection). The patch follows: --- ./src/mod_mono.c.orig 2006-04-07 13:35:35.0 -0700 +++ ./src/mod_mono.c2006-07-11 18:22:02.919284000 -0700 @@ -1226,7 +1226,7 @@ buffer += offset; tmp = (str != NULL) ? strlen (str) : 0; le = LE_FROM_INT (tmp); - (*(int32_t *) buffer) = le; + memcpy(buffer, &le, sizeof(int32_t)); if (tmp > 0) { buffer += sizeof (int32_t); memcpy (buffer, str, tmp); @@ -1297,7 +1297,7 @@ } while (t_elt < t_end); count = LE_FROM_INT (count); - (*(int32_t *) buffer) = count; + memcpy(buffer, &count, sizeof(int32_t)); return (ptr - buffer); } @@ -1351,12 +1351,12 @@ ptr += write_string_to_buffer (ptr, 0, r->connection->local_ip); i = request_get_server_port (r); i = LE_FROM_INT (i); - (*(int32_t *) ptr) = i; + memcpy(ptr, &i, sizeof(int32_t)); ptr += sizeof (int32_t); ptr += write_string_to_buffer (ptr, 0, r->connection->remote_ip); i = connection_get_remote_port (r->connection); i = LE_FROM_INT (i); - (*(int32_t *) ptr) = i; + memcpy(ptr, &i, sizeof(int32_t)); ptr += sizeof (int32_t); ptr += write_string_to_buffer (ptr, 0, connection_get_remote_name (r)); ptr += write_table_to_buffer (ptr, r->headers_in); Juha Pesonen wrote: > Hi folks! > > Please please help me, I really don't know what's wrong. Couldn't find > anything about this from docs or web. > > Platform is solaris 9, mono version 1.1.13.6, xsp version > 1.1.15.0, mod_mono version 1.1.14. Apache is version >= 2 > > Mono itself works fine when executing normal .exe files ie. compiles at > least simple .cs files and executes them from cmd-line. > > The problem is asp.net and (I guess) mod_mono that does not work. Sites > work thru xsp when xsp is started from cmd-line so the basic asp.net > architechture should be ok ?. When called thru apache/mod_mono, > everything hangs. > > Funny (?) thing is that I copied the site and confs from Debian-box > where it works without any problems, mono versions differ a little > though. > > > > Here is apache error log from solaris, at the end are relevant parts of > httpd.conf. > > > >>> path seems ok and so does everything else so far >>> > > [Mon Jul 03 14:49:11 2006] [warn] PATH after: > /opt/mono/bin:/opt/mono/lib/xsp/1.0:/opt/mono/bin:/opt/oracle/817/bin:/usr/ccs/bin:/usr/local/bin:/usr/bin:/usr/sbin:/bin:/usr/openwin/bin:/usr/ucb:.:/opt/sfw/bin:/usr/local/bin:/opt/mono/bin > mod-mono-server > Listening on: /tmp/mod_mono_server_default > Root directory: / > > >>> Mono process starts eating up 100% of cpu time and keeps logging this >>> (does not crash or anything) >>> > > [Mon Jul 03 14:49:24 2006] [warn] Mono Child Init > [Mon Jul 03 14:49:24 2006] [warn] Socket file name > /tmp/mod_mono_server_default > [Mon Jul 03 14:49:24 2006] [warn] try_connect: 0 > [Mon Jul 03 14:49:24 2006] [warn] connected default > [Mon Jul 03 14:49:28 2006] [warn] handler: mono > [Mon Jul 03 14:49:28 2006] [warn] config = 928952 > [Mon Jul 03 14:49:28 2006] [warn] dir_config = 1023176 > [Mon Jul 03 14:49:28 2006] [warn] idx = 1 > [Mon Jul 03 14:49:28 2006] [warn] Socket file name > /tmp/mod_mono_server_default > [Mon Jul 03 14:49:28 2006] [warn] try_connect: 0 > [Mon Jul 03 14:49:28 2006] [warn] After setup_socket > [Mon Jul 03 14:49:28 2006] [warn] Sending init data > [Mon Jul 03 14:49:28 2006] [warn] Send init1 > [Mon Jul 03 14:49:28 2006] [warn] handler: mono > [Mon Jul 03 14:49:28 2006] [warn] config = 928952 > [Mon Jul 03 14:49:28 2006] [warn] dir_config = 1023176 > [Mon Jul 03 14:49:28 2006] [warn] idx = 1 > [Mon Jul 03 14:49:28 2006] [warn] Socket file name > /tmp/mod_mono_server_default > > > >>> When we tried to access the site from browser, it sends bus errors, I >>> > think it crashes httpd at this point > > [Mon Jul 03 14:49:29 2006] [warn] try_connect: 0 > [Mon Jul 03 14:49:29 2006] [warn] After setup_socket > [Mon Jul 03 14:49:29 2006] [warn] Sending init data > [Mon Jul 03 14:49:29 2006] [warn] Send init1 > [Mon Jul 03 14:49:29 2006] [notice] child pid 28364 exit signal Bus > error (10) > > > > > >>> httpd.conf >>> > > > Alias /sw5 "/opt/spatialweb5/SpatialWeb5" > AddMonoApplications default "/sw5:/opt/spatialweb5/SpatialWeb5" > MonoExecutablePath default "/opt/mono/bin/mono" > MonoServerPath default "/opt/mono/lib/xsp/1.0/mod-mono-server.exe" > MonoWapidir default "/tmp/.wapi" > >MonoSetServerAlias default >SetHandler mono > > > > > >>
[Mono-list] Mono and Tailcalls
I need to get F# code working with Mono. The non-tailcall, non-generic code they provide in the F# distribution works OK, but anything involving tailcalls seems to bring up bugs in Mono's implementation of tailcalls. There seem to be additional bugs involving the combination of generics and tailcalls specifically. I just added a bugzilla on that one http://bugzilla.ximian.com/show_bug.cgi?id=78826. Do does Mono support tailcalls? And can you add some simple F# code (both tailcalling and non-tailcalling) as test cases for Mono? Thanks BB P.S. It would be great if the fixes somehow made it into 1.1.16 ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Reading from joystick.
Hi, I wan't to connect to a joystick and read the input from my program in C# with mono. What is the best way to accomplish such a thing? I read the connections string from hal (sharp) without a problem. In C I used to use a g_io_channel, but in C# I'm totally lost. Thank you for your help! /Fredrik ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Microsoft.Practises.EnterpriseLibrary UNDER MONO
Hello, > I forgot to mention an alternative for the Data Access Application > Block: Mono's Provider Factory [1]. It's part of every Mono > installation and it's more powerful that the DAA Block, IMO. > > [1] http://mono-project.com/Provider_Factory I added this comment to our FAQ: http://www.mono-project.com/FAQ:_Technical#Mono_and_the_Enterprise_Application_Blocks If we have replacements or we know of other replacements for these, let me know. Miguel. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] CIL linker
> Does anyone know what the status of the CIL linker is and when/if a > first test version will be released? It is being worked on. Hopefully it will be ready by the end of the summer. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Microsoft.Practises.EnterpriseLibrary UNDER MONO
Robert Jordan wrote: > Hey, > >> i hope somebody could help me... ! >> >> i try to run an application develop under VisualStudio .NET and it use >> Microsoft.Practises.EnterpriseLibrary >> >> it work under MONO WIN32 but as soon as i run it under LINUX MONO, a have a >> problem : >>System.UriFormatException: Invalid URI : >> The format of the URI could not be determined. >> >> if someone have an idea, he's welcome > > You probably won't get many answers because the Enterprise Library > is basically useless for Mono+Linux/Unix. > > See > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/pageula.asp > > Point 10. > > Robert I forgot to mention an alternative for the Data Access Application Block: Mono's Provider Factory [1]. It's part of every Mono installation and it's more powerful that the DAA Block, IMO. [1] http://mono-project.com/Provider_Factory Robert ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Microsoft.Practises.EnterpriseLibrary UNDER MONO
Hey, > i hope somebody could help me... ! > > i try to run an application develop under VisualStudio .NET and it use > Microsoft.Practises.EnterpriseLibrary > > it work under MONO WIN32 but as soon as i run it under LINUX MONO, a have a > problem : >System.UriFormatException: Invalid URI : > The format of the URI could not be determined. > > if someone have an idea, he's welcome You probably won't get many answers because the Enterprise Library is basically useless for Mono+Linux/Unix. See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/pageula.asp Point 10. Robert ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Microsoft.Practises.EnterpriseLibrary UNDER MONO
hello everybody,i hope somebody could help me... !i try to run an application develop under VisualStudio .NET and it use Microsoft.Practises.EnterpriseLibraryit work under MONO WIN32 but as soon as i run it under LINUX MONO, a have a problem : System.UriFormatException: Invalid URI : The format of the URI could not be determined.if someone have an idea, he's welcomethank you very much ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] YouTranslate! r.1.1.7.3
Hi all, it's available a new minor release of my little application YouTranslate! I have added some comments on the app's home page in order to help all the people who have problem with it. Enjoy ! -- LAAS --<| http://laas.altervista.org <| ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list