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. 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: Printing multiple integers EASY SOLUTION Programming Software Development by Bunker A straightforward solution to printing multiple integers is to use a loop. For example, in Python, you could use a "for" loop to iterate through a list of integers and print each one. This method is simple and effective. 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: Which programming language is best Ludo game development? Programming Game Development by kishanrg When it comes to developing a Ludo game, the choice of programming language largely depends on your familiarity with the language and the platforms you intend to target. However, some commonly used languages for game development, including Ludo games, are C++, C#, Java, JavaScript, and Python. Ultimately, the "best" programming … 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 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/… Create And Install Windows Service Step By Step In C# Programming Web Development by Rabiya_1 I'm New In c# and want to create a windows service here what I'm trying public TestService() { InitializeComponent(); timeDelay = new System.Timers.Timer(); timeDelay.Elapsed += new System.Timers.ElapsedEventHandler(WorkProcess); } public… Re: This is me venting Community Center Meta DaniWeb by jkon Dani , yes I also believe that you are responsible for the decline of DaniWeb .... BUUUT that was many years ago. We all foreseen the decline of "forums" back in early 2010's , there were many alternatives of what to do , and I strongly believe that you choose the wrong one. I will not repeat what you did or what you could be done … Question Answering with YouTube Videos Using RAG in LangChain Programming Computer Science by usmanmalik57 In previous articles, I explained how to use natural language to interact with [PDF documents](https://www.daniweb.com/programming/computer-science/tutorials/541732/paris-olympics-ticket-information-chatbot-with-memory-using-langchain) and [SQL databases](https://www.daniweb.com/programming/computer-science/tutorials/541771/using-natural-language-… Re: This is me venting Community Center Meta DaniWeb by Dani > what was missing was a programming hub of news / forum / interviews I have always been a strong proponent of having editorial (news, tutorials, interviews, etc.) complement the user-generated forum discussions. In the past, well over 50% of our gross revenue from advertising went straight into paying for staff writers. IMHO we used to have … 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… APIs and SDKs in a PHP project Programming Web Development by FarrisFahad I want to understand how I can add an SDK to my PHP projects to make APIs calls. I noticed that every software company have an SDK. I also noticed that most SDKs use Composer. I don't know what composer is and do I need to have it for every SDK? I am also using PHP procedural programming and I noticed that these SDKs use OOP. Can someone help… This is me venting Community Center Meta DaniWeb by Dani This is definitely not a targeted attack at *anyone*. Please take it just as me having a bad day and venting. I'm kinda tired of people constantly telling me that I'm the reason that DaniWeb traffic has tanked over the years. And if only I had done this differently. Or done that differently. Or listened to members more about this. Or listened to… Re: ASUS Laptops - my experience Hardware and Software by rproffitt "I allocated a C partition and formatted as NTFS then boot back into my Windows 11 install USB." That can derail the usual Windows install. On today's PCs I start off with a blank, no partition drive, boot the Windows USB stick and once in a while need to add the Intel RST storage driver. I maintain that Microsoft should update … 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 … 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: Do you participate in any other communities? Community Center Geeks' Lounge by Dani Oh, and that reminds me, ... does Reddit have programming subreddits where you can actually post and debug code a la DaniWeb? I never took Reddit for being an excellent medium for programming. Re: How NOT to do business online Digital Media Digital Marketing by Dani Not that it is an excuse, but I would like to offer up an explanation, if I may. You can [see here](https://www.daniweb.com/programming/web-development/threads/541688/airtm-api-how-to-build-a-form) that only 4 days ago, FarrisFahad had a button to pay by Paypal on his website, and wants to convert it into utilizing a payment API (e.g. something … Re: Improve HAVING BY performance Programming Databases by Dani > SELECT sum(points) total FROM ... HAVING points > 10 I don't have experience with MariaDB, but in MySQL, something like that will work as long as I do `SELECT sum(points) AS total FROM ... HAVING total > 10`. Is that what you were getting at? As far as what I was trying to accomplish that provoked this question, I was working on a … Re: Improve HAVING BY performance Programming Databases by Biiim > I don't have experience with MariaDB, but in MySQL, something like that will work as long as I do SELECT sum(points) AS total FROM ... HAVING total > 10. Is that what you were getting at? Kind of, MariaDB is a fork of MySQL from around 2009 or something like that, MySQL 5.* and the creator continued developing MariaDB and Oracle took … Re: How we can Choose an Awesome Mobile App Development Company? Programming Mobile Development by Mary_50 Choosing an awesome mobile app development company involves several key considerations. * Look for a company with a diverse portfolio showcasing their expertise. * Ensure they are skilled in relevant programming languages and frameworks. * Opt for a company that maintains transparent communication channels. * Choose a company that … Re: Do you participate in any other communities? Community Center Geeks' Lounge by Salem Yeah, there are sub-reddits for most languages and programming in general. I'm spending way too much time in https://www.reddit.com/r/C_Programming/ for example. There's the usual collection of helpful people, pedants, trolls and idiots - but that's true anywhere. The mods seem to be keeping it ticking over nicely. Re: Improve HAVING BY performance Programming Databases by toneewa I added your mentioned alter table index. Took 4.375 secs in MySQL Workbench. It did speed up the results. I'll have to try another method of importing to see if I can improve this. I also ommitted the overhead of converting variables for display output measurements, because they were included in the C++ times. If we were to compare the two, it as … Re: Improve HAVING BY performance Programming Databases by toneewa I'm a little late to the party, however, I want to share my experience learning MySQL in the past day. I setup a server, a database, and wrote a C++ program to connect to it. It measures the times for 3 SELECTs. The whole product list, using HAVING, and WHERE. I also tested reversing the orders. Query execution time: 0.0002336 seconds … Re: What's the most unexpected hobby or interest you have outside of coding? Community Center Geeks' Lounge by toneewa With "Tennis Elbow", it’s the tendons that connect these muscles to the bones that are primarily affected by this condition. Tendons, which connect muscles to bones, are primarily composed of collagen, a protein that requires several key nutrients for its formation and function. Vitamin A: It can help enhance collagen development. … Re: Word Association Game Community Center Geeks' Lounge by Dani Seriously?! I need to go twice in a row b/c after almost two decades of this thread staying alive, no one's posted in 4 years? OK, fine ... snobby --> princess Re: Microsoft Copilot is missing! Hardware and Software Microsoft Windows by Reverend Jim Right click on taskbar and select taskbar settings. If you want the icon to show then turn copilot preview on. Or you can use the hotkey WINDOWS+C. Copilot should appear docked to the right of the screen.. Re: Which programming language is best Ludo game development? Programming Game Development by polles i would choose JavaScript 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