Continues Integration (CI)

Published on June 28, 2010 by Amir Sedighi

Introduction This article have a quick overview of Continuous Integration, concepts and its current usage. “Continuous Integration is a software development practice where members of a team integrate their work frequently, usually each person integrates at least daily – leading to multiple integrations per day. Each integration is verified by an automated build (including test) [...]

Posted in Software Engineering

Finding in Linux – Part 2

Published on June 22, 2010 by Amir Sedighi

Find is the must powerful tool for seeking files or directories in Linux. Here I just used find in some samples. People almost learn better using samples. A famous man who I don’t remember his name told that “the example is not a major tool for learning people. It is the only one.” So have [...]

Posted in Linux

Sending tasks to background thread in cocoa with performSelectorInBackground

Published on June 22, 2010 by Kamran Vatanabadi

Download, open and run the following example, written in Xcode 3.2.2 and tested in Mac OS 10.6.4: Download simple multi thread example Ok, before describing how it works, let us see the application it selfs. It has 3 counters, the first from the left has red counter, if you push the “Start in main thread”, [...]

Posted in Cocoa/Objective-C

Finding in Linux – Part 1

Published on June 21, 2010 by Amir Sedighi

Introduction Having an acknowledge of Linux file system let to work better. Here is an introduction to Linux Filesystem Hierarchy Standard (FHS) and some samples of finding files commands. Linux Filesystem Hierarchy Standard (FHS) Linux or other UNIX®-like systems use a specific standard for categorizing and management Filesystem Hierarchy. This standard has definced as a [...]

Posted in Linux

Parsing Huge Text Files Using Java or Linux commands

Published on June 19, 2010 by Amir Sedighi

First Scenario: Using Java as programming Language A friend of mine and I decided to parse a huge size text file that consists some reports of legacy devices. After few times trying we got that, opening and parsing huge text files in Java is a pertty time and resource consuming. We started with a 35MB [...]

Posted in Java, Linux

Recover MySql root password

Published on June 19, 2010 by Seroj Alaverdian

In order to change MySql root Password in linux, you need to follow these simple steps: 1.Login as root to linux 2.Stop MySql server /etc/init.d/mysql stop 3.Start MySql safe mode with –skip-grant-tables so there will be no prompt for password /usr/bin/mysqld_safe –skip-grant-tables 4.Now login into MySql mysql -u root 5.Update password and flush privileges UPDATE [...]

Posted in Linux, MySQL

Loading UTF8 text data into a MySQL table

Published on June 16, 2010 by Kamran Vatanabadi

Even if you set the character set and collation of fields or table to UTF8 using simple “load data infile” command doesn’t import UTF8 texts correctly into the table. The solution is easy, you have to use “character set UTF8” after table name to instruct MySQL to consider this issue. For example the following command [...]

Posted in MySQL

Port Mapping in Linux

Published on June 15, 2010 by Amir Sedighi

If you used to setup web servers in windows 80 port easily, you will find that Linux needs a bit customization for using 80 port. Indeed, Linux has its own secured solution to let your web servers listen to the 80 port. In fact, you can not use the ports under 1024 for the individual [...]

Posted in Linux

Software Graduate Students in IRAN

Published on June 14, 2010 by Kamran Vatanabadi

We have hundreds of software graduate students each year in IRAN. Universities offer many engineering degrees like computer science, software engineering, computer architecture, IT engineering and … Although there are some differences between the students of different universities in aspect of university rank, but sharp and up to date students usually have no problem in [...]

Posted in Software Engineering

OSS Architecture (OSS Story)

Published on June 13, 2010 by Kamran Vatanabadi

We talked about the architecture of the legacy system in our ”Design of the legacy CRM” post and saw the problems our customer used to deal with just because of the system’s architecture and platforms. We decided to use the following architecture, let us have a look at it: Using web application model for businesses, [...]

Posted in OSS

« Older Entries

Categories

Archives