How to make your own tissue box

Getting bored with the simple tissue boxes, here is how to make one of your own. The trick is all about drawing a tissue box outline, and use your toothbrush as your painting tool. I recommend you to work with water color. Mix the color as you like, cover the area with your toothbrush spreying techniques. Thats it! now you have your own cool tissue box. cake isn’t it? 🙂

How to use markers

Have you ever wonder how they come up with a colorful in most of cartoon books? There is a technique of how to draw them. The picture above is one of my portfolio shows you that I can draw exactly like the cartoon cover by using markers. The trick is that you need to work with gray shading markers. It looks like a poster color but its much easier to work on small details and user friendly.

Why Thread?

Here is a quick brief about a concept of thread. Thread is a light weight process, it takes less time to create, context switch or destroy thread than a process. We want simultaneous activities for a better interraction with a user or take advantages of multi-processors to archieve a maximum system resourse utilization.

For instance, in word processor, one thread responses for I/O, while another is doing a grammar check. Now, lets take a look at a simple JAVA program to see how the thread create, run, and how threads assignment work in JAVA.


public class thread extends Thread{
public void run() {
for(int i = 0; i < 10; i++) {
System.out.println("Child thread " + i);
}
}

public static void main(String[] args) {
thread t = new thread();
t.start();

for(int i = 0; i < 10; i++) {
System.out.println("Parent thread " + i);
}
}// end main
}// end class thread

In the code above, we created two threads. When the new thread create, it will go to the run() method and do the job, so we can see from the output from the program that there will be two threads execute concurrently.

program output:

Parent thread 0
Parent thread 1
Child thread 0
Parent thread 2
Child thread 1
Parent thread 3
Child thread 2
Parent thread 4
Child thread 3
Parent thread 5
Child thread 4
Parent thread 6
Child thread 5
Parent thread 7
Child thread 6
Parent thread 8
Child thread 7
Parent thread 9
Child thread 8
Child thread 9

Cross Compiler – How to

For those who want to test your program on different architectures. For example, you are having i386 but want to compile and execute on alpha, arm, i686, mips and so on. Most of the crosstool available on the internet are out of dated. Here is easy setup for cross compiler.

I am running Fedora on my virtual machine and I am using the tool from kegel.com

[1] Download and unpackwget http://kegel.com/crosstool/crosstool-0.43.tar.gztar -xzvf crosstool-0.43.tar.gzcd crosstool-0.43

[2] No TLS: edit the demo-alpha.sh unrem eval ‘cat alpha.dat gcc-4.1.0-glibc-2.3.5.dat’ sh all.sh –notest

[3] Static Link : edit crosstool.sh like this http://sources.redhat.com/ml/crossgcc/2005-07/msg00153.html

[4] As root:mkdir /opt/crosstoolchown $USER /opt/crosstool

[5] sh demo-alpha.sh [6]Running GCC: edit you $PATH or compile from /opt/croostool/….