Saturday, December 24, 2005

NetBeans gmail module

Please read this nice Interview with Masoud Kalili,
Gmail module writer for
NetBeans and one of the most active NetBeans developer...
He is Final term CS Student...
Good Work Masoud...Continue

Wednesday, December 21, 2005

GUI designers

I personally prefer GUI coding from scratch.Yes,there is simpler wayes to do it.
For example when there are nice GUI designers like
NetBeans or JBuilder for Java and Boa-Constructor for Python ,
why I Code from scratch?
This is my reply....CONTROL....and more control...
You know , I've already understand this concept !!! Control over what you need to do.
PLease let me to explain more:
When you use designers the unwantedMacros will produce.
This is not disadvantage at all but THAT's not
what you NEED as well....You have to accept them because you
restricted in the preCoded macroes . It may be not honey you realy want !!
On the other side,it's not so time consuming you maybe think :)
With WxPython tha't just 5 or 6 line code to make an frame and
less than 20 line to add panels and menu !check it out(by DevShed magazine):
**************CUT HERE*************************
# Here we import wxPython:
from wxPython.wx import *
# Before we create anything, we must create an "App" object:
application = wxPySimpleApp()
# Now we create the dialog:
dialog = wxTextEntryDialog ( None, 'Enter some text:', 'Title Here', 'Default text here.' )
# If the user presses, "OK", print the value.
#Otherwise, print another message.
if dialog.ShowModal() == wxID_OK:
print dialog.GetValue()
print 'You did not push the "OK" button.'
# Destroy the dialog
***********CUT HERE*************************
As you see this is all thing you need to make an javascript like Prompt order to get text from end user . or in Java Swing :
***********CUT HERE************************
import java.lang.*;
import java.util.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
class SimpleGui1 {
public static void main(String args[]) {
JButton btn = new JButton("Click Me!");
btn.setMnemonic(KeyEvent.VK_C); // Now you can hit the button with Alt-C
JPanel pane = new JPanel(new FlowLayout());
pane.add(btn); // Add the button to the pane
// Now for the frame
JFrame fr = new JFrame();
fr.setLocation(200, 200);
***************CUT HERE**************
humm,NICE , isn't it?control over the code GUI!! it's like cool dream.
Throw the designers on garbage pail and FLY....

Saturday, December 10, 2005

Eclipse and NetBeans

Last night,I installed NetBeans(for Java),and Eclipse(PyDev for Python).
Although Eclipse is suitable for Java Development,
I preferred NetBeansfor it.
Beacause of it's nice GUI design (completely match with Swing:)
and maybe more powerful Docs !!But Eclipse is
Very nice when you mix it by PyDev extension.
From now,I have a good IDE for Python Development.
It has equipmentswhich any powerful IDE has them,
Class Browsing, CVS Technology,Define Project and...
Humm,I've no time to loose,so I must be brief and fast :)

Thursday, December 08, 2005

My Idea about Linux Worms

Hi Folks :)

I've studied this paper some days before at security focus.please read it first!!You now,I "absolutely" don't think so !As a result of unix like operating systems design,and because of thier separate nature,Un wanted codes like worms,can't make them in trouble. Well,please consider Window$ !!!The design of this hell OS and their selfish utilities are good instance to explain what I wanna say.AS the matter of fact,their integrated architect is their achilles.It's exactly the point! read the mellisa or codeRed source codeto find out what do I say :)But as I mentioned before,Unix like Oses because of their unintegrateddesign(who said this is disadvantage?:) )and maybe multi protocol coding,there is no same way to explode their platform.

what do you think?do you agree with me?