Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
public
- Page 1
Re: Does anyone know how to self-host a nextcloud server?
Hardware and Software
Cloud-based Apps
5 Days Ago
by antwanlee
… myself (privately) since many years and its quite easy. The
public
documentation lacks a bit however, especially when it comes to…
Re: ‘Advanced AI should be treated similar to Weapons of Mass Destruction’
Community Center
5 Days Ago
by Reverend Jim
Based on the proliferation of AI generated content, and the age-old rule of garbage in, garbage out, what will be the result of AI models being trained on ever increasing amounts of content generated by other AI platforms? Will we get into a negative feedback loop where the output will become so polluted with bad input that it will be effectively …
Re: ‘Advanced AI should be treated similar to Weapons of Mass Destruction’
Community Center
5 Days Ago
by jwenting
Even worse: the junk being deliberately fed to AIs is already at the stage where the results are useless BUT those results are blindly believed by many people BECAUSE they're generated by AI and therefore supposedly automatically correct! Think Google's disastrous launch of their image generator which would under no condition generate Caucasian …
‘Advanced AI should be treated similar to Weapons of Mass Destruction’
Community Center
2 Weeks Ago
by Johannes C.
… criminals deploy such systems to sway elections, sell products, control
public
opinion, or commit fraud on a colossal scale. ## #9) That… – and without a fee. The matter has since catapulted into
public
awareness with a colossal outpouring of media attention and communal…
Key Insights from Google's Search Algorithm Leak
Community Center
1 Week Ago
by Johannes C.
…) on May 27, 2024. However, the documents were initially made
public
on GitHub two months prior – on March 27 – and removed… in the actual ranking algorithm. The documents also contradict several
public
statements made by Google representatives over the years, particularly regarding…
OpenAI GPT-4o vs Meta Llama 3 for Zero Shot Text Classifiation
Programming
Computer Science
3 Weeks Ago
by usmanmalik57
…/twitter-airline-sentiment). The dataset consists of sentiments expressed in
public
tweets towards various US airlines. The script below imports the…
Re: Eero plus vs NextDNS
Hardware and Software
1 Week Ago
by Aditi_16
… sites. VPN Encrypt.me subscription included for secure browsing on
public
Wi-Fi. **Systweak VPN **is a solid option for users…
Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Months Ago
by jprog1000
….yUp = false; this.xDx = 1; this.yDy = 1; }
public
void move(){ if ( y <= 0 ) { yUp = true…b.getBounds()); } } import javax.swing.JFrame;
public
class Frame{
public
static void main( String args[] ) { …
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Months Ago
by toneewa
….yUp = false; this.xDx = 1; this.yDy = 1; }
public
void move(){ if ( y <= 0 ) { yUp = true…); } } Frame.java: import javax.swing.JFrame;
public
class Frame{
public
static void main(String[] args) { JFrame frame …
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Months Ago
by toneewa
…y = y; this.radius = radius; this.xUp = false; }
public
void move(){ if ( y <= 0 ) { yUp = … } Frame.java: import javax.swing.JFrame;
public
class Frame {
public
static void main(String[] args) { JFrame frame…
How to Optimize RecyclerView performance by implementing the ViewHolder
Programming
Mobile Development
2 Months Ago
by Mikekelvin
…= itemView.findViewById(R.id.textView); } } @Override
public
ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { View view…); return new ViewHolder(view); } @Override
public
void onBindViewHolder(ViewHolder holder, int position) {…
Create And Install Windows Service Step By Step In C#
Programming
Web Development
2 Months Ago
by Rabiya_1
… a windows service here what I'm trying
public
TestService() { InitializeComponent(); timeDelay = new System.Timers….Elapsed += new System.Timers.ElapsedEventHandler(WorkProcess); }
public
void WorkProcess(object sender, System.Timers.ElapsedEventArgs e)…
'30% of Activities Performed by Humans Could Be Automated with AI'
Community Center
1 Month Ago
by Johannes C.
… domain experts can teach virtual assistants. With reusable components and
public
model access, people can construct exactly the intelligent help they… agent collecting wildlife data and a social media agent spreading
public
awareness. With some basic training, anyone could become a MASE…
Need help with Lem-in Project
Programming
1 Month Ago
by Oven
… code a lem-in project. https://github.com/01-edu/
public
/tree/master/subjects/lem-in Im coding in go lang…
Re: Calling an object from another in PHP using construct
Programming
Web Development
1 Month Ago
by FarrisFahad
… new B(); } } class B { private $obj;
public
function __construct() { $this->obj = new C();… } } class C { private $obj;
public
function __construct() { $this->obj = new A(); …
Re: Calling an object from another in PHP using construct
Programming
Web Development
1 Month Ago
by jkon
…obj = new B(); } } class B { private $obj;
public
function __construct() { $this->obj = new C(); } }… class C { private $obj;
public
function __construct() { $this->obj = new A(); } }…
Re: Calling an object from another in PHP using construct
Programming
Web Development
1 Month Ago
by pritaeas
… class: ```php class Container { private $A; private $B; private $C;
public
function __construct($A, $B, $C) { $this->A = $A; $this…
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Months 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 Months Ago
by Dani
I’ll mark this question solved :)
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Months 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 Months 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 Months 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
2 Months Ago
by jprog1000
Got it. Thank you so much!
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Months Ago
by aishamushtaq
Hi, Its helpful for me. I got my answer.
Re: Create And Install Windows Service Step By Step In C#
Programming
Web Development
2 Months 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: SiteShow -- Create a slideshow of web pages
Programming
Web Development
2 Months Ago
by PROSYS_1
wow.. its working fine... very useful for me to complete my task.. thanks
Re: 88 Business-Growing Strategies
Digital Media
Digital Marketing
2 Months Ago
by henrymorgan9522
A growth strategy is an organization's plan for overcoming current and future challenges to realize its goals for expansion. Examples of growth strategy goals include increasing market share and revenue, acquiring assets, and improving the organization's products or services.
Re: Need help with Lem-in Project
Programming
1 Month Ago
by rproffitt
This assignment would get a failing grade if you used GPT or found code. Toss all that out and write it yourself.
Re: Need help with Lem-in Project
Programming
1 Month Ago
by Oven
Sadly, like i said GPT is not working anymore. My team coded this one. And AI & Ready code is acceptable. But it has to simple because we must understand the code. I found the working code but its 800 rows. So no we cant use it either. Even if anybody can explain the algorithm, that would help a lot too. Its like onion, we are thinking we …
Re: Need help with Lem-in Project
Programming
1 Month Ago
by rproffitt
Then you have to design and create the algorithm before you write code. There's a lesson here about writing code before the design is done.
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
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