Es mostren els missatges amb l'etiqueta de comentaris programming (English version). Mostrar tots els missatges
Es mostren els missatges amb l'etiqueta de comentaris programming (English version). Mostrar tots els missatges

divendres, 22 de febrer del 2008

MilanasWSClient!

MilanasWSClient is a desktop Java application, done in ESOF III subject (software engineering), that works with the web services of Amazon. By de moment, the implemented functionalities are:
  1. Look for books and music in the catalog of Amazon.
  2. Look up for an specific book or music CD using its ASIN (identification code of Amazon).
  3. Buy the wished products (books or music). However, this functionality is only available for "Linux + Firefox".
There are some aspects that would have to be improved as, for example:
  1. Creation of "Previous" and "Next" buttons in the search of books and music so the Amazon requests will not paralize (remember that the Amazon's web services only allow one request/second for each IP!).
  2. Translate the user interface into other languages (the application is prepared to be internationalized).
  3. Make the buying functionality available for other O.S and browsers.
  4. Add other functionalities (serach for lists, searh users or vendors...).
Finally, the compiled version and the source code of the application are available at SourceForge under the name MilanasWSClient.

diumenge, 30 de setembre del 2007

NetBeans 5.5 with C++ and Qt

In this post I want to explain to you how I can make a C++/Qt program using the Sun IDE Netbeans.
First of all, I tried to do it with both NetBeans and Eclipse. However, I finally choose the first because Eclipse is really hard and uses many computer resources. In addition, I feel the window view of NetBeans more atracttive than Eclipse one.

So, the steps I neede to follow to reach my goal are explained on the next lines (I work with Ubuntu Feisty):
  1. NetBeans instalation (download page) :
    • $ chmod 777 netbeans-5_5_1-linux.bin
    • $ sudo ./netbeans-5_5_1-linux.bin
  2. NetBeans C/C++ Pack instalation (download page):
    • $ chmod 777 netbeans-c++-5_5_1_u1-linux.bin
    • $ sudo ./netbeans-c++-5_5_1_u1-linux.bin
  3. Configure the C++ libraries (directories where .h files can be found) because NetBeans default configuration doesn't include them. In order to manage this configuration I had to go to: Tools -> Options -> C/C++ -> Code Assistance -> C++ Compiler. Once there I had to add all the C++ directories:
    /usr/include/c++/4.1.2/backward/
    /usr/include/c++/4.1.2/bits/
    /usr/include/c++/4.1.2/debug/
    /usr/include/c++/4.1.2/ext/
    /usr/include/c++/4.1.2/i486-linux-gnu/
    /usr/include/c++/4.1.2/tr1/
    /usr/include/c++/4.1.2/
    /usr/include/ /usr/local/include/
    /usr/lib/gcc/i486-linux-gnu/4.1.2/include/
    Some of them are redundant, but I added also.
    You can see the window in the next image:

  4. Configure the Qt libraries (directories where .h files can be found). In order to get this configuration I had to do right click on the project and then: Properties -> C/C++ -> C++ Compiler -> General -> Include Directories. Once there I had to include the Qt directory (/usr/include/qt4/ in my system):
In this moment NetBeans is configured and we can use C++ amb Qt!! :D
Here is a little peace of code:

#include <stdlib.h>
#include <QtGui/QApplication>
#include <QtGui/QPushButton>

int main(int argc, char** argv)
{
QApplication qapplication(argc, argv);
QPushButton hello("hello", 0);
hello.show();
return qapplication.exec();
}

And this is the explanation ^^

dijous, 12 de juliol del 2007

Web Desing - The new age

I show to you an image that represents how the time is distributed between the different tascs you have to do in order to create a web application:



In my experience I can say: "Fucking Exploiter!"

Seen at: My Confined Space