• Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in things keep in mind

    > don't use english by default because usually IT does, use a language you all understand. I don't really agree with this. Programming cuts across boundaries so always assume that …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Began Watching eclipse odbc

    I am trying to connect access database with eclipse but it is not working. I first created data source in "ODBC Data Source Administrator(32-bits)" for windows than I add the …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in eclipse odbc

    > Could you please send me tutorial link, that explain how to set up driver and sample code to connect to MS Access database? I tried to find but I …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Began Watching How to check if your input is an integer in java

    Hello! I am new in java and I have this code that will throw an exception if the numerator input is not an integer and will stop the loop process …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in How to check if your input is an integer in java

    You should always include the output you get from runnnig the code so that you can get better answers. Regarding your question, `nextInt` throws an Exception when the next token …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Marked Solved Status for Eclispe error

    I installed Eclipse and it worked for few days and it nolonger openned giving error:- can someone help me (mbusi.ndlovu@gmail.com) Java was started but returned exit code=13 C:\ProgramData\Oracle\Java\javapath\javaw.exe -Dosgi.requiredJavaVersion=1.6 -Xms40m …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in Java Program crashes at around 30min. libosxapp.dylib plugin crash

    Do you have some other OS to try this on? I see a few JDK bug reports floating around with similar crash dumps. You might want to check on some …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in Java Program crashes at around 30min. libosxapp.dylib plugin crash

    Ouch, when you say it crashed again, was it after the 30 min mark of immediately? Also did this program ever run correctly or did it always crash after the …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in Java Program crashes at around 30min. libosxapp.dylib plugin crash

    Nope, never seen it before. What version of Java was the JAR file compiled for? Did you recompile the JAR file with JDK 7 before running it?
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in Java Program crashes at around 30min. libosxapp.dylib plugin crash

    > What Another message that I recieve in terminal when the program crashes is Illegal Exception: 4 Is this the entire exception message? Don't you have the stack trace?
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in Java Program crashes at around 30min. libosxapp.dylib plugin crash

    I don't own a Mac so won't be able to help you out on that one. Mabe try the Mac forum? In any case, since you already know how to …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in Java Program crashes at around 30min. libosxapp.dylib plugin crash

    Why do you need Netbeans to run a Java app? If you have the JDK, all you have to do is create a JAR for your application (which can be …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Began Watching ResultSet Error java.rmi.UnmarshalException

    I am trying to execute the query on server side and send the result to the client but at the time of returning the value to the client the error …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in ResultSet Error java.rmi.UnmarshalException

    `ResultSet` is not serializable. You can only send across things which can be serialized across the wire e.g. `List`, `Set` etc. Any reason why you want to send the result …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in Java Program crashes at around 30min. libosxapp.dylib plugin crash

    I don't think this has got something to do with memory; if you run out of memory you should get an out of memory error. The only times I have …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in Java Program crashes at around 30min. libosxapp.dylib plugin crash

    How did you reinstall it? Can you post the output of `java -version` here?
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Edited Restrict to type more than 60 words in textbox problem

    Hello, I am trying to restrict to maximum type 60 words in a textbox. I have tried to put a code that check if we have more than 60 words. …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in Java Program crashes at around 30min. libosxapp.dylib plugin crash

    > I Think I am running oracleJDK...Ill look into that a little more, how to tell. Oracle JDK is the JVM implementation offered by Oracle (previously Sun). OpenJDK is the …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Began Watching Java Program crashes at around 30min. libosxapp.dylib plugin crash

    Ive made a java program to do automated tasks for a game. It takes screen shots with java.robot every 250 milliseconds. The program is working great, but it will always …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in Java Program crashes at around 30min. libosxapp.dylib plugin crash

    I see that you are using OpenJDK. Would it be possible for you to try out Oracle JDK and see if the same thing happens?
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Began Watching infix to postfix syntax for inputting to a deque

    i am working on an infix to postfix project and have reached a troubling point. one by one i must extract a string token from the string being inputted to …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in infix to postfix syntax for inputting to a deque

    I believe it should be fairly easy to figure this one out. When is the `NullPointerException` thrown? From the stack trace can you locate the line which throws this exception? …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in Custom Binary Format

    > I have read that using protobuffers takes a lot of fooling around with and if you change things with the class then the format breaks, rendering old versions useless …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Began Watching Custom Binary Format

    So, I've written a Custom Binary Format outline but I'm not sure how to translate it to code. I was looking for a few tips on where to get started? …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in Custom Binary Format

    > I thought about XML or JSON but after some research I figured out that a binary file exported to my own file extension would be the way to go …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in Using Stack and Queue to check a text file for Palindromes

    You need to do it before you start iterating over the string and adding the individual characters to queue/stack...
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in Using Stack and Queue to check a text file for Palindromes

    > I think I have to change the character comparisons to case sensitive Yup, nice catch! Your character comparisons need to be case insensitive. So for the purpose of palindrome, …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in Using Stack and Queue to check a text file for Palindromes

    This means that the current method coded to find out palindromes doesn't properly implement the palindrome logic. Look at the very first print output line: > Mismatch found for ch1=A …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in Using Stack and Queue to check a text file for Palindromes

    I have just re-written the code: while (!q.isEmpty( )) { if (q.remove( ) != s.pop( )) mismatches++; } from your original post, so you just need to replace the above …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in Using Stack and Queue to check a text file for Palindromes

    You won't get error messages when debugging logical bugs, which is what we have in this case i.e. the code works, but doesn't do what is expected from it. With …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Began Watching Using Stack and Queue to check a text file for Palindromes

    A palindrome is a phrase that reads the same forwards as it does backwards. For example, “a man, a plan, a canal, Panama,” is a palindrome. Write a program that …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in Using Stack and Queue to check a text file for Palindromes

    Instead of directly pointing out the answer, I would like to help you understand the technique for tackling these sort of issues (which are very common when programming anything). So …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Began Watching list -> file -> list -> error

    Hi! Straight to the problem: I'm building this server application which will monitor SQL databases. I want it to remember any number of connections so I've made a few methods …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in list -> file -> list -> error

    Two minor points: 1. You are ignoring the return value of the `delete` method; this is important if you are absolutely sure you want to have the file deleted since …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Began Watching Neo4j or SQLite to hold a folder structure?

    I need to make an app in Java that must add in a database all the files (with folder structure) from a hard drive. I need to add the metadata …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in Neo4j or SQLite to hold a folder structure?

    If you plan on chasing around a lot of parent-child links, RDBMS get's a bit cluky due to the impedance mismatch between the relational model and the inherent hierarchical nature …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Began Watching Create File with other files Contained in that file

    I'm making a map editor for my game and I'm at the point where I need to save the map to a file. My Maps contain multiple layers though, which …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in Create File with other files Contained in that file

    "Real" game maps are almost always stored as binary to reduce load time and to prevent easy editing using a text editor (some sort of obfuscation). http://gamedev.stackexchange.com/questions/35893/custom-extensible-file-format-for-2d-tiled-maps Also, if you …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Edited Exception Handling

    Write a program in java for a user defined exception named as Illegal Age Exception. If the age entered by the user is less than 18 or greater than 60, …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Gave Reputation to happygeek in Write a program that can be used to assign seats for a commercial airplane.

    How about you do your own homework buddy? If you have some code to show us, post it and our members will help you (without actually doing it for you) …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in Feeling demotivated

    Don't try to "push" things, it can have a backlash effect. Let's say I have allocated 2 hours for coding, I try to do whatever I can and break out …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in Feeling demotivated

    @00Gambit: If it helps to motivate you, I was a gaming and anime addict long time back (before I had a programming career). These days I have a full-time programming …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Began Watching Feeling demotivated

    I Started to learn my first programming language - Python about 2 months ago and I'm 3/4 the way through my book Introduction to Programming using Python - Daniel Liang …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in Feeling demotivated

    Start hacking on websites like https://www.hackerrank.com/ which give you opportunities to solve problems using your favorite programming language. Trying to work towards a problem will teach you a lot about …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Began Watching Is it moral to switch from one Q&A to another one

    I've started here at DANIWEB almost 3 years ago. Helped a lot of people altough most of them did not give any feedback (votes, mark question solved ect.). I must …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in Is it moral to switch from one Q&A to another one

    You have got nothing to be ashamed of. Like mentioned elswhere, it's just your preference. If you have seen my posts on the subject of other Q/A sites, you will …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Began Watching Remembering Dave Sinkula

    OK, following on from the suggestion [here](https://www.daniweb.com/community-center/daniweb-community-feedback/threads/491659/member-of-the-month-nominations-please) I am now asking for your memories of Dave Sinkula which will be used to help create a kind of retrospective member of …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Replied To a Post in Remembering Dave Sinkula

    When I joined Daniweb, my main interest was in helping and learning C/C++ which meant a lot of interactions with the forum regulars which included Dave. I learnt a lot …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Gave Reputation to deceptikon in Member of the Month: nominations please

    How about a retroactive featuring of Dave Sinkula, sort of as a memorial to a good friend and a great member? Obviously there can't be an interview, but I think …
  • Member Avatar for ~s.o.s~
    ~s.o.s~

    Began Watching Member of the Month: nominations please

    It's that time of the year when I've run out of Member of the Month interviews for the [DaniWeb Digest](https://www.daniweb.com/email/archive) - our newsletter which goes out to over 850K double …

The End.