Ooh … Begitu! I see, I see …

Icon

Setelah kelayapan di internet, cari-cari info dari sana-sini dan bongkar pasang tips (terutama programming), akhirnya baru sadar … ternyata begitu caranya … [all about tricks and tips I have found during my work as programmer.]

SMS Gateway, oh SMS Gateway …

* still cursing herself after posting a bubbling in her other blog with the same title. *

Guys … do you know where is the place to get a lot of AT Commands manuals or references? Especially for the modems, not just for mobile phones. Please help. Many thanks for your attention and help. ^^

…….. ah yes, I am a “she”. 😛

Filed under: Delphi programming, Java programming, , ,

Hello World! collections

tsk, tsk, tsk … a great dedication to “Hello World!”??? 😯
check it here. http://roesler-ac.de/wolfram/hello.htm

a really cool “Hello World!” coding collection in various programming languages. no joke, this is real. 😆

statement from the URL:

This collection includes 338 Hello World programs in many more-or-less well known programming languages, plus 58 human languages.

The list was compiled by Wolfram Rösler with help from many people around the world. It was started on 3-Oct-1994, put on the Internet on 30-Dec-1999, exceeded 200 entries on 14-Jul-2005, and 300 on 6-Dec-2006. It is now probably the biggest collection of Hello World programs on the Internet, and the only one collecting human languages as well. It is administered as a bunch of text files which are compiled into this single HTML file by a bash script executed under the Cygwin environment, run on Windows.

great job! :mrgreen:

Filed under: Delphi programming, hilarious, Java programming

simple logic of setting true or false from a boolean value

okay, I always experienced this kinda thing when I checked out other programmers’ codes in our programming projects. I must admit that we all are just ‘beginners’ in smart coding.

but I’m really tenterhook everytimes I found any code similar with these ones below. let me show you.
this one is in Java programming:

        if (!pnFilter.isVisible()){
                pnFilter.setVisible(true);
        } else {
                pnFilter.setVisible(false);
        }

or this one (in Delphi source):

        if (pnFilter.Visible = False) then
                pnFilter.Visible := True
        else
                pnFilter.Visible := False;

what’s up, Doc? the programmer actually tried to set the pnFilter panel to be visible true when it wasn’t visible, and to be false when it was visible.
I always have this on my mind … why shouldn’t we use these simple one-liners instead?

the simpler code in Java version:

        pnFilter.setVisible(!pnFilter.isVisible());

and in Delphi version, should be like this:

        pnFilter.Visible := (not pnFilter.Visible);

any other suggestion, perhaps?
thanks for the people who have dropped by here, and I would appreciate any other input or advice. see ya.

Filed under: Delphi programming, Java programming