Archive for September, 2007

Fireworks PNG != what i need

Tuesday, September 25th, 2007

We can use fireworks from adobe(previously macromedia) to create and edit the images.
I love this tool because it needs what i want and bit more sleek than photoshop with easy batch processing support.

Fireworks saves the file in png format which contains all the infos like the layers effects and other add ons required by fireworks .Other programs like the one we write in JAVA or j2Me can show the files but it is not the file size that we need for j2me

Please don;t save the files from firewoks(in png format) it makes atleast 32 kb for a small image instead export it in png  format which will have size of 2 k.b without any other additional infos as layeres , path and effects but small size is what we want need in J2me

cravewood.com

Thursday, September 20th, 2007

I wish to make a shopping site and i got a domain cravewood.com from my fren Rupesh
I have started the basic design today here is the header of the page
i wish to complete this project and give a good lunch after this Dashin holidays
wish i could ……………….

Started Bagchal

Thursday, September 20th, 2007

I have started working on my mobile version of bagchal
right now i have just coded the framework for me to go ahead
I will be writing a single player version as in http://sajilo.com/ by end of october

I am planning to make this game a pear to pear using jsr 82 that is using bluetooth.

here are the snapshots of my progress

The icon

———————————this one here

The welcome screen
The welcome screen
and finally the drawing of the board

The board

I compleated the AI related to the Tiger and the goat now !
now i am searching for good images for goat and tiger

Today i added tabala music with bit rate 8 but the mobile device didn’t support
but when i changed the bit rate to 16 it works till now my gate size is 50 KB which means that my nokia 3300 is still able to play that game i will try my best not to exceed the jar size of the game more than 64 kb which is a limit of Nokia 40 series.

MMAPI partial support does not support mp3 .
I am not using any vender specific API so i am limited to little bit bulky wav

Net beans 6 beta

Wednesday, September 19th, 2007

Today i downloaded netbeans 6 beta release
net beans is becoming much more useful and powerful
till now i found following features in netbeans very cool

1) The rails support :
netbeans has better editor for ruby controllers than aptana radrails(a plugin for eclipse)
i was amazed when it listed out all the methods of Category class of my pervious project http://punk69.net when i did Category.+[ctrl+space]

I like red color aptana radrails shows almost all keywords in red or similar color but netbeans didn’t it uses blue by default but what’s in color netbeans asked me weather i liked to use jruby and use JDBC driver . I hope if i get some java hosting server i will write rails application and host it in tomcat or jetty

2) The gamemaker
the gamemaker tool for midlet is another cool thing it had to me the same effect when i first opened macromedia flash 3 i have planed to port my game bagchal to mobile cldc1.0 and midp 2.0 it will take time as because my fren Rupesh is not here with me.
The gamemaker lets me work with scene, sprite and layers

3) Toplink support
I use and like Hibernate and i have every article written by Gavin king including the two books from manning but i was glad to find out that JPA supports Toplink as much as hibernate. I wrote a tiny app using JAVADB and toplink and i didn’t have any problem as beacause i am used to with hibernate over JPA but i was searching for the similar method as i have org.hibernate.session.connection()
Since toplink is opensourced if i get chance then i will choose toplink for my next java database project.

4) Application dev. framework
its cool but from the moment i ran first program in Jmatter i fall in love with Jmatter netbeans ADF is tiny piece compared to JMATTER but still beans binding rocks in netbeans.

I don;t know what agile means but developing in Rails and JMatter makes me feel that i am also agile .

netbeans 10 is cool but very slow compared to eclipse 3.3 which is my current IDE but eclipse had so many plugins to offer with buy now tag on it (e.g. the flex builer and the myeclipse IDE) which is what i hate paying. and never done so far .Compared to that netbeans bundles up very good open and free tools

Election commission Jobs

Wednesday, September 19th, 2007

1) Collection of excel sheet having the names of nominees for the elections by using a PHP 5 application backed by db2 udb
2) Conversion of excel sheet into database table data using VB
3) Verification of the data
4) Notification of Fax arrival
5) Making withdrawal
6) making the final list of candidates
and more… and more…. and more….

VS-flex grid better than jtable but lacks MVC

Wednesday, September 19th, 2007

working with vs flex grid is fun
esp if you have worked with JTable and tried to merge cells and columns  then you know how much hard it is for you to merge and split.
but using vs-flex grid in VB is a ease,  i liked it

merging , placing components and editing is more easier than in JTABLE
but i still missed the MVC pattern that i get in JTABLE

VS Flex grid is free but it is not open
you may show(run app containing) the vsflex by placing the ocx (activex) file in the system
but if you want to edit the properties visually in microsoft visual studio then you need to install the VS flex program

I remember using JXTreetTable , but still we need something like VS flex grid in JAVA if we want to write spreadsheet programs and tables as in microsoft project

some thing i wished that i could do in spring and i really could

Tuesday, September 18th, 2007

interface Account {
public Member getMember();

}

interface Member {
public String getMember();
}

class SavingAccount implements Account {

Member member;

public void setMember(Member mem) {
this.member = mem;
}

public Member getMember() {
return this.member;
}

}

class Minor implements Member {

String name;

public String getMember() {
return this.name;

}

public void setName(String name) {
this.name = name;
}

}

/***********************/
here is the spring application config file
<beans>

<bean id=”account” class=”SavingAccount”>
<property name=”member” ref=”member” />

<!– this is what i really wanted and spring lest me to do this here–>
<property name=”member.name” value=”Somename”/>

</bean>

<bean id =”member” class=”Minor”>

</bean>

sms program

Tuesday, September 18th, 2007

I was developing program to send and receive SMS using benq modem
I replaced sun’s comm api( which is no longer supported by sun) with rxtx.org’s comm api the results where great but ..,

I have written email to my seniors on why the sms is applicable to lumbini bank
it is not as long as they have a good network reception and good manager .

work@election

Tuesday, September 18th, 2007

I have been working at Election commission of Nepal for PCS since last week
I am assigned to make a system where the user can log in and upload the file containing the list of candidates and later on vote count results. I didn’t have long time so i choose PHP

My friend Prateek is making another system in VB he is sending the excel files to Db2 database.
today i had to work with VB something that i really hated and had not done since 2003
the screen of VB visual studio really made me pissed up

any ways i am working with Flex grid and ado with DB2.

Since the Maoist have rejected the election i dough that our program will be used in near future.

My blog

Tuesday, September 18th, 2007

I never tried blogging before i never had time
this domain codewithme.com insired me to make my own blog
at first i tried to make a small puzzle game which lands here and sell this domain on ebay but no one bought it

Any ways i am a bad person i have tendency of selling or giving away gifts.
If you are the one who is reading then i once exchanged a sun glass you know i did it

I don’t know what i will be writing in my blog or who will be reading it but i will write what ever i feel to and whenever i feel to