Live data from Hacker News

Mono 3.2.7 is out

news.mono-project.com

101–110 of 116 posts

Re: Mono 3.2.7 is out

#101
post #11

Earlier quoted context omitted.

.NET clone of node.js would be nice, because I like the idea of node.js but not enough to ditch all my .NET stuff (especially entity framework).

I think that the LINQ integration with EF is nice.. but EF in and of itself isn't all that great imho... Most of what it does is generate types to correspond to your database tables. When you use a language with real variable types, it's less of an issue... If you really want it, you could shoehorn generators and other db platforms into the hyena[1] package. In general, I've found that using databases tend to be much…

C# (.NET4+) has real variable types, and a library to use them for database access.

Using Type dynamic - http://msdn.microsoft.com/en-us/library/dd264736.aspx

https://github.com/robconery/massive

Re: Mono 3.2.7 is out

#102
post #11
post #5

Earlier quoted context omitted.

I had the same problem. I googled "Mono Nancy" and eventually found this: https://github.com/NancyFx/Nancy EDIT: It seems to be a .NET clone of node.js

.NET clone of node.js would be nice, because I like the idea of node.js but not enough to ditch all my .NET stuff (especially entity framework).

I started something along these lines a while ago. Haven't touched in quite some time though.

https://github.com/martydill/node.fs

Re: Mono 3.2.7 is out

#103

Earlier quoted context omitted.

If you don't mind me asking, I'm stuck trying to get the project templates to work with Monodevelop 4. I'm using this repository to run the latest Mono and Monodevelop on Fedora: http://download.opensuse.org/repositories/home:/tpokorra:/mo... When I open the vsix file, all I get is a hexdump. I also tried installing it as an add-in, but it doesn't appear to accept vsix files. The goal is to get past step one of these…

monodevelop is not really supported. i would try compiling the latest mlnodevelop and see if there is a fork of the nancy templates. you can work around that issue if you make an empty asp.net project and then use nuget to install-package nancy.hosting.aspnet at least i think so, i haven't been doing .net in a while

SUCCESS! I followed these:

http://rubygems.org/gems/albacore/versions/1.0.0.rc.1 (for the command to install albacore), and

https://github.com/NancyFx/Nancy/wiki/Running-Nancy-on-your-...

This works on Fedora and probably other distributions as well, though this uses HTTP which might be less optimal than FastCGI with Fos. I got Fos to compile with Mono but it's not usable yet, it can't find IAppBuilder in my "console" application no matter what references or using directives I add. Nowin compiles cleanly but the example projects don't, so it'll take some effort to get it to work. Things are progressing, though. But I really can't recommend anyone use Mono for web development as it stands.

Re: Mono 3.2.7 is out

#104

Earlier quoted context omitted.

Ubuntu and friends are really, really bad at packaging Mono, and have been for a long time. Mono development on Arch Linux is delightful. I suggest trying to compile it all yourself instead of going for packages on Debian-derived systems.

What did ArchLinux do differently that it won't require me to install the necessary GtkSharp libraries?

You'll still have to install them, but it won't be a pain in the ass. The default mono package assumes you want everything, you want the latest version, and you don't want to spend an hour finding packages.

Re: Mono 3.2.7 is out

#105
post #81

Earlier quoted context omitted.

Having the libraries and language installed is not the IDE's job. The IDE is a glorified editor with more stuff. Eclupse and Idea need Java to be installed for example. And I'd guess VS needs .NET to be installed.

It's not a text editor, it's the whole experience. I never even want to worry about where libraries are or where the compiler executables are. I just want to edit and run code. If the compiler comes with libraries, debugger and editor, or if the IDE comes with libraries and compiler doesn't matter. I want the matlab experience, not the gcc experience. Example: A java IDE that can't set up java automatically for me (O…

>Example: A java IDE that can't set up java automatically for me (OR detect/configure an existing install without my intervention) is disappointing.

Well, it might be disappointing, but that describes all of them. Idea and Eclipse don't automatically install Java.

So it's hardly unique to MonoDevelop.

Re: Mono 3.2.7 is out

#106

Earlier quoted context omitted.

> The IDE is a glorified editor with more stuff. If only more people thought like this then I wouldn't be looked at funny when calling my Emacs an IDE. Instead I have some 90% of PyCharm functionality (+ Org Mode), but I constantly hear that it doesn't count because "I had to configure all these plugins" and so on... And last time I checked VS installed everything it needed to run by itself - it didn't even ask if I…

Eclipse and IntelliJ don't come with the compiler, probably due to licensing. Also keep in mind that VS only works in Windows, not as cross platform as these two. Installing for Single-Family-OS (Windows...) vs different OSes => different complexity.

Which is why I think that IDE makers that don't make their language are at a disadvantage (that they should try to work around), and language makers that don't provide an IDE don't take full advantage of their situation. A language/platform without a good dev experience is just not complete. The dev experience is a huge part of what a lang/platform does, and should influence design decisions at every level, i.e. "do we have all the debugging/hot-deploy/profiling entry points in place", or "could this grammar be better for providing autocomplete in invalid synax"?

As for java IDE's: it can't be rocket science to detect & use existing java installations in a good way, or even download & install them in the background (even with licensing issues).

Re: Mono 3.2.7 is out

#107

Earlier quoted context omitted.

It's not a text editor, it's the whole experience. I never even want to worry about where libraries are or where the compiler executables are. I just want to edit and run code. If the compiler comes with libraries, debugger and editor, or if the IDE comes with libraries and compiler doesn't matter. I want the matlab experience, not the gcc experience. Example: A java IDE that can't set up java automatically for me (O…

> Example: A java IDE that can't set up java automatically for me (OR detect/configure an existing install without my intervention) is disappointing. Well, it might be disappointing, but that describes all of them. Idea and Eclipse don't automatically install Java. So it's hardly unique to MonoDevelop.

While it is disappointing if it doesn't have a single setup experience, they should at least try to locate & use an existing install without the user having to specify a path on disk or an env-var for example. Two installs but no gluing is at least acceptable.

Re: Mono 3.2.7 is out

#108
post #12

STILL no Ubuntu packages. The official repos are back in 2.x.x land.

Well compiling it from sources is not THAT hard. git clone git://github.com/mono/mono.git cd mono ./autogen.sh make sudo make install

That might be, but how do you then make a source-package of your program that compiles and installs successfully on the target distributions that don't have an up-to-date mono toolchain? Because while a developer might follow upstream, users shouldn't have to...

Re: Mono 3.2.7 is out

#109

Earlier quoted context omitted.

Eclipse and IntelliJ don't come with the compiler, probably due to licensing. Also keep in mind that VS only works in Windows, not as cross platform as these two. Installing for Single-Family-OS (Windows...) vs different OSes => different complexity.

Which is why I think that IDE makers that don't make their language are at a disadvantage (that they should try to work around), and language makers that don't provide an IDE don't take full advantage of their situation. A language/platform without a good dev experience is just not complete. The dev experience is a huge part of what a lang/platform does, and should influence design decisions at every level, i.e. "do…

I believe Eclipse and IntelliJ do detect & use existing (default) Java installations, just can't download&install them in the background (plus there might be complication in doing so: what's the recent version of Java that should be installed? can we guaranteed Oracle won't break the URL, etc etc).

See how Linux+BSD users install Oracle Java....

Re: Mono 3.2.7 is out

#110
post #108

Earlier quoted context omitted.

Well compiling it from sources is not THAT hard. git clone git://github.com/mono/mono.git cd mono ./autogen.sh make sudo make install

That might be, but how do you then make a source-package of your program that compiles and installs successfully on the target distributions that don't have an up-to-date mono toolchain? Because while a developer might follow upstream, users shouldn't have to...

It's actually quite a bit worse than that. For instance, I successfully built and installed mono locally now, but am unable to run simple gtk-applications.

    git clone git://github.com/mono/mono.git mono.git
    cd mono.git
    ./autogen.sh --prefix=${HOME}/opt
    make get-monolite-latest # Need mono to compile mono
    make EXTERNAL_MCS="${PWD}/mcs/class/lib/monolite/gmcs.exe"
    make install
    export PKG_CONFIG_PATH=${HOME}/opt

I can now successfully compile and run a command-line hello world, but a simple gtk-test (and winforms test) fail when attempting to run the examples. This probably has someting to do with linking and assemblies, but experimenting with PKG_CONFIG_PATH, GAC_PATH and MONO_PATH makes no apparent difference...

   cat  hello.cs
   using System;
   public class HelloWorld {
    static public void Main () { Console.WriteLine ("Hello Mono World!"); } }
   eof
   mcs hello.cs
   mono hello.exe

   > Hello Mono World!


   cat hello-gtk.cs
   using Gtk; using System;

   class HelloWorld {
    static void Main () {
        Application.Init(); 
        Window w = new Window("Hello Mono World!");
        w.Show(); 
        Application.Run(); }}
   eof
   mcs hello-gtk.cs -pkg:gtk-sharp-2.0
   mono hello-gtk.exe

   > Unhandled Exception:
    System.IO.FileNotFoundException: Could not load file or
    assembly 'gtk-sharp, (...)
Post reply on HN