Reputation: 0 Apprentice
- Active Members
- Active Posts:
- 139 (0.16 per day)
- 04-August 11
- Profile Views:
- Last Active:
- Mar 11 2013 06:40 PM
- Dream Kudos:
Posts I've Made
Posted 22 Jul 2012
Posted 11 Jul 2012The first line is any and all text before the first new line character. The second line is all the text after the first new line and before the second one. Thus the 500000 line is the text between the 499999 new line char and the 500000 one. It's pretty much an iterative problem.
Posted 10 Jul 2012If you don't start from the beginning and read until line 500000, how will you know where line 500000 is? Unless the lines have a constant size, in which case you could use File.seek to move to the correct position, you will have to open the file and look for the 500000'th new-line to discover the correct spot to start reading from.
That is my question. I think there's no way.
Posted 18 Jun 2012One of the main differences is that MySQL claims to be several times faster at executing certain queries
This is BS.
Oracle is a huge database infrastructure. Oracle talks casually about handling petabytes of data. Data warehouse farms across international WANs, that sort of thing. There are people whose sole employment is maintaining Oracle databases. I'm an Oracle DBA for a small company, so I have other jobs. But I've met the people who just do the database. As part of a department of like people. Big big companies spend billions of dollars supporting Oracle.
MySQL is a far more basic beast. Like Oracle, it is a SQL based RDBMS. However, it will not scale to the mega sizes Oracle does. ( To be fair, MS SQL doesn't either. ) This is really all the database most web sites need. Even a company with a few thousand employees probably only needs MySQL for most of their applications.
If your query is simple and involves a few thousand rows, it's possible MySQL will beat Oracle. This is a function of overhead. If your query is complex or a few million rows, I believe Oracle will beat MySQL bloody.
Thank you. On security, I heard that Oracle is safer. You can retrieve data from a SQL bad made.
How is this done (possible)? If I give a:
Delete From dbtest
I can retrieve this data?
Posted 18 Jun 2012It should also be said that if you are to make your GUI's in Java, stay well away from all the GUI builders.
In some languages builders can be very very helpful, but not in Java. In Java they produce horrible, unmaintainable code that will make you cry every time you look at it (and us if you ever post any of it here).
Instead take the time to learn how to programmatically make GUI's with Swing. If you know some Java already, then it's not too hard to do, and you will definitely get much more pleasing results
javax.swing.* has a graphical display of the elements or is it by code?
- Member Title:
- D.I.C Head
- Age Unknown
- Birthday Unknown