Looking at alternative computer software solutions for a variety of reasons. This includes price, computer security, virus prevention and reliability.
Here are my notes and great that if it helps you, otherwise please understand what you are doing and not follow blindly.
All works expressed are my own and does not necessarily express the products or organisations mentioned here.

Wednesday, October 16, 2013

If anyone have been said to implement SCORM 2004 engine, its never been highly compliant and Moodle is no exception. On Oct 2004, Moodle has officially abandoned further development of its SCORM 2004 engine. Details of its SCORM module can be found athttp://docs.moodle.org/24/en/SCORM_moduleSurely lots of users will be in the lost or may drop SCORM development. Moodle News suggest the use of Tin Can SCORM for future development of learning objects. Moodle site suggest use of the SCORM cloud from Rustici Software where the SCORM Cloud plugin is free, but not the account.

Wednesday, September 18, 2013

Log files in Linux can be managed via the logrotate command (See man pages). If the log files start growing too big, it can be difficult to audit these log files.

Here is an example to create a new log file each week as the weekly cron (See man pages) service runs.

Following is an example where the cakephp application is installed. It will create a new file each week for 52 times before deleting the oldest file. Each file will be appended with a running number starting with "1". If the log file is missing, no errors will be printed/emailed and nothing will be done if the log file is empty.

Step 1: Create the configuration file

Create the file /etc/logrotate.d/cakephp with permission 644 (owned by root) and following contents;

Monday, September 2, 2013

A sudden change in policy at Maxis, one of the main telco in Malaysia or is it just my network problem?

Either way, last Aug 2013, Maxis customer support just informed me to use Internet Explorer (IE) or they can help email my bills. They tried, but the bill never arrived.

Now in September, I still can't login to get my bills using Chrome or Firefox. But wait, I see an additional notice at their portal....interesting. I added a text bubble.

I guess they are expecting me to call them for help on my bills.

2 Sept. Just spoke to customer service. Seems their Firefox is able to login and the Firefox version 23.0.1 that I am using not current enough. Huh? Is there a newer version since as of today?

On Firefox version 23.0.1, have disabled pop-up blocker, block reported attack sites/web forgeries, nothing happens when I click the "login" button. Ran IE (finally) and the login button works. Still not working on Google Chrome and Firefox.

Wednesday, August 14, 2013

Here is the very basic steps to use a template model in a PhoneGap application. I won't be going in details in this note.
"Those attending the PhoneGap class should incorporate the database as a practice. Thank you"

Application Name: Hello World (This is the name that will appear in the Play Store)
Project Name: HelloWorld (This is the name used by Eclipse to separate each project)
Package Name: com.example.HelloWorld

Select the default option for the remainder screens.

Step 2: Insert the Android/PhoneGap Libraries
In the project, left click on assets and create a new folder: www

Open the extracted PhoneGap/lib/android folder and do the following;

Copy PhoneGap/lib/android/cordova.js to Project's assets/www folder

Copy PhoneGap/lib/android/cordova-2.9.0.jar to Project's libs folder

Copy PhoneGap/lib/android/xml folder to Project's res folder

In the Project's lib/cordova-2.9.0.jar right click and choose Build Path ->Add to Build Path

Step 3: Create the starting page

In assets/www folder, create the text file index.html with following contents

Thursday, August 1, 2013

Why would I want to have the Android Emulator? Well, I needed to test several custom Android Packages and also develop apps for Android. This meant, I could keep testing the Android Packages without having to install on a physical Android phone such as the Sony Ericsson X10 or Samsung S3.

I have written on this topic for Centos 64bits, before and seems like it still depends on 32bit libraries:

Step 2: Install the Android SDK and ADT
Get the latest Android ADT from the Android Developer site or use following:
wget http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20130729.zip

This will provide us with (Size if 440MB):

Eclipse + ADT plugin

Android SDK Tools

Android Platform-tools

The latest Android platform

The latest Android system image for the emulator

Note: If you are in Malaysia and cant download because of Internet problem (Some day this will improve) and really have no other way of getting the ADT and JDK for Centos 6 64bits, just email me your contact details (e.g. address) and we can work something out.

Adding additional source of packages (software) for Centos will greatly reduce the need to recompile OSS packages. Epel provides open source software that is free for use. This includes clamav, atop, cacti,

Friday, June 7, 2013

One of the widely used WYSWIG for web forms is called TinyMCE. Currently it is at version 3.5.8 and version 4.0 is in Beta. Licensed as LGPL, it is available for download freely from tinymce.com website.

Tuesday, April 30, 2013

Tables in Moodle 2 will tend to have this issue where users just can't get the grid lines to appear. Another description for this, is the border lines appear during editing, but is not displayed when it is saved and viewed as a normal content page.

The misleading choice was to right click and edit using "Table properties". Did not work in what ever combination that was made.

Following are steps that can be taken when creating a standard table from scratch in Moodle.

Step 1: Right click on the existing table. Choose Cell ->Table cell properties.
It does look like we are changing one cell, but bear with me to get this applied to the whole table.

Friday, April 19, 2013

Cloud is a big thing these last few months. Just to clear some terms that is of interest and where even so called IT experts are not able to agree on. This means, that its my personal view based on resources published by industry experts.

3 items are of interest. The first, is naming of a cloud based on its deployment. Second, clouds can further be classified based on services it provide to users. And lastly, a case study. Think of your plan to build a cloud and how it would be shaped.

A) A cloud is named based on its location or deployment.

Public - Applications, storage and services made available to the general public for free or for a fee.

Private - For a single organisation and decisions made centrally on resources.

Community - Shared infrastructure having several organisation with specific interest that is managed internally or by a 3rd party.

Hybrid - Combination of either Public, Private or Community, or all three.

B) A cloud can then be named based on its services.

IaaS (Infrastructure-as-a-Service)

Users install own operating system and maintain its own patches, IP addresses. - Rackspace, Amazon EC2.

Users can leverage resources to sell as a service provider to their clients.

C) A case study

How would you shape a cloud based on above (A) and (B) for following situation?

Lets say a government wants to setup a TeleHealth cloud. It allows any application for hospitals, clinics and government. Some of these applications are built and some bought. Geographically users are very dispersed throughout the country.

A) Community

Why? Organisations apart from the Ministry of Health, clinics and hospitals would also include 3rd party resources for pharmaceutical, research, assets, payments.

B) PaaS

By providing one or two standard platforms, all development can be better managed. Deployed applications can be made to meet security and other standards set.

Tuesday, March 5, 2013

The JDBC drivers is provided through the current Connector/J 5.1. This is a type 4 driver and works for MySQL 4.1, 5.0, 5.1, 5.5. MySQL reference for the driver can be found at http://docs.oracle.com/cd/E19957-01/mysql-refman-6.0/connectors-apis.html#connector-j-versions

Step 1. Ensure JDK 1.6 or 1.7 is already installed.
At the command prompt check the version, see below example where it was installed in C:\Program Files\Java\jre7

Step 3. Tell Java where to find the driver
Click on Start ->Control Panel ->System
On the left menu choose, Advanced system setting
Choose Environment variables, in the System variables box click on CLASSPATH and choose Edit.
At the end of the text box, append a semi colon followed by location and the name of the drivers, e.g.

;C:\Program Files\Java\jre7\lib\mysql-connector-java-5.1.19.jar

Choose Ok until all boxes are closed.
If you have any command prompt or Java application, they need to be restarted.

Monday, February 4, 2013

Update from Android 4.1.1 to 4.1.2 on Samsung S3 was straight forward. There were not many noticeable changes so I am listing what were the initial encounters;

Pull down Notification bar have 2 new buttons

AllShare cast - to share the screen with other S3 devices. Yet to get a chance to test it.

Multi window - Allow a menu on the left side of the screen to appear with a list of apps. Two of these apps can be dragged to the screen and viewed at the same time. One app appears at top half and the other at bottom half. Click the horizontal bar at the centre and there are options to switch both app locations or to use the full screen.

Pull down Notification bar doesn't have the Sync button - Looks like have to sync emails and calendars manually from the settings as the "Auto Sync" button is lost. If you really have the battery and want to leave the sync on, try editing Notification bar or follow this; Left button, choose "System settings" ->"Data Usage". Left button, choose "Auto sync data".

Edit buttons on Notification bar - Default install have omitted the Sync button, but it can be added back to the Notification bar. To add or remove buttons, Click the Menu button (Left button), Choose "System settings" ->"Display" ->"Notification Panel". Drag additional buttons from the Available Buttons bar into empty spaces in the Notification panel bar.

Keyboard includes a predictive feature that I could only disable when it appeared the first time I tried to use the keyboard. This include words from all the Facebook, ChatOn, social networking tools. I do not see the option to change the settings anywhere.

Chrome web browser is included. If you use Chrome on your desktop, and signed in, the same apps open and saved bookmarks can be seen on the S3.

The Gallery app provides 3 different views to show photos in an Album. In Gallery, choose the top right corner button to switch views.

Sunday, January 6, 2013

After installing Symfony 2.1 and going through the documentations, everything seems simple enough. To start developing an application from scratch, first create a project, next create a Bundle and start adding codes.

Several assumptions;

Installation was done as in my previous posting, including creating the project called mysymfony.

The Bundle is called HelloBundle in Sample. All Bundle names must end with the word Bundle.