Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner This one is becoming more perplexing. After adding in the PHPMailer coding, page would crash (e.g. blank white screen, HTML file that would display the screen doesn't even start at all, e.g. error in the 1st running PHP file). Adding the semi-colon at end of line 18 (in previously discussed code) did not work and funny thing is, the original coding… Re: Read file properties of video files in C++ Programming Software Development by Thomasio Yes, I know, Windows doesn't report details for all video files, sometime it just doesn't 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 near no time which makes me believe … Re: Read file properties of video files in C++ Programming Software Development by rproffitt Regarding "doesn't open the file". I've used so many tools over the years to profile and log what apps access that I can write that Windows does open the file for a peek. And then we have the problem that many files don't have duration. https://www.loc.gov/preservation/digital/formats/fdd/fdd000105.shtml is for MP3 and it's not in … Re: How can I upload a tar.bz2 file to openstack swift object storage container Programming Software Development 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: Improve HAVING BY performance Programming Databases by Dani Here are some articles that can explain it in greater depth: * https://web.dev/learn/performance/why-speed-matters * https://developer.mozilla.org/en-US/docs/Learn/Performance * https://web.dev/explore/fast The HTML page must be downloaded in its entirety before the web browser can begin loading anything else (CSS, Javascript, images, etc.)… Re: ASUS Laptops - my experience Hardware and Software by toneewa I wouldn't worry about not having any ASUS utilities. You can always download them later, [here](https://www.asus.com/support/download-center/). I consider them all bloatware. Having the partition as an MBR and then installing a Windows image as GPT, is like going to replace your spare tire and finding out it has a different lug nut bolt pattern… Re: ASUS Laptops - my experience Hardware and Software by Reverend Jim I got a call from Best Buy this morning to tell me my laptop was back. When I got to the counter I told the tech that I would not accept it until they showed me that it could be reset to factory. I'll leave out a few of the details that don't matter to the tale. He powered up the laptop and showed me Windows 11. The touchpad was working. He went… Re: ASUS Laptops - my experience Hardware and Software by Reverend Jim >I consider them all bloatware Something I may try on this laptop (old ASUS K53E) once I get my other one back is a fresh install from USB but selecting "World" as my region. I read somewhere a while back that if you select any specific region, bloatware for that region gets installed, but if you pick World then no bloatware. You … Re: ASUS Laptops - my experience Hardware and Software by toneewa > rproffitt commented: BTW, recovery drive failed me so many times that I carry no less than 2 bootable Linux sticks in my PC rescue bag. I've seen in the past failures due to having more than 1 drive installed. Disconnect all other drives and devices. I too, have used Linux live bootable CD's to get files off a broken Windows. It was way … Re: ASUS Laptops - my experience Hardware and Software by Reverend Jim >I too, have used Linux live bootable CD's to get files off a broken Windows. I'm assuming the drive wasn't bitlockered? Read file properties of video files in C++ Programming Software Development 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 by pritaeas Here's a good place to start: https://mediaarea.net/en/MediaInfo Re: Read file properties of video files in C++ Programming Software Development by Thomasio How would that help me? That's just another program that does more or less the same Windows does, but doesn't mention which API commands one needs to get this output. It's open source, meaning one could look into the code and try to figure out the relevant commands but we all know figuring out what someone elses code does takes far longer than … Re: Read file properties of video files in C++ Programming Software Development by pritaeas > It's open source, meaning one could look into the code That's the way I learn... There is no real Windows API to read video info, as this info is different for each video format. With the Windows Property System you can read some information, but it is not accessible with all platforms. Personally I'd choose to learn how to read the … Re: Read file properties of video files in C++ Programming Software Development by rproffitt When you asked for runtime you triggered a memory from long ago where MP3 runtimes were at times wildly inaccurate. Just like the man who was turned into a newt in Monty Python who said "I got better", such are better now but I still read complaints it's not exact. So here's the thing, you may want that runtime but it's not always … Re: Read file properties of video files in C++ Programming Software Development by Salem If you want to know what windows is up to when you do something, then try using https://learn.microsoft.com/en-us/sysinternals/downloads/procmon Re: Read file properties of video files in C++ Programming Software Development by toneewa The [Windows Media Foundation API](https://learn.microsoft.com/en-us/windows/win32/api/mfmediaengine/nf-mfmediaengine-imfmediaengine-getduration#requirements) is probably what you are thinking of. You also can just use my example, using the ffmpeg library. Just change the filename. extern "C" { #include <libavformat/… Re: Read file properties of video files in C++ Programming Software Development by Thomasio Thanks @toneewa that looks like what I want, at least a basis from where I can try to work it out for my needs. Re: How can I upload a tar.bz2 file to openstack swift object storage container Programming Software Development by Hanginium65 Good day, Salem. My apologies for taking so long to reply to your suggestion. I refactored my code to read the contents of the tar.bz2 file and then pass them as a file-like object to the 'put_object' and also to change the content type for the file transfer to "application/octet-stream". The first was sent through to object storage … Converting PDF Image to CSV Using Multimodal Google Gemini Pro Programming Computer Science by usmanmalik57 In this article, you will learn to use [Google Gemini Pro](https://blog.google/technology/ai/google-gemini-ai/), a state-of-the-art multimodal generative model, to extract information from PDF and convert it to CSV files. You will use a simple text prompt to tell Google Gemini Pro about the information you want to extract. This is a valuable skill … PDF Image Table Extractor Web App with Google Gemini Pro and Streamlit Programming Computer Science by usmanmalik57 In my previous article, I explained [how to convert PDF image to CSV using Multimodal Google Gemini Pro](https://www.daniweb.com/programming/computer-science/tutorials/541365/converting-pdf-image-to-csv-using-multimodal-google-gemini-pro). To do so, I wrote a Python script that passes text command to [Google Gemino Pro](https://blog.google/… Why am getting different syntax errors when running a Python script Programming Software Development by Tom_45 I am working on an exercise from Google's Python class dealing with popular baby names. I have the program running properly when using only one filename, but when I try to use the wildcard to get all files with baby####.html files I get differing errors every time I run the program. Here is the problem code: matches = re.findall('<… how convert cur images to image? Programming Software Development by cambalinho how can i convert cursor files to image? i need see the cur\ani on picturebox?(just for learning) Private Sub btnChooseImage_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnChooseImage.Click If (ofdChooseFile.ShowDialog = Windows.Forms.DialogResult.OK) Then If (ofdChooseFile.… Retrieval Augmented Generation (RAG) with Google Gemma From HuggingFace Programming Computer Science by usmanmalik57 In a previous article, I explained [how to fine-tune Google's Gemma model for text classification](https://www.daniweb.com/programming/computer-science/tutorials/541544/fine-tuning-google-gemma-model-for-text-classification-in-python). In this article, I will explain how you can improve performance of a pretrained large language model (LLM) using … Re: How can I upload a tar.bz2 file to openstack swift object storage container Programming Software Development by Salem First, let's prepare two tar files using different compression schemes for demo purposes. $ cat foo_1.txt This is file 1 $ cat foo_2.txt This is file 2 This is file two This is file too # Three tar files, two compressed and one uncompressed for reference $ tar -j -c -f foo.tar.bz2 foo_1.txt foo_2.txt… Re: how convert cur images to image? Programming Software Development by Reverend Jim Why not just load it into paint.exe then save as whatever format you want? Or you could download [ffmpeg](https://ffmpeg.org/) (free) and do ffmpeg -i myfile.ico myfile.jpg (or whatever format you want) ffmpeg can also be used to convert video between any formats. Also subtitle files. ffmpeg is a portable app (no installation required)… Re: Problem with the external hard drive Hardware and Software Microsoft Windows by Dani I’m glad you were able to recover your important files. Re: Problem with the external hard drive Hardware and Software Microsoft Windows by Mikey37 Hi Ryan Morgan, I'm am glad your were successful in recovering your data. I have dealt with several similar situations. Some were with my computers, other times, friends and family members. As you, I bought data recovery software and dealt with the process myself. Making the decision whether to take it to a pro or do it myself, came down to … GCC Fails to Recognize Parameters Programming by snah19 RE: ffmpeg-4.4 Andrew Wu DJGPP CROSS COMPILER, GCC v12.2.0 Host Macbook Pro, macOS Monterey [Click Here](https://ffmpeg.org/platform.html#DOS) DJGPP Cross Compiler 12.2.0 Fails to Recognize "certain" Parameters in FFmpeg Source Code Hi, I am using the DJGPP cross compiler 12.2.0, developed by Andrew Wu, github, to build the … Re: Postfix authentication problem Hardware and Software Linux and Unix by chickenbirds > I am trying to set-up Postfix on my Ubuntu local web development machine for send-only e-mails using Gmail so I can test e-mails sent by a web app I am developing. Even though this is an old post I wanted to reply as I found it while trying to setup my own postfix mailrelay on my private cloud server with Debian that hosts our small …