Archive for the ‘ Updates ’ Category

Updating Blog

by admin | September 5, 2008 | In Updates No Comments

In the process of updating Wordpress to the latest version, since in the few months there's a security flaw in my previous version. It's been serious because Google flagged my site as having malware, I never noticed this since I've updated Firefox into version 3 which has an notifier on sites that are having malware. The attacker use an xmlrpc to edit post in my Wordpress Blog, having an iframe calling a suspicious site that automatically been called when my site is loaded.

Also in the process of changing the site design.

Cleaning up

by admin | September 3, 2008 | In Updates No Comments

Been busy this following days, swamped by request and a conflict in my schedule. There's a lot have been change and lot have been learned. One is the use of right tools in my development process. If not carefully reviewed and look upon it will result in a mess.

One is using Firefox addons, I've installed Skype and upon installation it updated Firefox 3 to have add-ons showing Skype and replacing some kind of formatting in phone numbers. Once in FCKEditor and editing content, the editor gets the layout and the style formatting. You will not see it Firefox but when the client views it on another browser it will result in missing images.

Another is using Google Toolbar highlighting feature, FCKEditor will get it's style formatting once in the editor area.

As of yesterday there's a new browser from Google which they named Chrome and the rendering engine is based on webkit which is from KDE and Safari also uses webkit. The enhancement of the javascript engine, they named it V8, it is worth noticing in AJAX extensive sites, like in Gmail and other Social Networking Sites.

The experience is very good not only for the techies but also for the average internet user, my wife got curious and used it in accessing her friendster account. She was very pleased about the loading time and the large screen without the clog like she is used to in Internet Explorer. I have been encouraging her to use Firefox for nearly a year and without success she didnt switch using it as her default browser. But in Chrome she like it very much.

Before you freaked out because you cannot see images on friendster.com and call Smartbro support representative. Then the support rep would tell you the problem is on the friendster.com domain and not on their servers.

Well the real truth is the problem is on SmartBro's DNS servers. My friend Mike posted an article that the DNS has been hacked, visit here.

Just change your DNS servers to a working one:

69.64.155.148
121.1.3.208
121.1.3.199
121.1.3.250
168.95.1.1

Editing post

by admin | May 21, 2008 | In Updates No Comments

To my avid readers, as you would notice there are some codes on my blog post. As not to get confused I'll be including a language description to some post, so not the readers may not guess in what particular language it has been written.

A day in C++ and MYSQL

by admin | May 20, 2008 | In Updates No Comments

It has been an end to my C++ class last Sunday, which I've enjoyed the 5 weeks training. Thanks to my trainor who is not so selfish in sharing his knowledge to his students. Kudos to Ernest Bercilla, a full time applications trainor of ITTC.

Mostly all of the languages I've learned it was just self taught, actually this was my first time acquiring a knowledge in a programming language on a training. Well as day one in my class, my objective was to write C++ code to connect to the MYSQL API, which I did now because of the foundation that I've learned during the training.

Here's the steps, how I've used MySQL API, my C++ Ide is codeblocks
1. download a library from http://devpaks.org/ , find the ones for mysql under database.
2. extract the package, am using 7-zip, so DevPak files is supported.
3. create a mysql folder under the C:\Program Files\CodeBlocks\MinGW\include
4. copy the include from the content of libmysql to the folder that has been created.
5. set the library and point it to the location of libmysql.a

6. To test create a database and a table name.

Here's my sample code:

 
/* Language : C++ */
 
#include <windows.h>
#include <iostream>
#include <mysql/mysql.h>
 
using namespace std;
 
int main() {
    //connection params
    char *host = "localhost";
    char *user = "root";
    char *pass = "";
    char *db = "cardsauce";
 
    //sock
    MYSQL *conn; //pointer
    MYSQL_RES *res;//pointer
    MYSQL_ROW row;
 
    conn = mysql_init(0);
    if (!conn){
         cout << "sock handle failed!" << mysql_error(conn) << endl;
    }
 
    //connection
    if (!mysql_real_connect(conn, host, user, pass, db, 0, NULL, 0)){
        cout << "connection fail: " << mysql_error(conn) << endl;
    }
 
    mysql_query(conn,"SELECT * FROM users");
 
    res = mysql_use_result(conn);
 
    while (row = mysql_fetch_row(res)) {
        cout << row[0] << " " << row[1] << endl;
 
    }
 
    //closing connection
    mysql_close(conn);
 
    return EXIT_SUCCESS;
}
 

There's a new upgrade to my favorite PHP Editor, here's the latest improvements.

What's new?

Although we did not manage to do everything that was planned (as usually), a lot of work has been done and a lot of good stuff has been added.

Please note that some items apply only to the top of the range products, for example, PHP auto complete improvements apply to Rapid PHP 2008 and WeBuilder 2008 only.

+ Added Big: Secure FTP support
+ Added Big: Re-wamped, faster File Explorer
+ Added Big: CVS / SVN Support (via 3rd party clients e.g. TortoiseSVN and shell menu - TortoiseSVN icons are now visible and shell menus are accessible)
+ Added Big: Code templates
+ Added Big: HTML Tag block highlighting
+ Added Big: Missing HTML tag highlighting
+ Added Big: Highlighting of missing brackets
+ Added Big: Existing tag editing via dialog windows
+ Added Big: Right-click tag editing via dialog windows
+ Added Big: Realtime PHP & Ruby syntax check
+ Added Big: Ruby code explorer
+ Added Big: Ruby auto complete
+ Added Big: Code collapse based on code
+ Added Big: Better X-Ray (width, height, size labels, properties)
+ Added Big: Language Browser replaces Object and Markup browsers
+ Added: Reload from FTP command
+ Added: Auto close curly brackets (optional)
+ Added: Auto indent curly brackets (optional)
+ Added: Select between braces
+ Added: Gutter-click close to the left side (16 pixels) sets break-point for PHP files
+ Added: PHP auto-complete and function hints read also includes
+ Added: Allow HTML features in JavaScript code
+ Added: Clear all breakpoints
+ Added: Closing HTML tag auto complete
+ Added: Open file at cursor for PHP
+ Added: All PHP code can now be highlighted with solid background
+ Added: Focus inspector row based on selected CSS property
+ Updated: USB support is now more robust
+ Updated: Settings export now works better
+ Updated: Load parsers only as needed (0,2 sec load time increase on QuadCore, mor eon slow pcs)
+ Updated: Updated entities file / special character replacement
+ Updated: Removed "Editors", replaced with "Programs" + parameter support
+ Updated: New looks for the Welcome wizard
+ Updated: Replace tokens now can use single input multiple times
+ Fixed: Can now save hidden files
+ Fixed: Toolbars on Vista aero
+ Fixed: Problems with buggy FTP servers not understanding LIST -al params, now params can be set by user.
+ Fixed: Ctrl+A now works in find dialog
+ Fixed: Show hour-glass cursor while tidy works for long files
+ Fixed: Convert style blocks rel=stylesheet is now rel="stylesheet"
+ Fixed: Re-load file explorer on project edited to refresh file types
+ Fixed: Preview temp file for CSS is generated only preview pressed
+ Fixed: Editor now scrolls automatically when Backspace pressed and caret not far from edge
+ Fixed: Style block selection bug http://forums.blumentals.net/viewtopic.php?p=9306#9306
+ Fixed: Related styles now work with mixed case class names
+ Over 50 other fixes and improvements

The domain which my cousin Jonathan and I co-managed was off line for about 2 weeks, he forgot to renew the domain. During this period we asked the philhosting.net support to solved our issue. Thus I use my paypal account to add funds to the reseller account, unfortunately on their website it does not update the added funds on the account. It took them about more than a week to resolve the issue.

Staying Awake

by admin | March 25, 2008 | In Updates No Comments

Yesterday, been working 22 hours. As I have many deadlines to meet and task which are urgent. Didnt notice that been working that long. Work range from my freelance night time and during daytime my work at the University.

At last my class at ITTC will start this coming Sunday, after a long wait I am included in the C++ course. I am not a newbie to C++ but I've not been coding my favorite language since last 5 years. I want to refresh myself and start to join some Open Source projects. Actually C is my first love, thanks to Bjarne Stroustrup's for superseeding my favorite language and now what becomes C++. I dont have much freetime but will definitely insert a few minutes of my time.

Computer Platform: Windows XP SP 2

This is a short review about my editor, which is Rapid PHP by Blumentals Software. First of all my background. I have been developing websites since 2001, my editor of choice was Allaire's Homesite which have been acquired by Macromedia then Adobe. All the past 7 years been using it and was accustomed to it's features. Also there's a free CSS editor come's with it which is TopStyle. My recent problem with Homesite is it has not been updated thru the years, there isnt much development after Nick Bradbury left Allaire. I also have tried Dreamweaver but I found it much more applicable for HTML/XHTML codes only, well I need a code explorer for php and javascript.

I have tried many editors to replace my beloved Homesite, there's a list at the PHUGPH forum about the recent editors most PHP programmer would use. On the list which I havent tried is the Zend Studio. I cannot compare much of it to Rapid PHP except for the bloated price of Zend Studio.

The first attracted me to Rapid PHP is the loading time, it is very slick and smooth. Well most of the time of maintaining my clients site are only small edits. I woud not wait beyond 60 seconds loading an editor just to replace a small typo. Comparibly load faster than Homesite.

The interface was very convenient not too complicated, I quick started coding rather than spending time guessing toolbar icons. The syntax highlighting was very easy to modify. Code explorer was very helpful in coding classes and editing/analyzing php scripts which are written by others. There is a php function hint, well most of the time I always look at the php online manual regarding php built-in functions, in this editor I can skip that process also the php manual can be integrated once the manual has been downloaded in CHM format. Also on the menu under PHP, server variables can be inserted into the code. It is very quick indeed.

Another thing Rapid PHP is also a HTML, Javascript and a CSS editor, if you are accustomed using table's in a web layout shifting to div's is not very complicated. The code can be previewed horizontally and vertically and the preview can be done in IE and Firefox. Doing AJAX sites is a breeze because there's a javascript autocomplete.

The nice features prompted me to purchase Rapid PHP, up until now I didnt regret that I have done so and very grateful that I have discovered this nice software. There's a special discount offer $49.85 if you would purchase it now. Hurry Karlis the owner might change his mind, once you purchase there is unconditional 30-day Money-Back Guarantee, Instant Delivery via download, Secure Order Form with SSL encryption and Free Updates. Free Updates is not just a sales pitch, you will understand why when you order.

New PNB

by admin | February 27, 2008 | In Updates No Comments

The Philippine National Bank has been once owned and managed by the government, I have a payroll saving's account which the University of the Philippines used as their means for financial transactions. Last year as it has been owned entirely and transfered to Lucio Tan Group and has been considered as a private bank, there's has been an existing rule that private banks cannot serve government offices. So the payroll has been transfered to Land Bank of the Phlippines but I keep my account there because I used it to deposit some of my international checks there.

Back then in PNB, It would took 45 banking days to clear an international check as promised by their tellers and helpdesk officers. On January 31, 2008 I deposited an international check and ask again to confirm how many days would the check would be cleared and the amount would be transferred to my account. The teller said "It would took 45 banking days to be in your account as it is our standard policy". I am expecting it by mid April 2008, to my surprise when I check my account today on their online banking facility it was cleared . LIARS, :) LOL.

I appreciate now their new system and used them in withdrawing funds from paypal. Again thanks PNB UP Diliman branch for the nice support.