Re: [Mono-dev] correct tail call optimization in mono

2009-08-24 Thread Mark Probst
On Sun, Aug 23, 2009 at 11:02 PM, Rodrigo Kumperakump...@gmail.com wrote: Mono doesn't really needs to support tail call on all valid positions, doing as well as MS is enough for F# workloads. Doing well enough as MS does require callee-pops-args. If we don't have that the most we can do is

Re: [Mono-dev] ASP:UpdatePanel with UpdateMode=Conditional updates always

2009-08-24 Thread Marek Habersack
Vitalii wrote: Hi, I'm facing such a problem: https://bugzilla.novell.com/show_bug.cgi?id=532064 The situation (and the answer) haven't changed since, Vitalii - it is not reproducible with latest Mono, so use the latest. It was a bug in System.Web.Extensions which is resolved now. marek

Re: [Mono-dev] Cross platform USB programming

2009-08-24 Thread Petit Eric
The error is clear, LibUsbDotNet.UsbGlobals.get_HasWinUsbDriver , so the guy wrapped only native WIN32 code, which cannot work on other platform like Linux and so on, i already try libusbdonet and never have it working , i asked to the author (see sourceforge project forum) to have it working

Re: [Mono-dev] .NET / Mono runtime multi-cast differences.

2009-08-24 Thread Alan McGovern
Hi, Unless I'm missing something, you haven't actually described what the problem is. Nor have you mentioned what exactly happens on windows, what happens on linux and what you actually expected to happen. Your example also appears to be missing information which might help figure out what issue

Re: [Mono-dev] [PATCH] Cause libgc to return some unused memory to the system

2009-08-24 Thread pablosantosl...@terra.es
We tested it on our Plastic SCM load tests and it worked as expected. pablo www.plasticscm.com Dick Porter wrote: Hi all Attached is a patch to libgc that will allow it to actually unmap memory when USE_MUNMAP is defined. Currently, the unmap code just sets the mmap flags on a region

Re: [Mono-dev] .NET / Mono runtime multi-cast differences.

2009-08-24 Thread James P Michels III
The central problem is described in the sentence Unless the Socket.Bind operation is modified to bind to a different end point based on the runtime, no packets will be received. The meaning of listenChannel and listenEndpoint can be inferred from their use in subsequent statements, but for sake

[Mono-dev] Hacking mono to make it more deterministic

2009-08-24 Thread Lucas Meijer
Hey, At Unity we have this internal testing system where we 1) play a game, and record all inputs 2) can replay that game, based on the recorded inputs 3) whenever we do a checkin on our sourcecode, we run all games in the testing setup against this new unity build, by making screenshots every

Re: [Mono-dev] Hacking mono to make it more deterministic

2009-08-24 Thread Avery Pennarun
On Mon, Aug 24, 2009 at 1:13 PM, Lucas Meijerlu...@lucasmeijer.com wrote: - if you can think of a better/different way to make our users code deterministic Perhaps use a PRNG (always with the same starting seed) for the hashcode of an object, and store the hash as a member in Object itself.

[Mono-dev] Process.GetCurrentProcess().Modules crashes on Mac OS X Snow Leopard

2009-08-24 Thread Tom Philpot
We just discovered this issue with Mono 2.4.2.3 on Mac OS X under the most recent Snow Leopard build. System.Diagnostics.Process.GetCurrentProcess().Modules fails with a crash. Snow:MacOS dev$ csharp Mono C# Shell, type help; for help Enter statements below. csharp

Re: [Mono-dev] Hacking mono to make it more deterministic

2009-08-24 Thread Rodrigo Kumpera
Forcing sys.object::hash_code to be zero will result in insertion order to Dictionary and cause all operations to be linear. On Mon, Aug 24, 2009 at 10:13 AM, Lucas Meijer lu...@lucasmeijer.comwrote: Hey, At Unity we have this internal testing system where we 1) play a game, and record all

Re: [Mono-dev] Hacking mono to make it more deterministic

2009-08-24 Thread Eyal Alaluf
Hi, Lucas. You might consider creating a version of Hashtable and Dictionary with an iterator that depends on the order on which the elements are introduced (and not upon the hash value of the elements). This will introduce some overhead in performance and memory (maintaining a doubly linked list

Re: [Mono-dev] Process.GetCurrentProcess().Modules crashes on Mac OS X Snow Leopard

2009-08-24 Thread Rodrigo Kumpera
Please file a bug about this. On Mon, Aug 24, 2009 at 6:27 PM, Tom Philpot tom.phil...@logos.com wrote: We just discovered this issue with Mono 2.4.2.3 on Mac OS X under the most recent Snow Leopard build. System.Diagnostics.Process.GetCurrentProcess().Modules fails with a crash.