Stefano Mtangoo 455 Senior Poster

I always delete the .nbi,.netBeans,.netbeans-derby ,.netBeans-registration folders
and empty any server folders when re-installing netbeans. On re-install it will tell you if a folder needs to be empty.

And revo will do that for you :)

Stefano Mtangoo 455 Senior Poster

Use revo uninstaller to remove it. Google it!

Stefano Mtangoo 455 Senior Poster

I guess if you don't know the keyword to use (ABCs) then google is useless ;)

Stefano Mtangoo 455 Senior Poster

Thanks A lot James!

Stefano Mtangoo 455 Senior Poster

I didn't mean you write training course. Just ABC of where do I go about. Google isn't any good unless you know ABC

Stefano Mtangoo 455 Senior Poster

Okay, how do I get started then?
I have tried to llok for newbee tutorials but I cannot find it. Can you give overview on how to do it on Netbeans?

Stefano Mtangoo 455 Senior Poster

So is it necessary to successful software engineering or just option?

Stefano Mtangoo 455 Senior Poster

Create Class Diagrams or whatever will help you to show needed Classes and methods.
Then Go ahead and code those methods. Review your code, and make necessary changes until you think it is good now.

Design->Code->Debug->Release
That is how I undertake such tasks

Stefano Mtangoo 455 Senior Poster

I have seen a lot of ***unit: JUnit, PHPUnit et al.
Bu what on earth are they for in practical? Why do we need it?

Thanks!

Stefano Mtangoo 455 Senior Poster

You are not the first to meet this wall see below links
http://stackoverflow.com/questions/2177994/php-prevent-from-removing-leading-zeros
And comments
http://php.net/manual/en/function.str-pad.php
http://www.php.net/manual/en/function.number-format.php

Tha only solution I see people claiming is using sprintf() and formatting!

Stefano Mtangoo 455 Senior Poster

The Ardav and Cherishea answers still concerns. But I would add that, if your friend have some knowledge on PHP and have guts to face the issue he can use some frameworks. I was looking at CodeIgniter video last night. It is really simplified even for non mega-PHP-know-how. If that is hard the only best plan B is given by Ardav already :)

Stefano Mtangoo 455 Senior Poster

did you read sos post?
It explains all those.
Are you doing if on independent conditions? It will not fully work.
re-read sos post and get the point

Stefano Mtangoo 455 Senior Poster

why are you doing a lot of type casting?
the posted code isn't expressive. Can you post the whole code (relevant for the question)? Have you tried all called classes are working?

Stefano Mtangoo 455 Senior Poster

I have not understood what you want to do. Can you post that chunk of code?

Stefano Mtangoo 455 Senior Poster

Mhh! What do you want to do?
Something like this?

<%
            if (request.getAttribute("login") == null) {
                response.sendRedirect("/login.jsp");
            }
            else if (request.getAttribute("cash") == null) {
                response.sendRedirect("/no_cash.jsp");
            }
%>

you cannot redirect the same page twice or the two conditions *MUST NOT* happen at the same time!

Stefano Mtangoo 455 Senior Poster
Stefano Mtangoo 455 Senior Poster
Stefano Mtangoo 455 Senior Poster

Does he have any plans toad some of the libraries from the Boost collection of libraries to STL?

That is already done in soon coming version. They have borrowed some boost libs as boost braggs

Stefano Mtangoo 455 Senior Poster

Noted ;)

Stefano Mtangoo 455 Senior Poster

If I use the resultset and connection and done with them in sing function then I would close them in finally body

Stefano Mtangoo 455 Senior Poster

Thanks for bringing this to my attention.
I will mark it solved :)

Stefano Mtangoo 455 Senior Poster

Thanks for bringing this to my attention.
I will mark it solved :)

Stefano Mtangoo 455 Senior Poster

is it not done yet? where is result?

Stefano Mtangoo 455 Senior Poster

Cool :)

Stefano Mtangoo 455 Senior Poster

Thanks for the Post.
I will read the tutorial. I still don't understand the difference.
Let me read the links. Thanks for replying and sorry for late response

Stefano Mtangoo 455 Senior Poster

And how do you re-enable it?

Stefano Mtangoo 455 Senior Poster

Ok here is what I want to achieve. I need to block all Internet traffic, Emails (SMTP), and FTPs I should be able to re-enable it also programatically. Your method of removing gateway seems good. will you explain a little bit?

Stefano Mtangoo 455 Senior Poster

I was discussing with a friend and he suggested that I block protocol (HTTP).
Is there a way to do that?

Stefano Mtangoo 455 Senior Poster

Aha, you're right!
I was reading this and found that I was talking as if I wan't to block the server. So now the question changes to HOW TO CODE SIMPLE PROXY SERVER That block internet?

Thanks

Stefano Mtangoo 455 Senior Poster

Hi there,
I need to block port 80 (HTTP for internet). Is there a way to block give socket?
Thanks!

Stefano Mtangoo 455 Senior Poster

Could you turn on warnings and errors to see what happens?
Your code?

Stefano Mtangoo 455 Senior Poster

I have done alot of OOP for long now (with C++/Java/Python etc) but world of JS is confusing. I wanted to try it by writting Ajax library (I know there are libs but this for JS OOP familiarization) and found confusing. No class keyword et cetera. What is happening? Am I missing a piece of puzzle here? what differentiate functions from Classes? Where is private/public?

Please help me clear issues here!

Stefano Mtangoo 455 Senior Poster

You means that framework will give you the friendly code for development?

Raja,
framework is like a package of classes to help you accomplish easily what you want. That is definition of well designed framework. Poorly designed one might be defined differently ;)

Stefano Mtangoo 455 Senior Poster

Thanks Ezzaral.
I have got account but I haven't used it :)

Stefano Mtangoo 455 Senior Poster

Boy you are right! ::clap: ::clap::
Thanks a lot

Stefano Mtangoo 455 Senior Poster

Hi there,
Is there anyone here using NB platform to develop applications?
Anyone using former Matisse GUI builder in NB 6.8? I can't see it in my IDE!

Stefano Mtangoo 455 Senior Poster

I have tried that before but you know Ezzaral, Its hard to understand them (As for me).
I would like to get simple explanation on how it goes about. That is what is missing!

Stefano Mtangoo 455 Senior Poster

I think this is best place to learn that. It have try yourself and some question.
It is not very long though Check PHP Manual which have examples and also little explanations here

Stefano Mtangoo 455 Senior Poster

Thanks for snippets.
Do you have idea on how to get files on the web server with path and detect images in them and download them? I'm thinking but not yet got "how-to" ::
Thanks

Stefano Mtangoo 455 Senior Poster

How do you import it?
PHPMyAdmin? PHP script?

Stefano Mtangoo 455 Senior Poster
Stefano Mtangoo 455 Senior Poster

If you are coding locally (I.e not for production but coding) I would prefer bundled server. I use Netbeans bundled with Tomcat (NB JEE edition).
Try that if you want. I can start, stop and do many things from NB

Stefano Mtangoo 455 Senior Poster

o please i'd recommend cakePHP. it is simple if you know oop and also very painless. i love its ORM. it's a piece of work! i have used Zend also, but i prefer cake because of its support for convention over configuration.

What do you mean by painless (Suppose I know OOP)? And please explain what you mean by Convetion vs configuration. Have you done/tried CodeIgniter? What do you think of it?

Question out of curiosity :)

Stefano Mtangoo 455 Senior Poster

Have you read at Pygame news? I cannot tell if they are going to abandon Pygame but they are heading on JS. If they are abandoning Python I would not bother learning it. I would look at other modules or Move to another language.

Even SDL is moving towards commercial. I can't understand where are thing heading. I'm not a gamer though...Just spectator

Stefano Mtangoo 455 Senior Poster

What IDE do you use?
Netbeans will do a lot of help for you plus Ctrl+Space will save you alot of typo pains :)

Stefano Mtangoo 455 Senior Poster

Ask one question at a time my friend. You have asked too many question I cannot follow.
Would you just post code that is relevant to question.

In JSP project there is web-inf/libs
put your custom libraries like JDBC drivers there. I will suggest you start with checking if you are connecting to DB go on form handling...etc.
I'm new to JSP and don't know Javabeans so on that sorry :)

Stefano Mtangoo 455 Senior Poster

I have decided to learn codeigniter.
No big deal but I think CakePHP, CodeIgniter, Zend and Symfony are all decent :)
Just choose any!

Stefano Mtangoo 455 Senior Poster

What about hello elohl and lehlo and elloh?
I think you should check sequence too and compare not only number of letters but their sequence. This complicates it but makes it more accurate, that iselloh is closest to hello ;)

Stefano Mtangoo 455 Senior Poster

Or my be save in database like SQLite3/MySQL

Stefano Mtangoo 455 Senior Poster

I want to use JDBC with apache's pooling library. I can't find easy tutorial/example to follow. Please help me get it up and running. I have it downloaded and I watch at it puzzled :)