Forum Replies Created

in reply to: Want to learn Java2EE
Amit Member

If you want to move on to Java EE, I recommend you learn about a particular DB, then how java connects to it. Next is Java beans, then app servers.

For learning, get a free or “free” DB. Download the J2EE SDK and try writing apps that use the DB.

Next, find some common things you’d use across different apps and make beans that implement.

Finally, you should look into app severs. I’m a fan of JBoss – but I’ve not used many of the others such as websphere.

With that in mind, you can look up the relavent books on Google.

Amit Member

You will need to learn Objective C and Swift.

https://www.youtube.com/watch?v=83WXmhin_LU
https://www.youtube.com/watch?v=abcMmyhKCno

The above should get you started. The only thing you need to become good at programming is practice, and yes there is a lot of maths in certain aspects of programming such as games development (vector maths, collisions, particle physics) but the majority doesn’t, at most maybe some simple sorting algorithms and knowledge of linked lists.

Amit Member

ListView cannot be bound using a data source (at least out of the box). You may want to consider using a DataGridView. If you are using SQL you can add a reference to Microsoft.SqlServer.Management.Controls and use a SortableBindingList. From there you can use the search button to filter the main list or query the database.

This can be done using Linq to filter the list. The below method will find results regardless of case, where m.name is the name of the movie.

When the form initializes you can set the DataGridView data source to movies.

dataGridView1.DataSource = movies;

//Then on the button do the following.

string search = textBox1.Text;

var filtered = movies.FindAll(s => m.name.IndexOf(search, System.StringComparison.OrdinalIgnoreCase) >= 0);

//If you had a DataGridView you can just change the source.
dataGridView1.DataSource = filtered;

If you still want to use a ListView then see the article below.

http://www.codeproject.com/Articles/10008/Data-binding-a-ListView

Amit Member

You need to declare it as unsigned long long.
long long signed int: 2^63-1
unsigned long long int: 2^64-1

Amit Member

I just printed the matrix from the end to the beginning.
From n to 0 and from m to 0.
This is what i added:

for (i = m; i > 0; i--)
    {
      for (j = n ; j >0; j--)
      {
        printf("%d\t", matrix[i][j]);
      }
      printf("\n");
    }
Amit Member

that looks very dangerous. you can pass a string separated with semicolon for each function, like:

http://localhost/?function=shell_exec('ls');phpinfo

then:

if(isset($_GET['function'])){
        $functions =  explode(';',$_GET['function']);
        foreach($functions as $function){
                $function();
        }
}

or you can use eval function:

http://localhost/?function=eval("shell_exec('ls');phpinfo();") 
Amit Member

Take Xamarin, Learn C# then you apps can be Android or IOS both

Amit Member

You need to do allot of research m8 I recently also start to learn java for building android apps.
goto to android developer site there is all you need to get starting.

http://developer.android.com/

for android studio and sdk

https://developer.android.com/sdk/index.html

found this info for publishing your apps and asking payment have a look here

http://support.andromo.com/kb/distributing/how-to-put-your-app-in-google-play

though for appel I have no idea haven’t look in to that myself but a quick search best to start here

https://developer.apple.com/library/ios/referencelibrary/GettingStarted/RoadMapiOS/

start with those links m8 get the basics and when you have problems with specific aspects you can ask here.

Amit Member
http://it.mathworks.com/help/matlab/ref/ginput.html
http://it.mathworks.com/help/matlab/matlab_external/using-events.html

Those came to my mind, I suggest you to stick with ginput.

Amit Member

viewEmployeeID is an int
Yeah my professor suggested I use PreparedStatement, in which I did for some cases.

This is actually my final project for one of my courses, and we are running on our Local Host

I actually tried

if(statement.executeQuery(query)){
 System.out.println("Employee found");
}
else{
System.out.println("Employee not found");
}
Amit Member

Ill keep posting on this because I am still working on this project

I know it’s possible to have an IF ELSE statement in MySQL, but is there a way, I could display the message on the command line or eclipse
This is my query, but If the user doesn’t match an ID, then I would like to display an error on the console

String query = "SELECT * FROM Employee WHERE id="+viewEmployeeID+";";
statement.executeQuery(query);
Amit Member

Java for the web is dead, the industry don’t consider it at all. With HTML and PHP you have everything you need. CSS and JavaScript will also do it(especially JavaScript)

You have two choices:
1)Creating a site in HTML with PHP as a backend for the registration and the other scripting tasks
2)Create the site with JavaScript as a backend

To be serious about web you need to know both ways. In the last years server side JavaScript had a boom and so it’s client part usability. From relatively poor we are now rich of JavaScript solutions.

The demand of people knowing JSP is very scarce compared to people knowing PHP and JavaScript so you should better focus on the last two.

To create a registration form you need in no particular order:
-Database
-HTML page with the forms
-Username and password evaluator
-Database interface

Database:
Should have a column for username, one for password

HTML page:
user form
password form
password confirmation form
login button
register button

fields evaluator:
check_name
check_password

Database interfacer:
insert_entry
login(user, password)

This is only the start. We humans are not made to tackle big problems at one, we instead need to separate the problem in smaller parts and the task will seem a lot easier. Try to start from what I’ve read and try to make your draft.

Amit Member

There are two type of editors. The visual editors and the code editors, or in other words WYSIWYG(what you see is what you get) and WYSIWYM(what you see is what you mean). The first category consist of editors that don’t require a deep HTML experience to create a web page and they are usually an aid to create static HTML+CSS pages.

The second class require experience and the work is done directly in HTML. If you are afraid of manually typing the code you should use Dreamweaver but remember that if you want to continue down this road, you absolutely need to master HTML. If you want to learn HTML straight away(I suppose that this is the best choice) you can use Aptana Studio or directly the browser with the developers’ tools.

Amit Member

I have a degree in mathematics and one in computer in science. Yes, to knowing the theory behind programming it can be surely useful, but we must accept that the time are changing. The new generation of programmers is a generation that work more time out the university than in the university. When we were young, the only place to study was the university and the library and the only way to make a program was at the university or in a company. The rapid changes that we went into seems incredible. We have now Internet, GitHub, Stack Overflow. I as an interviewer, now, I have a much powerful tool to know if someone is a great programmer: I can browse his/her projects and review them together with the candidate. Nowadays is easy to spot a secretly terrible engineer: I can see his programs and ask them about it. When I need a candidate for the research sector, I ask them about computer science topics, but if he/she is an excellent programmer, how can I say that he/she is not good because he/she doesn’t know the big O notation and nonetheless can deliver a complete framework? I tend to judge people also on their computer science knowledge but it’s not the only thing I look for.

Amit Member

Two things came to my mind: a binary logarithm and an implicit O, it could also mean other things. Computer science a lot of time is distant from the real programming, if I interviewed a person for an academy then I would ask CS questions. But in a company there is a need to see if the person can program rather than knowing his computer science understanding. Computer science’s theory tend to be farther from programming than the job position IT company interview…

Viewing 15 posts - 76 through 90 (of 108 total)
en_USEnglish