Duff show

août 31, 2007

MONO 1.2.5 released !!!

Classé dans : .NET, Mono, development, open source — duff @ 9:03

Mono have just released the 1.2.5.

This new version bring a pack of things as usual…

  • Dynamic language runtime (DLR) which is the big part of moonlight.
  • the C# 3.0 features (minus query expression of LINQ):
    • Type inference: the “var” keyword
      expl: var i = 1; var intArr = new[] {1, 2, 3, 4}
    • Anonymous types: the compiler will generate a class which fit to the behaviour of your constructor. (quite like duck in ruby)
      expl: new {hair=”black”, skin=”green”, teethCount=64}
    • Object/Collection initialization: specified values of fields/properties in constructor
      expl: var myCoord = new Coordinate{ x = 0, y= 0} ;
      List<string> animals = new List<string> {“monkey”, “donkey”, “cow”, “dog”, “cat”} ;
    • Automatic properties: generate the private variable linked to the propertie
      expl: public string Bar {get; set;} will fill the get and set with a private field.
    • extension methods: extend a class with a new method (like partial class)
      expl: public static ToInt32(this string s) {…} will extend the string class with this function
    • lambdas expression: anonymous methods in more concise syntax
      expl: s => Console.Writeline(s);
  • Runtime optimisation
  • Improove .NET 2.0 support (System.core, System.Data, winforms)
  • VB.NET bugfix

août 28, 2007

managed web browser

Classé dans : .NET, Mono, development — duff @ 2:54

A discution have started today about doing a managed web browser.

Advantage :

  • Cross plateform browser
  • Can be used in dotnet without wraping a unmanaged class
  • Can be funny ;)

Disadvantage:

  • Reinvent the weel
  • Far from the goal of mono
  • Take a long time and lot of money
  • Firefox is ever cross plateform…

To be honnest, it is a cool project to learned a lot of things. But behind that the real gain is not so big versus the time of development.

UPDATE:

We have a lot of things ever done:

  • Jscript compiler
  • HttpWebRequest
  • visual layer with system.Drawing (GTK# or Winforms seems bad for me to customize and is not done for that…)
  • xml parser

And a lot to do:

  • CSS parser
  • DOM
  • HTML parser
  • ActiveX

image resizing

Classé dans : Technology, development, new technology — duff @ 5:56

Seam Carving is a new algorithm to resize an image by ading or removing some layer in the image. This algorithme is so powerfull that you can make someone disapear from a photo!!

Here is another image algorithme from microsoft (photosynch) which can take a photo and rebuild a 3d environment.

You have all algorithme which analyse an image to get strange behaviour or character recognition…

A lot of other algorithme use the artificial neural network to have result. This kind of algorithme is based on human system. This system will have 2 states:

  • the first state who learned from reallife result.
  • the second one witch take a decision from what it have learned. In this state it can be wrong. The more you make the system learned in first state, the more you will have good result.

This system can be good to analyse complexe system as meteo, optical character recognition, stock exchange, …

août 25, 2007

vala

Classé dans : development, gnome, linux, open source — duff @ 11:49

vala is a new programming language which bring performance of c++ and user-friendly of the C#.

In fact, Vala is very closed to C#in syntax. It contains even the most recent thing of C# as :

  • Lambda expressions
  • Type inference for local variables
  • Generics
  • Non-null types

And a lot of other features from basic C#:

But it only bring language features. We have no virtual machine, no framework!

This language just try to make the life easier for people who want to build compiled assembly.

Vala is a great language to build application with very good performance or wich interact with low level layer (hardware). Mono/DotNet is quick to develop, easy to maintain, user friendly and bring a big toolbox to not have reinvent the weel…So, Vala & Mono is at the end not for the same use. But it bring to developer who want to do low level thing or embded thing or developer who do not want to have VM.

Rem: A lot of developer are still saying that VM is bad for performance but a lot of snipset have shown that it is not so slow and can even be better in some way because the compiler JIT optimize things. so, if you do not want VM just for performance, it is not so simple… But there are a lot of other good reason to not use VM.

It is great to see that even low level language can become easy and powerfull with a good ratio of line of code by features.

août 24, 2007

dev a game

Classé dans : development, game — duff @ 8:40

I have worked a lot in game area of open source software.

And just want to present some little things very interesting :

  • Ogre3d which is a beautiful the best engine (better than a lot of commercial engine) with a lot of support/tool/binding…
  • Axiom3d witch is the port in C# of Ogre3d have rebirth!
  • Irrlicht is a good engine too with binding for Mono/.NET
  • vertexbuffer which is a very good site to optimize your code
  • GameDev is the best site to learned openGL and client side thing for 3d world ;)
  • TaoFramework is a beautiful framework which is a collection of binding for DotNet
  • Mono.XNA is the port of MS.XNA
  • Devmaster is a beautiful site to find the perfect engine for your need.

UPDATE: Axiom have show a benchmark (if someone find the page…) of OGRE VS AXIOM and it show that C# is better in some part. For people who said that C# is slow.

août 22, 2007

Compiz released!!

Classé dans : News, new technology — duff @ 1:18

Compiz have a lot of activity during summer !!

A new release is just out. The 0.5.4 is very important because it is thefirst release with the merge of fork of compize (Beril, compize.Extra) and compize. Now we have a system more stable, more flexible and with a lot of new plugin. This merge will lead to a real integration in a lot of linux distrib.

The logo have change too!

compize logo

Small video of a new features:

Google summer of code

Classé dans : Mono, News, development — duff @ 12:18

Soc for friend is a beautiful project of Google to help open source software by sponsoring student project for open source world.

Mono use SOC for different kind of project. The result is not the same for each project. Sometimes, you have a great student which become oficial commiter and help project for many years and sometimes you have a bad result with no documentation. Mono have been lucky on that.

See a small review of SOC throught many years!

SOC 2005

hSOC 2006

SOC 2007

I enjoy to see the bittorrent lib become a such good component that it take new project to have a good GUI under GTK#.

I enjoy too to see winform designer and debugger under monodevelop which will become a real good IDE.

 

août 21, 2007

olive logo (suite)

Classé dans : Mono — duff @ 3:02

I have done my own logo for olive for fun ;)

olive

août 20, 2007

Monotorrent GUI

Classé dans : Mono, gnome — duff @ 1:55

As some of you know, I have work on Monotorrent to make a winform GUI. A big news is that now I have an opponent ;)

Jared have done GTK# GUI for GNOME.

His GUI seems more advanced than my previous one with category, RSS and plugin system.

Here you can see the full res demo.

or in low res.

Jared, you have done a great work. Hope I will find time to improove my own GUI.

So, here I post some screenshot of my winform GUI:

REM: In fact, both GUI ( winforms & GTK#) have quite the same design ;-)

Happy birthday to Gnome!

Classé dans : News, gnome, linux — duff @ 12:14

10 years of freedom.

Many thanks goes to Miguel to have launch this amazing project.

This is one of the most known (with KDE) desktop. It is really cute and a lot of people have ever switch to linux and use Gnome. I will do the switch soon. I have a multiboot and I use more MSwindows but I will leave it.

gnome10years

You can see a small presentation of gnome evolution here.

Page suivante »

Publié sur WordPress.