Feeds:
Posts
Comments

Error: at javax.media.j3d.Canvas3D.checkForValidGraphicsConfig(Canvas3D.java:963)

Are you stuck with this error. Don’t be panic.

Don’t declare the Canvas3D object with null value.

Canvas3D canvas = new Canvas3D(null);

Instead pass the GraphicsConfiguration parameter:

GraphicsConfiguration config =
SimpleUniverse.getPreferredConfiguration();
Canvas3D canvas = new Canvas3D(config);

Done !

Don’t forget to import:
java.awt.GraphicsConfiguration;
com.sun.j3d.utils.universe.SimpleUniverse;

A New Journey with Warid

Its been a long time since I last posted here. Now promises to myself that I would be regular from now with whatever I got to post here !! Now coming to the point, My new working place is now Warid Telecom, at IT devision, and m working as IT Specialist :) ) (Bugi Jugi) with Development team. The most important part is ,I got some great team mate like Quriesh Vai, Irfan Vai (Country mngr, WCG), Nasif Vai. Still I am confused about my job responsibility but I think it would be a nice journey with nice people :) . Currently working with VAS (value added service) and involved developing some in house software.

What do u think !

why people seem to have free time

why people seem to have free time

As a novice in the world of Python, I was searching for a way to connect to mysql db using python. And found the cool example from devshed that shows connectivity using MySqLdb module. Default installation of Python may not contain MySQLdb Module, in that case you have to install it manually.

First check whether its already installed ot not:

Python 1.5.2 (#1, Feb 1 2000, 16:32:16) [GCC egcs-2.91.66
19990314/Linux
(egcs- on linux-i386
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import MySQLdb
Traceback (innermost last):
File “”, line 1, in ?
ImportError: No module named MySQLdb
>>>

ImportError: No module named MySQLdb >> indicate that you dont have MySQLdb installed.

According to devshed it just 4 line matter to install MySQLdb as follows:

$ tar -xzvf MySQL-python-0.9.2.tar.gz
$ cd MySQL-python-0.9.2
$ python setup.py build
$ python setup.py install

I was trying to build it in My dedicated server running on CentOS.

Every time I am trying to run
>> python setup.py build
it end up with following error.

error: command ‘gcc’ failed with exit status 1

After some googling, some forum suggest to check whether gcc is installed or not,
Thats the problem, everyone was worried about only GCC, I installed it again and recheck, still the same
problem.

After spending some ‘faltoo’ time I found that the following things sould be installed within your system
to run MySQLdb properly

>> yum install python-devel
>> yum install MySQL-devel
>> yum install zlib-devel
>> yum install openssl-devel

Now its working fine :)

Python 1.5.2 (#1, Feb 1 2000, 16:32:16) [GCC egcs-2.91.66
19990314/Linux
(egcs- on linux-i386
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import MySQLdb
>>>

(Gives no error)

My Toys

Hey, don’t get confused, I am not going to listing my every Toys, here in my tech blog.
I am talking about the tools that I use in my day to day activity to earning my living :P

Framework: CodeIgniter, Jquery
Database: MySql, PostgreSQL
Documentation: Doxygen
Version Control: TortoiseSVN, SpringLoops
IDE for PHP: Eclipse

There are many Open Source “code documentation generator tools” available, but I personally use doxygen.
I like it because its very simple and easy to use. You can make a try………

Doxygen is a documentation system for C++, C, Java, PHP Objective-C, Python, IDL (Corba and Microsoft flavors), Fortran, VHDL,, C#, and to some extent D.

It can help you in three ways:

It can generate an on-line documentation browser (in HTML) and/or an off-line reference manual (in ) from a set of documented source files. There is also support for generating output in RTF (MS-Word), PostScript, hyperlinked PDF, compressed HTML, and Unix man pages. The documentation is extracted directly from the sources, which makes it much easier to keep the documentation consistent with the source code.

You can configure doxygen to extract the code structure from undocumented source files. This is very useful to quickly find your way in large source distributions. You can also visualize the relations between the various elements by means of include dependency graphs, inheritance diagrams, and collaboration diagrams, which are all generated automatically.

You can even `abuse’ doxygen for creating normal documentation (as I did for this manual).
Doxygen is developed under Linux and Mac OS X, but is set-up to be highly portable. As a result, it runs on most other Unix flavors as well. Furthermore, executables for Windows are available.

Ref : http://www.doxygen.org/

Step by Step installation of Sugar CRM

SugarCRM offers a complete CRM and groupware system for businesses of all sizes. Functionality includes sales force automation, marketing campaigns, support cases, project management, calendaring, documents and more. SugarCRM is built on PHP and MySQL of the most common business systems.

The installation of the Sugar Open Source version is very simple and also will give you the chance to try this great opportunity for Customer relationship software, powered by PHP.
SugarCRM

* Requirements :

To install SugarCRM you need :
o Apache Web server (v1.3 or v2.0) or Microsoft IIS
o MySQL Server (v4.0, v4.1 or v5.0)
o PHP (v4.3+)
* Download SugarCRM

Then download the latest SugarCRM package, currently the 3.5.1, from the SugarForge website
* Copying the package and setting permissions

Uncompress the package. MAke a copy to a local web folder, or upload it to the webserver you want to use. For *nix users you have to set permissions on this list of files and folders to allow SugarCRM to write in them :
o cache
o custom
o data
o modules
o config.php
* Use the Sugar Installation Wizard

After copying your files and setting permissions, enter http://YourDomainName/Path-to-SugarCRM/ and the installation should began. You’ll find easy to follow the step by step installation wizard which will guide you through 7 main steps :
o License Acceptance
o System Check Acceptance
o Database Configuration
o Site Configuration
o Confirm Settings
o Perform Setup
o Registration (optional)

Finally you may login to SugarCRM using the username and password previously setup in the SiteConfiguration step.

Back to Ubuntu!

If you still haven’t tried Ubuntu than please do it right now. And if you tried it before and left it for its unfriendly nature than I will also say that please downlaod it or order it and use it. I am pretty sure that you will be amazed how much comfortable its become now. Linux is no more for open source enthusiastic people, it has become for all range of people. Just for an example you don’t need to install any driver for your cell phone to use it as modem, everything like plug and play. Theres lots of things for free, so people slam the old days and come forward to make a open source  world !!!

Paper Published

Hello everyone,

I am very glad to announce that my final year thesis work (undergrade) on “Cost Effective GPS-GPRS based Object Tracking System” had been accepted for IMECS 2009 ( International MultiConference of Engineers and Computer Scientists )  organized by International Associations of Computer Engineering (IAENG).  This conferecne will take place in Hong Kong, 18-20 March, 2009. Thanks to Allah and my team members.

Hello world!

Hello World !!!
I become a blogger now :D
Faltoo shob Chapabazi korar uttom jaiga.
If you don’t like it feel free to kick my ass :(
or if you like it dont forget to say thanks :)

Follow

Get every new post delivered to your Inbox.