Re: Using Natural Language to Query SQL Databases with Python LangChain Module Programming Computer Science by aishamushtaq very helpful HTML Image Embedding Issue Programming Web Development by khan zain "I'm attempting to embed an image in my HTML page, but it's not showing up. I've checked the file path, and it seems correct. Below is the code I'm using. Any insights on why the image isn't displaying as expected?"" <!DOCTYPE html> <html lang=""en""> <head> <meta… Retrieval Augmented Generation with Hugging Face Models in LangChain Programming Computer Science by usmanmalik57 In my [previous articles](https://www.daniweb.com/programming/computer-science/tutorials/541732/paris-olympics-ticket-information-chatbot-with-memory-using-langchain), I explained how to develop customized chatbots using Retrieval Augmented Generation (RAG) approach in [LangChain](https://www.langchain.com/). However, I used proprietary models such… 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: Backlink Indexing issue Digital Media Digital Marketing Search Engine Strategies by Dani Make sure the backlinks are on pages that are not noindexed (they neither have a meta noindex tag nor a noindex http header), as well as the pages’ URLs not matching any rule on their website’s robots.txt file. Additionally, make sure that the page on your own website the backlink points to doesn’t match a rule on your site’s own robots.txt … Re: how to create a simple elevator simulation? Programming Software Development by trueframe To make a basic elevator simulation, first, identify the floors and the elevator's capacity. Then, use loops and conditionals in programming to mimic its movement. Include buttons for users to call the elevator and select floors. Test thoroughly for accuracy. Re: Video is not the main content of the page Digital Media Digital Marketing Search Engine Strategies by Read a Book But i am generating the JSON code dynamically. If there is no video than i hide the VideoObject tag with if statement. Should i just remove the `itemscope itemtype="http://schema.org/VideoObject"` 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 … 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 … 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 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 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: sequential file save read option button Programming Software Development by rproffitt I noted the issues with your post and the problems with what is a dead system. While I do have one last VB6 dev laptop in storage I only pull it out for paid work. And at 250USD a hour the only company that pays is very careful about their requests. You ignored how such problems are presented. ZIP file? Too dangerous today. You could have … Re: sequential file save read option button Programming Software Development by SCBWV I don't understand a few things. There are option buttons and there are check boxes. So I don't know what you mean by "option button checkbox." I also don't know what you mean by "record." Do you mean print? Read values from a file? I would suggest instead of checking for "1" that you use "If chkExtra(0).Value … Display product filter on all products category Programming Web Development by ianhaneybs I have a opencart 2.3 store and I have downloaded a extension that shows all products on one page, it creates a category called All and displays all products in that category. It's working all ok but I would like to have the product filter displayed in the left column so it's the same as the other categories. For example the category here … Using Natural Language to Query SQL Databases with Python LangChain Module Programming Computer Science by usmanmalik57 The advent of large language models (LLM) has replaced complex scripts with natural language for automating various tasks. You can now use LLM to interact with your databases using natural language, which makes life easier for people who do not have sufficient SQL knowledge. In this article, you will learn how to retrieve information from SQL … Middle Aged Needing Career Advice Community Center Geeks' Lounge by BigPaw I'm in my 50's and my IT credentials have lapsed. Pre-cancer I was a consultant in software licensing, but my background is more dominantly hardware and developing. I am self-taught in a couple of old irrelevant-to-today languages, and hold a certification for VB6. Hardware I'm certified A+ and some Toshiba certifications. For software licensing I … Mariadb10.11.6 Glarea single failed node startup stuck failure Programming Databases by mx_983 Basic background information Mariadb Ver 15.1 District 10.11.6 MariaDB Glarea cluster, one with three nodes: Node1:192.168.18.78 Node2: 192.168.18.79 Node3: 192.168.18.80 Among them, Node1 node was restarted after a power outage of 1 hour, and after executing the system ctl start mariadb, it was stuck for a long time (running for 6 hours) … Video is not the main content of the page Digital Media Digital Marketing Search Engine Strategies by Read a Book Hello everyone, i am not able to fix this issue in the Search Console `Video is not the main content of the page` but actually it is! When you enter in my product page the first thing that appears is the video it self! (hosted on imgur platform) I even added additional Schema video tags but that seems is useless. here is the code i am … Re: Video is not the main content of the page Digital Media Digital Marketing Search Engine Strategies by Dani You have the itemtype set to a VideoObject but, as you point out, only sometimes is there actually an .mp4 file. The rest of the time, it's a static image such as a png, jpg, or jpeg. Google probably doesn't trust your meta tags since they are inaccurate half the time. Slaying Unicorns: How Europe Sabotages Its Own Economic Future Community Center by Johannes C. **With the decline of industry and post-colonial exploitation, Europe should aim to become a global leader in the tech and service industry. But as the EU increasingly complicates the process for startups to thrive, the economic outlook appears bleak.** If you've missed recent AI news, **[Claude Opus now outperforms GPT-4 in most areas](https://… How Build Html form ? Programming by Kirubel_2 <!DOCTYPE html> <html style="font-size: 16px;" lang="en"><head> <title>Comment</title> <script src="js/jquery.js"></script> <link rel="stylesheet" href="sign.css"> </head> <body … Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner Ran into some new issues. Here goes. In order to download PHPMailer, must download Composer. In order to install Composer, need a Command Line PHP.exe file. I do not have one of these. I have been using PHP services from URL provider, 1 & 1/Ionos since 2011. They said in order to get a Command Line PHP.exe file, requires SSH to 'Connect to … Re: Online subission forms not sending emails of submitted info Programming Web Development by Biiim You don't need composer or access to the php.exe. just locate the PHPmailer Directory into your web root, to keep it simple and the require links should point to where it is located. mine is `require 'includes/PHPMailer/src/PHPMailer.php';` cause I put it in a folder called includes, this should be relative to the file that is using it.… Re: ASUS Laptops - my experience Hardware and Software by Reverend Jim I called Best Buy Friday morning to ask about the status of my laptop. I was told the average wait time was one minute. Fifteen minutes later I was told there were eight calls ahead of me and would I like to leave my number for a callback. I did so and after two more hours of waiting I called the local Best Buy direct. I was told my laptop would be… Re: Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by Dani You are correctly implementing 301 redirects in an .htaccess file. Ensure that the redirects point to the exact same URL as you have in the canonical. Additionally, ensure that all internal links throughout your site point to that same URL as well. Re: Improve HAVING BY performance Programming Databases by Biiim > INSERT INTO electronics.products(ProductID, ProductName, Price) VALUES ('1','capacitors', 2.50), ('2','resistors', 4.50), ('3','rectifiers', 7.50), ('4','diodes', 10.00), ('5','ICs', 25.00), ... ('50000','...', ...); I don't see any mention of an index on it & your benchmark indicates you don't have one: ALTER TABLE `… Re: DaniWeb Auto Answer A.I. feature Community Center Meta DaniWeb by toneewa It indeed seems to be working. The interface is all done in the browser, on your localhost, 127.0.0.1:43905/?__theme=dark, and I stripped it down to just the message box. Just have to gather more data, and it seems good. Took ~50 minutes to get installed. The dataset can be a simple text file with a space between each topic thread. Re: Online subission forms not sending emails of submitted info Programming Web Development by Biiim Hi David, > More problems. I incorporated the coding Biiim provided. Before any changes, after submission, would display the correct (yellow) screen. After code changed, not only will still not send email but screen turns blank white. URL provider, IONOS, told me that the Host is smtp.ionos.com and the Username and password are for an email… 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?