eEcho blog

A journey of a thousand miles starts with a single step.

Causes of InnoDB corruption

InnoDB is generally pretty robust. It is built to be reliable, and it has a lot of built-in
sanity checks to prevent, find, and fix corrupted data—much more so than some
other storage engines. However, it can’t protect itself against everything.
At a minimum, InnoDB relies on unbuffered I/O calls and fsync( ) calls not return-
ing until the […]

Backup and Recovery Mysql

• Backups come first. You can’t recover unless you’ve first backed up, so your
attention naturally focuses on backups when building a system. It’s important to
counter this tendency by planning for recovery first. In fact, you shouldn’t build
your backup systems until you figure out your recovery requirements.
• Backups are routine. […]

Finding Bottlenecks: Benchmarking and Profiling Mysql

In other words, benchmarking answers the question
“How well does this perform?” and profiling answers the question “Why does it per-
form the way it does?”
[…]

python ssh

I have research on how to access ssh using python:
1. Twisted - an event-driven networking engine written in Python.
2. Paramiko - implements the SSH2 protocol for secure connections to remote machines.
3. Pexpect - spawn a child application and control it as if a human were typing […]

Pexpect

Pexpect is a Python module for spawning child applications and controlling
them automatically. Pexpect can be used for automating interactive applications
such as ssh, ftp, passwd, telnet, etc. It can be used to a automate setup
scripts for duplicating software package installations on different servers. It
can be used for automated software testing. Pexpect is in the spirit of […]

MySQL Architecture

To get the most from MySQL, you need to understand its design so that you can
work with it, not against it. MySQL is flexible in many ways.
MySQL’s most unusual and important feature is its storage-engine
architecture, whose design separates […]

MySQL style guide

SQL style guide

Style guide background

This style guide describes how you should name and design the database for you
application module.
The base idea behind all this is to improve the usability, performance, maintainance
and understandability of you database part and application.
This guide tries to be database independent. So using it should make your scheme more
portable to different dbms.

Naming […]

Applicatie Design GWT

Design and implementation steps:
- Drawing with required application, pages on paper
- Studying functional requirements. Make a list of demands and goals (very important because the aim is not exactly project will not succeed)
- Drawing in GIMP’s answer to the question “how should it look?”
- Document “Widget selection” which will provide […]

speedtest

http://www.speedtest.nl/TestSuite/TestController.asp?TestTypeID=,3, Download, Upload , Connection

vi / vim show line number command

To display line numbers along the left side of a window, type any one of the following:
:set number
or
:set nu

Ubuntu Default Root Password or the sudo way

The first time I installed Ubuntu on a computer, I was rather used to debian and went through the whole install process easily.
When I rebooted my system and open a text-console, my first action was to su - in order to gain root’s grants. What a surprise when I was promted for a password. Damn, […]

smoothgallery

http://smoothgallery.jondesign.net/what/
Using mootools v1.11, this javascript gallery and slideshow system allows you to have simple and smooth (cross-fading…) image galleries, slideshows, showcases and other cool stuff on your website…

How To Prevent Hotlinking

http://riteturnonly.com/2009/04/05/how-to-prevent-hotlinking/
5 April 2009 under WordPress
Hotlinking otherwise known as bandwidth stealing refers to the practice of directly linking to non-html objects on another server. This may be any number of things but most often involves image files. Why some people engage in this practice is beyond me but I assume many of the times it is […]

RST to Google wiki

http://code.google.com/p/wikir/
* Summary
* Installation
* How Much reStructuredText Is Supported?
* Using Wikir In Your Project
o The publish_wiki Command
o Publishing RST To […]

Auto-Completion Textbox GWT

Alternatively, you can create your own implementation of CompletionItems interface (see below) to get a list of items using RPC.
Updated 05/27/06. New version is up. Now with AutoCompleteTextArea.
Please leave your questions or comments here.
Source code:
CompletionItems.java:
/*
Auto-Completion Textbox for GWT
Copyright (C) 2006 Oliver Albers http://gwt.components.googlepages.com/
This library is free software; you can redistribute it and/or
modify it under […]

indent / dedent vim

Visual mode
to indent/dedent a line then ‘’.
Indentation can be done more quickly
during insert mode with CTRL-T (indent) and CTRL-D (dedent).

Introduction to Docutils


docutils links

http://docutils.sourceforge.net/docs/user/rst/quickref.html
To install reStructuredText, install docutils:
$ easy_install docutils
You will get a set of scripts starting with rst2, to be able to render reST in
various formats.

http://meyerweb.com/eric/tools/s5 […]

The Ubuntu Launchpad

Launchpad is a platform for developing free software. Ironically, it is also a proprietary
platform—one of the ways Canonical makes money. Launchpad provides services to
people and companies who develop their own Linux distributions based on Ubuntu.
There are over 800 Launchpad projects, all of which […]

Ubuntu project development milestones

Debian import freeze Prior to this milestone, new packages are frequently

imported from the Debian GNU/Linux unstable (development) repository.
Feature freeze At this point, developers stop introducing new features and

focus on bug fixes.
User interface freeze Changes to the look, feel, and functionality of the GUI

and […]