Author Archives: invtr

InnoDB vs MyISAM

Set the DB to InnoDB instead of MyISAM

MYISAM:

MYISAM supports Table-level Locking
MyISAM designed for need of speed
MyISAM does not support foreign keys hence we call MySQL with MYISAM is DBMS
MyISAM stores its tables, data and indexes in diskspace using separate three different files. (tablename.FRM, tablename.MYD, tablename.MYI)
MYISAM not supports transaction. You cannot commit and rollback with MYISAM. Once you issue a command it’s done.
MYISAM supports fulltext search
You can use MyISAM, if the table is more static with lots of select and less update and delete.
INNODB:

InnoDB supports Row-level Locking
InnoDB designed for maximum performance when processing high volume of data
InnoDB support foreign keys hence we call MySQL with InnoDB is RDBMS
InnoDB stores its tables and indexes in a tablespace
InnoDB supports transaction. You can commit and rollback with InnoDB

HTML 5

1
2
3
4
5
6
7
1. <input type="text" placeholder="Your name here" /> (auto-focus, with place holder and required field)
2. Number: <input max="5" min="0" type="number" /> 
3. Email: <input required="" type="email" /> - validation on email upon form submission
4. Range: <input max="10" min="0" step="1" type="range" value="5" />
5. Date: <input type="date" /> (also available type datetime, time, week, month)
6. URL: <input type="url" /> (on phone - no space bar on keypad)
7. Color: <input type="color" />

Output

1. (auto-focus, with place holder and required field)
2. Number:
3. Email: – validation on email upon form submission
4. Range:
5. Date:
6. URL: (on iPhone – no space bar on keypad)
7. Color:

Validation only works on submission (click on submit button)

Use modernizr to detect and automatically correct non-supported browsers

Good support service

Information Technology is popular as a service industry. The support is the most important activity.

Some of important practice on email support.

  1. Reply promptly. Not 2 days after or ignore it.
  2. If cannot settle issue immediately, give some estimation when to revert
  3. Use short and simple words. Can save time and also can avoid grammar mistakes
  4. Whenever possible, use numbering or bullet to show separation of points

A simple email reminder

Usually I used to use Google Calendar to set an event and reminder to the event. But there are features that are unnecessary that make things a bit complicated.

I found a simpler reminder application that is much easier to set up and just serve the purpose (to send an email reminder for an event)

Check it out –>  remindr.me

Using wordpress as wiki

In an organization, there are information that are important enough to be documented. As a reference for all the members in the future.

I’ve tried several wiki applications and most of them are not friendly enough. So I decided to move to wordpress as a wiki alternative. To sort content by “category”, to have “page” as static information and “post” for other findings and on-going updates.

With the search function, it is very helpful to find any information within the ‘wiki’.

Template

  • MyWiki
    • create a page and set template for the page follow “Wiki Template”
    • then set the page created as “static page” in Appearance > Customize

Plugins used

  • manage user access –  user access manager
  • file upload
  • file view (esp attachment like image and pdf)

Settings

  • disable comment features
    • Settings > Discussion > Untick “Allow comments on new articles”
  • set permalink
    • Settings > Permalinks > Choose “Post Name”