• Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Preg_replace() Delimiter problem

    See my post [here](https://www.daniweb.com/programming/web-development/threads/508741/regex-to-extract-2nd-level-domains-from-all-tlds#post2221930) re the rules and members expressing their views. > the mod doesn't like anyone going offtopic DaniWeb is moderated according to the TOS and Posting Rules. …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Regex To Extract 2nd Level Domains From All TLDs ?

    > If what I've done was wrong then it's the forum TOS's fault for not making it clear that it's against their TOS ... Just for the record: there is …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Gave Reputation to UI in Social Bookmarking Sites Are Back Stabbing You!

    Jamie My man! We had a friend. He's name was sunny. People always used to say back in the 80's: Sunny Jim. Then Sunny Jim (sun shine) it is your …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Edited Script tag not working in php file

    I'm trying to pass an array from php file to a js file here is the code in php file <!DOCTYPE html > <html > <head> <style>------</style> </head> <body onload="gotofunction()"> …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Advices to become a better developer

    I would do something with your current employer's software - that will help you "get" the local style and coding standards, and increase your value to your employer. Maybe reverse-engineering …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Gave Reputation to UI in Regex To Extract 2nd Level Domains From All TLDs ?

    Jamie Cherill, I wasn't aware of the "Solved" feature. Thanks for bringing it up. I usually do not prowl forums, you see. That's why not used to these features. Not …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Preg_replace() Delimiter problem

    Troll alert: UI posts the same questions on multiple sites and doesn't mark threads "solved" when he has an answer. Just sayin'
  • Member Avatar for JamesCherrill
    JamesCherrill

    Gave Reputation to UI in Regex To Extract 2nd Level Domains From All TLDs ?

    Best to ask your questions on as many forums as possible because you get a variety of answers and you don't know which is right since you can't see who …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Regex To Extract 2nd Level Domains From All TLDs ?

    UI You're not listening. Nobody here is going to waste their time posting to help you when you probably already have an answer from another site. You don't even have …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in writing java code

    If he didn't tell us that 2 weeks ago I'm pretty sure he won't tell us now.
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Social Bookmarking Sites Are Back Stabbing You!

    Jamie Cherrill? That’s either "James" or ”Sir" to you sonny. Ps. As the third of four generations of first-born males christened James in my family, we also use Jim, .Jamie …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in C++ Identifiers and Keywords

    Tanisha: see http://bfy.tw/C1JI or read the very first post in this thread.
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Advices to become a better developer

    > that is a great idea, but I don't believe the organisation I work for has any...shame because it would be reallly helpful. In that case why not take a …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Advices to become a better developer

    Maybe Sequence Diagrams would help you to visualise. I'm a massive fan of using them to refine and validate how classes (and modules) interact. Quick intro: https://en.wikipedia.org/wiki/System_sequence_diagram More examples: http://www.agilemodeling.com/artifacts/sequenceDiagram.htm
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Code Posters Plague Community!

    > People aren't tagging their posts effectively is at least part of the problem When people have a problem using something blame the people?
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Advices to become a better developer

    I wouldn't get too hung up about design patterns. Use them when they fit is all. In a large or complex system you will probably find that some were used …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Advices to become a better developer

    Well, here are some ideas about debugging in the real world... Debugging is an art as well as a science! The best deguggers I ever knew were people with huge …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Advices to become a better developer

    Yes. Once you have the basics then it's just getting lots of relevant experience. There are lotsof experienced developers here who can help with specific topics and questions - so …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Code Posters Plague Community!

    If someone has code or a question re Java I'd be happy to see it no matter where they posted it. When we had specific forums for specific topics we …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in A playground for php

    At 89 Euros for a one year licence ("individual pricing") PHPStorm isn't going to be my toolset of choice for a simple look-and-learn experimental project. Now I have PHP 7 …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in A playground for php

    I just realised my Netbeans was out of date, and the latest (8.2) includes php 7, so maybe that's the easiest route for me? Edit: It lies. It "supports" php7 …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in A playground for php

    Yes, some kind of IDE. Obviously I already have Netbeans and XCode, but for running php I'm also going to need a web server etc (right?), so I'm looking for …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Created A playground for php

    Hi all you php buffs. Out of simple curiosity I thought I would take a look at php. I've been programing since I joined IBM as a trainee developer in …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Numerically Indexed Arrays

    php knows that 123 is a number. It can't be the name of a constant, or anything else beause the definition of the language does not allow you to use …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Query is not giving desired output

    Wow. That's really weird. What happens for 17-5-2017, or when you change the end date?
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Numerically Indexed Arrays

    You need to go back and review the use of quote marks when defining Strings. Your strings are missing their quote marks. That's what those Notices are telling you - …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in How to read csv file contents in VB.Net

    Well, that's interesting code, but did you think that after 9 years anyone was still waiting for it? And if you had bothered to read the thread before posting you …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Black Jack

    Something like (pseudo-code) void display(boolean showFirstCard) { ... if (showFirstCard) { show first card } show remaining cards }
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Black Jack

    You could add a boolean parameter to Player:: displayPlayer to control whether the first card should be displayed or not. ps: Immutable classes are a good thing! You have setters …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in need help with this school project

    Quinton_1: If you don't explain what help you need then there's nothing we can do. Read this https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question then post again
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in need help with this school project

    Ken_10 and anyone else who thinks like that: Getting someone to do your school work is stupid. You'll learn nothing and just waste the opportunity for education. It also penalises …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Gave Reputation to Ken_10 in need help with this school project

    With which project? There's no info there. I can only suppose that It's a kind of research and then can recommend you the resource with [cheap research papers](https://essayshark.com/write-my-paper-for-cheap.html). I use …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Gave Reputation to Ken_10 in need help with this school project

    With which project? There's no info there. I can only suppose that It's a kind of research and then can recommend you the resource with [cheap research papers](https://essayshark.com/write-my-paper-for-cheap.html). I use …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Social Bookmarking Sites Are Back Stabbing You!

    TLDR
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Create rays with fillArc

    OK! A couple of small suggestions: you could start by drawing a single complete black circle, then you only need to do the gold arcs in the loop. Depending on …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Create rays with fillArc

    I'm looking at line 14 where the last argument is `arcEnd` (also line 17) which should be 2 but is actually increasing by 4 on each pass of the loop. …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Create rays with fillArc

    The last parameter for fillArc is the size of the arc in degrees, not the angle at which it finishes. So it should always be 2 or 4 (sorry, don't …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in comparing a string and a character problem

    How is random[] declared... String, int or what?
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in no output is show

    I agree that the naming is a bit confusing, but the code for RelayRacer looks valid to me as it is. Just changing the name won't fix anything.
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in insert sort won't algorithm working

    Rproffitt... What's going on here? Who are you quoting?
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in no output is show

    Your threads are created with a Runnable that is null.
  • Member Avatar for JamesCherrill
    JamesCherrill

    Gave Reputation to Minimalist in Probability and Coin Tossing

    O.K. if came across of being rude I do apologize as this was not the intention.
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Probability and Coin Tossing

    @xrj: Because, as I have already explained, only one of the tosses is random. The other 2 are brought forward from the previous pass and are known
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Probability and Coin Tossing

    Teme's first post was based on an incorrect understanding of the process being modelled here. I guess Minimalist didn't read the whole thread. There's nothing wrong with the programs, or …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Javascript generate on many form textarea

    Line 4 ` textara_` is that how it is in the actual source code, or just a copy error?
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Probability and Coin Tossing

    100 possible seeds? Where did you get that? Java.util.Random uses a `long` value for its seed - something like 10^20 possible seeds. The API doc for the no-seed constructor says, …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in string

    If you have a question please ask it. If you need help with your code please post what you have done/tried so far.
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in writing java code

    Please post the exact full error message. and someone will explain it for you.
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Probability and Coin Tossing

    No. In all the programs above there is only one instance of Random per run. Even if there were multiple instances the reults would only be non-random if the instances …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Programming

    > I don't know where to start The assignment is broken down into steps for you, but you can break it down further. Start with > reads the grades from …

The End.