Re: [Mono-list] SPAM here ?

2015-11-26 Thread Agustin Gimenez
That address is spamming the mono list since two or three years ago and
nobody does nothing...

2015-11-27 2:23 GMT+01:00 :

> Hi !
>
> I asked a question here shortly and in that second, I send
> it, I got an answer from >j...@eukor.com<, which looks like
> spam. I wrote an answer to semeone, who tries to answer
> me - the same: That e-mail-adress given above looks like
> an auto-responder, which send html mails - where I have
> blocked internet access [for image etc].
>
> Just a note - would be great, if someone looks onto
> this -looks like the address is on the list.
>
> Best regards,
>
> Manfred
>
> [This may appear as duplicate - hungs in quue (used html)]
>
>
>
>
>
>
> ___
> 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] 503 error

2015-07-02 Thread Agustin Gimenez
Hi.

This is not really a solution to your problem but can help you if you are
out of luck and need a workaround.

I had a lot of troubles with mod_mono in some systems (CentOS mostly) but
in others it works really well (Debian as an example), so, I needed a
solution which worked out of the box in any system and did this:

1-Create your own ASP .net server using an HttpListener, it's easy, here
you have a very reduced example:
http://www.codingvision.net/networking/c-http-server-with-aspnet
2-Install an nginx as reverse proxy and let it decode the HTTPS requests so
it forwards to your server plain HTTP requests

Point 2 is very important because httplistener in mono has a ton of
troubles with SSL, using nginx as reverse proxy and HTTPS decoder removes
all those problems

I have this solution in multiple servers and it works very well (right, my
asp server is a bit more advanced but the base is the same).

Cheers.

2015-07-02 16:06 GMT+02:00 Wayne Douglas wa...@made-software.com:

 FYI servicestack works great on *Nix  https://servicestack.net/

 :)

 On Thu, Jul 2, 2015 at 2:54 PM, Timotheus Pokorra 
 timotheus.poko...@solidcharity.com wrote:

  httpd -M shows that mono is running but the result is the same. Is
 there a
  way to determine if xsp is running? Is there a way to make sure that
 mono is
  calling xsp4 and not xsp? Either of those would result in the 'Failed to
  connect to mod-mono-server after several attempts to spawn the
 process.' I
  would think. I still have no answer for the '[ERROR] FATAL UNHANDLED
  EXCEPTION: System.InvalidProgramException: Invalid IL code in
  System.Configuration.ConfigurationManager:get_AppSettings (): IL_:
 ret'
  though. I hope that they are tied together.

 First try the whole thing without httpd. Just start xsp4 in the
 directory where your web.config and your aspx files are.

 If that works, then the next step would to get it to work with mod_mono.

 I have never tried mod_mono, but use fastcgi-mono-server4 instead.
 Perhaps my configuration can give you some ideas:

 https://github.com/openpetra/openpetra/blob/master/setup/petra0300/linuxserver/postgresql/centos/openpetra-server.sh

 Timotheus
 ___
 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] Regex dosen't recognize \s or \w ?

2015-02-04 Thread Agustin Gimenez
Not sure if that's a bug or not, but you can perfectly use  *? to search
for zero or more spaces (I always try to use lazy search when possible, if
that's not your case remove the question mark after star), I have put that
inside quotes to denote the space before the star.

Cheers.

2015-02-04 16:03 GMT+01:00 mickeyf mic...@thesweetoasis.com:

 I am using Monodevelop 3.0.3.2,  with mono runtime 2.10.8.1 on Ubuntu 12.04

 When I try to include \s or \w in my regex, I get 'Unrecognized escape
 sequence', Otherwise regex works as I'd expect. (But I freely admit to
 having limited experience with regex.)

 What have I missed? Or if \s is not available, how do I specify zero or
 more spaces ?



 --
 View this message in context:
 http://mono.1490590.n4.nabble.com/Regex-dosen-t-recognize-s-or-w-tp4665410.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] How to install mono using yum on CentOS?

2014-11-21 Thread Agustin Gimenez
My experience on CentOS is that's a lot better to compile from git, it's
really easy:

  $ sudo apt-get install git autoconf libtool automake build-essential
gettext
  $ git clone git://github.com/mono/mono.git
  $ cd mono
  $ ./autogen.sh --prefix=/usr/local
  $ make get-monolite-latest
  $ make EXTERNAL_MCS=${PWD}/mcs/class/lib/monolite/gmcs.exe
  $ make
  $ make install

With that you will have the latest mono version up and running.

Cheers.

2014-11-21 13:11 GMT+01:00 terender teren...@hotmail.com:

 I'm using CentOS 6.6 and add the mono package repository into yum. But I
 found that the dependence libraries libpng15.so.15 libtiff.so.5 libc.so.6
 were not in any of the repositories. I've already add the EPEL repository
 but the top version of these libraries could not satisfy.

 the log is below

 Error: Package: libgdiplus0-3.8-0.x86_64
 (download.mono-project.com_repo_centos_)
Requires: libpng15.so.15()(64bit)
 Error: Package: libgdiplus0-3.8-0.x86_64
 (download.mono-project.com_repo_centos_)
Requires: libtiff.so.5()(64bit)
 Error: Package: mono-core-3.10.0-2.x86_64
 (download.mono-project.com_repo_centos_)
Requires: libc.so.6(GLIBC_2.16)(64bit)
 Error: Package: libgdiplus0-3.8-0.x86_64
 (download.mono-project.com_repo_centos_)
Requires: libc.so.6(GLIBC_2.14)(64bit)
 Error: Package: libgdiplus0-3.8-0.x86_64
 (download.mono-project.com_repo_centos_)
Requires: libtiff.so.5(LIBTIFF_4.0)(64bit)
 Error: Package: libgdiplus0-3.8-0.x86_64
 (download.mono-project.com_repo_centos_)
Requires: libpng15.so.15(PNG15_0)(64bit)


 for example that the glibc library in repository is

 Loaded plugins: fastestmirror
 Loading mirror speeds from cached hostfile
  * epel: mirrors.yun-idc.com
 Installed Packages
 Name: glibc
 Arch: x86_64
 Version : 2.12
 Release : 1.149.el6
 Size: 12 M
 Repo: installed
 From repo   : base

 So how could I install mono using yum?  Or the only way is to compile mono
 with source code ?





 --
 View this message in context:
 http://mono.1490590.n4.nabble.com/How-to-install-mono-using-yum-on-CentOS-tp4664746.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] Raspberry for the C# program

2014-11-20 Thread Agustin Gimenez
Hi Jagroop.

There are many solutions, I'm on the process of creating a framework to
manipulate the Raspberry hardware from C#, you can find it at
https://github.com/gusmanb/RaspiSharp

It's the starting point and i'm evolving it a lot, so expect breaking
changes in near future.

To install mono on the Rpi just execute this:

pi@raspberrypi ~ $ *sudo apt-get update*
pi@raspberrypi ~ $ *sudo apt-get install mono-complete*

It will install the 3.2.8 version which includes hardware floating point
functions and works really well.

After that you have a fully functional mono installation, to run any .net
program execute sudo mono (yourexename)

Cheers.

2014-11-20 12:26 GMT+01:00 jagroop77 jagr...@promatics.co.in:

 Dear Friends,

 We have a application where we have to capture some data from the field and
 process.
 So, we decided to use Raspberry which is on Linux.
 For processing we want to use C# program.I came to know that with MONO the
 C# program can run on Linux OS.

 Is it a good idea or do you suggest some new solution.

 cheers

 Jagroop



 --
 View this message in context:
 http://mono.1490590.n4.nabble.com/Raspberry-for-the-C-program-tp4664730.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] Trouble establishing client authenticated ssl connection to ActiveMQ using NMS

2014-10-02 Thread Agustin Gimenez
Maybe its complaining about the certificate being self-signed, if this is
the case set a callback on
System.Net.ServicePointManager.ServerCertificateValidationCallback and
return true to allow the use of it.

http://msdn.microsoft.com/en-us/library/system.net.servicepointmanager.servercertificatevalidationcallback.aspx

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


Re: [Mono-list] Newbye questions about mono's speed

2014-09-05 Thread Agustin Gimenez
With that data nothing can be supposed, ¿what does your app? ¿which
hardware are you running? ¿what mono version?

Provide more details if you want help.

Cheers.


2014-09-05 11:43 GMT+02:00 gbenrais gbenr...@wakuroo.com:

 Hello,
 I run under linux an application developped in C# with Visual Studio and it
 works. Fine but it is slower :
 Linux : 20 seconds
 Windows : 5 seconds
 Thank for your help,
 Ghislain



 --
 View this message in context:
 http://mono.1490590.n4.nabble.com/Newbye-questions-about-mono-s-speed-tp4663761.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] Newbye questions about mono's speed

2014-09-05 Thread Agustin Gimenez
Hi.

Ok, first of all, you are running a very outdated version on linux (2.10.8)
I recommend to clone the git repository and compile from sources.

Second, both machines are too different to really do a comparison, one is
an i7 at 3.4Ghz and the other one is a Xeon at 2.4Ghz (and an old one).

Update your mono version and test again, probably will give a better
result, but don't expect the same as those machines are too different.

Cheers.


2014-09-05 14:32 GMT+02:00 gbenrais gbenr...@wakuroo.com:

 Yes, my question couldn't be answered, sorry.
 I have run this  program
 
 http://benchmarksgame.alioth.debian.org/u64q/program.php?test=nbodylang=csharpid=3
 
 .
 *Windows machine :*
 Mono JIT compiler version 3.3.0 (master/6cd4ddc)
 TLS:   normal
 SIGSEGV:   normal
 Notification:  Thread + polling
 Architecture:  x86
 Disabled:  none
 Misc:  softdebug
 LLVM:  supported, not enabled.
 GC:sgen
 Windows 7
 Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
 *Linux machine :*
 Mono JIT compiler version 2.10.8 (tarball jeu. févr. 20 13:37:11 CET 2014)
 TLS:   __thread
 SIGSEGV:   altstack
 Notifications: epoll
 Architecture:  amd64
 Disabled:  none
 Misc:  softdebug
 LLVM:  supported, not enabled.
 GC:Included Boehm (with typed GC and Parallel Mark)
 Linux 2.6.32-279.9.1.el6.x86_64
 Architecture:  x86_64
 CPU op-mode(s):32-bit, 64-bit
 Byte Order:Little Endian
 CPU(s):2
 On-line CPU(s) list:   0,1
 Thread(s) per core:1
 Core(s) per socket:2
 CPU socket(s): 1
 NUMA node(s):  1
 Vendor ID: GenuineIntel
 CPU family:6
 Model: 26
 Stepping:  5
 CPU MHz:   1600.000
 BogoMIPS:  3731.57
 Virtualization:VT-x
 L1d cache: 32K
 L1i cache: 32K
 L2 cache:  256K
 L3 cache:  4096K
 NUMA node0 CPU(s): 0,1


 Thank you,
 Ghislain




 --
 View this message in context:
 http://mono.1490590.n4.nabble.com/Newbye-questions-about-mono-s-speed-tp4663761p4663763.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] Per-process memory overhead

2014-08-31 Thread Agustin Gimenez
Hi Chris.

.net and mono always have some overhead, so I think it's normal.

Instead of creating a dozen of processes, why don't you create just one and
as many buses as you need inside that process?

Cheers.
El 31/08/2014 02:52, Chris Morgan chmor...@gmail.com escribió:

 Hello.

 I'm looking to use mono for some dbus bridges with dbus-sharp. I've got a
 pretty simple bridge, a couple of classes and a single dbus interface that
 bridges to a socket in a console application. It looks like each instance
 has ~14MB of memory overhead, from smem output:

 30038 cmorgan  mono display_interface.exe 01679219650
  23488

 So, 16.7MB USS, 19.65MB PSS and 23.48MB RSS.

 Using mono 3.4 on Fedora 20.


 I ran the alloc profiler on the application and it looks like there was
 some 700k of memory allocated in the application itself, quite small
 compared to the process memory.

 I'd like to be able to use mono to create a dozen or more of these dbus
 bridges but the embedded arm system I'm using only has 512MB of ram.

 I haven't tested on the arm platform yet, but I'm assuming a similar
 amount of overhead for each process.

 Is this a normal amount of overhead per-process? Thoughts on how I might
 be able to reduce it?

 Chris


 ___
 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] Building sln (2)

2014-08-26 Thread Agustin Gimenez
https://digitaltoolfactory.net/blog/2010/07/how-to-fix-a-missing-reference-to-mscorlib-in-visual-studio-2010/

The solution can be applied to mono projects (just add the specified line).

Cheers.


2014-08-26 14:41 GMT+02:00 Wayne Douglas wa...@prjatk.com:

 Hate to sound like a nubz but how do I know what and where the correct
 version?
 —
 Sent from Mailbox https://www.dropbox.com/mailbox


 On Sun, Aug 24, 2014 at 12:29 PM, Agustin Gimenez geni...@gmail.com
 wrote:

 Ensure you are referencing the correct mscorlib.DLL

 http://msdn.microsoft.com/en-us/library/f5c3ehka.aspx
 El 24/08/2014 13:18, Wayne Douglas wa...@prjatk.com escribió:

 Anyone got any idea on this? I'm not doing anything special


 On Fri, Aug 22, 2014 at 3:08 PM, Wayne Douglas wa...@prjatk.com wrote:

  Now I have gotten a lot further but I am getting the following which
 is really throwing me!

  /src/src/Import.Runner/Import.Runner.csproj (default targets) -
 /usr/local/lib/mono/xbuild/12.0/bin/Microsoft.CSharp.targets
 (CoreCompile target) -

 CSC: error CS0518: The predefined type `System.Object' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.ValueType' is
 not defined or imported
 CSC: error CS0518: The predefined type `System.Attribute' is
 not defined or imported
 CSC: error CS0518: The predefined type `System.Int32' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.UInt32' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.Int64' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.UInt64' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.Single' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.Double' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.Char' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.Int16' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.Decimal' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.Boolean' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.SByte' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.Byte' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.UInt16' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.String' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.Enum' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.Delegate' is not
 defined or imported
 CSC: error CS0518: The predefined type
 `System.MulticastDelegate' is not defined or imported
 CSC: error CS0518: The predefined type `System.Void' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.Array' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.Type' is not
 defined or imported
 CSC: error CS0518: The predefined type
 `System.Collections.IEnumerator' is not defined or imported
 CSC: error CS0518: The predefined type
 `System.Collections.IEnumerable' is not defined or imported
 CSC: error CS0518: The predefined type `System.IDisposable' is
 not defined or imported
 CSC: error CS0518: The predefined type `System.IntPtr' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.UIntPtr' is not
 defined or imported
 CSC: error CS0518: The predefined type
 `System.RuntimeFieldHandle' is not defined or imported
 CSC: error CS0518: The predefined type
 `System.RuntimeTypeHandle' is not defined or imported
 CSC: error CS0518: The predefined type `System.Exception' is
 not defined or imported

  29 Warning(s)
  31 Error(s)

 Time Elapsed 00:01:58.6300830

 --
  **

  *w://*

  *t: 07508 215 459*

  **




 --
  **

  *w://*

  *t: 07508 215 459*

  **


 ___
 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] Building sln (2)

2014-08-24 Thread Agustin Gimenez
Ensure you are referencing the correct mscorlib.DLL

http://msdn.microsoft.com/en-us/library/f5c3ehka.aspx
El 24/08/2014 13:18, Wayne Douglas wa...@prjatk.com escribió:

 Anyone got any idea on this? I'm not doing anything special


 On Fri, Aug 22, 2014 at 3:08 PM, Wayne Douglas wa...@prjatk.com wrote:

 Now I have gotten a lot further but I am getting the following which is
 really throwing me!

 /src/src/Import.Runner/Import.Runner.csproj (default targets) -
 /usr/local/lib/mono/xbuild/12.0/bin/Microsoft.CSharp.targets (CoreCompile
 target) -

 CSC: error CS0518: The predefined type `System.Object' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.ValueType' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.Attribute' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.Int32' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.UInt32' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.Int64' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.UInt64' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.Single' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.Double' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.Char' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.Int16' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.Decimal' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.Boolean' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.SByte' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.Byte' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.UInt16' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.String' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.Enum' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.Delegate' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.MulticastDelegate'
 is not defined or imported
 CSC: error CS0518: The predefined type `System.Void' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.Array' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.Type' is not
 defined or imported
 CSC: error CS0518: The predefined type
 `System.Collections.IEnumerator' is not defined or imported
 CSC: error CS0518: The predefined type
 `System.Collections.IEnumerable' is not defined or imported
 CSC: error CS0518: The predefined type `System.IDisposable' is
 not defined or imported
 CSC: error CS0518: The predefined type `System.IntPtr' is not
 defined or imported
 CSC: error CS0518: The predefined type `System.UIntPtr' is not
 defined or imported
 CSC: error CS0518: The predefined type
 `System.RuntimeFieldHandle' is not defined or imported
 CSC: error CS0518: The predefined type `System.RuntimeTypeHandle'
 is not defined or imported
 CSC: error CS0518: The predefined type `System.Exception' is not
 defined or imported

  29 Warning(s)
  31 Error(s)

 Time Elapsed 00:01:58.6300830

 --
 **

 *w://*

 *t: 07508 215 459*

 **




 --
 **

 *w://*

 *t: 07508 215 459*

 **


 ___
 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] Mono 1.2.5 for Novell iFolder 3 for Mac

2014-08-19 Thread Agustin Gimenez
Did you tried with a newer version?

If the program does not check for the exact version of mono it must work.

Cheers.


2014-08-19 14:02 GMT+02:00 Esben Laursen hy...@hyber.dk:


 Den 19-08-2014 00:42, bstevens skrev:

  Novell iFolder 3 desktop client for Mac still requires Mono 1.2.5, but the
 download of it is no longer available in the archives.  Is there any way
 to
 still get hold of this ancient version, and if so, would someone let me
 know
 please?


 You can find the source here...

 http://download.mono-project.com/sources/mono/

 I just checked there is a version 1.2.5 you can download, but I guess you
 need to compile it yourself.

 Cheers

 Esben

 ___
 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