Search:

Type: Posts; User: aussiemcgr

Page 1 of 20 1 2 3 4

Search: Search took 0.45 seconds.

  1. Replies
    4
    Views
    79

    Re: Am I Just Bad At Java? [Java Rant]

    I suspect this reveals more about you than you think. What your saying is that you have the understanding needed to replicate, but not to produce.
    I suppose it would be similar to if you taught...
  2. Replies
    4
    Views
    70

    Re: Handling IO Synchronization

    Would the ConcurrentLinkedQueue collection resolve that issue? ConcurrentLinkedQueue (Java Platform SE 7 )
  3. Replies
    7
    Views
    87

    Re: How to handle string with characters

    Yes, but it sounds like he manually copied and pasted the String into the code. If he did do that, the internal quotes will be a problem.
  4. Replies
    4
    Views
    70

    Re: Handling IO Synchronization

    The other threads were being created because I had no way of really monitoring when certain write requests were sent, and each write request needed to run on a thread other than the one which called...
  5. Replies
    4
    Views
    70

    Handling IO Synchronization

    I have a class (WriteExcel) which writes to an excel file. For those who don't know, Excel doesn't handle multiple access well (or at all).
    I then have another class (WriteManager) which creates a...
  6. Replies
    7
    Views
    87

    Re: How to handle string with characters

    You need to escape special characters, like the "
    Use: \" to add a single " to a String
    For example:
    String str = "1234\"567"
    Is equal to:
    1234"567
  7. Replies
    7
    Views
    87

    Re: How to handle string with characters

    Are you able to put it into a char array?
    char[] chars = str.toCharArray();
  8. Replies
    7
    Views
    102

    Re: Implementation problem.

    I used XML in the example above because it is a common data format which is easy to read by humans. XML is a possible method of storing your data if you want to. Java has built-in APIs for...
  9. Replies
    7
    Views
    102

    Re: Implementation problem.

    I try to hardcode as little as possible and load my runtime information from files, services, databases, ect.
    Apart from making the code more maintainable, I also find it forces me to code very...
  10. Re: Buying a new laptop, software engineer student.

    I actually did a breakdown the other day for my dad. Here are 3 we looked at for each brand (the links might not work):

    Toshiba Direct | 15" - 16" Laptops & Notebook Computers
    Toshiba Satellite...
  11. Re: Buying a new laptop, software engineer student.

    Personally, I wouldn't get an Apple for programming, especially if you are used to Windows. I found setting up a fully operation dev environment on a Mac to be extremely unpleasant. But, this is...
  12. Replies
    24
    Views
    319

    Re: Nerd Alert- New Member

    Yeah, but the truth is the employers rarely expect candidates to have ALL of those skills. Or, they don't expect candidates to be experts at all of those fields. Don't let unfilled prereqs discourage...
  13. Re: Accessing java application without adding site to java security

    If you own the applet, you will have to purchase a security certificate from a vender and sign the applet. Adding the site to the java security list is the only free way to do it these days.
  14. Replies
    1
    Views
    96

    Basic XML Reading Question

    I have what should be an extremely easy XML question. I'm not sure why I can't figure it out on my own.

    Okay, so I have an XML node which looks like this:

    <spend>
    <metal>1</metal>...
  15. Replies
    10
    Views
    116

    [SOLVED] Re: Resource leak

    If you are using Java 7 or above, you can use the try-with-resource:

    try (Closeable someCloseable = new Scanner(System.in)) {
    ...
    }

    If I am to understand the Oracle documentation correctly,...
  16. Replies
    11
    Views
    194

    Re: Generating per person URL

    I could be wrong, but I don't think so. The best way I could imagine doing that is sending the email info as metadata to the url, but the email host would control what information gets sent when a...
  17. Re: Weapons Test fails under certain conditions

    I couldn't upload a larger picture. Try downloading it and zooming it on a picture viewer. The -1, 0, and 1 in the first 3 columns were just sample values to easily compare the axe, spear, and Flail...
  18. Re: Weapons Test fails under certain conditions

    Your logic is missing a lot of cases. I have attached a picture, which is your logic in truth-table form (done with excel). You should easily be able to see any logical mistakes by looking at a truth...
  19. Replies
    4
    Views
    122

    Re: Looking for free android emulator

    Okay, so I updated my graphics driver from Windows suggested driver to my manufacture's driver. I've had issues in the past with my manufacture's driver not saving settings like auto-detecting second...
  20. Replies
    4
    Views
    122

    Re: Looking for free android emulator

    I just tried Genymotion, but when I started an emulator, it said my computer doesn't support OpenGL.
  21. Replies
    4
    Views
    122

    Looking for free android emulator

    I wanted to know if anyone knew of a free, good, high performance android emulator for recreational use. The default android is too slow. I did you Bluestacks, but they have started charging for use....
  22. Re: Need help on ideas to approach this String problem..

    Split would be fine for this. Although if you have a period at the end, the period would move with the last word. Not a big problem, though.
  23. Replies
    8
    Views
    117

    Re: Need Help making this non-recursive

    Not necessarily. Those checks make sure the bridge adjacent to the Island is actually connected to the Island. For example, the different scenarios could be like this:
    Scenario 1: Bridge connects A...
  24. Replies
    8
    Views
    117

    Re: Need Help making this non-recursive

    Cornix, a few questions.
    First, you mentioned a part of my code looks like it should throw an exception. Why is that?
    Second, I noticed something while implementing your sudo-code: the node is not...
  25. Re: Completely new to Java, don't understand my first Assignment

    Don't worry, most people on this forum won't write it for you, just help you explain it. We actually frown upon people giving answers to homework assignments.
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4