16 questions
1
vote
1
answer
157
views
How can I properly add seed/options to a dmc2gym environment with Gymnasium? [closed]
import gymnasium as gym
import dmc2gym
gymenv = gym.make("CartPole-v0")
gymenv.reset(seed=42, options=None) # It won't go wrong, no problem
dmcenv = dmc2gym.make(domain_name="quadruped&...
0
votes
1
answer
2k
views
What makes lastLogon attribute update in AD
I have an Active Directory query for you folks
Been working at a company as a sys admin for a while now. We have 6 DMCs (2 Azure hosted, and then 2 for each of our two sites, one physical and one ...
0
votes
1
answer
256
views
convert numpy array data matrix code to text
Let's assume i have a numpy array like
[[1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0]
[1 0 1 1 0 1 0 1 0 1 0 0 0 0 1 1]
[1 0 1 1 0 1 1 0 1 0 1 0 1 0 1 0]
[1 1 0 1 0 1 1 1 0 1 0 1 0 1 1 1]
[1 0 0 1 0 0 0 1 1 1 ...
2
votes
1
answer
436
views
What does the D in DMCS stand for?
So, I was reading about the mono c# compiler. I know what the purpose of the apps are, but I was just wondering what the abbreviations stand for. (Also what does gmcs, smcs and csc stand for?)
If I ...
3
votes
1
answer
933
views
C# compile with 'release' option
There isn't much to say, so I'll keep it short. I have been using the MonoDevelop IDE along with the 'dmcs' (aka 'mcs') for as long as I have been using Linux. However, this is the first time I ...
1
vote
1
answer
478
views
MonoDevelop/MonoTouch - Expression denotes a `value', where a `method group' was expected - Unable to locate error Info
Following the Tasky application's core, I created the business and database layers, however when trying to compile I get this error:
Error CS0119: Expression denotes a 'value', where a 'method group' ...
1
vote
0
answers
1k
views
Mono, Regex and stack size
I'm porting a piece of C# software that uses System.Text.RegularExpressions.Regex for parsing out C/C++ includes out of source files. They are fully loaded into memory as a string and then just ...
8
votes
1
answer
6k
views
Run mono .exe with the DLL's in a different folder
I compiled the test.cs file (which references a third party library) using the dmcs executable for Mac and the following command line program:
dmcs /out:program.exe test.cs /target:exe /reference:/...
3
votes
2
answers
2k
views
Mono take mscorlib.dll 2.0 instead of 4.0
I am having a problem with an MONO application, I'm trying to compile the project (with MonoDevelop) so as to load the library run mscorlib.dll 4.0 instead of version 2.0. (I need System.Type....
1
vote
1
answer
1k
views
Mono xbuild uses dmcs instead of gmcs
I have the following code:
using System;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
namespace MyTasks
{
public class SimpleTask : Task
{
public override ...
1
vote
2
answers
2k
views
Mono.CSharp (Compiler as a Service) changes in version 2.10
I am running Mono version 2.10 on Ubuntu 11.10. I am trying to run the sample provided on http://blog.davidebbo.com/2012/02/quick-fun-with-monos-csharp-compiler-as.html ,but it seems to target a ...
12
votes
0
answers
551
views
Bug in Mono C# compiler's implementation of yield? [closed]
This code causes an internal compiler error at the if(false) statement, using the 2.10.8 dmcs as well as MonoTouch. Is this known? (This may be a bug report, but I could be doing something lame.)
...
0
votes
1
answer
657
views
Unable to compile simple C# file with mono's dmcs
I'm trying to use dmcs to compile a simple C# source file. This is the source file:
using System;
class MainClass
{
public static void Main(string[] args)
{
Console.WriteLine("Hello ...
0
votes
1
answer
223
views
How do you signal you want to reference an assemby with manos de mono server?
Using dmcs directly, if I want to reference an assembly I can pass it in via the -r option, ala:
dmcs -r:System.Xml.Linq.dll whatever.cs
manos de mono uses its own build system on top of dmcs, how ...
1
vote
1
answer
198
views
Can a MonoDevelop user benefit from optional parameters while still targeting at 3.5?
As stated in this question, thanks to some compilation trickery, Visual Studio 2010 allows a project targeting at .Net 3.5 to benefit from optional parameters.
Is it possible to achieve similar ...