Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

davisjw

macrumors regular
Original poster
Jul 28, 2006
128
0
Richmond, Va
bobber205- she asked for mySQL specifically.. would it matter if i used the one you say to?

newbienerd- can i use this? i'm just curious because i don't know how i'll be turning in my assignments.. i guess i should ask her..
 

bobber205

macrumors 68020
Nov 15, 2005
2,182
1
Oregon
davisjw said:
bobber205- she asked for mySQL specifically.. would it matter if i used the one you say to?

newbienerd- can i use this? i'm just curious because i don't know how i'll be turning in my assignments.. i guess i should ask her..

No it wouldn't. Go right ahead and use MAMP. It's great. Saves alot of headache (this is especially true from just coming trying to install PHP on a linux distro! :eek: )
 

NewbieNerd

macrumors 6502a
Sep 22, 2005
512
0
Chicago, IL
davisjw said:
newbienerd- can i use this? i'm just curious because i don't know how i'll be turning in my assignments.. i guess i should ask her..

Definitely ask, I am almost 100% sure your professor just wants java source code (the .java files you write). Using some advanced program like Eclipse will just put them into package folders (which you won't be using yet) and perhaps other Eclipse-specific junk that has nothing to do with your code.

You can think of DrJava as nothing but a text editor with a compile button, a run button, and a mini-commandline at the bottom for interacting with your program (seeing stuff it outputs, typing stuff in if your program wants it, etc). Other than that, just completely view it as you would TextEdit, but with only .java files.
 

bousozoku

Moderator emeritus
Jun 25, 2002
16,120
2,397
Lard
NewbieNerd said:
Definitely ask, I am almost 100% sure your professor just wants java source code (the .java files you write). Using some advanced program like Eclipse will just put them into package folders (which you won't be using yet) and perhaps other Eclipse-specific junk that has nothing to do with your code.

You can think of DrJava as nothing but a text editor with a compile button, a run button, and a mini-commandline at the bottom for interacting with your program (seeing stuff it outputs, typing stuff in if your program wants it, etc). Other than that, just completely view it as you would TextEdit, but with only .java files.

It sounds like jGrasp is much more convenient and powerful than DrJava since jGrasp can automate builds and even build the .jar files, plus it works with Objective-C, C++, Ada, and HTML. Eclipse does a lot but it requires a lot.
 

davisjw

macrumors regular
Original poster
Jul 28, 2006
128
0
Richmond, Va
Yea she said jGrasp is a good starter.. Came up to her after class and asked her about using a Mac and she had a real big problem with it but said it will be alright she'll just have to do some extra steps.. Said not to send and packages or anything like that, just basic source code.. Better then a no! I'll proudly pull out my iBook next class during the lab in a Windows owned area! Oh she also said that if I wanted to continue in the major or minor I'd have to buy a windows since all the classes are windows specific..
Thanks for the tip on MAMP!
 

bousozoku

Moderator emeritus
Jun 25, 2002
16,120
2,397
Lard
davisjw said:
Yea she said jGrasp is a good starter.. Came up to her after class and asked her about using a Mac and she had a real big problem with it but said it will be alright she'll just have to do some extra steps.. Said not to send and packages or anything like that, just basic source code.. Better then a no! I'll proudly pull out my iBook next class during the lab in a Windows owned area! Oh she also said that if I wanted to continue in the major or minor I'd have to buy a windows since all the classes are windows specific..
Thanks for the tip on MAMP!

I've moved my Java projects from the Windows version of jGrasp to the Mac version and back without problem.
 

bobber205

macrumors 68020
Nov 15, 2005
2,182
1
Oregon
Your teacher is an idiot outright.

Ignore her. There are few things that can't be done in OS X that XP needs to be used for.

If you have the money or maybe down the road, get a macbook. Even a used one and put XP on it.
 

bousozoku

Moderator emeritus
Jun 25, 2002
16,120
2,397
Lard
bobber205 said:
Your teacher is an idiot outright.

Ignore her. There are few things that can't be done in OS X that XP needs to be used for.

If you have the money or maybe down the road, get a macbook. Even a used one and put XP on it.

Why is the teacher an idiot? According to what I've read, she's not said that Mac OS X can't do what XP can.

I think you're confusing that some classes are Windows-based and that's typical. Many schools do GUI programming with Windows. It's a marketable skill. Choices of classes are not likely up to her anyway.
 

savar

macrumors 68000
Jun 6, 2003
1,950
0
District of Columbia
bousozoku said:
Why is the teacher an idiot? According to what I've read, she's not said that Mac OS X can't do what XP can.

I think you're confusing that some classes are Windows-based and that's typical. Many schools do GUI programming with Windows. It's a marketable skill. Choices of classes are not likely up to her anyway.

I hate to say this, but college is not trade school. You're not going to learn how to skin VisualBasic applications. You're there to learn...period. A computer science course should teach a theory of ... I dunno ... the science of computing? Laying out buttons and drop-down menus isn't teaching anything. A smart person can figure that out in a few hours of their own time.

In the 21st century, MacOS is built on top of a Unix operating system. Unix is a great OS for learning how to develop. Why a teacher would insist on using only Windows for a class that is in the major is totally beyond me. Windows should be the exception, not the requirement. And in order to make things as fair as possible, teachers should be focusing on teaching concepts that are platform-agnostic.

In my current job I write highly-parallel applications that are designed to process several terabytes of data in a linearly-scalable fashion. The application framework we use to do this (Ab Initio) is not taught in any schools. My company gave me several weeks of training. School could never have prepared me for this particular niche framework, but they did prepare me with knoweldge of algorithms, data structures, and computational theory. I use this knoweldge every day at a fundamental level -- it's like the oil in the machine, without which even the biggest, fanciest engine in the world won't run.

This is an introductory course, right? Why don't they focus on introducing the students to the fundamentals of the science which they will be studying for the next four years? The side effect would be a platform-agnostic course, which I believe all the lower-level courses should be. The only reason I can see to lock students into a particular platform is that you need certain software that is highly specialized and only available on one platform.

The teacher's response to this student's inquiry also concerns me. What extra work does she have to do if a student sends in a file from a Mac instead of Windows? Change the line-endings? I fear that she probably doesn't even know what line-endings are, and will probably chew this poor guy out the first time she tries to compile his source code. And then she will tell him to sell his Mac and buy a PC. Considering the army of Unix/Linux programmers out there, it just boggles my mind that the very first course in a CS curriculum can alienate them totally right off the bat.

<this concludes side 1. please turn the tape over to side 2>
 

bousozoku

Moderator emeritus
Jun 25, 2002
16,120
2,397
Lard
savar said:
I hate to say this, but college is not trade school. You're not going to learn how to skin VisualBasic applications. You're there to learn...period. A computer science course should teach a theory of ... I dunno ... the science of computing? Laying out buttons and drop-down menus isn't teaching anything. A smart person can figure that out in a few hours of their own time.

In the 21st century, MacOS is built on top of a Unix operating system. Unix is a great OS for learning how to develop. Why a teacher would insist on using only Windows for a class that is in the major is totally beyond me. Windows should be the exception, not the requirement. And in order to make things as fair as possible, teachers should be focusing on teaching concepts that are platform-agnostic.

In my current job I write highly-parallel applications that are designed to process several terabytes of data in a linearly-scalable fashion. The application framework we use to do this (Ab Initio) is not taught in any schools. My company gave me several weeks of training. School could never have prepared me for this particular niche framework, but they did prepare me with knoweldge of algorithms, data structures, and computational theory. I use this knoweldge every day at a fundamental level -- it's like the oil in the machine, without which even the biggest, fanciest engine in the world won't run.

This is an introductory course, right? Why don't they focus on introducing the students to the fundamentals of the science which they will be studying for the next four years? The side effect would be a platform-agnostic course, which I believe all the lower-level courses should be. The only reason I can see to lock students into a particular platform is that you need certain software that is highly specialized and only available on one platform.

The teacher's response to this student's inquiry also concerns me. What extra work does she have to do if a student sends in a file from a Mac instead of Windows? Change the line-endings? I fear that she probably doesn't even know what line-endings are, and will probably chew this poor guy out the first time she tries to compile his source code. And then she will tell him to sell his Mac and buy a PC. Considering the army of Unix/Linux programmers out there, it just boggles my mind that the very first course in a CS curriculum can alienate them totally right off the bat.

<this concludes side 1. please turn the tape over to side 2>

I've yet to see an introductory course in Computer Science that doesn't require some sort of programming. Hard choices apply. They choose a language and they typically choose a platform that is available at the school. It's usually chosen by someone else other than an instructor and instructors are chosen who can fill the requirements. They chose Windows and Java for this one, apparently. The instructor can handle those requirements supposedly. It's not necessary for her to have UNIX or Mac experience, also apparently. It is necessary for her to fulfill the requirements of the course.

It's nice to say that it's not trade school but a large number of programmers graduate from a Computer Science course and stumble through building visual interfaces for software. Software is full of pathetically bad interfaces because smart people didn't know what they were doing and just figured it out. Mac OS X itself has reasonably good design people and programmers to do the rest. Windows and open source software is much less reliable.

It's good that you've found a job that is more directly compatible with your training. Your experience isn't unique but not everyone gets into such a position.
 

savar

macrumors 68000
Jun 6, 2003
1,950
0
District of Columbia
bousozoku said:
I've yet to see an introductory course in Computer Science that doesn't require some sort of programming. Hard choices apply. They choose a language and they typically choose a platform that is available at the school. It's usually chosen by someone else other than an instructor and instructors are chosen who can fill the requirements. They chose Windows and Java for this one, apparently. The instructor can handle those requirements supposedly. It's not necessary for her to have UNIX or Mac experience, also apparently. It is necessary for her to fulfill the requirements of the course.

It's nice to say that it's not trade school but a large number of programmers graduate from a Computer Science course and stumble through building visual interfaces for software. Software is full of pathetically bad interfaces because smart people didn't know what they were doing and just figured it out. Mac OS X itself has reasonably good design people and programmers to do the rest. Windows and open source software is much less reliable.

It's good that you've found a job that is more directly compatible with your training. Your experience isn't unique but not everyone gets into such a position.

I wasn't implying that there shouldn't be programming in an entry-level course. Quite the opposite, I think you have to program to learn the concepts. Most people who are good developers are also learn-by-doing types of people. I was just saying that locking into a specific platform is bad, and by platform I mean hardware/OS. While Java may or may not be a good language to introduce the fundamentals of computer science, at least it supports the ability for students to work on any of a variety of platforms. (So does C, C++, ML, Python, etc. etc.)

You're quite right that the teacher doesn't always get complete -- or any -- control of the curriculum. But at my school at least, the curriculum was controlled by nobody other than the Department head (who is always a faculty member) and perhaps other members of the faculty. This is a person who is able to shape the entire curriculum, so it makes sense that they impose guidelines on how specific courses should be taught. But this person should also see the bigger picture and focus on continuity through the classes and a progression from fundamentals towards more specialized subjects.

I agree that visual interfaces are often poor, probably for the exact reason you state. But like you say, interfaces should be designed by interface designers -- people who understand the fundamental science of computer interfaces. I think it's a great idea for schools to offer a course like that, as long as it is actually teaching ideas about interfaces and not just a particular tool for building interfaces. Think about it -- which one is real learning and which one is just training?

You misunderstood what I said about my own situation. I did not have any training in this framework that I now use daily. I was trained to use the tool by my company in the first couple weeks on the job, in much the same way that somebody is trained how to submit timesheets. I never took a class on this framework in college, just like I never took a class on how to make timesheets. But like I said before, the fundamental concepts that I learned in school are absolutely crucial prerequisites for learning this framework. Without an understanding of the basics of computer architecture, for instance, I would be totally lost.

I guess what I'm saying is that this comes down to a difference betwen learning and training. College is for learning, not training. You can be trained on the job if necessary. In fact, if you're just coming out of college most businesses expect that you will need training. Keep the training in college to a minimum; i.e. this is how you compile a source file, this is how you run an executable, etc. If you do it right, you get the added benefit of being platform-agnostic.

At my school we spent approximately 30 minutes covering this type of stuff on the first day only...anybody who needed further training was extended an invitation to lab groups or office hours to learn how to do this stuff.
 

ChrisBrightwell

macrumors 68020
Apr 5, 2004
2,294
0
Huntsville, AL
Being an entry-level class, I doubt you'll need more than an editor/IDE. I use Eclipse on Mac and PC.

Talk to your instructor to determine what you *need* before you go about cluttering your machine w/ servers and software that you don't need.
 

davisjw

macrumors regular
Original poster
Jul 28, 2006
128
0
Richmond, Va
Well my instructor told me she "guesses" I can use a Mac and by the way she was talking was either very unfamiliar with Macs or all together clueless. She pretty much looked to me to explain whether I can use a Mac to program.

We also took about a class (an hour and 15 minutes) going over briefly how a computer works and how Java works and if we didn't get it from that class we should drop the class and take a beginning computer course which is taught to foriegn students who have no clue about computers.

What concerns me the most is the fact that the teachers from my experiences know only their niche class and nothing of anything else. I.e. she knows Java on a Windows but is clueless about working with Java on anything else. She asked me what I would use instead of the programs that are included in the book and seemed quite surprised to learn I could use most of those programs.

I know I'll get a hard time for using a Mac and she tried to preassure me out of my beloved Mac by saying I "couldn't" use it in future classes. It's a pitty.. After this class the next programming deals with GUI and HTML and then the advanced dabs into C++ and by then you take classes more on the path you're shooting for. Basically I need to sell the Mac (because as a student I can't really afford two laptops) and get a Windows or get a dual boot... What a pain- maybe I need a new major where I wont be surpressed something like advertising where my Mac is most welcomed (and actually in our adveritsing program you MUST have a Mac running 1.2ghz haha).

And if it means anything to anyone I got to Virginia Commonwealth University. Hope this makes sense, I'm late for my Chinese class and wrote this quickly! Don't laugh with the Chinese it's where all the money is in a few years, China and the internet!!!!
 

bousozoku

Moderator emeritus
Jun 25, 2002
16,120
2,397
Lard
davisjw said:
...
What concerns me the most is the fact that the teachers from my experiences know only their niche class and nothing of anything else. I.e. she knows Java on a Windows but is clueless about working with Java on anything else. She asked me what I would use instead of the programs that are included in the book and seemed quite surprised to learn I could use most of those programs.
...
And if it means anything to anyone I got to Virginia Commonwealth University. Hope this makes sense, I'm late for my Chinese class and wrote this quickly! Don't laugh with the Chinese it's where all the money is in a few years, China and the internet!!!!

I took an introductory class in Java and was surprised to find an instructor who wasn't proficient in English, who was working as the programming boss at a hospital, who professed Java's run anywhere abilitiy, and yet had no clue about anything but Windows. Thankfully, I didn't have to rely on him for instruction. He also had the lovely idea that we should comment every line and mentioned that he had been scolded for too much documentation but continued to err.

Funny that a school of VCU's standing would hire anyone similar.

Chinese is better when done on a Mac. I suppose you won't learn to read or write for a while, but the machine is quite capable.
 

davisjw

macrumors regular
Original poster
Jul 28, 2006
128
0
Richmond, Va
Hello it's me again! Figured it was easier to just keep this afloat and not create a new forum!
I'm using Eclipse because I can write. compile and run my program all at once so it works great so far! My only complaint and it's a weird one is that when I type say (" it automatically does ") for me which is great but as I'm learning Java it would be for my benefit to write it all out without shortcuts. Does anyone know how to turn this off?

I tried using jEdit to write the code and then compile it with Netbeans but I couldn't figure it out so that's why I'm using Eclipse does anyone think differently? I'm a n00b (yea I just did that) and have no clue how to write the code in an editor and then use whatever to compile and run the program and as far as I know Eclipse does it all for you... Tried looking it up but to no avail :-(

Thanks all for your help again! I'm sure it wont be the last haha!!!!!
 

bousozoku

Moderator emeritus
Jun 25, 2002
16,120
2,397
Lard
jGrasp is probably the simplest of the environments. It does everything from setting up projects to editing and compiling to building the .jar files and it handles Objective-C, Ada, C, and C++.

I mostly use NetBeans for building dialog boxes but you can manage the whole project with it. There should be a few tutorials on it.
 

jas312

macrumors newbie
Sep 7, 2006
4
0

jeremy.king

macrumors 603
Jul 23, 2002
5,479
1
Holly Springs, NC
davisjw said:
I'm a n00b (yea I just did that) and have no clue how to write the code in an editor and then use whatever to compile and run the program and as far as I know Eclipse does it all for you... Tried looking it up but to no avail :-(

Is your prof/teacher teaching the javac and java commands? If so, these are the SAME in OS X except you would use Terminal instead of a DOS/Command window. If not, well...I'll reserve comment.
 

pip11

macrumors member
Apr 29, 2005
40
0
I almost can't believe that the CS program at a university of that size could be so Windows-centric. Unix is usually the common OS for CS professors and students, simply because it has been around for so long, and because everything can do Unix. Windows has cygwin, OS X is Unix, and there are also several free clones/variants (Linux, *BSDs). The courses that you list sound pretty universal--java is great on a mac, as well as HTML. C++ could be a problem if you are doing Windows-specific GUI programs though. And if that happens, just trade in your laptop for a MacBook, and run it all.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.