2,720 Recommended Topics
Remove Filter | |
<!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 class="u-body u-overlap u-xl-mode" style="background: url(img/arcane.png);" data-lang="en"> <div class="container" style="text-align:left;margin-top: 10px;margin-bottom:30px; margin-left: auto; margin-right: auto;background: #fff;" > <div class="title">Registration</div> <form action="#" enctype="multipart/form-data" method="POST" > <div class="user-info"> <div class="input-box"> <span class="text">First name</span> <input type="text" name="firstname" placeholder="Enter Your firstname"> … | |
Hello, I would like to know how much time is taking to develop a game, you may ask why am I asking this question the reason is that I'm a newbie in this field and it will be my 1st project doing practically, I was a little bit confused about … | |
I think I can record but I can't read with the option button checkbox I don't know if I do the recording procedure correctly | |
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 as OpenAI, which can be expensive when you try to scale. In this article, I will show you how to use the open-source and free-of-cost … | |
In Unity 3D, utilizing the Starter Assets package, I am trying to swap the mesh on the Starter Asset character that I duplicated in the scene. I unpacked a prefab so that I could utilize the mesh filter of the new prefab that I imported. I realized that there are … | |
Hello, I have a program which creates multiple balls and bounces them off when they collide. This works fine. import java.awt.Rectangle; public class Ball{ private int x = 0; private int y = 0; private int radius; private int panelwidth = 500; private int panelheight = 500; private int xDx … | |
ok so i have a page with a gridview on it and it displays rows from sql table. i have also a link assigned to each row: <asp:GridView ID="GridViewMatters" runat="server" AutoGenerateColumns="False" OnRowDataBound="GridViewMatters_RowDataBound"> <Columns> <asp:BoundField DataField="client_ref" HeaderText="Client Reference" /> <asp:BoundField DataField="our_ref" HeaderText="Our Reference" /> <asp:BoundField DataField="client_name" HeaderText="First Name" /> <asp:BoundField DataField="section_name" … | |
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-to-query-sql-databases-with-python-langchain-module), using the Python [LangChain module](https://python.langchain.com/docs/get_started/introduction) and [OpenAI API](https://openai.com/blog/openai-api). In this article, you will learn how to use LangChain and OpenAI API to create a question-answering application that allows you to retrieve information … | |
Hello I am trying to query a database to show records only for the current user using variable I get the correct data but only 1 row with results any guidance? // Query database to retrieve records associated with the user $sql = "SELECT * FROM table_name WHERE variable_name = … | |
Hello guys, please can someone explain to me how i can know the framework of any website on the internet. I know how i can detect wordpress but other framework are hard for me. Please i need assistance on this. | |
What are some ways to improve MySQL performance on queries against large tables that include the HAVING BY clause. It's my understanding that anything in there doesn't benefit from table indexes. | |
Hello, I am somewhat new to APIs. I have integrated PayPal payments successfully. With PayPal, I can send the user to the payment page using an HTML form. Here is an example ... <!-- PAYPAL --> <form action="https://www.paypal.com/cgi-bin/webscr" method="POST" name="_cart"> <input type="hidden" name="cmd" value="_cart" /> <input type="hidden" name="upload" value="1" /> … | |
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 … | |
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 … | |
When working with RecyclerView, always utilize the ViewHolder pattern to improve performance by minimizing the number of findViewById() calls. public class MyAdapter extends RecyclerView.Adapter<MyAdapter.ViewHolder> { public static class ViewHolder extends RecyclerView.ViewHolder { TextView textView; public ViewHolder(View itemView) { super(itemView); textView = itemView.findViewById(R.id.textView); } } @Override public ViewHolder onCreateViewHolder(ViewGroup parent, int … | |
In my previous article, I explained how I developed a simple chatbot using LangChain and Chat-GPT that can answer queries related to Paris Olympics ticket prices. However, one major drawback with that chatbot is that it can only generate a single response based on user queries. It can not answer … | |
these is the VB6 function for RayCasting: Private Sub DrawRays() Dim StepX As Double Dim StepY As Double Dim VertX As Double Dim VertY As Double Dim HorizX As Double Dim HorizY As Double Dim MapX As Long Dim MapY As Long Dim HorizDist As Double Dim VertDist As Double … | |
Hi, I am trying to get a cat walking back and forth between the screen using a left and right tileset of bitmaps. Also, I am supposed to be able to control two caveman sprites that appear to walk left and right as you press the left and right keys. … | |
I think that I understand the difference between: document.addEventListener('DOMContentLoaded', callback_fn); and: window.addEventListener('load', (event) => { ... }); However, as a jQuery user, what is the difference between DOMContentLoaded and the jQuery ready fn? | |
Hello webmasters, I am currently building a template that I am going to sell on different websites like Codester and CodeGrape. I want to build a business directory. Here is what I have come up with ... 1. users can register and add listings. 2. admin can create categories for … | |
I have problem with this htaccess in STATIC URL RewriteEngine On RewriteRule ^readlex/(.*)$/?$ readlex.php?slug=$1 [NC,L] **DINAMIC URL** work fine only with defined CONSTANT: Example <a href="<?php echo BASE_URL.READ_LEX ?>Le-mura-di-Lucca">Lucca</a> Result = localhost/mysite/readlex/Le-mura-di-Lucca **STATIC URL** not work (??) <a href="localhost/mysite/readlex.php?slug=Le-mura-di-Lucca">Lucca</a> Result = localhost/mysite/readlex.php?slug=Le-mura-di-Lucca">Lucca ***Unfortunately I can't insert the php CONSTANTS in … | |
I was searching for Paris Olympics ticket prices for tennis games recently. The official website directs you to a [PDF document](https://tickets.paris2024.org/obj/media/FR-Paris2024/ticket-prices.pdf) containing ticket prices and venues for all the games. However, I found the PDF document to be very hard to navigate. To make things easier, I developed a chatbot … | |
On March 4, 2024, [Anthropic](https://www.anthropic.com/) launched the [Claude 3 family of large language models](https://www.anthropic.com/news/claude-3-family). Anthropic claimed that its Claude 3 Opus model outperforms GPT-4 on various benchmarks. Intrigued by Anthropic's claim, I performed a simple test to compare the performances of Claude 3 Opus, [Google Gemini Pro](https://deepmind.google/technologies/gemini/#introduction), and [OpenAI's GPT-4](https://openai.com/research/gpt-4) … | |
This is a simple to use, self-contained website slideshow utility. Do you have a monitor or TV setup in your lobby where you'd like to present web content automatically? With this HTML/Javascript page, simply edit an array of pages or "slides". You define a title, duration, and URL for each … | |
This is the error message: >>> %Run -c $EDITOR_CONTENT Traceback (most recent call last): File "<string>", line 6 image = cv2.imread(“C:\Users\Audun Nilsen\Pictures\pica.webp”) ^ SyntaxError: invalid character in identifier >>> This is the code: import cv2 # OpenCV for image processing image = cv2.imread(“C:\Users\Audun Nilsen\Pictures\pica.webp”) | |
Hi I want to make use of GitHub-programs, and so I downloaded a bunch of Python-tools. When I run this command in "Python 3.12", which looks like CMD to me, I get a syntax error. "To create a virtual environment, Python supplies a built in venv module which provides the … | |
Hello everyone i want to disable the automatic swipe effect on my product page on this site https://kupisi.mk the lib is called lightgallery i am not able to find the line of code to turn it off for 2 days i need fresh pair of eyes !! :S i made … | |
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 FFmpeg source code, and … Programming c | |
Hi I downloaded Tkinter Designer, but there´s no exe there. I´ve used Thonny as a "compiler" for running scripts, and I used it to "make" a a simple program, but I don´t know how to save as an exe, and I don´t know how I would put these files into … | |
What was wrong with good ole using SMTP? Has anyone here successfully used an XOAuth library for PHP? Specifically, I'm looking to connect to my Office 365 mailbox. |
The End.