Ada Obsession

June 17th, 2008 at 21:25 · Filed Under Ada, At Work, Blogging, Call Me a Geek, Software Development, Web · Comment 

Well, well, well. Kazeserver alpha RC1 has to be delayed due to some design issues and I am rewriting most part of the software so that the source can be understood easily. For the past two weeks, I was troubled by the old design but I have got a new picture now.

Isn’t Ada code easy to understand? Well, yes. But I was using a lot of Unbounded_String in records which made my code hard to read and understood. While Unbounded_String is compatible with database operation, it lacks the understandability and readability if compared to String (1 .. 10) for example.

Today, I am totally obsessed in Ada and am feeling the strongest Ada obsession after a couple of years. The feeling is still burning. If my Ada obsession keep burning, I believe I can release KazeServer for alpha testing before of June. Hopefully.

Patched a security hole in KazeServer

June 4th, 2008 at 14:46 · Filed Under Ada, At Work, Software Development, Web · Comment 

While I was at Honda waiting for the technician to reprogram the ECU, I found a security hole in the authentication part of KazeServer. An unrecognized user id with a null password would grant access to KazeServer but without any significant usability but posed a potential risk.

I quickly identified the cause and rectified the problematic logic in the program design. One down and many to do. One of the other critical problem is that KazeServer will get over with initialization and execute even without the MySQL server is running. A serious bug though.

Another 3 more days to release Alpha RC1 and yet so many problems and unfinished parts. I feel the release will have to be postponed then.

Pre-Alpha RC1

June 2nd, 2008 at 22:46 · Filed Under Ada, At Work, Blogging, Days in My Life, Software Development, Web · Comment 

I am in the midst of getting the KazeServer to roll out. During this pre-Alpha RC1 stage, works have been a little pressured especially cleaning up parts of the codes to make it neater and more efficient. A number of factors are also affecting during pre-Alpha stage.

One of them is the gnat Ada compiler issue on Ubuntu Hardy Heron or 8.04. Hardy comes with gnat-4.1 with a number of packages not added. Without these packages, I can’t build AWS-2.3. So, I have to roll out Alpha RC1 on Mac OS X until Ubuntu Intrepid or 8.10 with gnat-4.3 is released (hopefully with gnat-4.3 by October). I have another option which is I have to move to Debian Etch with gnat-4.1 but including the libaws-2.2.

libaws-2.2 is a pre-built library for AWS on Debian Etch. I am developing using gnat-4.4 and AWS-2.3 on Mac OS X. Moving to Debian Etch means I am downgrading the version of gnat and AWS and I feel a little skeptical about it. This is one thing I hate most, version inconsistency among the Linux distro.

After talking to my friends on this matter, it looks like I have few choices but to target on Mac OS X for the moment considering the tasks of installing and get the Debian Etch up and a whole lot of uncertainties in gnat-4.1 and AWS-2.2.

Entering Alpha stage

June 1st, 2008 at 22:35 · Filed Under Ada, At Work, Days in My Life, Software Development, Web · 1 Comment 

Finally, after weeks of experimental development, KazeServer is entering Alpha development stage. I expect to roll out Alpha RC1, hopefully before this weekend.

KazeServer is a web-enabled membership management system that allows registered members of an organization to login to review their membership data and other membership related transactions or records. KazeServer is developed 100% with Ada and AWS (Ada Web Server). The application itself is a web server. No web server, e.g. Apache, is needed to run KazeServer. It is a totally stand-alone independent application with a built-in web server (AWS).

Looking for a web hosting provider?

May 3rd, 2008 at 11:05 · Filed Under Blogging, Business, Marketing, Web · Comment 

Alright, you need to find a web hosting company which provides web hosting services at a price ranging from $4 to $8. And you want a detailed review of their web hosting service to ensure reliable service. Look no further, visit webhostingchoice.com for a list of web hosting providers. It is easy, quick and hassle free.

At webhostingchoice.com, you have a comparison chart of pricing, fees, disk space, transfer and rating to help you choose a web host of your choice. Click on every links to checkout the web hosts’ websites to learn more about their products and services before you jump in.

This site also includes a learning center to help you through the web hosting jargon words, hosting scams, marketing gimmicks used by web hosting providers to lure and lock in customers. The site provides comprehensive advice and FAQs to guide you selecting a web host and to avoid pitfalls and tricks.

A list of useful links and resources is also included for your convenience. You may want to sign up their newsletter for monthly updates of hosting tips, offers, coupons, interviews and etc. to keep you abreast of the web hosting business and to enjoy discounts from coupons.

Take a look before you jump!

China’s proven world class competency

April 13th, 2008 at 13:20 · Filed Under Ada, China, Computing, Humanity, Linux, Software Development, Web · Comment 

During the snow hazard in China this February, the Chinese government had successfully managed the natural disaster and crisis with much professionalism in such a short period of time. According to an unconfirmed source, the Chinese government managed to develop a Disaster Management System in just 5 days. 75 software engineers from the Chinese military worked around the clock for 5 days to bring up a web based Disaster Management System to collect, manage, disseminate, coordinate, and to provide command and control to the military disaster relieve team during the recent snow hazard.

The system was developed using Ada, AWS (Ada Web Server) with a little of PHP and Perl. The system deploys a MySQL database running on Linux. The system is hooked up to air-borne SAR (Synthetic Aperture Radar) for real-time acquisition of landscaping information in snow hazard affected area to help assessing the damage of rail ways, roads, housing and forest. The Chinese army engineering company was dispatched by the system to areas in need of assistance.

I have yet to receive further details of how the system works and probably will not. Anyway, that shows the Chinese ability and responsiveness in dealing with natural disaster. Hail China!

Looking for Windows web hosting?

April 13th, 2008 at 12:22 · Filed Under Blogging, Marketing, Web · Comment 

If you Google for “Windows web hosting”, it returns 3,260,000 or more of possible websites providing Windows base web hosting services. These web hosting company offers a wide range of hosting plans and offers. To skim through all these searches for a right plan is not an easy task and usually daunting.

WebHostingChoice.com provides you a competitive list of windows hosting plans and company. The website also provides information about scam, domains, dedicated server, and a lot more in its learning center to help you understand jargons of the web hosting. You can search or browse web hosting services by features. Perfect for beginners to learn about web hosting to avoid pitfalls that could possibly hamper your website traffic and popularity. It saves you time and money. Try it out today.

If you are running a web hosting service, you can advertise your hosting service here by submitting your web hosting company details. A great way to start your web hosting business from home and let your website and web server monetize for you!

What else? You can subscribe to WebHostingChoice.com newsletter by submitting your email address to receive up-to-date web hosting business trends and information. You will never be left behind and always ahead for the latest offerings.

Free Web Polls

January 25th, 2008 at 20:15 · Filed Under Blogging, Business, Computing, Marketing, Web · Comment 

Alright. You need to get an idea what your visitors think of an issue. You need a web poll which is easy to setup and most importantly it is free and does not take up additional disk space or database. There is a free web poll which provides myspace polls. It takes less than 2 minutes to sign up and get your poll up and running. Everything is stored and calculated on their server. Everything they offer is completely free and no pop-up advertisement or banners.

Spam emails and your privacy

January 8th, 2008 at 14:35 · Filed Under Computing, Marketing, Social, Technology, Web · Comment 

Have you been wondering why are you receiving those spam emails? Worst when you check your email with your colleagues around and suddenly a porn email pops up. It is so embarrassing. There is a convenient software to remove porn. It can delete any files using secured method is higher than government standards, making sure the files you have deleted can never be recovered.

The software, Evidence Blaster, does not only securely remove any files or folders, it also protect your privacy by clearing all your private information about you in your browsers and email clients leaving no trace of what you did on the Internet. The software helps you to safeguard your job by covering your tracks before your employer can find any from your computer.

Make a copy of your favorite website

January 8th, 2008 at 14:10 · Filed Under Blogging, Computing, Marketing, Shopping, Social, Technology, Web · Comment 

Have you ever come to a website and found the contents very interesting, you saved it but later after a month, you can no longer find that page again? Some websites have dynamic contents. After a certain period, the contents will be removed to conserve disk space. But, that article has something for your research paper and now it is gone!

Well, there is a website to allow you to copy web site, save it to your local hard disk. Unlike save page in web browsers, the software saves the html code, grabs the graphics, audio and video at lightning speed. Once these have been downloaded and stored on your local hard disk, you can browse off line anytime even though the original page has been removed.

This Web Site Downloader is an useful application to archive websites and/or dynamic contents for future reference. It is easy to use. Just 4 simple steps: 1. Create your project, 2. Enter the URLs, 3. Begin downloading, 4. Start browsing off line!

1 million visits

December 31st, 2007 at 17:35 · Filed Under Blogging, Days in My Life, Web · 6 Comments 

Yipee! My website has surpassed 1 million visits milestone on this last day of 2007. It took almost 6 years (since February 1, 2002) to reach this mark. A good reason to celebrate.

I like to thank all visitors and fan readers from all around the world for giving the support. Thank you and I wish everybody a Happy New Year 2008. May you and your family in good health and have a prosperous new year.

How to choose a web hosting provider?

December 20th, 2007 at 13:12 · Filed Under Blogging, Business, Call Me a Geek, Computing, Marketing, Social, Web · Comment 

There are thousands of WHP (Web Hosting Provider) with various plans. It is very difficult to make comparison of these plans and services offered by these WHP. Finding one is already a hard start. Web Hosting Choice (http://www.webhostingchoice.com) lets you source your favorite WHP. It also provides useful database query tool to search for the WHP of your choice according to your requirement or budget.

The query tool is very easy to use. Just enter your budget and requirement parameters, for example, the monthly fee you are willing to pay, the amount of hard disk space and bandwidth you expect to be provided. Then it will list all the WHPs that fit into your budget and requirement. Simple!

Whether it is for business or personal website hosting, no more wasting time, Web Hosing Choice is the right place to begin with.

Steganography and Information Security

December 11th, 2007 at 18:19 · Filed Under Call Me a Geek, Hacking, Information Forensics, Technology, Web · Comment 

One of the major threats in this information age is the exposure of sensitive information in the Internet. The most common method of securing information is through encryption technology. Today, 128-bit technology is the commonly used encryption method in emails and documents. Recent upheaval as my ISP closing down port 25 for SMTP (Simple Mail Transfer Protocol) has rung an alarm to my computing needs on the Internet. My ISP’s decision is to curb spammers who have abused direct SMTP access to email servers. The act is a foolish one as this will not stop spams but at the same time, it affects those genuine users.

A 128-bit encryption can be broken into with cluster computer. A cluster computer consists of computers, called nodes, with one or more CPU. These computers are connected to a network. A special program capable of distributing calculation tasks to all the nodes is needed. This architecture is called Beowulf. Breaking a 128-bit encryption is just a matter of time depending on the number of nodes and the number of CPUs on each node.

My ISP forces all direct SMTP connection to be routed to an unsecured proxy server. As an emergency contingency to my Internet use, I quickly setup encryption for my email client. So far, the closing of port 25 has not affected me.

As I have the need to send sensitive work information across the Net, I feel the encryption is not enough on a unsecured proxy server. I would elevate the level of information security by using steganography together with encryption.

Steganography is a technique to embed information to a digital photo or picture without altering the photo or picture at eye level. The technique uses advanced algorithm to manipulate bits of data in the digital image with the bits from the information I am going to send. To extract the information from the encrypted digital image, an original image is the key. Only my intended recipient has an original copy of the digital image.

Information Forensics

December 11th, 2007 at 11:19 · Filed Under Blogging, Call Me a Geek, Computing, Hacking, Information Forensics, Web · Comment 

What is information forensics? Information forensics is a science of investigation into systemic processes that produce information. Systemic processes utilize technology, primarily computing technology, in creating, delivering, storing, evaluating and processing of information. This process is usually complement by manual process. Information forensics investigation dwells into the aspect of creation, operation and evolution of the enterprise information.

My first exposure to information forensics was during my project seeding at UTAR. Dr. Robert Tee was a good friend of mine and he exposed me to information forensics. Although we did not dwell too much deeper into it, I did some research myself and practice it. I provide Information Security Assessment Service to my clients on demand basis.

Information forensics is also very useful for SEO (Search Engine Optimization). My current SEO effort has fully utilized my skill in information forensics investigation to optimize my blog search results on search engines. I also utilize this skill to investigate the visiting patterns of my visitors by cross-referencing their IP addresses from various sources, visiting destination, search criteria, and other interests. From this information, I can have a deeper understanding of the visiting habits of my visitors and identify their search interest. To date, I have identified some spammers and reported them.

I am amazed how information forensics investigation helps me in SEO. If you would like more information about SEO or ISAS services, please visit here.

Safari 3

November 20th, 2007 at 0:20 · Filed Under Computing, Mac OS X, Web · Comment 

I updated to Safari 3 two days ago. It is included in the free 10.4.11 (Tiger) software update. Although it is still in Beta, it is already usable and it has got many features which I like.

  • Movable tabs - It is sometime a need to rearrange the tabs according to the tasks I am working with on the browser. When I was too tangled up with web projects and web browsing, I used to like Firefox as it allows to rearrange tabs.
  • Reopen all windows from last session - This is another handy features which you can reopen web pages where you left off after say, you accidentally closed the browser. Again, I don’t need Firefox anymore.

Rendering of Chinese characters on Safari is the most superb. No web browser can beat Safari. This is another great reason why I still stick with Safari.

MySQL server down

October 27th, 2007 at 14:15 · Filed Under Blogging, Business, Computing, Web · Comment 

I’ve recently experienced a frequent downtime of MySQL server at my WHP. It was down twice in a day yesterday and thrice in this month. Apparently, I think some processes had overloaded the server and brought it down.

I contacted the tech support of my WHP and they were able to bring the server up in less than 15 minutes. They have done a great job.

Yesterday, I wrote a message to Fathi Said, CEO of IX Web Hosting informing of the downtime I have experienced and my concerns. This morning, I received a call from Chris Bingham, the Customers Relation Manager. He offered me to move my hosting account to another server hopefully that will solve the problem while their technical support will fox out what has been overloading my current server. So, expect my sites will be down for a few hours during the moving exercise.

This is the greatest support I ever had amongst the WHP I had hosted with. I will recommend IX Web Hosting if you are looking for a web host.

Looking for a home based business?

October 27th, 2007 at 14:00 · Filed Under Blogging, Business, Finance, General, Marketing, Social, Technology, Web · Comment 

Have you noticed your neighbor and your friend’s husband do not need to go out to work? Do you ever admire them having their own home based business? Well, if you do and you don’t know how to get started, here’s a good tip for starting your first home based business.

The Internet has opened up a whole new dimension in our lives. We are able to communicate face to face looking at each other across continents, able to share information with a click of the mouse and etc. Many people has turn home based in this century to conserve earth resources like gas, time and to reduce company expenses. Many businesses also go home based to minimized operating expenditure.

Many people like to have home based business because of minimal capital involvement, flexible working hours, don’t need to meet clients, business across countries’ borders, and you are the boss! Just to name a few. The benefits of having your own Internet home based business have no limits. It is time to discover yourself the benefits of home based business.

What kind of business is good to start you off?

How about phone card affiliate program? USPrepaid.com offers you an attractive package to start you off with a website of your own domain name. Sign up is very simple:

  1. Think of a catchy unique .COM domain name.
  2. Sign up at USPrepaid.com.
  3. Setup your website.
  4. USPrepaid will provide you some training.
  5. Market your site.

USPrepaid offers over 850 phone card brands with commissions up to 50% but mostly about 22%. Your operating expenses are the $74.95 one-time setup fee and monthly subscription fee of $19.95. There is minimum risk as you don’t have to pay a huge capital upfront. When you have made some sales, your commissions will be paid with cheque. But if you are not residing in the U.S., your commissions will be paid in the form of traveler’s cheque (in U.S. Dollar) via Fedex.

USPrepaid will provide you training for setting up your site, checking inventory, sales and profit; selecting products and setting up prices and all you need to run your Internet home based business. USPrepaid will also design your website and it will be up within 72 hours!

If you are thinking of starting up a low cost home based business with minimum risk, USPrepaid’s phone card affiliate program will be a good start for you.

Kazehakase - The Web Browser

October 24th, 2007 at 23:37 · Filed Under Blogging, Computing, Web · Comment 

Kazehakase (風博士) is a web browser created for Unix-liked system with Gtk+2 libraries and is heavily based on Gecko rendering engine.

It supports multiple tabs, RSS and periodical auto update which is useful for monitoring come websites without AJAX.

The web browser is named after the short story Kazehakase by Japanese author Sakaguchi Ango.

Mobile Marketing

October 19th, 2007 at 13:24 · Filed Under Blogging, Business, General, Marketing, Shopping, Social, Technology, Web · 2 Comments 

Have you ever received a SMS or MMS for marketing some products or services on your mobile phone? I have received many recently. Many are not local origin.

Technologies such as Internet and mobile phone services such as MMS and 3G have opened up a whole new dimension of marketing channel to businesses and corporation. A new marketing strategy called mobile marketing is increasingly becoming the most popular marketing tools. Businesses can deliver marketing content directly to the palm of targeted consumers.

A survey has found that more brands are ready to spend larger proportion of their marketing budget on mobile campaigns in the very near future. About 71% have projected to spend more than 10% of their marketing budget in mobile marketing campaigns in the next 2 years. The survey have also indicated about 10% of consumers receiving SMS marketing have requested for more information on products and services grew from 32% in 2006 to 58% in 2007. More survey details can be found here.

How do you perform mobile marketing? First, you need to have mobile marketing software. GoLive! Concierge is a industry leader in mobile campaigns management suite. Setting up your campaigns with the software is fairly easy. You can provide services such as: subscription, ring tones and wallpapers download, SMS voting, Text-To-Win, reminders, polling, auction, chat and much more; to your targeted recipients.

GoLive! Mobile is also having an in-house design team to provide your company WAP Site Design or Mobile Website Design. You can host your content with GoLive! Mobile’s WAP Site Hosting or Mobile Website Hosting plan. If you are looking for a complete suite mobile marketing products and services, GoLive! Mobile is the right place to look into.

Database Restored

October 19th, 2007 at 13:07 · Filed Under Blogging, Computing, Web · Comment 

I don’t exactly know for sure but all my WordPress databases were having some hiccups. When I visited all my sites, it displayed “WordPress database error: [got error 28 from storage engine]“.

That sounded like some kind of storage error. Have I run out of disk space? Nope. I am only using 200+MB of disk space out of 400GB of total disk space. A search on the web had suggested that a MySQL database problem had occurred. MySQL can become overburdened after many long hard days of fetching and editing tables and created overhead. This is like having defragmentation of hard disk space. Data stored in this defragmented space is no longer continuos.

I quickly followed the repair instruction found on Paul Stamatiou’s blog. Unfortunately, I could not start phpMyAdmin either. It gave me some error messages. From the error messages, it look like I had run out of disk space on /tmp. I was helpless so I turned to my WSP.

Andrey, the support of my WSP, and the administrators had done a great job. They fixed my problem under 15 minutes while I was interacting with Andrey. This is, perhaps, my best experience with all the WSP so far. I hope they keep up with their good work. Two thumbs up for them.

New Look

October 16th, 2007 at 10:28 · Filed Under Blogging, Web · 5 Comments 

It has been a year since I used Water theme. I really like its clean page layout and particularly the blue water graphic. But I think it is enough for the theme which has served my blog for over a year now.

I came across Cutline theme, another clean page layout with 3 columns. One thing I prefer Cutline over Water is Cutline has bigger text, good with my Hyperopia (farsightedness). I know most modern web browsers allow increasing/decresing the font size. I rarely use it because I find it cumbersome and sometime does not work well with some web page layout.

I also upgraded WordPress to 2.3 and most of the plugins. Before I did the upgrading, I did not realize how big my blog was, but still not too big enough comparing to others.

I got a theme, so to speak. And I need to think of a new blog title that reflects my weblog - “The Eccentric Logic of An Eclectic Mind”. Meaning the unconventional (or unusual or odd) way of logical reasoning of a mind made up of or combining elements from a variety of sources which best describes my blog.

Website for business

October 8th, 2007 at 9:42 · Filed Under Blogging, Business, Marketing, Technology, Web · Comment 

Many people are still having the wrong idea of having a website for their business. They know a website can be accessed from anywhere in the world as long as one has an Internet connection. They assume by having a website, it can generate business for them like a snap of their fingers.

Having a website involves many processes:

  1. Web design - involve many interviews and literature study of the company history, products and services, customer care, business strategies and a lot more. This also includes choosing a suitable theme for the company.
  2. Search engine submission - Once the website is up and online, the url has to be submitted to search engine with keywords for indexing. This is a huge job as there are thousands of search engines out there.
  3. Online marketing - Having indexed by search engines is not enough. It is still like a sitting duck. You need to have online marketing to spread your web presence.
  4. Lead generation - You need to attract visitors interested in your products and services to your website.

You need a complete package of small business web design. At Website Pros, they provide everything you need from making your website from scratch to online marketing and lead generation at a very affordable small fee. Website Pros offers All-In-One-Package for a small starter business. Or you can choose Signature series which offer custom designs that includes Flash graphics.

They have very creative minds in web design. Their designers are also very patient with clients who have absolutely no knowledge of how website works. Their professionalism guides you through every steps of design requirements all the way to the end. It is risk free for All-In-One-Package because there is no contract and no setup fees required. Perfect for a small starter business who knows absolutely nothing about website.

Safari vs. Firefox

October 7th, 2007 at 15:10 · Filed Under Computing, Mac OS X, Web · 5 Comments 

Last November I blogged about Firefox 2 here. I love Firefox but it is too buggy and slow in execution. Safari remains as my main choice of web browser. When inputting Chinese character, I will definitely for sure to use Safari. Its Chinese support is superb compared to Firefox. In Firefox, some of the Chinese characters cannot be displayed properly. Safari now supports inline spell checking. Although, I still use Firefox once in a while for some reasons, Safari remains my favorite web browser.

Notebook computer batteries lifecycle

September 26th, 2007 at 22:40 · Filed Under Computing, General, Web · Comment 

I have heard from many vendors giving all sort of statement on how to care for your notebook computer or cellphone batteries. I have also searched the web and found countless number of articles about batteries.

One discovery I found out recently was when I acquired a new Apple MacBook two months ago. I installed a widget called iStat Pro.

At one of the section, I noticed an information about charge cycles. Whenever, I charged my MacBook’s battery, the charge cycle will increase by one. It will increase even though if I plugin external power for 1 second.

During charging, the positive active material is oxidized, producing electrons and the negative active material is reduced, consuming electrons. Every charge cycle will oxidize and reduce the positive and negative electrodes respectively in the battery. This is the cause of the degrading of the battery health. To maximize your battery health:

  1. Make sure your battery is fully discharged before begin charging again.
  2. Make sure your battery is fully charged before unplugging your charger.
  3. If you plan to use your notebook computer for a long time, make sure computer is connected to external power source even though the battery is fully charged. The charger in most modern equipment such as Apple MacBook has intelligent charger. It will stop charging when the battery is fully charged.
  4. If you plan to use your notebook computer for extended long period of time, charge your battery to full and unplug it from your computer and work with external power source.
  5. If you plan not to use your notebook computer for a long time (more than a day), charge your battery to full and power down. Do not put your notebook computer to sleep or hibernation. When the computer is sleeping or hibernating, it withdraw power from its battery to preserve the contents of its memory. The battery power will be drained off in a few days time.

Server-Push JPEG Stream

September 13th, 2007 at 23:46 · Filed Under Ada, Call Me a Geek, Computing, Hacking, Mac OS X, Software Development, Web · 6 Comments 

I am working on a video server project since last week. This project is to develop a client software running on Mac OS X to control a video server and to retrieve streams of JPEG images from it. And of course, I am going to develop with Ada together with AWS (Ada Web Server).

Up to this point, I am able to connect to the video server with AWS and retrieve a stream of JPEG images from the video server. I have been able to manually extract JPEG images from the stream identified by SOI (0xFFD8) and EOI (0xFFD9). But some of the images extracted from the stream are not recognized as JPEG file while some images appeared to be corrupted. I am totally puzzled by this behavior.

Could it be the size of the stream buffer (512 bytes) causing the corruption? Could it be the output of the received stream to a disk file delay the receiving process?

Here’s a snip of my Ada code:


     ...
     Data         : Ada.Streams.Stream_Element_Array (1 .. 512);
     ...
     loop
        AWS.CLient.Read_Some (Connection, Data, Offset);
        exit when Offset < Data'First or Count > 512_000;
        Ada.Streams.Stream_IO.Write (File_Handler, Data);
        Count := Count + Integer (Offset);
     end loop;
     ...

It is quite fun spending entire day hacking the server-push stream and the JPEG images. It has been a long time since my last hacking. Welcome back to the reality!

Scarce resources on AWS with Ajax

March 17th, 2007 at 14:04 · Filed Under Ada, Software Development, Web · Comment 

Although AWS comes with some demo codes, I find it insufficient to learn using AWS to develop an Ajax web application. Due to the scarce resources on using AWS with Ajax, I’ve been trying to understand the working mechanism between AWS and Ajax.

To build a knowledge base in myself about developing a web application using AWS and Ajax is challenging. To use AWS with Ajax, I need also to learn/use XML/Ada. I’ve played around with XML for a while, mainly hacking into data saved in XML format by some Mac OS X applications.

XML is Extensible Markup Language. This is a format used to organize text files into tags and associated set of values. XML/Ada is a collection of simple modules that provide manipulation of XML streams.

In an Ajax (or Reverse Ajax) capable web application, data streams are packaged and sent in XML format, for example:


<client_info>
   <name>Acme Corporation</name>
   <id>ACME</id>
</client_info>

A JavaScript will interpret and read the corresponding tags and associated values after the web page has received the package.

Reverse Ajax

March 17th, 2007 at 12:28 · Filed Under Ada, Software Development, Web · Comment 

Since my new job at Singo Solutions, I’ve been reading about Ajax and Reverse Ajax. My development project requires the use of Ada, AWS and Ajax to build a web application with real-time data display and better user-browser interaction. See my earlier post about Developing web applications with AWS. Ajax was a term new to me. I had not bothered to read about Ajax and JavaScript before I joined Singo Solutions.

What is Ajax? Ajax is an acronym for Asynchronous Javascript And XML. The conjunction was injected into the acronym to spice up and to make pronunciation easier. Ajax is not a technology. It is a web programming technique to develop interactive web applications using combination of technologies such as JavaScript (JS), XML, DOM and XHTML. Ajax makes the web page to exchange a small amount of data with the server behind the scene, so that the entire web page will not have to be refreshed each time the user requests a change. With this technique, information can be displayed on web page in real-time without user’s intervention or a web page reload.

What is Reverse Ajax? Reverse Ajax is just different from Ajax, as reverse Ajax is a compounding technologies for pushing data from a server to a client. These technologies include COMET or PiggyBack and Polling, and, of course, Ajax.

Ajax keeps alive a connection between a server and a client and send data to the client. In another words, the server will contact the client when data need to be sent (without Ajax, the client will have to contact the server in order the data can be sent from the server to the client). The problem is that some web servers can’t easily contact web browsers. One thing for sure, the firewalls will get in the way.

Comet, or long-lived http or slow load technique, keeps the communication between a server and a client open. This technique actually have a client to send a request to the server and also allows the server starts replying to the request, slowly, extremely slowly but the reply actually never finish. This permits the server to keep the communications channel open to pass down additional information when the time comes. The closest comparison to this technique is server push.

Reverse Ajax makes the browser to send requests in the background to the server and receive responses/data from the server without the intervention of user.

To use both Ajax and Reverse Ajax, I need to use JS in web templates although the web application (server) is developed with Ada and AWS. I am starting a love/hate relationship with JS.

Building wget for Mac OS X

March 5th, 2007 at 10:56 · Filed Under Computing, Mac OS X, Web · Comment 

wget is a very useful utility. It can retrieve files from the web using http or ftp protocols. Unfortunately, it does not come natively in Mac OS X. I had occassionally tried to use wget to download some html pages from some websites a few months ago but wget just wasn’t there. I was kind of lazy to download and compile the source until today, when I needed to download some 50 files from a website. I needed wget badly.

It took me not more than 5 minutes to download, build and install. I downloaded the latest and stable version 1.10.2 on Mac OS X 10.4.8.

  1. Download the source from http://ftp.gnu.org/gnu/wget/
  2. Unpack the tarball tar xzvf wget-1.10.2.tar.gz
  3. This creates a director wget-1.10.2. Change the working directory to it: cd wget-1.10.2
  4. Configure the build: ./configure
  5. Build: make
  6. Install: sudo make install
  7. wget should now be in /usr/local/bin

Developing web applications with AWS

February 24th, 2007 at 15:20 · Filed Under Ada, Software Development, Web · 1 Comment 

What is AWS? AWS or Ada Web Server is a complete web application framework written completely in Ada and allows development of application with an embedded web server. The application is self-contained with an embedded server. That means, the application is also a web application that can be controlled and manipulated using any web browsers on any clients that connect to it. And more, you don’t need any web server like Apache anymore.

My current job involving developing a web application using Ada and AWS only and there will be Ajax using server push technology in AWS. I was developing some web applications using AdaCGI. One drawback about using AdaCGI is that if there is a minor format changes in the html code, the entire application needs to be re-compiled again.

I was not totally familiar with AWS before I joined the US-based company but I was familiar already working with mails using AWS with the SMTP and POP protocol. I am beginning to understand the mechanism of the http protocol in AWS and I hope to write about this with more details in near future. I am beginning to love this job already and I believe I will be busy in the mud hole mingling with Ada, AWS and Ajax.

Web presence for Shorin-ryu Seibukan Melaka

November 13th, 2006 at 14:26 · Filed Under Karate, Web · Comment 

Just 10 minutes ago, I’ve started the web presence for Shorin-ryu Seibukan Melaka dojo. Please visit http://melaka.seibukan.org.my for more information about the authentic Shorin-ryu Seibukan Karate-do in Melaka and training classes.

Next Page »

Viagra (sildenafil) approval buy viagra mastercard
Cheap prices & Fast delivery if you have never heard of Viagra will not make your penis grow any larger buy viagra pills
Levitra verses viagra did you hear about erectile dysfunction ed cheap generic viagra.