Monthly Archives: November 2008

How to test my system?

Here is a good video from Google  Testing Strategies Overview I believe that I don’t need to stress out how important testing is. So, lets cut the crap and talk about the challenging areas related to this subject. Here are the things I want to talk about Write your unit test first then code It [...]

Concurrent Programming – Part 1 Synchronization

Get yourself familiar with concurrency programming When I interview my candidates, I like to ask questions related to multi-threading. I found out that it is a good topic to differentiate out a hardcore programmer from application-oriented programmer. I am not saying I am looking for someone who could write the concurrency library as efficient as [...]

Our future – Cloud Computing

Cloud computing is a way to leverage the resources in the cloud (internet) instead of your local box. We may hear the term SaaS (software as a service) and HaaS (hardware as a service). They are combined moving us to an new generation of computing, called utility computing. You can imagine software and computing power [...]

Common DBA jobs

Export schema/ data out from mysql To export schema and/or data, you can use mysqldump command: mysqldump -u [username] -p[password] -d [schema_name] > [filename].sql -d means no data (just gives me the schema). -B is needed for multiple schema output -h (hostname) Export data out from postgresql Export table data from postgresql to csv format Backup [...]

Data representation

Data can be represented in text format for human and binary format for computer. Here my focus will be on text representation. For application, we commonly use XML because: Its self-documenting format describes structure and field names as well as specific values. And it is easily digested by both human and machine. It is platform-independent, [...]