Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
mysql_real_escape_string
- Page 1
why need digital marketing ?
Digital Media
Digital Marketing
1 Hour Ago
by Shailesh_8
[[Click Here](https://digibar.in/)](null)** ## Digital marketing is essential for several reasons ## **Reach** It allows businesses to reach a global audience instantly. With the internet being accessible almost everywhere, digital marketing helps in expanding the reach beyond geographical boundaries. **Targeting** Digital marketing …
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Day Ago
by david.tigner
Today is a good day. The problem has been solved. Problem was anti-spoofing stuff being added to my email server sometime in February. The clue that was found during testing was I had by chance entered an email address ending in @(one of domains that I own), (not even a real email address) and form emailed successfully. And by changing only 1 line …
Re: The Application of Greedy Algorithm in Computer Monitoring Software
Hardware and Software
4 Days Ago
by Dani
> Maybe the tag system changed but in the past I could create a new tag if there wasn't one. Only non-newbie members can do that. Please visit our [tagging guidelines](https://www.daniweb.com/welcome/tagging).
Re: Improve HAVING BY performance
Programming
Databases
4 Weeks Ago
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: Improve HAVING BY performance
Programming
Databases
4 Weeks Ago
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 …
Using Natural Language to Query SQL Databases with Python LangChain Module
Programming
Computer Science
4 Weeks Ago
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 …
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Weeks Ago
by vortex_1
In my opinion, implementing a feature in a bouncing balls simulation where a new ball is created when two balls collide can add an interesting and dynamic element to the simulation. This feature can introduce a sense of complexity and unpredictability, making the simulation more engaging and challenging for users. It could also provide an …
Create And Install Windows Service Step By Step In C#
Programming
Web Development
3 Weeks Ago
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…
Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
4 Weeks Ago
by jprog1000
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…
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
4 Weeks Ago
by toneewa
Some minor syntax fixes. Some things to consider are the collision and distance of drawing the next ball. A ball inside a ball's radius will cause numerous collisions. Even the starting ball locations can be already causing collisions. I added a collision counter display. Increased the maximum balls to make to 50. The timer delay can also impact …
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
4 Weeks Ago
by toneewa
I cleaned up the code some more. Removed some things that were not being used. I ran into a couple problems which caused the freeze you mentioned. It was memory heap space and array allocating. E.g., if x or y becomes negative, and also infinite recursion. I added a x/y coordinate display for a ball, and tinkered with the placement of the …
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Week Ago
by david.tigner
I just discovered some new information on why the online submission pages weren't sending as during some testing I discovered there was a way for the submitted info to be sent. Here it is. I have online submission pages on 4 websites: RadiantNewHorizonHomes.com, RTO-USA.net, SubterraneanSoundStudio.com and RebHellionRecords.com. Each of these 4 …
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Week Ago
by david.tigner
I am not pretending to send emails from x@gmail.com or any other email address. Here's what is happening: If a submitter (the one that fills out the form and presses the Submit button) doesn't enter an email address ending in a domain that I own, the submitted info will not send. If they do, it will. The email address they enter in this case does …
Re: DaniWeb Auto Answer A.I. feature
Community Center
Meta DaniWeb
3 Weeks Ago
by Dani
Pardon my cluelessness here. A $300 video card can efficiently perform complex AI tasks against DaniWeb’s entire database in real time? Missed the link to the Python API.
Re: What is ROI in influencer marketing?
Digital Media
Digital Marketing
3 Weeks Ago
by rproffitt
Given your posting history, you seem to put out single line questions that would be dancing around your real question or goals. I see few reply to you so why not skip all that and write what you really want to write?
Re: What's the most unexpected hobby or interest you have outside of coding?
Community Center
Geeks' Lounge
2 Weeks Ago
by jkon
Growing up in the 80's in an environment where nerds where literally punished I developed lots of skills to sugarcoat the fact that I had a computer , I was coding and I liked math. Most of them were various martial arts. Now in my late 40's I still enjoy physical activities , but more like running or swimming when my lateral epicondylitis let me …
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Week Ago
by david.tigner
There is no making emails "appear" to be from other than the true sender. I'll explain further. Suppose John Smith has an email address of johnsmith@gmail.com. John then goes on to one of my sites, lets say RTO-USA.net, and fills out an online submission form and enters his email address truthfully (johnsmith@gmail.com). This email …
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Week Ago
by david.tigner
If John isn't the sender then who is ? Also, continuing from the John Smith example, if John Smith enters his email address as johnsmith@SubterraneanSoundStudio.com or johnsmith@RTO-USA.net (ficticious email addresses) then the submitted info would be emailed to me but if he uses his true email address then it would not. Continuing from this …
Re: What's the most unexpected hobby or interest you have outside of coding?
Community Center
Geeks' Lounge
1 Week Ago
by Dani
> Dani I believe that the LLM that you asked to give you ideas about a topic , was correct about the engagement such a topic would have , but not how it would work in the real world. These kind of topics are great to engage people but not to interact , and interaction is what forums is about. I assume that what you're getting at is that, …
Re: Chrome generates AI content
Community Center
1 Week Ago
by rproffitt
https://blogs.microsoft.com/blog/2023/02/07/reinventing-search-with-a-new-ai-powered-microsoft-bing-and-edge-your-copilot-for-the-web/ I recall seeing this on Bing and Edge as well. It shouldn't be long till Apple turns it on in Safari. Let me share a tip about search today. Use “before:2023" at the beginning of your search string. …
Re: Using Natural Language to Query SQL Databases with Python LangChain Module
Programming
Computer Science
1 Week Ago
by aishamushtaq
very helpful
Re: Mariadb10.11.6 Glarea single failed node startup stuck failure
Programming
Databases
4 Weeks Ago
by toneewa
I wonder how these IP addresses are issued. Static, dynamic, or is DHCP on? It reminds me of the time a network printer that stopped working, after the power went out. Other devices connected to the network after it's setup. Then, after rebooting, it got a different IP, but the host still thought it was on the old one. I've seen the same thing when…
Re: how to create a simple elevator simulation?
Programming
Software Development
1 Week Ago
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: Slaying Unicorns: How Europe Sabotages Its Own Economic Future
Community Center
1 Week Ago
by Dani
I'm happy to live in Silicon Valley :)
Re: Create And Install Windows Service Step By Step In C#
Programming
Web Development
3 Weeks Ago
by rproffitt
Since the answer would be many pages long, read https://learn.microsoft.com/en-us/dotnet/framework/windows-services/walkthrough-creating-a-windows-service-application-in-the-component-designer and consider the two other pages noted there.
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
4 Weeks Ago
by jprog1000
Thank you so much for your reply and additions! It is certainly working as I wanted. I will read through the code you have added and ask you any questions I might have. I hope you don't mind. Regards
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
4 Weeks Ago
by Dani
I’ll mark this question solved :)
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
4 Weeks Ago
by Dani
… oh, sorry, missed the bit about you still needing clarifications. Feel feee to ask :) I’ll now unmark this topic as solved. /facepalm
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
3 Weeks Ago
by jprog1000
Hello, Thank you again so much! All your additions are clear, but it seems like whenever two balls collide, more than one ball is added to the arraylist and painted. Any way to have just one ball added to the panel for every collision? Have some kind of a toggle flag in paintcomponent? Regards
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
3 Weeks Ago
by toneewa
Yes, this is true. Overlapping ball spawns can do that causing a chain reaction. Something like that could be done. How you handle the spawning of the new ball is what I played with a bit before. You will see better collision detection changing to: g.fillOval(ball.getX(), ball.getY(), 1 * ball.getRadius(), 1 * ball.getRadius());
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
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