Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
file.copy
- Page 1
Re: Read, Edit and Write to File
Programming
Software Development
19 Hours Ago
by Ram_034
With this code we able to modify the first line of text. For example i have text
file
with 5 text lines and i want to modify first 5 chars of first word then how handle this
Comparing Fine-tuned and Default GPT-3.5 Turbo for Text Classification
Programming
Computer Science
2 Days Ago
by usmanmalik57
…be careful while specifying this value. ``` # JSON
file
path json_file_path = '/home/mani/Datasets/airline_sentiments.json'…api_key = api_key) training_file = client.files.create(
file
=open(json_file_path, "rb"), purpose="fine…pass it the ID of the uploaded training
file
and the model name. ``` fine_tuning_job = …
Re: Why some people copy / paste LLM answers to a question as their own ?
Community Center
Geeks' Lounge
3 Weeks Ago
by Dani
… that really hurts a site like DaniWeb is when people
copy
/paste ChatGPT content directly into the forum posts, because obviously…
Why some people copy / paste LLM answers to a question as their own ?
Community Center
Geeks' Lounge
3 Weeks Ago
by jkon
I don't get it. It is different answering a thread to quote an answer that you got from an LLM and it is completely different to post it as your own. I don't understand why people do that ? Don't they understand that it is obvious what they did ? And at the end of the day , what are they trying to achieve with that ?
Re: Why some people copy / paste LLM answers to a question as their own ?
Community Center
Geeks' Lounge
3 Weeks Ago
by Dani
Google, and the SEO industry at large, has always been an advocate of increasing your reputation as an expert in your industry by posting in forums demonstrating your knowledge, and linking to your site in your forum signature or member profile. Google uses this information to determine if these websites being linked to are actually written by …
Re: Why some people copy / paste LLM answers to a question as their own ?
Community Center
Geeks' Lounge
3 Weeks Ago
by jkon
First of all , Dani I am happy that you exercise even in a stationary bike (isn't Los Gatos bikes friendly ? From Google Maps it seems so , but you can never tell if you haven't been there and really attempt to bike on the road) . You see it mainly from a SEO perceptive I am seeing it mainly from a user's one. If a user comes in , and in a …
Re: Why some people copy / paste LLM answers to a question as their own ?
Community Center
Geeks' Lounge
3 Weeks Ago
by Dani
> First of all , Dani I am happy that you exercise even in a stationary bike (isn't Los Gatos bikes friendly ? Los Gatos is very bike friendly. However, I’m dealing with some health issues (not sure if you saw my forum thread about cancer) and I’ve been struggling with my weight since being bedbound all of 2023. Sooooo exercise bike it is :)…
Re: Why some people copy / paste LLM answers to a question as their own ?
Community Center
Geeks' Lounge
3 Weeks Ago
by Dani
> Do they believe that with that they will gain credibility and THEN add links ? While that’s entirely possible, I have seen less of that lately, actually.
Text to Speech Conversion Using Hugging Face Transformers
Programming
Computer Science
3 Weeks Ago
by usmanmalik57
…. Finally, we call the `tts_to_file()` method to generate the speech
file
with the American accent and save it as `en-us…
RegEx to wrap words in HTML
Programming
Software Development
3 Weeks Ago
by samzz
Hello, I would like to wrap (surround) all words "flyer" (case insensitive) in the HTML text content, not those in the link. My RegEx works fine on Regex101: https://regex101.com/r/NVmXd1/1 Attached, my HTML
file
to test my (non working) JS RegEx. Thank you and regards.
Re: RegEx to wrap words in HTML
Programming
Software Development
3 Weeks Ago
by samzz
I found a solution to my problem. See attached HTML
file
. Solution: function testRX() { var rex=new RegExp("(?<=>[^&…
Re: VB60, Run-time error 3709 solution
Programming
Software Development
3 Weeks Ago
by mdv3441
Sorry, not sure where you can get a
copy
, several showing up on Internet who knows if legit. I thought maybe you have
copy
, just couldn't get installed. Like I mentioned many of us have vb6 development systems. If you wish one of us could help if you have the source code to the program. Mike
Re: Windows licence
Hardware and Software
Microsoft Windows
3 Weeks Ago
by tarael1
… do you no good. It is prudent to keep a
copy
of any keys that you have for all computers. You…
Re: How do I delete duplicate photos on my Mac for free?
Programming
Software Development
2 Weeks Ago
by Camila_6
Just use duplicate
file
finder software that will help you to delete duplicate photos. You can also sort the images based on the name and date taken but it will take a lot of time.
Re: Problem with the external hard drive
Hardware and Software
Microsoft Windows
2 Weeks Ago
by Ali_204
… and if it shows as unallocated or with a RAW
file
system. On Mac, use Disk Utility to see if the…
Re: How do I delete duplicate photos on my Mac for free?
Programming
Software Development
2 Weeks Ago
by simhakidsden
… photo folders, use the search bar to search for duplicate
file
names or sizes, then manually delete them. You can also…
Re: Unit Test odd behavior
Programming
Software Development
1 Week Ago
by Ellsaheranny
Yes, issues like the one you're describing can occur in unit testing for several reasons, and they are often subtle and tricky to diagnose. Here are some common causes and things to check
Re: Shared Printer Problem
Hardware and Software
Microsoft Windows
3 Weeks Ago
by marythodge4
It sounds like you've already done some thorough troubleshooting, but there might be a few additional steps you can take to resolve the issue. Let's go through some potential solutions: Check User Permissions Ensure that the "Guest" account has proper permissions to print on the desktop where the printer is physically connected. …
Re: RegEx to wrap words in HTML
Programming
Software Development
3 Weeks Ago
by Dani
I'm glad you got it working. Sorry, I just saw this thread now. I, myself, struggle quite frequently with Regex. Regex101 is always my lifesaver. Thank you so much for posting your solution so that it can be helpful to others in the future. I've marked this question solved.
How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
2 Months Ago
by Hanginium65
…script. when it comes to the compressed
file
that ends with the extension .tar.bz2…the contents of the compressed Netbox media backup
file
my_file_like_object = io.BytesIO(file_contents) # Upload …script. Python Traceback (most recent call last):
File
"/opt/scripts/netbox_backups_transfer.py", line …
Re: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
2 Months Ago
by Salem
… This is
file
1 $ cat foo_2.txt This is
file
2 This is
file
two This is
file
too # …data is the same as the uncompressed tar
file
. with gzip.open('/var/backup/netbox_backups/netbox_2024-03…rawbytes)) 181 In other words, treat every single
file
the same way with. with open('/var/backup/…
Re: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
2 Months Ago
by Hanginium65
…(): # Read the contents... logger.info(f"Is regular
file
: {file_info.name}") file_contents = file_tar_bz2.extractfile(file_info).read() …else: {tarinfo.name}. Skip it") continue # Create a
file
-like object from the contents... file_like_object = io.BytesIO(file_contents) …
Re: Read file properties of video files in C++
Programming
Software Development
2 Months Ago
by rproffitt
Regarding "doesn't open the
file
". I've used so many tools over… that I can write that Windows does open the
file
for a peek. And then we have the problem…-to-get-the-size-and-duration-of-an-mp3-
file
Note this was 2019 and even then, duration isn…'t in the MP3
file
. This is quite the rabbit hole to go down…
Re: Read file properties of video files in C++
Programming
Software Development
2 Months Ago
by Thomasio
… and I already guessed that may be because of a
file
format Windows cannot read correctly. But then for the video… files where Windows does report details within the
file
properties it gets them correct and it does that in… time which makes me believe Windows doesn't open the
file
in it's media player or so to get the…
Read file properties of video files in C++
Programming
Software Development
2 Months Ago
by Thomasio
I want to figure out what Windows does when you right-click a video
file
and check properties and I would like to write a similar piece of code in C++. I should be able to figure out how to read the
file
type and size, but I'm lost in how to get details of the video like resolution and runtime. Which API commands does Windows use there?
Re: Read file properties of video files in C++
Programming
Software Development
2 Months Ago
by toneewa
… (ret < 0) { av_log(NULL, AV_LOG_ERROR, "Cannot open input
file
\n"); return -1; } // find stream information. ret = avformat_find_stream_info(fmt_ctx…
Re: sequential file save read option button
Programming
Software Development
1 Month Ago
by rproffitt
… their requests. You ignored how such problems are presented. ZIP
file
? Too dangerous today. You could have posted the code snippet…
Re: sequential file save read option button
Programming
Software Development
1 Month Ago
by SCBWV
…;record." Do you mean print? Read values from a
file
? I would suggest instead of checking for "1"…
Re: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
2 Months Ago
by Salem
I don't understand why you need to extract all the files from the compressed `tar.bz2` just to upload to a backup. Also, line 69 is now meaningless having just posted only a snippet of the code. Before the error, what was the last `logger.info` message?
Re: Read file properties of video files in C++
Programming
Software Development
2 Months Ago
by pritaeas
Here's a good place to start: https://mediaarea.net/en/MediaInfo
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC