viernes, julio 30, 2004

At least starting with the GUI

After talking with Rodolfo, we've agreed to split the project as we though before, these are the assigned tasks:
  • Mario Carrion (uml#, gui)
  • Rodolfo Campero (expertCoder), he had been working with expertCoder since March so he hope finish it soon
  • Mario Fuentes (uml#), he had been working with GNOME Canvas since time ago, now with diacanvas# he's trying to port to C# the Clock Example
I'm starting to code the Graphical Interface, the MonoUML's draft, I have one week I hope finish it sooner; I'm also reading the DI Specification to get deeper with UML. I learned yesterday: 'If I think too much I can't sleep at all'

jueves, julio 29, 2004

Nothing yet

After a long testing time I feel too tired, frustated and I'm start thinking to modify directly the C code, the DiaShapes doesn't appear why? I don't know, they just doesn't. Anyway, there are people who want to help but I can't make it work, any idea?. Lets look my class, still doesn't work but... check it out: using Dia; using System; using GLib; namespace UML {     public class Comment : CanvasElement     {         Shape myShape, myShape1;         CanvasIter tempX;         static GLib.GType gtype;         static Comment()         {             gtype = RegisterGType (typeof (Comment));         }         public Comment() : base(gtype)         {             initShapes();         }         private void initShapes()         {             this.Height = 150;             this.Width = 150;             this.myShape = new Shape(Dia.ShapeType.Path);             this.myShape1 = new Shape(Dia.ShapeType.Image);             this.Move(00.0, 00.0);         }         protected override void OnNeedUpdate()         {             this.myShape = new Shape(Dia.ShapeType.Path);             this.myShape.Color = 8327327;             this.myShape.Line(new Dia.Point(50.0,0.0), new         Dia.Point(50.0,0.0));             this.myShape.Visibility = Dia.ShapeVisibility.Visible;             this.myShapeX1 = new Shape(Dia.ShapeType.Path);             this.myShapeX1.Color = 8327327;             this.myShapeX1.Line(new Dia.Point(170.0,0.0), new Dia.Point(150.0,100.0));             this.tempX = CanvasIter.New(this.Handle);             this.GetShapeIter(tempX);     }         public new bool ShapeNext(CanvasIter iter)         {             if (iter.Data[0] == this.myShape.Handle)             {                 iter.Data[0] =             this.myShape1.Handle;                 iter.Data[1] = this.myShape1.Handle;                 return true;             }             else if (iter.Data[0] == this.myShape1.Handle)             {                 return false;             }             else             {                 iter.Data[0] = this.myShape.Handle;                 iter.Data[1] = this.myShape.Handle;                 return true;             }         }         public new bool GetShapeIter(CanvasIter iter)         {             this.myShape = new Shape(Dia.ShapeType.Path);             iter.Data[0] = this.myShape.Handle;             while (this.ShapeNext(iter));             return true;         }     } } By the way, I haven't slept too much, I feel a a few tired but I need to keep going. I learned yesterday: 'I should start learning long time ago, not today' PS. I don't want to be dramatic, but I miss her.

martes, julio 27, 2004

MonoUML running

I still can't draw my own Dia shapes but a new partner had joined at the MonoUML team, Mario Fuentes, he is always online at #mono-hispano :). By the way, I've updated the MonoUML website, now at least shows some information about the project. Do you want to join? Contact us! :) I learned today: 'I need to wake up earlier' Cheers :)

lunes, julio 26, 2004

Doing nothing

After my return to my beautiful city I've been doing NOTHING but when I was doing nothing I discovered some new stuff about the diacanvas#, new it works "more", at least the NeedUpdate works, but still doesn't appear the DiaShapes. By the way I've registered the MonoUML project at SourceForge, the sf staff acepted the project really fast, now I'm waiting the uml# (which I'm also developing :P) Rodolfo Campero accepted to help me, he is developing the expertCoder which will be the last MonoUML's layer (with uml#), I hope finish the uml# faster, I need to code a lot for MonoUML, if somebody wants to help us, just email us or visit our projects. I learned today: 'I miss her, but don't tell anyone, let's make that our secret.'

sábado, julio 24, 2004

My awesome "Two-day vacation"

After a big working time and two chapters translated at monohispano I decided to travel to see my girlfriend, she was spending her time at Xico with her family, I didn't know about the town's traditions, I only knew about the waterfalls, but yestearday and the day before yestarday I learned a lot of things, for example a tradition called Xiqueñada where bulls are released, a party-like Pamplonada at Spain, but 100% Mexican! I just want to say that the town was too full, a lot of people, drunks, girls, boys, kids where walking everywhere, you can't even walk, I was at the town and I felt like I was at the Carnival here in Veracruz but in a really reduced space. Anyway the time which I spent was too awesome, I'm happy :), her family was too good with me and they make feel cool, I knew my girl more than ever, she also is happy about the doll which I took to her, a beautiful doll such as she. Now, two days later, I'm back to bring the uml-sharp to all those C# coders and to all those mexican programmers who are trying to leave Unix because of .NET Stop migrating to .NET we have MONO! I learnead yesterday and the day before yesterday: 'You must know your country before trying to leave it.' My project called "HTML2PHP API" has been frozen due to I'm very disapointed with PHP4, I hope the new release bring us more stability for all oriented-object developers. By the way: Don't use PHP4, PHP4 wasn't designed to allow building large oriented-object web-systems, use Python instead or something else, sorry to all those PHP4 developers, but PHP4 is not enough for me, maybe with PHP5 all will change.

sábado, julio 17, 2004

Still translating

A lot of xml tags and and a lot of content translated, too many text translated. I'm translating the chapter 9 and 11.
I'm using my "new" computer, an old PIII (350MHZ), with an updated BIOS, still works but... there are some problems using large disks,

anarquia:/home/marioc# mount -t auto /dev/hdb3 /OTRO_A mount: wrong fs type, bad option, bad superblock on /dev/hdb3, or too many mounted file systems

I learned today: 'do it again... :)'

jueves, julio 15, 2004

MonoHispano

Recently I'm part of the monohispano team (I guess :P), I'm translating some chapters from the ECMA specification for C#. By the way, I changed my mind, I'll use the mono/gtk#/diacanvas# for building the CASE tool

I learned yesterday: 'people are allowed to change their opinion'

martes, julio 13, 2004

And then UML appeared

I've been working at my lastest project, the revolution for GNU developers =P. After reading and testing and compiling a lot of information I've understood the GNOME environment, the programming, the callbacks, all the related stuff, it is cool.

I guess I've found my thesis project, a CASE tool for the GNOME environment. Maybe some day my project will be as part of the Debian project X).

Talking with some people (#gnome irc.gimp.net) I've decided to choose the Python, why not mono? because.

I learned:

function do() {
read;
compile;
test;
do(); }

domingo, julio 11, 2004

It's raining ...

Yesterday at night it rained like hell... a lot of rain... I just can't believe it, anyway, the summer is always like this.

Martin send an email telling me about the lastest diacanvas#, now the API works, I'm trying to choose between the diancanvas#/gtk# and pydiancavas2/pygtk2... both are so good impletations. Python is fast, good and stabler than mono, and mono is the lastest technology, cooler and java-like, :S, a really difficult choice.

I learnead yesterday: 'If it's raining... you must close all the windows'

jueves, julio 08, 2004

The new revelation

I've been waiting too much for the diacanvas binding for c#, diacanvas#, so I started to search and I found the binding for python, I'm shocked! Python is so awesome!, Unbelievable!! and Glade... too many emotions for one long night, the libglade is the best. Anyway I will start coding my CASE tools using Python/PyGTK/diacanvas maybe I'll port them to C#/GTK#/diacanvas# later... maybe not. Check this code out: import pygtk pygtk.require('2.0') import gtk import gtk.glade xml = gtk.glade.XML('sample.glade') #You build some GUI using glade, name project: 'sample' xml.connect('destroy',mainquit) mainloop() Today's new packages: # apt-get install python-gnome2-dev python-gnome2 python2.3-glade2 python-gtk2-dev python2.3-diacanvas2 I just like debian testing/unstable, too exciting!!

martes, julio 06, 2004

Once upon a time

The time has passed since the last release, nowadays I'm thinking about coding a new CASE tool based on MONO and GTK#, something to design through UML, I'm also finishing the 0.06 release of the HTML2PHP API, adding some new features, crushing some bugs and rewriting the code as 'clean' as possible. I'm adding some cool features such adding improvents, efficiency and more examples. Writing a how-to is hard but not impossible, I hope finishing this sooner.

sábado, julio 03, 2004

HTML2PHP API 0.05 Released

After two weeks of hard work, I've finish the lastest release: 0.05, includes a lot of changes: - Indentation. - Only allowed elements for nesting. - Debugging. - Full documentation with examples. - Many other things. Anyway, I might update the API soon, there are still missing some other HTML elements. Also I'm part of the PHP# project, old project, exists since 2001, but for some weird reason the leader stop working on it, I will update the content and maybe on some months we will be using the php# compiler. I'm thinking on building a new project, a CASE-kind project and it will be written on C#/GTK# using mono. :)