Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
creating
- Page 1
Retrieval Augmented Generation with Hugging Face Models in LangChain
Programming
Computer Science
5 Days Ago
by usmanmalik57
….png](https://static.daniweb.com/attachments/4/3373e7139ba6c1245080052313b95cd4.png) ## Conclusion
Creating
a RAG application involves a large language model and an…
Re: What are the key components of an effective email marketing campaign?
Digital Media
Digital Marketing
3 Days Ago
by KomalBhatt
Correct!, Most of the essential aspects of
creating
a successful email marketing campaign have been covered most ! However …
Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Weeks Ago
by jprog1000
… balls collide in the Ball Panel class. When I tried
creating
a new ball in the nested loop that checks for… tell me why? What is the proper way to handle
creating
a new ball upon collision and make it move etc…
Re: What is best method for link building nowadays?
Digital Media
Digital Marketing
Search Engine Strategies
4 Weeks Ago
by KomalBhatt
Yes. always focus on quality and not on quantity.
creating
a link is important but always follow the algorithm. Do organic SEO. Or else it will considered in black hat seo. You can focus on doing blog submissions, Question and answers for getting a backlink, always remember to check DA and PA of the website
What's your favorite productivity hack outside of coding?
Community Center
1 Week Ago
by Dani
… just found that sooooo motivating that everyone around me was
creating
the next big thing. All I needed was 20 minutes…
Question Answering with YouTube Videos Using RAG in LangChain
Programming
Computer Science
1 Week Ago
by usmanmalik57
… import MessagesPlaceholder from langchain_core.messages import HumanMessage, AIMessage import os ``` ##
Creating
Text Documents from YouTube Videos The first step involves converting…
Re: Lots of new members but no one posts
Community Center
Meta DaniWeb
4 Weeks Ago
by Dani
I can confirm that's not happening. I can confirm they're just signing up and then leaving, and can also confirm they're not bots. There can't be *that* many people
creating
sleeper accounts for future spam attacks, so I'm ruling that out too. Plus, it's always been this way.
Re: Create And Install Windows Service Step By Step In C#
Programming
Web Development
2 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: What's the most unexpected hobby or interest you have outside of coding?
Community Center
Geeks' Lounge
1 Week Ago
by jkon
… my job. I have also a long standing love for
creating
music that I don't really care if anyone else…
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 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
2 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
2 Weeks Ago
by Dani
I’ll mark this question solved :)
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 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
2 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: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 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
2 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());
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
1 Week Ago
by jprog1000
Got it. Thank you so much!
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
1 Week 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 …
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
1 Week Ago
by jprog1000
Great reply, vortex! Agree with all your points.
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
1 Week Ago
by aishamushtaq
Hi, Its helpful for me. I got my answer.
Re: What is best method for link building nowadays?
Digital Media
Digital Marketing
Search Engine Strategies
4 Weeks Ago
by webhostingworld
One effective approach is to create valuable and informative content that others will want to link to, such as blog posts, infographics, or videos. By consistently producing top-notch content, you can attract organic backlinks.
Re: What is best method for link building nowadays?
Digital Media
Digital Marketing
Search Engine Strategies
3 Weeks Ago
by aishamushtaq
You've nailed it! Effective link building involves high-quality content, guest blogging, broken link opportunities, social media promotion, and influencer collaboration. Quality beats quantity, and staying updated on search engine algorithm changes is essential.
Re: What is best method for link building nowadays?
Digital Media
Digital Marketing
Search Engine Strategies
2 Weeks Ago
by AndyBeohar
I would say 1. Create high-quality, valuable content that naturally attracts backlinks from authoritative websites in your industry. 2. Engage in strategic outreach, guest blogging, and participate in relevant communities can also help build quality links.
Re: What is best method for link building nowadays?
Digital Media
Digital Marketing
Search Engine Strategies
1 Week Ago
by KomalBhatt
Use keywords in anchor text. Commit to regular link building. Build links from relevant websites. Create infographics and other visual assets.
Re: What is best method for link building nowadays?
Digital Media
Digital Marketing
Search Engine Strategies
1 Week Ago
by polles
nice post!
Re: What's your favorite productivity hack outside of coding?
Community Center
1 Week Ago
by jacobss
One of my favorite productivity hacks outside of coding is the Pomodoro Technique.
Re: What's your favorite productivity hack outside of coding?
Community Center
1 Week Ago
by Reverend Jim
Odd that something so basic and obvious needs to be named. Of course, "Pomodoro Technique" is a lot shorter than "go hide in the server room so my boss won't keep interrupting me so I can get some work done" technique. At least that's what I used to call it.
Re: What's your favorite productivity hack outside of coding?
Community Center
1 Week Ago
by Dani
I don’t think there’s a better answer than that. Productivity hack when not coding are none other than breaks from coding. It’s so simple :)
Re: What's your favorite productivity hack outside of coding?
Community Center
1 Week Ago
by Dani
So basically my Palo Alto technique :)
Re: What's your favorite productivity hack outside of coding?
Community Center
1 Week Ago
by Reverend Jim
>So basically my Palo Alto technique :) A lot easier and more pleasant in mid-winter in Palo Alto than here in Winnipeg.
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
Meet People
Forums
Top Members
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