Search:

Type: Posts; User: JosAH

Page 1 of 20 1 2 3 4

Search: Search took 0.09 seconds.

  1. Re: How to force outdated java to run regardless of security.

    That's in the eye of the beholder; better not do it again.

    Jos
  2. Re: Need serious help with a board game with tetris-like figures

    Sorry, we can't give it to you because it's a <drumroll> secret formula </drumroll>

    kind regards,

    Jos aka The Keeper Of The Secret Formula
  3. Replies
    7
    Views
    207

    Re: interesting site on floating point numbers

    Simplicist.

    kindest regards,

    Jos
  4. Replies
    7
    Views
    207

    Re: interesting site on floating point numbers

    No we're not (at least me, myself and I are not) and that article stinks: it should've explained stuff in terms of 'ulps' (the smallest difference between two numbers a and b from the double set,...
  5. Replies
    7
    Views
    207

    Re: interesting site on floating point numbers

    Me too! I also agree with myself (as I always do).

    kindest regards,

    Jos ;-)
  6. Replies
    7
    Views
    207

    Re: interesting site on floating point numbers

    Nah, Goldberg's article is the only article you need to study: What Every Computer Scientist Should Know About Floating-Point Arithmetic

    kind regards,

    Jos
  7. Replies
    5
    Views
    150

    Re: I need help with this please!

    Ok, you did the constructors and the getters and setters but you didn't tell us about the part you don't understand; we're not allowed to carry crystal balls here, so you have to be more explicit.
    ...
  8. Replies
    5
    Views
    150

    Re: I need help with this please!

    Ok, you dumped your entire homework here; now what? You should at least show what you have done yourself and which parts you don't understand. Dumping a (large) piece of text here just shows that you...
  9. Replies
    11
    Views
    219

    Re: Help with Homework

    Erm,yes he owns a second hand crystal ball shop downtown; except for a few scratches here and there, they're fine balls; that's were I got mine recently ...

    kindest regards,

    Jos
  10. Replies
    11
    Views
    219

    Re: Help with Homework

    For starrters:

    1) put
    ... tags around your code for readabilty; (that's what Darryl was trying to say to you)
    2) I don't see a loop anywhere in your code (a for loop maybe?)

    kind regards,...
  11. Replies
    11
    Views
    219

    Re: Help with Homework

    It's Monday, so no crystal balls are allowed in the building; show us the (relevant) code if you want to get help.

    kind regards,

    Jos
  12. Replies
    3
    Views
    118

    Re: What does it mean to prime a loop?

    We don't supply code examples here for you to copy/paste them and get a good grade; that would be cheating. You should supply some code that shows, what you think is loop priming and ask for...
  13. Re: ApplicationContext cannot be resolved to a type

    Especially the third comment in that article is a complete giveaway ...

    kind regards,

    Jos
  14. Replies
    8
    Views
    270

    Re: java homework help

    @OP: please don't remove the original content of your thread; others might stumble upon this thread (possibly through Google), only to find a headless and therefor useless thread; I put back the...
  15. Replies
    8
    Views
    193

    Re: Fibonacci Sequence

    Erlang is no magic: it either also uses a large stack for recursive functions (methods) or it can use a large memo for its memozation of those recursive functions. (for the recursive fibonacci...
  16. Thread: Puzzled by enums

    by JosAH
    Replies
    11
    Views
    243

    Re: Puzzled by enums

    It's the truth; have a look at the following (contrived and useless) example:




    public class Test {
    private enum E1 { one, two, three };
    private enum E2 { two, three, four };

    public...
  17. Replies
    15
    Views
    235

    Re: Work with processes

    How do you know that?

    kind regards,

    Jos
  18. Replies
    8
    Views
    205

    Re: Classpath will be the death of me PLEASE

    It all boils down to knowing your tools; you shouldn't have written 'blah blah' but you should've read what the compiler had to say to you: -helloworld isn't a valid flag value, so you should've read...
  19. Thread: 2D Array Error

    by JosAH
    Replies
    1
    Views
    167

    Re: 2D Array Error

    Look at line #8: you define a 2x2 board there, shouldn't it be 3x3 board?

    kind regards,

    Jos
  20. Thread: Handling errors

    by JosAH
    Replies
    3
    Views
    166

    Re: Handling errors

    Get rid of those magic numbers 48 and 57; use '0' and '9' instead; btw. you can read ints with a Scanner, there's no need to reinvent the wheel; (it throws Exceptions if anything is wrong, so you can...
  21. Re: please how can i add methods that in attachments?

    It's worse: it's the mother of all homework dumps. I'm not going to help the OP.

    kind regards,

    Jos
  22. Re: Program to detect the number 7 and its multiples

    I'd create two simple methods, say, 'div7(int n)' and 'has7(int n)' that return true if a n number n can be divided by 7 or has a 7 in its decimal representation respectively; those two methods keep...
  23. Re: Program to detect the number 7 and its multiples

    There are several methods to skin this cat; I would do it like this: for a number 'n', the expression ""+n is the String representation of that number n; Strings have handy methods, such as contains(...
  24. Thread: Sudoku

    by JosAH
    Replies
    7
    Views
    269

    Re: Sudoku

    w.r.t. The subject: the 'validity( ... )' method stinks: just checking if a value occurs three times in a row, column or minor square is not correct (e.g. the same value occurs three times on...
  25. Re: how to create jar library with console comand?

    There's a 'jar' tool in your JDK; type 'jar -help' for a short message how to use the tool.

    kind regards,

    Jos
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4