• Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Tell Me About The Likes Of ChatGPT

    Personally, I prefer to write my own code. While it is true that more and more packages (I'm talking Python here) are available to free me from the grunt work, …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Which Crypto Services You Use ?

    >Do not bother replying to this post. I have no wish to argue with anyone about my claims of Ww3 starting in 2025. Then why did you bring it up …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Regex to match word one or more times in a string

    There is an old comp sci saying... "I had a problem and was told it could be solved with a regular expression. Now I have two problems." Glad to help.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Regex to match word one or more times in a string

    Still working on it, but to match one or more occurrences of `string/` starting at the beginning of the string you would specify ^(string/){1,} then if you replaced the matched …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Regex to match word one or more times in a string

    You don't need a regular expression for that. Just replace all occurrences of "string/" with "".
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Regex to match word one or more times in a string

    Can you explain one more time in more detail? I couldn't make any sense out of your explanation.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in What are the stages of app development?

    Have you considered googling "What are the stages of app development"? It pretty much gives you the answer.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Undeleted a Post in Which Crypto Services You Use ?

    It still comes down to picking a currency that 1. is backed by the US government 2. is backed by nothing I pick no. 1 regardless of if/when WW III …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Deleted a Post in Which Crypto Services You Use ?

    It still comes down to picking a currency that 1. is backed by the US government 2. is backed by nothing I pick no. 1 regardless of if/when WW III …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Which Crypto Services You Use ?

    It still comes down to picking a currency that 1. is backed by the US government 2. is backed by nothing I pick no. 1 regardless of if/when WW III …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Gave Reputation to Dani in DaniWeb Moving Servers

    The database has been migrated to new servers. Testing attachments to make sure file permissions are set correctly ... ![member15.jpg](https://static.daniweb.com/attachments/0/4a767998e2a3199db7a7653c99c7c2c1.jpg)
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Which Crypto Services You Use ?

    >So which is it? What "it" is, is a willingness on my part to modify my original position based on reasoned debate. Not all crypto-currencies are necessarily scams. But I …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Which Crypto Services You Use ?

    Are we having fun?
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Which Crypto Services You Use ?

    Not every crypto-currency is a Ponzi scheme. But some are. Just like not all stock/bonds are swindles and junk bonds. But some are. Stocks and bonds are at least regulated …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Which Crypto Services You Use ?

    My point was that unlike crypto, which is as reliable as an I.O.U. or Wimpy's promise, the US dollar (and Canadian dollar) is backed by the government which can (and …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Which Crypto Services You Use ?

    Just for the sake of argument (and you know how I like to argue), the way a crypto exchange works is that you convert "actual" dollars (actual being in quotes …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Smarter then Microsoft?

    Another possible test if you are so inclined is to boot off a linux live usb and check the bluetooth with that.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Smarter then Microsoft?

    You could uninstall the latest update and see if that fixes it. It could also be a coincidence where your Bluetooth hardware has failed. The problem with uninstalling is that …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in How to store information in large capacity?

    Details would help, like 1. what type of information 2. frequency of updates 3. frequency and type of access 4. scope of access 5. how large is "large" 6. single …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Which Crypto Services You Use ?

    >Only Brits And Canuks. I had British friends growing up, and I've watched a lot of British TV starting with the classics like Monty Python, Fawlty Towers, and The Two …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Which Crypto Services You Use ?

    DO you know the origin of the term, con man? The "con" in this case is short for "confidence". A famous con man from many decades ago (mid 1800s) would …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Which Crypto Services You Use ?

    When you buy stocks you are buying an interest in something physical (you hope). Foe example, natural resources. As far as I am concerned, the less a stock is connected …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Gave Reputation to Dani in Which Crypto Services You Use ?

    > essentially worthless, aside from what someone is willing to pay for them Sounds to me like stock certificates that don’t give dividends Or just about any useless collectible.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Which Crypto Services You Use ?

    Environmental impact aside, the only way to make money in crypto is for someone else to lose money. I heard an excellent explanation of this by Ben McKenzie. He compared …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Which Crypto Services You Use ?

    Since all cryptocurrencies are essentially scams, I do not use any of them.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Difference between an interpreted language and a compiled language

    >every time I run a script with the same input, I get a slightly different result each time That would depend on several factors. Are you absolutely certain all of …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Difference between an interpreted language and a compiled language

    If this *is* a computer simulation it must be the beta version with all the bugs still in.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Difference between an interpreted language and a compiled language

    RE bytecode/machine code/micro-code... I used to program micro computers at the Health Sciences Centre research labs. This we back in the days of paper tape and 8" floppies. In those …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Difference between an interpreted language and a compiled language

    How about this... If I am given a book in English and I then translate it into French and write it down, I have compiled it, as the translation only …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Difference between an interpreted language and a compiled language

    OK. How about this. A compiled program is one you use without having access to the source code. It's also a program that does not have to be repeatedly parsed …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Difference between an interpreted language and a compiled language

    As far as I know, Python compiles scripts into a folder with a name like __pycache__. The sorta-compiled code is actually bytecode which is easier for the runtime to process, …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Difference between an interpreted language and a compiled language

    A compiled language (C, FORTRAN,...) is converted to a directly machine executable form once before it is executed many times. An interpreted language (BASIC, Python,...) is converted at every execution. …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Odds in mobile app development?

    Nine to one against? Not sure I understand what you are asking.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Hi everyone, I'm Fabeha

    Welcome to Daniweb.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Why destructor doesn't work

    >The destructor is automatically called when an object goes out of scope Let's distinguish between an object and a reference to it. An object can be garbage collected when there …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in nontype error obj has no attribute shoot

    In lieu of any other information I would go with what you are being told. Ensure that `random.choice` is actually returning what you expect. It seems that what it is …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in nontype error obj has no attribute shoot

    Please post the exact error message and tell us what line is being flagged.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Why destructor doesn't work

    I presume the reasoning is the same as that for copy/deep copy. If you have a complicated structure, making a simple copy does not duplicate the nested objects. Because the …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Why destructor doesn't work

    The problem is the self.b in the lambda. If you first delete self.a then it works as expected. Try class Exp: def __init__(self): print('__init__') self.b = 1 self.a = lambda: …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Why destructor doesn't work

    For more info see [Python del](https://realpython.com/python-del-statement/)
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Will AI take jobs?

    Yes. But like most technological changes it will create new jobs.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Why destructor doesn't work

    There is no need to do an explicit `del obj`. Python does a `__del__` automatically as soon as you do `obj = None`. If you comment out the `lambda` line …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Began Watching What are some best practices for optimizing code performance in PHP?

    Everyone knows that PHP has such a bad rap for so much bad code being out there. I am a firm believer it is not a problem with PHP, itself, …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Gave Reputation to JasonHippy in What are some recommended Linux distributions for beginners?

    To be honest, I haven’t distro hopped since Linux distros started moving from the venerable Gnome 2, to the frankly horrific Gnome 3. And have never really paid any attention …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in What are some recommended Linux distributions for beginners?

    I've tried several distros on an old computer over the years - ubuntu, kbuntu, SUSE, etc. I gave up on all of them. With Windows, my recovery plan is simple …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in How do I get a button to do what it is supposed to do?

    For example, if you do a breakpoint at the line after rental_days_text = rental_label_days.cget('text') you'll find that `rental_days_text` actually has the value How many days do you plan on renting …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in currently doing Car Rental Service as a project

    Unless the way you do the duration is required, I suggest you instead ask the user to select a start and end date. Typically a person would say "I need …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in What are you eating/drinking right now?

    With covid restrictions behind us we have been getting in a lot of cross-country skiing this winter.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Answering questions

    Is it possible that you don't get the reply option because you are not logged in?
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in I would like to get some feedback of my website's design

    G'day Bruce. On first glace it seems visually appealing. No monolithic blocks of text and good use of white space. I wasn't peppered with pop-ups or drop down banners that …

The End.