• Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Matrix Determinant in C#

    Seems to be an implementation of "determinant expansion by minors", so Google that, eg http://mathworld.wolfram.com/DeterminantExpansionbyMinors.html or http://paulbourke.net/miscellaneous/determinant/
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Word Association Game

    DaniWeb --> Dazah (well, someone had to do it)
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in c++ problem pls helpppppppp!!!

    That code is a good demo of how not to format code, but in various ways it's NOT a solution the requirement that was posted. Was it intended as a …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Method return statement runs twice

    It's not possible that two return statements in the same method get executed (except if the first is in a try/catch block and throws a caught exception, in which case …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Java derby executable

    As usual Oracle have the answers on their web site. For example: https://docs.oracle.com/javadb/10.8.3.0/devguide/cdevdeploy32171.html
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Recaptcha

    I tried it. A form was displayed but near the bottom it said: An internal error occurred: 54996B8988A80.A1468C4
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in How do i implement multiprogramming

    Please explain exactly what it is you want to do.
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Word Association Game

    empty --> suit
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in log file archivaly utility

    Hi, OK. AFAIK you can't add a comment without it being a rep-affecting vote. I such cases I just add a new post. Anyway, I was just responding to a …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in How to print this number pyramid?

    At DaniWeb we are all volunteers, here to help people who want to work with us to improve their skills. The more effort you put into that, the more we …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in log file archivaly utility

    Sure, logrotate is a much more comprehensive solution, but I didn't think my simple suggestion was so bad as to deserve a reputation-reducing downvote.
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in log file archivaly utility

    You could simply: Close the log file Re-name it to a unique archive log file name Open a new log file (same name as previous file before it was renamed)
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Read / Answer / Ask

    I think they are an improvement. But never stop looking for a better way!
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Read / Answer / Ask

    Indeed it is. Works correctly now. Thanks.
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Read / Answer / Ask

    > iOS devices aren't supposed to be using the editor because of that very problem. then i guess this is my last post until i get home next week!!!
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Read / Answer / Ask

    I like "topics" and "conversations" PS anyone else using an IOS device - do you see messed up shift key behaviour in the daniweb editor?
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Fullscreen editor

    I was referring to having a specific forum for Java, although I do miss the popularity too
  • Member Avatar for JamesCherrill
    JamesCherrill

    Gave Reputation to Gribouillis in Fullscreen editor

    You're right. It may be the tag system that gives the impression that the site is a tote. There used to be a section for each language for example, now …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Read / Answer / Ask

    I'd say both, ask and discuss
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Fullscreen editor

    OK, that makes sense.
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Fullscreen editor

    > Be content with the big red message saying "Be sure to follow our rules" with a link that shows right above the editor. I just created new thread and …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Fullscreen editor

    Please put the toolbar in the full screen editor. Some of us stopped memorising bizarre formatting codes when we replaced our DOS 3.2 PCs with a WYSIWYG GUI Mac 128k …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Gave Reputation to diafol in Fullscreen editor

    Fullscreen editor great. Maybe an idea to keep the editor toolbar with it? Otherwise the allowed subset of markdown has to be memorised / guessed.
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in save folder path in database

    Please decide what question you are asking, then maybe someone will be able to give the answer. Your latest post is nothing like the original "save a folder path in …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in save folder path in database

    The URL for a folder is just like the URL for a file except that it doesn't have a file name - it just finishes with the folder name (and …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in java

    https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in FootballGame Class

    ... and your question is what exactly?
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Can´t get an image to move

    > The thing is that car goes to the initial coordinates i tell him to go but then it does not move at all OK, please see my previous post. …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Can´t get an image to move

    I'm not a VB user, but just asking... is it OK to do animation in a cpu-bound loop like that, or is the use of a Timer mandatory rather than …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Java is Strictly Pass by Value!

    This thread is tagged Java, so let's assume that is the context. `HashMap` in Java is a class in the standard API and it's definitive documentation is [here](https://docs.oracle.com/javase/8/docs/api/java/util/HashMap.html) It's one …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in I want to convert python code in Java or C# code in Java.

    Show us what you have done so far and we will help.
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Java is Strictly Pass by Value!

    We are all guilty of speaking a kind of shorthand about objects and variables. Most of the time it's OK, but when we talk of call by value etc it …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in div coordinates skewed after rotation

    I have no idea what the answer is, but this post gets my vote as the best question of the decade. If only all our questions were so clear, so …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Java is Strictly Pass by Value!

    Yes, Java always passes parameters by value. But sorry, your question is not clear. Please explain exactly what you want to know.
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Bump in the Road

    > if (n = 1) return 1; No, not a bug, because yes, that's pseudo-code. Depending on you language you may have to code the test for equality differently (but …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Bump in the Road

    > You can call it a guard or you can call it a base case, but there's no reason to have a guard AND a base case. If you find …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Bump in the Road

    Cast your mind back a day or so when you were making great progress by starting with a short pseudo-code text description of the process and some pencil and paper …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Marked Solved Status for Rollbar ad

    Dani: Out of curiosity I tried clicking the RollBar ads in Programming and in Community Center.. When I clicked the one at the top of the page it just refreshed …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Rollbar ad

    OK, confirmed!
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Rollbar ad

    Herewith 2 shots. One of the page as opened "fresh", the seconfd after clicking on the ad. ![Before.jpeg](/attachments/large/1/c045ec0d433d62a48ebe7cb666eb4648.jpeg "align-center") ![After.jpeg](/attachments/large/1/52f141badc2122b48599ce5f2f8f02b9.jpeg "align-center")
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Rollbar ad

    Correction: it's not refreshing, it's opening a new tab with the same content (except header slot ad missing). Sorry for the previous incorrect info.
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Rollbar ad

    The slot at the top of the page just refreshes, but witout the slot/ad. All the other slots just refresh the page. Rollbar is the only ad I'm seeing
  • Member Avatar for JamesCherrill
    JamesCherrill

    Created Rollbar ad

    Dani: Out of curiosity I tried clicking the RollBar ads in Programming and in Community Center.. When I clicked the one at the top of the page it just refreshed …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in ora-09817 ora-09945 error 28 no space left on device

    I Googled "SUSE server safe mode" and found a load of info that looked relevant to me.
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Bucket sort in C using linklist

    http://bfy.tw/9xSH and then https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in ora-09817 ora-09945 error 28 no space left on device

    This may be a dumb question, but does your server have the equivalent to a Windows or Mac boot in safe mode that would get you to a working minimal …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Gave Reputation to AssertNull in Bump in the Road

    It is indeed "he". And you taught me a new word. "Hir"!
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Bump in the Road

    When I posted the "two line" version I was just trying to show the logic in pseudo-code, it just happened that's it's pretty close to actual code, depending on your …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Bump in the Road

    ps Doing a hand simulation is exactly the right thing to do. Recursion always twists your brain into prezels, and going straight to code is asking for a mess. We …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Bump in the Road

    I don't see where that so n=2 came from! Let's use 9, because I have the sequence for that.. n= 9 not <=1 return max (9, seqMax(next(9))) // next(9) is …

The End.