crazy123's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
Active Members
Active Posts:
139 (0.14 per day)
Joined:
04-August 11
Profile Views:
2,179
Last Active:
User is offline Mar 11 2013 06:40 PM
Currently:
Offline

Previous Fields

Dream Kudos:
0
Icon   crazy123 has not set their status

Posts I've Made

  1. In Topic: Running Python Script

    Posted 22 Jul 2012

    View PostCasiOo, on 22 July 2012 - 09:29 AM, said:

    You can start processes within java where you can pass some arguments. You should look more into the Runtime class and the exec methods :)


    I call the process and run the python?
    I do not know java process. I need to open the file .py or run the python?
  2. In Topic: Read from a certain line

    Posted 11 Jul 2012

    View Postatraub, on 10 July 2012 - 08:29 PM, said:

    The 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.


    OK. Thanks
  3. In Topic: Read from a certain line

    Posted 10 Jul 2012

    View PostAtli, on 10 July 2012 - 04:58 PM, said:

    If 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.
  4. In Topic: Oracle and MySQL

    Posted 18 Jun 2012

    View Postbaavgai, on 18 June 2012 - 05:03 AM, said:

    View Postmccabec123, on 17 June 2012 - 06:14 PM, said:

    One 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?
  5. In Topic: VB6 to Java

    Posted 18 Jun 2012

    View PostRyano121, on 18 June 2012 - 11:27 AM, said:

    It 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?

My Information

Member Title:
D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Private

Comments

crazy123 has no profile comments yet. Why not say hello?