Thursday, December 31, 2009

Entered In New Year

Happy New Year, it has been 59Min since new year....enjoy...wishing you all and ur family members a happy and prosperous new year...

Last Post In The Year 2009

We all are about to say good bye to 2009 and sweet welcome to 2010, and hope it brings more happiness in all of our life's.

Personally in my life, I am waiting for few things to happen, hope those are blessed in this year and off course coming years too.

About paintings, this days its like I couldn't get time for sitting, but from now I will be more concentrating on color mixing like giving the subject correct color, tone of the color, intensity of the color and hue of the color.

Wishing you a happy and prosperous new year...

Saturday, November 14, 2009

Drawing of Ganeshji


I have done lots of drawings and water painting but the one still I have is the one of Lord Ganeshji which I have done when I was studing my degree may be around 1998-99.

Monday, November 09, 2009

Completed with Nandus Portrait

Today I completed with Portrait of Nandu (yeah 2nd idiot).

Thursday, October 22, 2009

Second idiots painting underway


I think it will take 2 or 3 sittings more to complete Nandu's portrait. This was my 3rd sitting and it looks like this...

Sunday, October 18, 2009

Second idiots painting underway


Posting portrait of Nandu which is in progress.

Wednesday, October 07, 2009

My Barcode


The web is buzzing with barcodes, so thought I too would be a part of it and get me a barCode of mine. I used "Barcode Label Printer - Free Online Barcode Generator" at this site http://www.barcodesinc.com/generator/index.php to generate my own barCode.

Friday, October 02, 2009

Second idiots painting underway


Yesterday I start with portrait of Nandu, its underway. just wanted to post.

Saturday, August 01, 2009


I am working on portraits, trying to get tones. I am not up to there yet but yeah I have seen some improvement.

Sunday, July 19, 2009

Finished with first idiots painting :)


I am done with Sudhirs painting, its like just 2D effect as I was not able to give it the touch to be consider it as 3D, still to learn a lot. For the portraits I need to learn the color effects to bring the image as 3D, here I failed to do so, as such you can see that the face with no light is just as some what black, but actually should have been of dark brown (not exactly), anyways I will be working on the kid, mmm thinking of my sis to paint next, this one is not for any one but for me to learn.

Sunday, July 12, 2009

Knife painting


Just completed painting with knife, tried to get depthness but not upto the mark.

Sunday, June 28, 2009

mid-way through painting of 1 of the idiots


I started off with my life's first portrait, its of Sudhirs and I am almost there, a sort of mid-way. Took me nearly whole day to come up to there, but still I lack in giving it as a real picture, but yeah I know for sure I have learned things with this one and will be on to the next one, it will be of Nandu's, but his portrait will be in just blue, black and white shades.

Thursday, June 25, 2009

My Unfinished Painting



I started of with this paintings on 23Dec08, yeah they are not yet finished and are in the same state as of I left it then. I am not sure when it will be finished and as I am not a real artist like professionals, I do painting only when I get interest and so not sure when they will be finished :), mmmmm lets wait an see if I can finish with this one or not.

Recollecting my past painting which I used to do with water color, I have done birla temple painting in the past but then it was way back, I don't even remember to whom I have given the painting then, if its still there.

2 Idiots portraits


I have been given task by two idiots (off-course Sudhir and Nandu) to have there portraits been done. I have started off with Sudhir as I have a good pic of him, but Nandus mmmm still waiting for his good pic, I am not an portrait artist but trying out this will be a great experience. I have done the outline with pencil on 15" X 22" inch of Sudhirs. Will be starting on Nandu's when he will provide me with a good pic :)

Will be starting on giving it color, just thinking on how to give it!, I mean should I give it as usual skin color or should I go with a sort of creativity to give it a single color...it all depends on my mode when I start on it, until then...wait and see :)

Thursday, June 18, 2009

DOS/MAC to Liunx/Unix text file converter

This is a common problem if you work on linux/unix flavors and when you check out you find an shell script which is just an ascii file is not working, when you try to run it says "bash: ./mk.sh: /bin/sh^M: bad interpreter: No such file or directory"

Simple solution is to convert the text file (shell script) which is in DOS/MAC into LINUX/UNIX text format using "dos2unix" command. Need to run as "dos2unix "

Tuesday, June 16, 2009

Learning steps with "Jack Kolber"

Just completed with "Jack Kolber" tutorial, I am still learning things told by Jack and need to do a lot of work, thanks to him once again.

Monday, June 15, 2009

Learning steps with "Jack Kolber"

I was searching youtube for learning the technique used by the professional painters, who are real artists, I found one video at Oil Painting Lesson with Jack Kolber - Summer At The Lake its by "Jack Kolber".

I have started on it, its not yet complete and you can see the preview of my first layer of the painting.

This painting is dedicated to "Jack Kolber", Thanks Jack.

Tuesday, March 03, 2009

Printing "Hello World" with three different threads

Written a Java program which prints "Hello World" with three different threads ie first thread should print "Hello", second one " " (a space) and the third one should print "World". This three threads can start at any point but our program makes sure that the output is constant.

import java.util.ArrayList;
import java.util.List;

/**
* Program which prints "Hello World", "Hello", " ", and "World" are printed by different threads
* but should be in sequence of "Hello World"
*
* @author mpujari
*/
public class ThreadHelloWorld {

private static final int COUNT = 1000;

private static final String[] STRING_OUT = new String[] { "Hello", " ", "World" };

private static final List stringOutList = new ArrayList(COUNT);

private static class SimpleCountLock {
private int count;

SimpleCountLock(int count) {
this.count = count;
}

public int getCount() {
return count;
}

public void setCount(int count) {
this.count = count;
}

public void incrementCount() {
count++;
}
}

private static class PrinterThread implements Runnable {

private String msg;
private int priority;
private SimpleCountLock lockObj;

public PrinterThread(String msg, int priority, SimpleCountLock lockObj) {
this.msg = msg;
this.priority = priority;
this.lockObj = lockObj;
}

public void run() {
synchronized (lockObj) {
while (true) {
if (this.priority == lockObj.getCount()) {
// System.out.print(msg);
stringOutList.add(msg);

lockObj.incrementCount();
lockObj.notifyAll();
return;
}
try {
lockObj.wait();
} catch (InterruptedException e) {
e.printStackTrace();
}
}
}
}
}

public void doTest() {
SimpleCountLock lock = new SimpleCountLock(1);
for (int i = 0; i < COUNT; i++) {
lock.setCount(1);
Thread hello = new Thread(new PrinterThread(STRING_OUT[0], 1, lock));
Thread space = new Thread(new PrinterThread(STRING_OUT[1], 2, lock));
Thread world = new Thread(new PrinterThread(STRING_OUT[2], 3, lock));
Thread[] threads = new Thread[] { space, hello, world};
for (Thread thread : threads) {
thread.start();
}
for (Thread thread : threads) {
try {
thread.join();
} catch (InterruptedException e) {
e.printStackTrace();
}
}
}
}

public static void main(String[] args) {
ThreadHelloWorld helloWorld = new ThreadHelloWorld();
helloWorld.doTest();
// test the output
int count = 0;
for (String out : stringOutList) {
int mod = count++ % 3;
if (!STRING_OUT[mod].equals(out)) {
System.out.println("STRING_OUT[mod]:" + STRING_OUT[mod] + ", " + out);
throw new RuntimeException("Test failed");
}
}

System.out.println("Test was successfull");
}

}



Monday, February 23, 2009

Final touches to Boat in the dark

After 3 months of doing my "Boat in the dark" painting, yesterday I have given it a final touches ie I had varnished it :), looks great with a new layer of shine....
Need to varnish "The lazy puppy" and the "Sunshine".

Thursday, January 01, 2009

Another year starts

We are in to new year & hope this year brings happiness to all of us (hopefully). for me things are going on well work as well as hobby wise, right now 3 paintings r in progress from that one is hyderabad's birla temple (one of the icons of hyderabad) . Will be posting soon once completed :)