Sep 17
cmanonblogroll, programming, projects ajax, jquery, wordpress
Hoy estaba trabajando en un plugin para wordpress para la compañia que trabajo y tuve algunos problemas para usar ajax y me encontre este interesante tutorial que comparto con ustedes ademas de este recurso en la revista Smashing Magazine.
Sep 10
cmanonblogroll, programming blog, theme
I’m really exited with the new agregado theme provided by Smashingmagazine and just changed my theme, I’ve detected and corrected a couple of issues:
1. There’s a typo in the audioscrobber feed:
On the functions.php line 499 says:
$simple_url .= ‘/recentracks.rss’;
And should be:
$simple_url .= ‘/recenttracks.rss’;
2. I saw my flickr pictures being resized and comment two lines (103 annd 104) in the query-carousel.css:
#mycarousel img {
padding:3px;
border:1px solid #4f383d;
margin:0 13px 7px 0;
/*
height:40px;
width:40px;
*/
display:block;
}
This display the correct size of the flickr images, please let me know your comments on this new theme.
Jul 23
cmanonprogramming design, programming
This week I’ve learned about usability design centered on the users’ perspective, here are my favorites quotes from the book I’m reading:
“include in the definition of ’users’ those who manage direct users, those who receive products from the system, those who test the system, those who make the purchase decision and those who use competitive products”.
“When we talk about identifying needs, therefore, it is not simply a question of asking people, ‘what do you need?’ and then supply it, because people doesn’t necessary know what is possible” … “Instead, we have to approach it by understanding the characteristics and capabilities of the users, what they are trying to achieve, how they achieve it currently, and whether they would achieve their goals more effectively and have a more enjoyable experience if they were supported differently”.
“it is always tempting for developers to create products they would want to use or similar to what they have done before”.
Pay attention to your users. :)
May 02
cmanonprogramming design, programming, usability
I’ve been busy with my master lately I’m in two very interesting classes, one e-business related and the second one related to interface design (I’m very interested on this one).
I’ll let you a couple of sites related to interface design interaction, http://www.useit.com and http://asktog.com.
I’m going to publish some of my first learning on this class soon.
Feb 26
cmanonprogramming debug, eclipse, php, programming
I wanted to install the zend debugger with eclipse and apache, and found this spanish tutorial, and want to resume the steps I followed:
I assume you have already installed eclipse 3.3 + pdt.
1. Download the corresponding debugger from: http://downloads.zend.com/pdt/server-debugger/, I use amd64 so I got ZendDebugger-5.2.12-linux-glibc23-x86_64.tar.gz.
2. Untar the file in a directory in your home, I used /home/user/Bin/ZendDebugger.
3. Edit your php.ini file and add the following directives:
zend_extension=/home/<user>/Bin/ZendDebigger/5_2_x_comp/ZendDebugger.so
zend_debugger.allow_hosts=127.0.0.1
zend_debugger.expose_remotely=always
4. Verify that the extension is loaded with the simple function:
<?php phpinfo(); ?>
5. Restart eclipse and start debugging!

Feb 21
cmanoneyecandy, programming cmanon, hemingway, nextgen, pictures, plugin, wordpress
Today finished the first part of my site update, that consist on an upgrade of the original hemingway theme to support wordpress 2.3.3, and the new widget functionality, also added some slick mini icons; removed the old code for the legacy hemingway bar.
On the photo side installed the excellent NextGen Gallery plugin, and I’m in the process to update my pictures.
Feb 06
cmanonlinux, programming, uncategorized 2005, database, php, programming, sql
Trying to make a connection to a MS SQL Server 2005 database from PHP, I always got an error message using the mssql_connect saying:
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: {servername}.
I tried several solutions like, updating the ntwdblib.dll (on windows; I had the same error on linux) library, configuring the tcp/ip properties on sqlexpress but nothing I still having the same error.
At the end I changed the ip address on the server name by the respective server name and finally worked!.
So instead of:
$server = 192.168.50.1;
$user = 'sa';
$password = 'sapassword';
$conn = mssql_connect($server, $user, $password);
Changed for:
$server = cmanonserver;
Jul 12
cmanonlinux, programming
I’m trying to setup my development platform for PHP on Linux, I chose eclipse PDT, to complete this task with PDT version 1.0 need to download and install eclipse 3.3 RC1, to make it work per the module requirements, after a download of 250 mb approximately, it didn’t work.
I’m trying to install the old PHPEclipse plugin. Wish me good luck!
UPDATE: I just downloaded the old PHPEclipse plugin and it worked with the Eclipse 3.2.2 IDE.
UPDATE: I just noticed that for the new version of PDT tools you need to run Eclipse with Java 5 JDK.