10.04.06
Posted in General Computing, Programming at 6:07 pm by Gabriel Gonzalez
This is quick review of the article written by Martin Fowler about Continuous Integration, which basically explains that you should use a control version system and commit and build every day.
I only find, the advice regarding the periodicity of the commits and builds, not right at all since I think it would much better building a few times a day rather than a build per commit.
So I propose a fixed building times spread over the working hours which, as I explain in the paper, leads to an improvement of the productivity while keeps the developers happy, which I think is a must for all the project managers.
You can find the article in the Good Coding Practices section or get the pdf just here.
UPDATE: HTML version available!
Permalink
09.29.06
Posted in General Computing, Programming at 9:42 am by Gabriel Gonzalez
Hi there, here is my very first Audio Show called “NITS” (Nothing Interesting To Say). Apologizes for my very bad speaking English but I haven’t been able to improve it as much as the written one.
The goal of this show is chat with someone about the computer related stuff I am working on, maybe I haven’t done my best this first time but I will keep on improving so stay tuned for the second show!
This I have talked:
- Aspect Oriented Programming
- Generative Programming
- Bluetooth Projects
PS: I think I haven’t spoken very much about technical stuff just a few general ideas really so I will focus on it a little more 
Permalink
08.14.06
Posted in General Computing, Programming at 2:41 pm by Gabriel Gonzalez
Now GALD can be used to implement design by contract techniques. With just including a header and enabled the “By Contract” feature from the C preprocesor you will be able to enable pre/post conditions checks, completely written in straight forward C code, to your modules public interfaces.
Soon I will release a new version of GALD with just a short manual to help using this new and very HELPFUL features.
Permalink
08.02.06
Posted in General Computing, Programming at 9:39 am by Gabriel Gonzalez
I have created a project in Sourceforge to improve the development cycle of GALD as well as making easier to those interested on it to track updates and even collaborate with the project. GALD will not be longer updated in this server.
I still need to create a mini webpage for it but as some of you know I am not any good in the web world so it will be delayed for a few days.
Permalink
07.18.06
Posted in General Computing, Programming at 2:17 pm by Gabriel Gonzalez
I have just released a simple tool, called GALD, which will make our life as developers easier since it allows you to detect the line where the memory problem is.
The good thing is you don’t need to replace the standard malloc(), calloc(), realloc() or free() functions since a macro subsystem will address link these to the GALD’s functions.
You just need to #include and run the application to check if you missed something while coding.
I look forward to hearing from you with desired improvents or any other comments.
Permalink
07.09.06
Posted in General Computing, Programming at 4:07 am by Gabriel Gonzalez
1. Thou shalt not trust user inputs.
2. Thou shalt not trust other applications usage of your APIs.
3. Thou shalt not trust any files, network incoming data yourapp may process.
4. Thou shalt not overstimate the size of the destinations buffers.
5. Thou shalt close all the strings (with the NULL character).
6. Thou shalt free all allocated memory.
7. Thou shalt not allocate more resources than needed.
8. Thou shalt reuse as much code as possible.
9. Thou shalt design before coding.
10. Thou shalt DOCUMENT!!
Permalink
03.21.06
Posted in General Computing, Programming at 3:22 pm by Gabriel Gonzalez
Some useful links to explore the world of 3D inside J2ME. It looks to be pretty good since it does not overload the hardware too much (you do not get hardware acceleration obviously) and still you get pretty good results in handled hardware.
I will post more on this.
Getting started with mobile 3D API
Picking objects
Simple Example
Another example
Permalink
03.09.06
Posted in General Computing at 3:26 am by Gabriel Gonzalez
This post will be growing up in few days:
Vector normalization done fast
SSE @ ars tecnica
The point looks to be in doing as much operations as possible shuffling the four components you have loaded in xmmN registers:
Permalink
03.04.06
Posted in General Computing at 4:10 am by Gabriel Gonzalez
I was reading a paper about Multi-core (several processors in the same package) vs single packed processors and I rembered why I didn’t enjoyed very much IT papers.
They tried to proof a multi-core architecure perform better than its older brother. They assume that a second processor in other package perform 80% and one in the same 70%.
Let have a processor of 3Ghz and dual-core of 2.2GHz each, you know they are made with lower speed to reduce power and heat:
- If you have two processors in differents packages, they perform as a single machine of: 3000Hz * 1.8 = 5400Hz
- If you have dual-core package they perform : 2200Hz * 1.7 = 3740Hz, so if we add another package you get: 3740Hz * 1.8 = 6732Hz
Oh! Yeah! You get much better performance with dual-core systems, nifty/cool!!!!
Let assume each extra package you add you loose a 20% of performe respect the previous package:
- If you have 4 processor of 3GHz each you get : 3000Hz * 1.8 * 4 = 21600Hz
Sigh! Who is right??!!
That’s why I love papers from biology journals, they almost never leave their proofs uncompleted.
Permalink