-
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, … -
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 … -
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. -
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 … -
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 "". -
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. -
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. -
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 … -
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 … -
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 … -
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 ...  -
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 … -
Replied To a Post in Which Crypto Services You Use ?
Are we having fun? -
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 … -
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 … -
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 … -
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. -
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 … -
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 … -
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 … -
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 … -
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 … -
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. -
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 … -
Replied To a Post in Which Crypto Services You Use ?
Since all cryptocurrencies are essentially scams, I do not use any of them. -
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 … -
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. -
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 … -
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 … -
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 … -
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, … -
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. … -
Replied To a Post in Odds in mobile app development?
Nine to one against? Not sure I understand what you are asking. -
Replied To a Post in Hi everyone, I'm Fabeha
Welcome to Daniweb. -
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 … -
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 … -
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. -
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 … -
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: … -
Replied To a Post in Why destructor doesn't work
For more info see [Python del](https://realpython.com/python-del-statement/) -
Replied To a Post in Will AI take jobs?
Yes. But like most technological changes it will create new jobs. -
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 … -
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, … -
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 … -
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 … -
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 … -
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 … -
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. -
Replied To a Post in Answering questions
Is it possible that you don't get the reply option because you are not logged in? -
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.