Adrian Yan

Ranch Hand
+ Follow
since Oct 02, 2000
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Adrian Yan

I'm sorry to disagree with Greg. I think swing layout is very easy to master once you understand the limitation of each layout manager. I program TK, and believe me, TK layout is about ten times worse.
14 years ago
Normally, I would say Debian. But Knoppix would be great for begginners, it boots off the CD, gives you a taste of it before you put an O/S on your harddrive.
14 years ago
Man, this is getting crazy. Layne, i tho System.out flush by default.
14 years ago
Can you print out the file and the length to the console?
System.out.println(sb.length());
System.out.println(sb);
I'm really curious about this right now.
14 years ago
Just out of curiosity, did you ever try to print the StringBuffer directly without using charAt. System.out.println(sb);? I just want to see if you are actually get the data back into the StringBuffer correctly.
14 years ago
I switched the code from String to StringBuffer, and it works fine. Can you print out the line before using charAt command? and see if that works?
From the docs, it looks the java.lang package is a copy of J2SE version, so I don't see any reason why that wouldn't work.
14 years ago
can you post abit about your code? I wrote a simple test, and it works fine:
14 years ago
iterator returns Object when you call it.next(). You need to cast this into the appropriate class. In your case, casting it to
should work fine.
14 years ago
Depends on the schema of your database, if it's relatively simple, and doesn't significant modification. You don't even need java, just use bulk copying tool provides by majority of databases system.
[ August 20, 2004: Message edited by: Adrian Yan ]
14 years ago
How much data do you have? I wrote an application without any "database" support, simply using XML. My data set was around 50MB, it wasn't notciably slow. Also, you might be able to add indexing to the XML files to help search and load.
14 years ago
Just go to tom's hardware, it has everything you need to know about building your own computer.
14 years ago
Indeed it does, you can get it at: Subclipse.
If you use window, I highly recommend tortoise SVN, it's incredible useful. I usually don't praise about tools, but it increases my productivity alot.
Try the umask command, it sets the mode when a file is created.
14 years ago
CVS is not an server application, it doesn't do what you normally expect as in other server packages. You don't need to start it or anything like that.
Do you know what SSH is? SSH by far is the easiest way to do it, since it uses O/S itself to do authentication.
And if you want, I recommend you to use Subversion, it's a much better designed system than CVS and provide much more functionalities than CVS.
CVS comes by default on most linux systems. If you are running debian, apt-get install debian. Redhat, etc, rpm should work fine.
the documentation on cvshome.org basically teaches you how to use CVS. If you have any specific questions, you can post them here.