Marco Islas Blog personal http://islascruz.org/html markuz@islascruz.org (Marco Antonio Islas Cruz) 2005-2007, Marco Antonio Islas Cruz Tue, 26 Aug 2008 13:16:58 -0500 JAWS 0.7.4 <![CDATA[ flickr annoyance ]]>

flickr annoyance, originally uploaded by markuz.

Is just me, or anybody else is experimenting this annoyance in the flickr photo stream?

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/flickrannoyance markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/flickrannoyance Tue, 26 Aug 2008 13:16:58 -0500
<![CDATA[ My baby ]]>

My baby., originally uploaded by markuz.

This is cristina's belly, and the first 'picture' of our baby. Yes, cristina is pregnant and I am the happiest dad in the world. face-smile-big.png .

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Mybaby markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Mybaby Sat, 23 Aug 2008 11:01:07 -0500
<![CDATA[ WTF! Recursive errors. ]]>

wtf !, originally uploaded by markuz.

An internal error ocurred while showing an internal error.

Update:

@shakaran: In Eclipse 3.4, trying to install some components.

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/wtfrecursiveerrors markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/wtfrecursiveerrors Sat, 09 Aug 2008 18:30:15 -0500
<![CDATA[ WTF! Excessive use of memory by eclipse ]]>

wtf !, originally uploaded by markuz.

I have just upgraded eclipse, from 3.3 (Europa) to 3.4 (Ganymede) . Is nice to have it, several things have been improved, but in this shot it was using almost 40% of my memory...

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/WTFExcessiveuseofmemorybyeclipse markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/WTFExcessiveuseofmemorybyeclipse Wed, 06 Aug 2008 16:58:19 -0500
<![CDATA[ Christine in launchpad ]]> As the title says: Christine is now in lauchpad, the code in sourceforge.net si no longer maintained, the reason: I cannot commit my changes to the svn repo, then, I cannot share the newest code.

Christine is now a registered project in Launchpad, well, christine has been a in launchpad for a while but never really use it. So, I will use the launchpad christine account. The bug tracker, the code (and all the good things that launchpad offers) will be hosted here.

As part of the change, christine no longer use Subversion, instead, will use Bazaar, you can get the code using this:

bzr branch lp:christine

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Christineinlaunchpad markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Christineinlaunchpad Sun, 03 Aug 2008 11:00:41 -0500
<![CDATA[ granizada ]]>

granizada, originally uploaded by markuz.

Un pequenio video de la granizada que cayo aqui en Salamanca el miercoles pasado.

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/granizada markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/granizada Fri, 01 Aug 2008 23:21:05 -0500
<![CDATA[ Christine love in the night ]]>

Christine love in the night, originally uploaded by markuz.

1:47 in the morning. Im still giving some love to christine, that personal proyect that I used to code frequently. Now, it takes some days before I can toch it.

I'm working on the sqlite3 storage layer, This should help me with a more unified data between multiple "sources" that should be renamed as playlists. This will be usefull for many other features, I'm thinkin in some kind of browser.

Anyway, I'm still in the process. I'd like to share the code I have, but SourceForge.net's SVN service is bothering me with a 403 (Forbidden) error that don't let me commit my changes. Now I'm seriously change the project host. What do you recommend?

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Christineloveinthenight markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Christineloveinthenight Thu, 24 Jul 2008 02:03:57 -0500
<![CDATA[ WTF: Sweeney Todd ]]>

How changedis Johnny Depp, originally uploaded by markuz.

Yeah... I know the name is Benjamin instead Benajmin (typo error) but... Johnny....

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/WTFSweeneyTodd markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/WTFSweeneyTodd Mon, 21 Jul 2008 20:43:00 -0500
<![CDATA[ Back again to my old theme ]]> islascruz.org is back again to the old orange-blue-and-green theme, wich is some kind of boring but I like it. I have nothing more to say about it. Do you like it?

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Backagaintomyoldtheme markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Backagaintomyoldtheme Sat, 19 Jul 2008 22:34:07 -0500
<![CDATA[ Batman ]]> Cristina and I went yesterday to the movies, we watch Batman, a really nice movie with no death points. I'm not going to tell you the movie here, just have to say that the movie should be called "The Joker" instead "Batman"

Another review in La-uno.com and another in El jugger.com both in spanish.

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Batman markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Batman Sat, 19 Jul 2008 22:21:30 -0500
<![CDATA[ Kill -9 ]]>

Disfrutenlo.

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Kill--9- markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Kill--9- Wed, 16 Jul 2008 14:13:01 -0500
<![CDATA[ Burnt by the Sun ... ]]>

Burnt by the Sun ..., originally uploaded by markuz.

And I wasn't even in the beach... I just bath my dog, wash the car and clean the yard.... face-sad.png . I think I'm terribly accustomed to being in the shade.

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/BurntbytheSun markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/BurntbytheSun Mon, 14 Jul 2008 15:51:38 -0500
<![CDATA[ GNOME 3.0 (Everything with tabs) == Suck! ]]> I believe that GNOME as a project is a very great project, event with the fact that they are reinveing the wheel from time to time (galeon, epiphany => epiphany webkit?). Anyway, I think it's great and as desktop is great too. I use GNOME in my every day and most of the time I'm quite happy, c'mon, there is no desktop environment that have everythin that every user could need.

I love most of the applications that GNOME has as desktop and many others that are not part of the Desktop but integrates well with it. I use such applications because they solve at least one of my problems, being something for my work or just my day to day computer use, and in most of the cases they solve that problem in a very good way, making me feel like I own my computer. But, I also think that they should evolve to be better.

In latest posts on http://planet.gnome.org/ I have seen several posts about some projects that want have tabs everywhere, which for me is ridiculous, Not every application must have tabs. One example is the totem at least not in the way Wouter Bolsterlee is showing it. Another application that I think should not is the calculator. Nautilus is nice for me because it may improve the user's workflow, but does anyone plays two items at the same time?.

Another UGLY example is what Davyd Madeley proposes to the GNOME panel, he may have some point while some people don't know "...what the little grey and blue boxes on their panel are for..." But the users are not stupid, they click them and will know that are they for. And.. a panel with tabs is just UGLY uses more space and useleses (I don't use the workspace switcher applet... is useles at least for me).

I Hope the GNOME developers reconsider where they should or not use tabs in the applications. And if they are going to do that.. Christian Neumair.

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/GNOME30EverythingwithtabsSuck markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/GNOME30EverythingwithtabsSuck Sun, 13 Jul 2008 15:22:02 -0500
<![CDATA[ Stickers... ]]>

cucusa stickers, originally uploaded by markuz.

How many (and which) stickers do you have in your laptop?

I know.. I need to find a Python Sticker

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Stickers markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Stickers Fri, 11 Jul 2008 14:51:47 -0500
<![CDATA[ mkzhost.com cheap web accounts. ]]> We are offering 10 accounts in the blogger account type, wich includes 100Mbs of space, 1 domain, 10000 Mb to transfer by month and many more stuff at just 20 USD annual fee.

We are also offering the Personal plan for just 600 mexican pesos (about 60 USD).

If you are interested or have any question, just drop me an email at markuz_at_islascruz_d0t_org

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/mkzhostcomcheapwebaccounts markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/mkzhostcomcheapwebaccounts Tue, 08 Jul 2008 19:43:06 -0500
<![CDATA[ CFE.... ]]>

p1020866.jpg, originally uploaded by markuz.

Can't this machines just give me a few bills instead coins ?

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/CFE markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/CFE Sun, 06 Jul 2008 12:59:40 -0500
<![CDATA[ Christine Flickr group ]]> I use flickr since 2004 (I think) and I have a personal christine set, where I use to post the christine screenshots I do. This is not the place for the christine screenshots since they are just mine.

I have created the christine flickr group for everybody that uses christine and like to take a screenshot from time to time. You may also upload videos of christine in action if you wish.

http://flickr.com/groups/christine-project/

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Christine-Flickr-group markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Christine-Flickr-group Fri, 04 Jul 2008 23:23:29 -0500
<![CDATA[ Saturday evening on Salamanca ]]>

Saturday evenin on Salamanca, originally uploaded by markuz.

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/SaturdayeveningonSalamanca markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/SaturdayeveningonSalamanca Fri, 04 Jul 2008 23:16:48 -0500
<![CDATA[ 1st. Year in Salamanca. ]]>
This is my first year in Salamanca, working for ICT Consulting face-smile.png .

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/1stYearinSalamanca markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/1stYearinSalamanca Wed, 02 Jul 2008 10:38:00 -0500
<![CDATA[ Ubuntu start... ]]>

Ubuntu start..., originally uploaded by markuz.

I found this booting Ubuntu Hardy in my laptop. The progress bar was just "pulsing" but didn't change to a fraction. Well, This is why. This didn't happend before and I don't know how to reproduce this, so, I can't report it has a bug.

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Ubuntustart markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Ubuntustart Sun, 29 Jun 2008 08:19:46 -0500
<![CDATA[ Christine importing a folder. ]]>

Christine importing a folder., originally uploaded by markuz.

I had worked on christine weeks ago, this week I had no time to give it some love. I have been using this "development" version (I think every version of christine is a development version) for a while.

Christine is faster at the load time, starting in just 4 seconds with at least 1500 items in the list, and the search and sort is quite fast too. But working with something like 6889 items in another 'source' I had make it a bit slow.

I think this is because christine use 3 models in the main list. Yes, three models. One is the main model, the one that holds all the library data. then the filter model and then the sort model. I'll try to make a model that implements in some way the filter and sort to reduce the work.

I notice that when you use a filter or even worse a filter and sort model ever time you select or move your cursor, or do anything with a row this process has to be done for every model you have. I mean, in christine you have to do it three times because of the three models. I think this sucks.

Well, I hope to have the time to write a bit on christine in this week.

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Christineimportingafolder markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Christineimportingafolder Thu, 26 Jun 2008 23:31:30 -0500
<![CDATA[ Irony ]]>

Irony, originally uploaded by markuz.

In this week I had the task to look for a new bug tracker here at ICT Consulting, we used to have bugzilla, but it is a bit confusing. In my search I stop in the phpbugtracker site. Diving in, I found that many projects use PHPBT has their Bug and Issues tracker. Now I know why, its pretty easy to use, is really easy to search in the bug list.

Anyway, the screnshot you are looking above is the what I call Irony, Php bug tracker, a project for bug tracking use another bug tracking system, the Sourceforge.net Bug tracker. I think this is because then they have the statistics in the sourceforge statistics and they don't need to host the tracker. I don't think this is a bad idea, but it's funny.

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Irony markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Irony Fri, 27 Jun 2008 09:33:20 -0500
<![CDATA[ My parents trip ]]> The last weekend my parents where here in Salamanca, I had 5 months since I saw them back in January. The travel took much more time that the spected and arrive here at the night. Anyway, the weekend was so nice and healty.

The Saturday we spend the afternoon at the park and dinner some tacos.

The Sunday we stand up very early and eat Menudo for breakfast, Then we get to Irapuato because my parents did'n knew it. Get back to the house and eat, and then the movies, to see Hulk.

The movie is much better than the previous Hulk movie, this time I think the producers take care about David Banner's pants who use stretch pants, the way David and Hulk look are much more reasonable, since David is the nerd guy, and Hulk is not ultra bigger, ultra strong, and invincible. Anyway, taking away the hulk look and feel the history is very interesting and at the end of the movie.... well, just watch the movie.

Well, I'm very happy that my parents came to visit us. They left salamanca last Wednesday and I'm already missing them.

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Myparentstrip markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Myparentstrip Thu, 26 Jun 2008 23:09:19 -0500
<![CDATA[ My parents are comming to Salamanchester! ]]> Yes, I'm happy because my parents are comming to Salamanca to visit us. I have nothing more to say, I'm happy.

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/My-parents-are-comming-to-Salamanchester markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/My-parents-are-comming-to-Salamanchester Fri, 20 Jun 2008 19:36:11 -0500
<![CDATA[ What have I done in the last month ?? ]]> Well, as many of you know, this site, islascruz.org was "down", and I put down between quotes because wasn't really down, but, almost everybody uses islascruz.org and not islascruz.com, and that's ok. Anyway, islascruz.org is back again and I hope it never fails again.

Now, What have I done in the last month?, well, not blogging tongue.png . I have been using twitter but I had this need to post on my own site.

I had worked on christine, making it a little more usable, now,it loads in my computer in just a couple of seconds with a track list that is about 2600 rows, It uses a little less memory and I'm trying to make it better. But I'm working in some projects in the work (the paid work) and the idea to be working 8 hours in the office and get to the house to keep working isn't a very nice idea.

Christine in small view mode


dsc08103.jpgCristina and I get to the movies, we watch The Happening. Many people didn't like it, and I think this is because there is too much talk, too much death and almost no action. But the point in the movie is the message, we are hurting the planet, and we shouldn't. So, after the blablabla and the blood I like it, just by the message. We also watch Indiana Jones, and to be honest, I like it, but is not by far the most awesome movie I have seen.

As part of the "Leave the stress" activities cristina and I are doing, we are doing scented candles. We enjoy doing it, but the hard issue is cleaning the mess we do.

Well, I think I'm gonna leave this post here, my life is not that intersting. You should read somebody else personal posts..

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/WhathaveIdoneinthelastmonth markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/WhathaveIdoneinthelastmonth Thu, 19 Jun 2008 05:41:09 -0500
<![CDATA[ Back! ]]>

Islascruz.org is back again!

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Back markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Back Wed, 18 Jun 2008 19:16:40 -0500
<![CDATA[ About my life in the last month ]]> I have't post a lot in the last month, with was a very work loaded month. Most of it because we where polishing the software we are going to show in the Expo that will start tomorrow. Anyway, this post is not about that, at least not everything.

  • As I have already said, I have been working a lot in the office, and get back to the house tired, I didn't want to use the computer in the house, so christine development was stoped in this time, but will start again, in the hope to have more time. The work I already have of christine in the svn drops the gnome-python* dependencies by dropping gconf out of christine. It has the first implementation of the model I had worked on a few weeks ago wich will improve christine startup. I'm planning to rewrite the player module to make it the cleaner way.
  • I have been usign twitter for a while, is nice to see what your buddys are doing accros the day, but I'm not that kind of twitter user that post everything: 'Im posting that Im posting on twitter', my twitter name is markuzmx.
  • Cristina And I are happy here in salamanca, most of the free time we use to get out of the house, watching movies, going to the museums or just walking and talking. Yesterday cristina tatooed her arm, a small butterfly next to his hand.
  • I knew the new. Monster Java flavour
  • Went to see Narnia, and Indiana Jones.
  • Upgraded to Ubuntu 8.04 an found some glitches with Compiz wich I don't like, and One of them is the fact I can't use Button3 to show the main menu, The compiz Config Manager doesn't have that option, just the keyboard one, wich is.... annoying.
    CCSM

  • I'm tired, I wish I have a couple of free days...
]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Aboutmylifeinthelastmonth markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Aboutmylifeinthelastmonth Mon, 23 Jun 2008 16:51:07 -0500
<![CDATA[ Upgrade to Ubuntu 8.04 ]]> Booting Ubuntu.I have finally upgrade my Ubuntu install to Hardy... Wasn't so easy. It takes more than 1 hour downloading the files, I know, this isn't Ubuntu's servers fault, but, I was supposed to download 1585 files, fortunately I had copied the files from another machine here in ICT Consulting that was upgraded yesterday, from where I grab ~1200 files. So, 300 files in 1 hour, 1200 should be 4 hours (aprox).

The upgrade, indeed is easy, just run the upgrade manager and you have your system upgraded. But, that doesn't mean that you don't have to do anything else, my nvidia driver wasn't working, and I thought it was because I use envy to install the nvidia driver in Gutsy. So, I remove envy and then install the nvidia-glx-new package, didn't work. So, looking for in the system I realize that the restricted drivers manager wasn't working properly, diving there I found that it miss one package, the restricted driver manager for my kernel. I have to install it and then my nVidia work again.

Is nice when you can upgrade your favorite distribution, even when you have to repair your installation after the upgrade.

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/UpgradetoUbuntu804 markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/UpgradetoUbuntu804 Sun, 01 Jun 2008 20:03:33 -0500
<![CDATA[ Flickr status ]]>

flickr status, originally uploaded by markuz.

This are my Flickr Status, what's yours??

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Flickrstatus markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Flickrstatus Thu, 22 May 2008 20:06:24 -0500
<![CDATA[ Museum ]]>

P1010843.JPG, originally uploaded by markuz.

Cristina and I went yesterday to the museum, there are two exhibitions, the first is about the old mexico, that mexico where everybody uses hat. Is quite good and now we know that the security system actually works, cristina wasn't even touched the picture frame and the alarm sounds. Obviusly she didn;t try to steal the picture, just want to poing something.

Then we wen to the next room, there where pictures from Isabel Muñoz. Very interesting pictures, we like them a lot. all of them in black and white. If you are next to Salamanca, or gonna pass through, or you live here, you should visit the museum. After that we went to the park.

P1010888.JPGCristinaThen, cristina and I went to the market. She was looking for a blouse for one of her skirts, and took a couple of pictures wearing some hats. We eat some salads at the square, and then went to the park again, some kind of event was there for the church.

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/P1010843JPG markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/P1010843JPG Mon, 19 May 2008 11:19:24 -0500
<![CDATA[ Creating a gtk custom model ]]> I have been working this week in a new custom model for one of the applications we are developing here at ICT Consulting. We found a problem with many many rows in gtk.ListStore. This is a common problem with Gtk's ListStore and TreeStore. Both are easy to implement and convenient if you are not going to work with too many values. I'm thinking in a couple of thousands. As far as this, the TreeModel is quite usable, but if you use a TreeFilterModel and/or TreeModelSort then you will experience some performance issues.

If what you want to do is just map the main application and then fill the model you can use the idle_add gobject function to iterate over your data and then store it in your model without freezing your application, but it is at the same way, the slowest. You can put chunks of 20 or so, then every time you application runs the callback function will run a small but faster insertion. Anyway, this is still a bit slow.

I have been doing tests with 100,000 rows, in the easy way there are just numbers using a for cycle via a range() result.I think in Gtk, the smaller is the data stored in the model, the faster it goes, because I can insert 100,000 rows in a gtk.ListStore in 7 seconds aprox. while in christine, inserting 2600 row in christine (with more data per cell) takes a lot more.

Anyway, the application that I'm developing shows a list of customers, this is a growing list as new customers are added, in our tests we need to show up to 17,000 customers. Using gtk.ListStore takes at least 17 seconds on my machine just to show it, but we also have a filter model becuse search in a list of 17000 items is not easy if you go looking every row by hand. So, usig the FilterModel takes almost the same time in searching something. Obviusly, waiting 17 seconds for the result is not an option, even worse, you made a mistake and wrote LOPEX instead LOPEZ.

So, I was searching over internet what can I do. I have already use the common 'tweaks' to improve the gtk.ListStore performance and I have reached the 8 - 9 seconds over those 17,000 items, but even with this, its too much time. The search points me to the gtk.GenericTreeModel. This generic model allows you to create a custom model where you can make your own tweaks to improve the performance of your model. In the link above gives you the way to use it. I have alreade created my own custom model and it really relly made the things better.

Now, one of the problems that gtk.GenericTreeModel have are the memory leaks. Using this model you may use lots of memory. This is because the GTM use to create a reference to the value that you are returning as Iter, e.g. you are using a list of lists, where you store the values, every item in the list is a row, then, the index if the iter wich references to the list you are storing in that row. The problem is that the GTM increase the reference count of you node (the list inside of the list) to aviod row destruction and then use the iter. This, in the best will make your values been refered until you destroy your model (and any reference to the data), in the worse the reference count of your data will never been unrefered and then the memory will never be freed.

You can use the invalidate_iters every time you modify the rows (add or delete) to make the rows invalid and then decrease the reference count of the row, and when your data have no more references then be deleted. But, I have the problem that the reference count was never decreased when I destroy the window or the model. Where is the trick here, use the Python's garbage collector, and your memory will be freed.

So, the new model based on PyGtk's GenericTreeModel actually works for us. Inserting 17,000 takes just 1 second, and the search (filter) is the same thing, 1 second is an option. I would like to see everything just appear when you request it, but one second is good for now. And testing with my current christine music list it takes just 0.06 seconds to show the list. Inserting 100,000 items (the easy way, just numbers) takes just 1.164 seconds to get filled with four columns and 2.36 seconds to show itself (creating a filter model and setting it to a treeview), so, for now this kind of optimizations will work for us, there are other optimizations on the Filter model and the treeview, My goal is to create something similar to wat Aaron bockover do with banshee.

Gtk Custom Model

Note: Test times are approximate, cache, cpu usage, load average and other may cause the times change, but at the end give us an idea of what is going on.

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Creating-a-custom-model markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Creating-a-custom-model Sat, 17 May 2008 10:27:56 -0500
<![CDATA[ Ironman ]]> Last wednesday, Cristina and I went to the movies to watch Ironman. One of the last heroes movies that I have seen that I like a lot, it is funny, with action, speak barely stuff about scientific thing but just in the comic context.

Robert Downey Jr. performance is good, even when many people says that he wasn't the right actor for the character. I have to say that the character also likes me. I like the fact that in the movie shows the first Ironman suit, wich looks coarse, rustic, inflexible, just like I remember from the "old" pepsi cards 13 years ago. And the reinvented suit looks so nice.

If what you want to see is action then you'll have to wait a bit, because this movie is more about the begins of Ironman, how Stark was kidnapped, how he build the first suit, the scape, the new suit and then the fight against Obadiah Stane who becomes in IronMonger.

Cristina and I went to watch it to Irapuato, because here in Salamanca they have it in Spanish, I haven't see it in spanish, but, I usually don't enjoy the movies in spanish if the can be subtitled.

At the end, is a really nice movie to me, it's funny and with action.

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Ironman markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Ironman Mon, 05 May 2008 00:24:34 -0500
<![CDATA[ Home workplace ]]>

Home workplace, originally uploaded by markuz.

This is my workplace at home. Whats yours?

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Homeworkplace markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Homeworkplace Sun, 04 May 2008 23:09:46 -0500
<![CDATA[ twitter ]]> Jusft for the record, I'm on twitter as markuzmx

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/twitter markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/twitter Sun, 04 May 2008 18:41:01 -0500
<![CDATA[ Testing the new christineConf module ]]>

Testing the new christineConf module, originally uploaded by markuz.

I have been working in the configuration module for christine, something similar to gconf, but just for christine. Why? well, many people complains because christine needs the gnome-extras package, where gconf is, and to be honest, christine didn't use all the gconf power, so, there isn't a big reaons to keep gconf on christine.

This isn't the only thing I have been working on. I'm trying to improve many things for the next release. Most of the work wil be in the list, zodman gives me some nice ideas, and I will try to implement them.

Anyway, you are also invited to work with me in the christine development. You can join the maling list for the next release.

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/TestingthenewchristineConfmodule markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/TestingthenewchristineConfmodule Sat, 03 May 2008 23:58:14 -0500
<![CDATA[ Pollo asqueroso ]]>

Nasty chicken, originally uploaded by markuz.

Mendigo pollo asqueroso que te venden en el Kentucky de Salamanca, para empezar esta muy descuidado, tardaron mucho y el pollo que compro cristina estaba atascado de aceite, exprimes el pollo y le escurre el aceite, ademas, para acabarla de amolar, ni bien cocido estaba, en la coyontura tenia sangre aun...

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Polloasqueroso markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Polloasqueroso Sat, 03 May 2008 17:50:11 -0500
<![CDATA[ perfect Nick ]]> I love the new maur0's nick:



maur0's nick

Yo solo se, que no se Java

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Magnifico-Nick markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Magnifico-Nick Sat, 12 Apr 2008 10:15:02 -0500
<![CDATA[ PyGTK y Threads ]]> Es facil, al inicio de tu aplicacion tendras que inicializar los threads, que son algo asi:

gtk.gdk.threads_init()
 

Esto lo tendras que hacer antes de iniciar algun thread. Y luego, al usar algun thread debes englobarlo dentro de

gtk.threads_enter()
thread.start_new(funcion, (arg1,arg2,argN))
gtk.threads_leave()
 

Solo recuerda que no debes manipular gtk fuera del thread en el que esta corriendo el ciclo principal (gtk.main_loop).

Si lo que necesitas es estar cachando informacion en un thread aparte y modificar la interfaz (ej. Leyendo un socket y mostrando informacion de cuanto llevas leido) entonces usa alguna bandera y modifica tu apariencia en el thread principal, de lo contrario tendras problemas con gobject y glib.

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/PyGTK-y-Threads markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/PyGTK-y-Threads Thu, 10 Apr 2008 18:51:44 -0500
<![CDATA[ Actualizacion del bios Compaq V3017LA ]]> Le actualice el bios a mi maquina, de la version F.07 a la F.39, todo bien, aunque en ubuntu, para que arranque despues de la actualizacion necesitaras pasar los siguientes parametros al kernel:

pci=assign-busses apicmaintimer idle=poll reboot=cold,hard

Una vez que hayas arrancado no se te olvide ponerlo en grub para los siguientes arranques.

Esto tambien puede ser util para aquellos que han comprado una laptop Compaq V3000 o HP dv2000 reciente y tengan problemas al iniciar Ubuntu (o algun derivado)

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Actualizacion-del-bios-Compaq-V3017LA markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Actualizacion-del-bios-Compaq-V3017LA Tue, 08 Apr 2008 22:46:36 -0500
<![CDATA[ Trip to Guanajuato ]]>
DSC07633.JPG

Panoramic View P1010186.JPG

Cristina y yo fuimos a conocer Guanjuato el viernes pasado.

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Trip-to-Guanajuato markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Trip-to-Guanajuato Tue, 08 Apr 2008 23:15:08 -0500
<![CDATA[ Algo de amor para cristine ]]> sources.pngBien, hoy ha sido un pequenio dia para dar amor a christine, Hoy he tenido un poco de tiempo libre para 'descansar', Ayer cristina y yo nos fuimos a conocer Guanajuato, pronto pondre las fotos y la reseña.

Hoy, despues de hacer los quehaceres de la casa me sente un rato a cubrir una necesidad en especial que he tenido en Christine. Bien, pues resulta que a cristina le gusta mucho la musica en español, en particular la movida, mientras que a mi me gusta mas la musica en inglés, El problema es que la gran mayoria de la musica en español la he copiado de varios lugares y no la tengo en mi directorio de musica tipico, y tampoco lo tengo dentro de mi lista de canciones normal. Que pasa cuando cristina quiere escuchar su musica, tengo que entrar en ~/.christine y copiar el archivo music a algun otro, despues copiar el archivo de musica de cristina a music, y lo mismo cuando quiero poner mi lista de canciones. Un poco engorroso, aunque no lo hago muy seguido. Hoy he hecho un pequeño cambio a christine de forma que es posible selecionar la lista de canciones. Por hoy, en este lado es suficiente, aun le falta pulir, pero lo hace con mas tiempo y despues.

Tambien estuve trabajando un poco para corregir unos pequenios problemas con los menus, que no se muestran traducidos, esto debido a que en los archivos de descripcion de glade las etiquetas no tienen la propiedad translatable (en los menues). Tambien he agregado al SVN los archivos de traduccion creados en Launchpad. En fin, estos cambios ya estan disponibles en el SVN de christine.

newMenu1.png

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Algo-de-amor-para-cristine markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Algo-de-amor-para-cristine Tue, 25 Mar 2008 16:50:02 -0500
<![CDATA[ Un mes desde mi ultimo post ]]> Si, un mes desde mi ultimo post, que he hecho desde entonces ??

Bueno, la respuesta es sencilla: Trabajo.

Ahora hay tres estaciones trabajando con el software que Aldo y yo hemos desarrollado aqui en ICT Consulting para los dispensarios Supramax Evo 4. Lo que significa chamba, chamba y mas chamba, lo bueno es que es con Python, asi que no es tan doloroso como se ve.

Casi no he tenido tiempo de nada, y el poco tiempo que tengo lo aprovecho para estar con cristina, con quien me la paso la verdad muy bien.

He tenido muchas cosas de que postear, pero no he tenido el tiempo, pronto preparare uno que otro artitulo mas tecnico que solo postear que es lo que he hecho o por que no he podido postear. Pero lo que si me da gusto es ver que al menos otras personas han estado haciendo lo suyo con christine, puesto que ya hay mas traducciones disponibles. y que pronto seran integradas al svn. Solo tengo que terminar de corregir algunas cositas en christine. Sobre lo cual tambien espero tener un poco de tiempo en los siguientes dias.

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Un-mes-desde-mi-ultimo-post markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Un-mes-desde-mi-ultimo-post Wed, 12 Mar 2008 21:45:49 -0500
<![CDATA[ Translation status ]]> It's nice to see that since yesterday to today there are already three new languages in the christine translations.

Translation status in christine

Wanna help? Translate christine HERE!

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Translation-status markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Translation-status Tue, 12 Feb 2008 16:57:22 -0600
<![CDATA[ christine 0.1.5 ]]> I have finally found a small time in my life to give a little love to christine and I'm not so proud (because of the delay) of the fifth revision of the fifth revision of the 0.1 version.

This fixes some bugs that I have found since the 0.1.4 but to be honest, I don't remember them. You can download the source packages from Here. There is also an Ubuntu Gutsy Package there.

christine 0.1.5

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/christine-015 markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/christine-015 Tue, 05 Feb 2008 15:34:41 -0600
<![CDATA[ Damn Spam! ]]>
What da fuck!

]]> http://islascruz.org/html/index.php/Blog/SingleView/id/Damn-Spam markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Damn-Spam Tue, 05 Feb 2008 08:26:06 -0600 <![CDATA[ Dame 10 razones ]]>

Acabo de regresar de comer, una muy buena comida, unos nachos con extra queso y un refresco (de ese del mas popular) GRANDE que por cierto ni me acabe. Y aunque no suene esto como una comida muy nutritiva, el entretenimiento que tuve para acompañarla si que lo fue.

Desde hace unas semanas, para ser mas precisos, desde que vi la de La mujer de mis pesadillas no veia una buena pelicula, Pues Dame 10 razones o 10 items or less (nombre greengo) es una muy buena pelicula que recomiendo ampliamente, es muy tranquilizante, me ha dejado un muy buen sabor de boca, es de esas peliculas en las que no necesitas tener explosiones, ni super efectos especiales, super modelos (aunque Paz Vega no esta nada mal) para llamar la atencion del publico.

Y aunque es puro hablar no tiene puntos muertos lo que dice que es una muy buena historia muy bien dirigida , siempre estas viendo la pantalla.

Se las recomiendo, de mientras, vean el trailer:

Ingles:

Español (España)

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Dame-10-razones markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Dame-10-razones Sun, 13 Jan 2008 17:29:14 -0600
<![CDATA[ Happy New Year ]]>
. Fuck you

Ya en serio...

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Happy-New-Year markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Happy-New-Year Tue, 01 Jan 2008 14:56:23 -0600
<![CDATA[ Back to Salamanca ]]> P1030896.JPGPues hoy regrese a salamanca, despues de mis chocoaventuras en las terminales de autobuses. Sali de aqui (salamanca) a las 3:30 con rumbo a la Cd. de Mexico, donde despues de estar un buen rato parado para recibir mis boletos del ADO resulto que nomas ya no se podia, asi que tuve que salir disparado a ver donde conseguia algun boleto para salir del agujero negro.

DSC07296.JPGPues salimos a Pachuca, donde conseguiria boletos para Poza Rica, pero solo hasta el dia siguiente, y no sin hacer un entripado gracias a que la muchacha que me vendio el boleto me indico mal el anden del que saldria el autobus. Total, que salimos a las 11:30am en lugar de las 7:30am, como lo teniamos planeado y para colmo, el chofer, cafre de microbus que llevaba el bus no nos queria dejar subir. A ultimas si se pudo y llegamos a Poza Rica a las 5 de la tarde.

P1000207.JPGQue rico es estar con la familia, sobre todo cuando ya tienes rato sin verlos. Me la pase muy padre, Me festejaron mi cumpleanios!, si, aquel cumple de hace 5 que no festeje con ellos. y me regalaron otra camarita digital para remplazar la pobrecita Sony que tengo y que ya quiere su jubilacion.

Sali ayer a las 7:30 (digamos.. las 8:00) porque el autobus no llegaba, y llegue a salamanca hoy a las 4:30. Hoy tambien ha sido el dia en el que mas temprano he llegado a la oficina, como a eso de las 6:30 am.

Fotos sobre mi viajecito se puede encontrar aqui:

P1000062.JPG

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Back-to-Salamanca markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Back-to-Salamanca Wed, 26 Dec 2007 14:59:33 -0600
<![CDATA[ Si vas a viajar ]]> Olvidate de pasar por la Central de Autobuses..

DSC07270.JPG

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Si-vas-a-viajar markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Si-vas-a-viajar Mon, 24 Dec 2007 16:08:00 -0600
<![CDATA[ Speed up gtk.ListStore ]]> Alguien sabe de algun algoritmo o forma para acelerar la insersion de elementos en un ListStore?. He estado haciendo pruebas con Christine sobre una lista de ~14000 canciones y mi pobre maquinita tarda entre 20 y 24 segundos para llenar el ListStore.

Se, que podria mostrar Christine y dejar que una llamada con idle_add haga la chamba, es decir, christine se mostraria en menos de 1 segundo, pero el idle_add me retrasa mas la carga de la lista a unos 2 minutos.

Alguien con algun comentario, enlace o similar, seria mas que apreciado.

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Speed-up-gtkListStore markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Speed-up-gtkListStore Thu, 06 Dec 2007 15:24:50 -0600
<![CDATA[ Nuevo Disco duro! ]]> Por fin he instalado el nuevo disco duro a Cucusa:

DSC07183.JPG

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Nuevo-Disco-duro markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Nuevo-Disco-duro Sat, 01 Dec 2007 18:11:12 -0600
<![CDATA[ Mi karma ]]>
Me
Tengo rato con mi pobre camarita, que ya toma las fotos mas malas que buenas, pero aun sirve. El problema es que para mi mala suerte, o mejor dicho, para suerte de mi karna, a pesar de ya tener mas de 7000 fotos con esta camarita, solo en una pequenia parte de esas fotos aparezco yo. Fotografo sin fotos face-sad.png .

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Mi-karma markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Mi-karma Tue, 27 Nov 2007 22:17:19 -0600
<![CDATA[ Villahermosa, el venecia mexicano... ]]> Unas diapositivas que muestran claramente la dimension de la ultima intervencion de la naturaleza en Villahermosa, Tabasco.

Click aqui para descargar el archivo.

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Villahermosa-el-venecia-mexicano markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Villahermosa-el-venecia-mexicano Sun, 25 Nov 2007 15:58:54 -0600
<![CDATA[ Damn... ]]> This looks so nice!

This looks so nice!

]]> http://islascruz.org/html/index.php/Blog/SingleView/id/Damn markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Damn Wed, 21 Nov 2007 14:32:59 -0600 <![CDATA[ Nookietos! ]]>
Nookietos

Nookietos

Nookietos

Nookietos

Nookietos

Nookietos

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Nookietos markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Nookietos Tue, 13 Nov 2007 11:53:30 -0600
<![CDATA[ Widgets 'recortados' en Gtk ]]> La mayoria de los widgets en Gtk tienen una ventana asociada, y no precisamente la ventana con decoracion que todo mundo ve. Gtk adiere una propiedad llama "window" a los widgets al ser empacados, o emparentados a otro widget contenedor.

Generalmente estos widgets son de apariencia rectangular, pero es posible tunearlos para que tengan la forma que nosotros queremos. La forma mas facil de hacerlo es tomar una imagen un usarla como "Molde" para crar nuestro contenedor recortado. aunque tambien es posible dibujar lo que nosotros querramos usando las funciones de cairo sobre un contexto (Que en si, es lo que hacemos con la imagen molde, pero mucho mas sencillo).

Lo que hacemos es obtener un molde a partir de una imagen, es decir, abrimos la imagen y creamos un gtk.gdk.Pixbuf, que es el mostraremos, pero podemos obtener el gtk.gdk.Pixmap y la mascara de este Pixbuf de forma que podamos usar dicha mascara para crear el contorno de nuestro widget.

Los widgets, una vez empacados,como ya habia dicho obtienen una propiedad llamada window, que pertenece a la clase gtk.gdk.Window. Aquellos que ya se han puesto a dibuar algo con cairo se habran dado cuenta que se obtiene un contexto de un widget a partir de su gtk.gdk.Window.

Bien. tambien es posible obtener este contexto de cairo a partir de un pixmap, hacer el dibujo molde y luego pegarselo a la ventana para que gtk.gdk sepa que partes ha de dibujar y cuales no.

Veamos un pequenio ejemplo.

class shapedWindow(gtk.DrawingArea):
        def __init__(self):
                gtk.DrawingArea.__init__(self)

                self.__pixbuf =  gtk.gdk.pixbuf_new_from_file('./logo.png')

                self.connect('size-allocate',self.size_allocated)
                self.connect('expose-event',self.do_expose_event)

                self.set_size_request(self.__pixbuf.get_width(),
                                self.__pixbuf.get_height())

       
        def size_allocated(self,win,allocation):
                w,h = (allocation.width, allocation.height)
                self.bitmap = gtk.gdk.Pixmap(None,w,h,1)
                context = self.bitmap.cairo_create()
               

                self.do_expose_event(self,'',context)

                parent = self.get_parent()
                win.shape_combine_mask(self.bitmap,0,0)
                parent.shape_combine_mask(self.bitmap,0,0)
               
        def do_expose_event(self, widget, event,allocate = False):
                if allocate:
                        context = allocate
                else:
                        context = self.window.cairo_create()

                if allocate:
                        context.set_operator(cairo.OPERATOR_DEST_OUT)
                        w,h = (self.allocation.width, self.allocation.height)
                        context.rectangle(0,0,w,h)
                        context.set_source_rgb(1,1,1)
                        context.paint()

                context.move_to(0,0)

                context.set_operator(cairo.OPERATOR_OVER)

                if allocate:
                        pixmap,mask = self.__pixbuf.render_pixmap_and_mask()
                        context.set_source_pixmap(mask,0,0)
                else:
                        context.set_source_pixbuf(self.__pixbuf,0,0)
                context.paint()
       

if __name__ == '__main__':
        window = gtk.Window()
        window.set_decorated(False)
        a = shapedWindow()
        window.add(a)
        window.show_all()
        gtk.main()

       
 

Que es lo que hacemos aqui? bien, primero creamos un widget personalizado usando gtk.DrawingArea y conectamos la sennial size-allocate para poder establecer el tamanio de nuestro widget. Una vez llamada esta funcion creamos un pixmap vacio del tamanio de nuestro widget, que es el tamanio que nos ha dado el contenedor padre, este es un rectangulo como de costubre, con un ancho y alto. A este pixmap le sacaramos el cairo context, sobre el cual hemos de 'dibujar' nuestro molde.

Como en este ejemplo el widget y su molde de la misma forma estoy aprovechado el metodo do_expose_event para hacer el dibujo inicial y despues hacer las funciones de redibujado en caso de un evento de expose.

Quienes hacen la chamba aqui? bien, para el dibujo inicial de nuestro widget es context.set_source_from_pixmap(), aunque podriamos usar el mismo set_source_from_pixbuf he detectado problemas con colores en Windows, entonces no lo recomiendo.

Otro que entra en juego y es el que le dice al widget 'orale cabron, apegate a esta forma' es win.shape_combine_mask(self.bitmap,0,0).

De ahi, el ponerle contenido a nuestro widget no es mas que un amanipulacion de colores y demas dentro de nuestro contexto cairo. Que, es otro tema del que hablar, como 'dibujar' lo que queremos en nuestro widget usando su contexto cairo.

Shaped Window widget

Tamanio Completo

Ciertamente, el logtipo de Christine es el widget 'recortado' face-smile.png

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Widgets-recordatos-en-Gtk markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Widgets-recordatos-en-Gtk Fri, 09 Nov 2007 17:59:37 -0600
<![CDATA[ Salamanca Apesta ]]> Literalmente....

Presidencia Municipal y Sector Salud invitan a la población a tomar medidas preventivas y evitar molestias durante la remoción de desechos en el relleno sanitario, acciones que no afectan su salud de la población.

mas informacion

]]> http://islascruz.org/html/index.php/Blog/SingleView/id/Salamanca-Apesta markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Salamanca-Apesta Fri, 09 Nov 2007 11:04:43 -0600 <![CDATA[ mkzhost.com ]]>

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/mkzhostcom markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/mkzhostcom Thu, 08 Nov 2007 22:45:57 -0600
<![CDATA[ Christine Wallpaper ]]> Para todos aquellos que usen Christine face-smile.png

Christine Wallpaper

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Christine-Wallpaper markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Christine-Wallpaper Mon, 05 Nov 2007 13:59:37 -0600
<![CDATA[ la uno.com ]]>
screenshot3.png

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/la-unocom markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/la-unocom Wed, 31 Oct 2007 18:23:50 -0500
<![CDATA[ Sockets ]]> Que bonito es usar sockets con python. Esta semana he estado trabajando con sockets para crear una interfaz de servidor y clientes que se comunican unos con otros a traves del servidor. En la imagen de abajo tenemos dos clientes, uno tiene su interfaz en GTK+ que es el que corresponde a la termina de la esquina inferior izquierda. Otro cliente es puro texto, que es el que esta en la parte superior, y el servidor es la terminal alargada que esta en el centro.

screenshot5.png

Lo que muestran las terminales no es mas que pura informacion loggeada usando el modulo logging de python

En los proximos dias, ya que tenga el codigo mas limpio vere la forma de ponerlo al publico.

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Sockets markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Sockets Wed, 31 Oct 2007 18:22:09 -0500
<![CDATA[ Upgrate your flash player... ]]> No se a quien va dirigido el mensaje que aparece ahi (centro-derecha), al cliente o a quien se supone hizo la pagina... :-S. Todo me hace suponer que es a quienes han creado el sitio.

screenshot1.png

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Upgrate-your-flash-player markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Upgrate-your-flash-player Mon, 29 Oct 2007 15:34:52 -0500
<![CDATA[ Mi gmail cuenta ]]> Oscar, o ya lo corrigieron y de plano tengo muy mala suerte...

screenshot2.png

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Mi-gmail-cuenta markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Mi-gmail-cuenta Mon, 29 Oct 2007 15:35:30 -0500
<![CDATA[ Primera semana con Ubuntu Gusty Gibbon ]]> Pues bien, he dejado de ladito el Slackware un rato para usar Ubuntu, debido a que vaya, ahora entiendo a quienes antes me habian dicho por montones: Yo quiero trabajar, no lidiar con dependencias.

Dado que siempre tengo que hacer en ICTC, cuando llego a casa pocas veces me intereza estar peleando con la compu, tal como lo hacia en casa, donde siempre tenia chance de hacerlo. Entonces me he instalado Ubuntu Gutsy Gibbon para evitarme estas tranzas y usar el poder de apt.

Obviamente, me tuve que desprender de toda esa libertad que me da Slackware al no amarrarme del arbol de dependencias, pero es todo en favor de poder chambear o lograr lo queq uiero con el menor esfuerzo posible. Y pense que si lo conseguia todo seria bonito.

Bien, pues estaba bien perdido. He tenido unos ligeros problemas con Ubuntu. Antier tuve pedos con el controlador que te ofrecen para poder usar las tarjetas Broadcom. el bcm43xx funciona bien, pero no tan bien como deberia. Segun esta cosa si se conectaba con el router al que deberia de conectarse, pero aunque deshabilitaba cualquier otra interfaz de red y agregaba las rutas, el ping al mismo router jamas funcionaba!. Ha. y NetworkManager no me fue de mucha ayuda. Use wlassistant y ndiswrapper para lograr mi objetivo.

Ok, no fue todo. Resulta que a como tenia mi configuracion funciono bien en su momento, pero al dia siguiente al iniciar, Bolas don cuco Gnome no inicia... o mejor dicho, si lo hace, pero tarda Muuuuuuuuuuuuuuuuuuuuuuuuucho y las aplicaciones tambien tardan Muuuuuuuuuuuuuuuuuuuuuuuuucho a pesar de que el uso del CPU estaba al 0% o cuando mucho al 5% y el load average tambien estaba normal.

En fin, me hice una cuenta de usuario alterna para probar y nada, no pelaba. Gnome en modo seguro, tampoco, me asegure. Entonces entro en consola a prueba de fallos (simon, si falla la consola quito Ubuntu a la chingada y meto Slackware otra vez.. es mejor pelear un solo dia que pelar todos los dias!)..

En fin, aproveche e instale xfce y justo cuando va arrancando me dice que no encuentra la ip de cucusa (cucusa es el nombre de mi maquina), voy a echarle un ojo al /etc/hosts y veo que me faltaba el nombre corto para la maquina. se lo pongo y arranga perfecto. salgo de Xfce y entro en Gnome y Jala perfecto.

Aqui viene el descontento, recuerdo que en Gnome 1.x te avisaba que no podia resolver el nombre del equipo que esto posiblemente te acarrearia problemas. Entonces hacias las correcciones necesarias (tal como me paso con xfce). Por que jodidos lo quitaron?. Si GNOME es GNU Network Object Model Environment, porque jodidos no te avisa cuando hay un error en algun aspecto de red??

Ok, va una, la segunda sucede cuando llego a Salamanca, Me la volvio a hacer. Llego, conecto la compu a la corriente, arranco, y sopas, GNOME no arranca, Xfce si lo hace y no advierte de nada, muy probablemente porque ahora si resuelve la ip de mi maquina. Problema, la configuracion de red, deshabilite las interfaces de red que tengo, arrango GNOME, abro el NetworkManager y le digo que ahora mi configuracion ha de ser por dhcp en ambas interfaces (eth0 (alambrica) y eth1 (inalambrica)), y entonces si funciona bien.

Hasta ahorita no he tenido mayor problema que este, pero si es algo frustrante que despues de cambiar mi configuracion de red tenga tantos pedos para poder usar Ubuntu.

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Primera-semana-con-Ubuntu-Gusty-Gibbon markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Primera-semana-con-Ubuntu-Gusty-Gibbon Sat, 27 Oct 2007 22:10:31 -0500
<![CDATA[ USAS Open Day ]]>

El Open Day es un día (próximo 16 de Noviembre del 2007) en el cual se dará a conocer a los alumnos de Licenciatura en Informática e Ingeniería en Sistemas Computacionales de la Universidad San Ángel del Sur y a la Comunidad Estudiantil de la localidad las Nuevas Tecnologías en Sistemas Informáticos.

Específicamente se pretende difundir el uso e implementación del Software Libre como alternativa emergente a productos comerciales.

Todo lo anterior mediante un ciclo de ponencias sobre las principales áreas de aplicación del Software Libre y complementando dichas ponencias con un Install Fest.

Mas info: http://usasod.globalyti.com/

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/USAS-Open-Day markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/USAS-Open-Day Fri, 19 Oct 2007 21:39:28 -0500
<![CDATA[ CakePHP + Scriptaculous ]]> He empezado a trabajar sobre cakephp y scriptaculous, por lo poco que he visto esta muy sencillo en el aspecto de casi no escribir nada. Ya veremos con que me salen despues face-smile.png
Cake + Scriptaculous

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/CakePHP--Scriptaculous markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/CakePHP--Scriptaculous Tue, 09 Oct 2007 12:40:14 -0500
<![CDATA[ Bux.to ]]> Maur0 me referencio hacia , que te pagan por ver publicidad, simple, solo haces click en uno de los anuncios que tienes ahi, esperas 30 segundos y listo, ya te ganaste un barito, que, a principio de cuentas no es mucho, pero sirve como bien lo dijo mauro, para despues comprar unos servicios ahi mismo e incrementar tus visitas. En fin, estoy probando, a ver en cuanto me aburro.

Si se interesan, pueden probar

Aqui

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Buxto markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Buxto Fri, 05 Oct 2007 16:51:01 -0500
<![CDATA[ Palm Treo 700p como modem ]]> Paml Treo 700p El dia de hoy me toco configurar una Palm Treo 700p como modem para ser usado en GNU/Linux y en una Nokia 770. Y ahora que veo las cosas me parece que todo ha sido facil.

En principio de cosas la palm, pese a que se puede conectar a la red de iusacell para poder tener video y obviamente internet, no incluye un software para poder servir como modem, lo que hice, fue descargar la version demo de USB Modem para las Treo. Este programilla nos permite usar la palm como cualquier otro modem conectado via USB en nuestro equipo. El demo incluye el controlador para windows y las instrucciones para Linux, ademas del software que se instala en la palm.

Una vez instalado el usb modem, se accede a el y se inicia el modo modem en la palm. En Windows, no dire como hacerlo, a preguntarle a los de Microsoft, en Linux, solo es cosa de que nuestro kernel tenga soporte para modems CDC ACM.

Nokia 770Al momento de conectar el equipo y cambiar el modo de la palm a modem se creara el dispositivo /dev/ttyACM0, si tienen wvdial podran usar wvdialconf para ver la respuesta del modem. A partir de ahi, configuren el wvdial.conf o usen algun otro programa como kppp o el que gusten par aconectarese. Simple no?.

Para usarlo como modem para la Nokia 770, es casi igual de simple. Lo primero que hemos de hacer es obviamente, configurar el Bluetooth para que se comuniquen ambos dispositivos. La nokia 770 dira que no se puede hacer transferencia de datos, mas que algo relacionado con usar el dispositivo como medio de marcado.

Luego, hay que crear una nueva conexion, y utilizar el tipo de envio de paquetes (no de datos), en las propiedades de conexion solo necesitaran poner le numero al que se va a marcar, el cual es #777 (para iusacell).

En la palm, la configuracion del modem ahora debera de ser cambiada a conexion por bluetooth, pero, antes de hacer el cambio se debe deshabilitar el DUN (Dial Up Networking) incluido en la palm, de forma que se use solamente el de USB Modem (que ahora es Bluetooth Modem). Y luego, hacemos el marcado y si todo esta bien, estaremos navegando en 5 segundos face-smile.png .

Nokia 770

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Palm-Treo-700p-como-modem markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Palm-Treo-700p-como-modem Fri, 05 Oct 2007 15:04:56 -0500
<![CDATA[ Petter Criss key ring ]]> Petter Criss  key ring

Some rock stuff

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Petter-Criss-key-ring markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Petter-Criss-key-ring Tue, 02 Oct 2007 22:30:00 -0500
<![CDATA[ New Sticker ]]> Hoy me fui a comprar un sticker de Pantera bien chido.
New Pantera Sticker

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/New-Sticker markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/New-Sticker Tue, 02 Oct 2007 20:31:42 -0500
<![CDATA[ Bam de Iusacell en Guadalajara. ]]>
iusacell's BAM in Guadalajara, jalisco

Obviamente, coriendo en GNU/Linux

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Bam-de-Iusacell-en-Guadalajara markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Bam-de-Iusacell-en-Guadalajara Tue, 02 Oct 2007 11:02:19 -0500
<![CDATA[ Franklin CDU-680 en Slackware Linux ]]> ... Y otros linux.

Bien, este es un pequenio How to, donde quiero cubrir algunos de los aspectos oscuros en la configuacion del Franklin CDU-680. Este aparatito es un modem EVDO que se conecta por USB y que aqui en Mexico Iusacell lo esta vendiendo como par te de su servicio "Banda Ancha Movil" (BAM).

Bien, lo tuve que comprar porque necesito conexion a internet desde mi casa y fue la, desde mi punto de vista, mejor eleccion entre los proveedores que hay aqui en Salamanca.

  • Cable: bien, para empezar ni siquiera tengo TV. Como quiera, no importa, lo que me interesa es la conexion. Ok, la mayor parte del tiempo estoy fuera de la casa por lo que no puedo esperar al CableGuy para que me haga la instalacion. Ademas, varias personas me han dicho que el servicio de internet por cable aqui en salamanca esta muy malo. Asi que no es opcion.
  • Prodigy Infinitum: La neta, para lo que yo uso Internet me parece bastante bien (salvo por el costo), no soy muy de descargar los millones de canciones al dia, y generalmente ocupo internet para hacer una que otra tarea, leer noticias y descargar pedazos de software que ocupo. El problema con Infinitum es que tengo que contratar una linea telefonica, y luego el internet, mismo caso que con el Cable, no tengo tiempo y no quiero contratar una linea telefonica!.
  • BAM: Entrega, se supone que en el momento, pero me tardaron un par de dias porque tenian problemas con el inventario. Ventaja: Conexion donde quiera que tenga recepcion de Celular (no estoy amarrado a la casa). Velocidad maxima de 3.1Mbps, promedio entre 80 y 800Kbps, upload entre 80 y 500. Bien, no tuve que esperar mucho, y no fueron a mi casa a instalar nada.

Bien, ahora que ya sabemos la historia vamos a la parte fea

BAM Iusacell Para empezar, debes tener un equipo con Windows y obviamente una conexion USB. Por que? porque los de iusacell no te dan el modem activado, asi que hay que activarlo uno. Apenas metiendo el modem al conector USB veras que el sistema lo reconoce como un medio de almacenamiento masivo, es decir, como cualquier otra USB, y por que?, bien, porque es en el mismo modem que se incluyen los controladores para Windows XP y Windows Vista. Entonces, instalar el controlador no tiene mayor problema.

Luego de la instalacion hay que activar el equipo, hay que abrir la aplicacion que se ha instalado, te pedira un numero para poder continuar, inicialmente el numero es 000000 (seis Ceros). y de ahi te pide un numero MIN y MDN, y el Home SID, si no los tienes llama a iusacell para que te los pasen.

Ok, despues, el modem se reinicia, y muy probablemente tambien tengas que reiniciar windows, enctonces, tu modem esta activado, y al lanzar de nuevo la aplicacion para conexion veras que te puedes conectar a la red de iusacell y navegar por internet. Hasta aqui todo muy bien (Usuarios de Windows, me deben 100 pesos por leer estas instrucciones, usuarios de Linux, ustedes me los pagan cuando terminen de leer este post).

En un principio pense que nada mas era de activar y listo, pero no, y me di cuenta porque a pesar de estar siguiendo las escuatas instrucciones que vi en internet sobre este aparato, nomas no funcionaba.

Para echarlo a andar:

Tu sistema, al igual que en Windows te reconocera el modem en primera instancia como un medio de almacenamiento masivo. Simplemente ignoralo. y mejor desmonta la unidad (si se ha montado automaticamente) no la necesitaras.

Luego deberias habilitar el modem usb usando el modulo usb_serial. Pero antes de que vayas de golozo y te lo fletes asi nomas porque si, hay que echarle un ojo a lsusb, que te dira algo asi:

root$ lsusb
Bus 2 Device 1: ID 0000:0000
Bus 1 Device 8: ID 16d8:6803
Bus 1 Device 1: ID 0000:0000
root$

Si notas en el dispositivo 8 veras que es diferente a los demas, entonces, aqui tienes el 'vendor' y el 'product' para ser usado con el moprobe:

modprobe usb_serial vendor=0x16d8 product=0x6803

Haz notado que he pusto "0x" antes de los numero que me ha dado lsusb ??.

Bien, Esto te dice algo de que se ha registrado el dispotivo y que ha sido asignado a ttyUSB0 o algo por es estilo. pero si usas wvdialconf no te va a funcionar. y He aqui el por que:

Recuerdas que dos veces he dicho que el sistema la reconocera como dispositivo de almacenamiento masivo?. Bien, es porque el aparato este tiene dos modos, modem y medio de almacenamiento masivo. Tipicamente esta en modo almacenamiento, luego, cuando ejecutas tu programa de conexion (en windows) este le cambia el modo y todo parece funcioarn bien. Que pasa en Linux, que nunca le haz cambiado el modo y por lo tanto, aunque el sistema te lo detecte como un convertidor USB Serial el modo Modem nomas no va a pelar.

Solucion, regresa otra vez a windows, el programa ese de conexion tiene un menu y unas configuraciones, y en la ultima pestania te puedes configurar el modo de deteccion del dispositivo. Esto cambia la forma en que se trabajara el disp. permitiendote ponerle modo Modem y Disco o Solo Disco. Curiosamente, el Solo Disco funciona bien para que esta cosa funcione como Modem en Linux.

Una vez que he hecho esto, me he hecho lo de arriba y me detecta el dispositivo y me crea loque deberia ser ttyUSB0 y ttyUSB1

usb-storage: device scan complete
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbserial_generic 1-3:1.0: generic converter detected
usb 1-3: generic converter now attached to ttyUSB0
usbserial_generic 1-3:1.1: generic converter detected
usb 1-3: generic converter now attached to ttyUSB1
usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core

Y si usas wvdialconf ahorita te dira que el dispositivo en ttyUSB0 esta al puro pedo para funcionar como modem. Y listo. Si alguien me hubiera dicho esto hace 5 horas ahora estaria dormio y este post seria 5 horas mas viejo.

En fin, algo que me paso a mi y que tal vez te pase a ti tambien es que a pesar de que dmesg me dice que el dispositivo esta en ttyUSB{0,1} en /dev/ no hay ningun ttyUSB* tuve que hacer mis enlaces a manita a /dev/tts/USB0 y /dev/tts/USB1.

Luego, usas el programa que quieras para conectarte, wvdial me ha salido con un fallo de conexion, pero KPPP me ha dejado trabajar a gusto.

En fin, espero que te sea util este pequenio post. Al menos te podria ahorrar un buen tiempo en lo que averiguas porque el jodido aparato no funciona como debe en linux.

BAM

Update: En cofradia.org han publicado que los 3G de Telcel jalan en linux sin mayores problema

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Franklin-CDU-680-en-Slackware-Linux markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Franklin-CDU-680-en-Slackware-Linux Thu, 17 Apr 2008 10:08:51 -0500
<![CDATA[ Christine 0.1.1 ]]> El equipo de desarrollo de Christine se complace en presentarles la nueva version de Christine, 0.1.1, Esta version es una version corregida de Christine 0.1, es decir, no implementa cosas nuevas, solo mejora lo que ya estaba.

Pueden descargar las fuentes de Christine 0.1.1 Aqui, y revisar las notas de liberacion Aqui.

Gracias a todos los que han cooperado con el desarrollo de Christine.

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Christine-011 markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Christine-011 Fri, 21 Sep 2007 14:10:38 -0500
<![CDATA[ Usando el widget creado anteriormente ]]> Despues de crear el widget en puesto en el post anterior, hoy me lo he implementado en el sistema que estamos creando en ICT Consulting. El video esta chidin, pero Google lo hace ver horrible. En fin, es solo demostrativo.

widgetTest.ogg

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Usando-el-widget-creado-anteriormente markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Usando-el-widget-creado-anteriormente Fri, 14 Sep 2007 16:45:01 -0500
<![CDATA[ Bon Echo ]]> Me he compilado el Mozilla Firefox, pero sin 'Branding' face-smile.png se me hizo curioso ver 'Bon Echo' en lugar de Mozilla Firefox.

Firefox 2.0.0.6

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Bon-Echo markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Bon-Echo Wed, 12 Sep 2007 11:53:42 -0500
<![CDATA[ 8 y 9 de septiembre ]]> 8. Reunion con el Grupo Linuxero del Bajio en Irapuato Guanajuato.

80907 015.JPG

9.San DOMINGO, dado que ya termine de leer el libro Dracula de Bram Stoker,Muy buen libro, la verdad lo recomiendo. La verdad, lo compre hace como 20 dias, y siento que me tarde mucho en terminarlo puesto que antes de terminar la primera semana ya llevaba la mitad del libro, pero entre chambas y cositas se me paso continuar, o mejor dicho, le baje el ritmo, y lo termine en la semana pasada. Me gusto todo, muy bueno, salvo el final, que se me hizo muy simplon el hecho de la "Gran batalla final" donde matan a dracula. En fin, tampoco hay que esperar un Duro de Matar 4.0 en un libro escrito hace mas de 100 anios.

Para continuar con el habito me compre el libro El Talisman de Stephen King y Peter Straub. Apenas estoy empezando y pinta estar muy bueno.

Aprovechando que era San domingo, me meti en el ex convento de san agustin a leer el libro, no se bien el nombre, porque no tengo muy buena memoria, pero es muy buen lugar pa ir a leer, muy callado, bien ventilado, sumamente comodo.

DSC06996.JPG

]]> http://islascruz.org/html/index.php/Blog/SingleView/id/8-y-9-de-septiembre markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/8-y-9-de-septiembre Mon, 10 Sep 2007 16:29:01 -0500 <![CDATA[ Comprendiendo el error ]]> Recuerdo cuando apenas habia entrado a preparatoria, en primer semestre llevaba la materia de "Taller de Lectura y Redaccion", por un profesor poco amigable, era bueno, pero tambien algo amargadito. Un dia toco examen y yo, no estaba preparado, me fue del banano, lo admito, no soy bueno para aprender nombres, fechas y demas cosas, por algo no soy biologo, medico, historiador o algo en el que tenga que aprenderme muchos nombres.

En fin, reprobe, pero una companiera que por lo general reprobaba aprovo, y no me sorprendi mucho, puesto que supe desde el examen porque saldria bien. Tenia una copia del examen que se habia aplicado a otro grupo, en otras palabras, ya lo tenia resuelto.

Obviamente, yo me moleste con el profesor, le pregunte que por que a mi me reprobaba, yo que jugue limpio y a ella que se copio el examen la estaba aprobando?. El profesor me tiro a loco. En la tarde le comente a mis padres sobre mi resultado, y trantado de justificarme (tratando de aminorar el reganio) les plantee la misma situacion que con el profesor: A mi me reprobaron, pero fue limpio, y a una companiera la aprobaron, pero fue por copia....

Mi papa nomas meneo la cabeza y me dijo: Y a ti que te preocupa si ella aprobo o reprobo, preocupate por ti, y cuanta razon tiene mi padre. Sin importar si mi companiera hubiera aprobado o no, YO estaba reprobado, y no tenia razon, ni motivo para meterla a ella en mi justificacion, el problema era mio, de nadie mas, ni siquiera del profesor.

Por que recuerdo esto?, por el primer post de Miguel de Icaza el dia 7 de Septiembre. SImplemente trata de justificar la licencia de Moonlight y su problema de patentes, como? Sacando a colacion licencias como la de Adobe, Java, Helix Player y Flash Player. Que tiene razon, son licencias mucho mas feas, pero Y QUE?, el tema no son las licencias de Adobe, Java, Helix y Flash; es Moonlight.

Ahora, esto, el mismo Miguel lo puso como respuesta a un comentario:

* What about microsoft patents? If I create my own linux distro or I
> use a distro that is not mainstream or just doesn't have a deal with
> the daemon.. err Microsoft.. like Novell has.. Will I have to suffer
> the shadow of Microsoft patents over Silverlight when using or
> developing Moonlight?

Not as long as you get/download Moonlight from Novell which will include patent coverage.

Que implica esto, que Moonlight no es libre redistribucion, por que? por problemas de patentes.

Ahora, se me vino a la mente, cuando parte de Java aun no era libre (parte, aun no lo es), pero recuerdo a Richard Stallman haciendo referencia de la "Java Trap", Basicamente, no importaba que tu hicieras Software Libre, si, obligas al usuario a utilizar Software Propietario. Es decir, es bueno que tu esfuerzo sea libre, y merece todo el respeto, pero, estas forzando a los usuarios a usar algo que NO es libre, vaya contradiccion no?.

Lo mismo pasa con Moonlight. Puede ser libre bajo la licencia LGPL/X11, pero, de patentes no es libre, y te obliga a usar un software con patentes, y peor aun, si llegas a hacer algun cambio a Moonlight, entonces, No lo puedes redistribuir, o mejor dicho, si puedes, pero, corres el riesgo de sufrir una demanda por infringir patentes, que chido no?.

El software libre, como tal, puede ser libre dependiendo del punto de vista, para miguel de Icaza y novell puede ser libre, si no te importan las patentes, puede ser libre para ti tambien, pero si quieres redistribuir o si (como a mi) te importan las patentes, entonces, No es libre.

]]>
http://islascruz.org/html/index.php/Blog/SingleView/id/Comprendiendo-el-error markuz@islascruz.org (Marco Antonio Islas Cruz) http://islascruz.org/html/index.php/Blog/SingleView/id/Comprendiendo-el-error Sat, 08 Sep 2007 08:53:36 -0500
<![CDATA[ Sigan de lame bolas ]]> Leyendo planeta GNOME me encuentro con un post de Luis Villa, que finaliza asi:

Remember kids, the copyright license says ‘you can use it without restrictions…’ but the patent license says ‘… as long as you get it from Novell.‘ If you or your company can live with that sort of uncertainty, go for it and use Moonlight; if you can’t, well, don