Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
position
- Page 1
Re: ‘Advanced AI should be treated similar to Weapons of Mass Destruction’
Community Center
1 Day 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
1 Day 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 …
RayCasting: why i get a more width vertical lines on square grid size?
Programming
Software Development
1 Week Ago
by cambalinho
… = (fix(player.PosY / ObjectSize) * ObjectSize) + ObjectSize ' Calculate grid
position
HorizX = player.PosX + (HorizY - player.PosY) / Math.Tan(RayRadians)…= (fix(Player.PosX / ObjectSize) * ObjectSize) + ObjectSize ' Calculate grid
position
VertY = Player.PosY + (Player.PosX - VertX) * -Math.Tan(RayRadians)…
‘Advanced AI should be treated similar to Weapons of Mass Destruction’
Community Center
1 Week Ago
by Johannes C.
… species on the planet and can never again regain this
position
, we will be at the mercy of the top entity…
Re: Why some people copy / paste LLM answers to a question as their own ?
Community Center
Geeks' Lounge
3 Weeks Ago
by jkon
… the first place) that someone (human (we are in a
position
that I have to make this clear)) just get the…
Re: Need help with Lem-in Project
Programming
4 Weeks Ago
by rproffitt
This is some academic assignment so the lesson isn't about fixing this found or GPT generated code, it's not even about coding. It's about designing before code. Without a design, how would we code? Or if we use AI to write code, it's a lesson about how we still have to understand the code that it generates. Now for those that just want it …
Re: Need help with Lem-in Project
Programming
4 Weeks Ago
by toneewa
Display everything to see where you go wrong. Also, simplify your testing, e.g., 1 ant 2 rooms, 2 paths. There are some algorithms to consider. The Breadth-First Search (BFS) and Dijkstra’s algorithms are ways to find the shortest path. Research those to understand your use case. A fix to your parse function and ant struct will help get you back …
Re: RayCasting: why i get a more width vertical lines on square grid size?
Programming
Software Development
1 Week Ago
by rproffitt
When I work such an issue I set the breakpoint where the trouble is and examine variables. There's some variable that controls the output so that's what you look at. You've posted a lot about ray-tracing and that's all good but setting breakpoints to see what's going on seems to be the challenge.
Re: RayCasting: why i get a more width vertical lines on square grid size?
Programming
Software Development
1 Week Ago
by cambalinho
debug print line height: Line Height : 1452 Line Height : 1441 Line Height : 1430 Line Height : 1419 Line Height : 1407 Line Height : 1397 Line Height : 1386 Line Height : 1375 Line Height : 1364 Line Height : 1353 Line Height : 1342 Line Height : 1331 Line Height : 1321…
Re: RayCasting: why i get a more width vertical lines on square grid size?
Programming
Software Development
1 Week Ago
by cambalinho
i can see: 1 - maybe some are too much height(but they are converted to 300 of max); 2 - on some they are repeated... and maybe the problem is there... i can save the previous Height for test the actual Height.... but i see a problem: if i avoid them, i can lose some height, unless i continue add angle and don't count the rays ;) ... but maybe i…
Re: RayCasting: why i get a more width vertical lines on square grid size?
Programming
Software Development
1 Week Ago
by cambalinho
will be rounded numbers problem or something? yes i'm testing more, but no success :(
Re: RayCasting: why i get a more width vertical lines on square grid size?
Programming
Software Development
1 Week Ago
by cambalinho
maybe you have right... but, for now, i don't understand why and where i'm fail :( i'm learning from: https://permadi.com/1996/05/ray-casting-tutorial-table-of-contents/ theres several tutorials, but not all are so good :(
Re: RayCasting: why i get a more width vertical lines on square grid size?
Programming
Software Development
1 Week Ago
by cambalinho
yes i must test more... and, like you see, that vertical bar have another color.... that means the code problem can be here: 'Get the horizontal Ray Distance: HorizDist = Math.Abs((player.PosX - HorizX) / Math.Cos(RayRadians)) 'Get the vertical Ray Distance: VertDist = Math.Abs((Player.PosX - VertX) …
Re: RayCasting: why i get a more width vertical lines on square grid size?
Programming
Software Development
1 Week Ago
by m_624
In RayCasting, you may observe wider vertical lines on a square grid due to the nature of the algorithm. This phenomenon occurs because the vertical lines represent intersections of rays with grid cells, and depending on the angle and distance of the rays, they may intersect multiple grid cells horizontally, resulting in wider lines compared to the…
Re: RayCasting: why i get a more width vertical lines on square grid size?
Programming
Software Development
1 Week Ago
by cambalinho
what make me more crazy is that i'm using a code, converted and works, from VB6 lol
Re: This Halloween: Are You Brave Enough to Face Roko's Basilisk?
Community Center
1 Week Ago
by soly_1
Although superintelligence and God are both considered "mighty entities," the devil is in the details. A superintelligence merely needs code; unlike supernatural beings, it doesn't require faith. The proof isn't found in antiquated literature, but rather in the quick developments in AI and machine learning. Though, in my opinion, the …
Re: This Halloween: Are You Brave Enough to Face Roko's Basilisk?
Community Center
1 Week Ago
by olivia_24
It also assumes that said AI will be vindictive (like the gods). If the theory is correct, why would a sentient AI need to be vengeful once it has been created? In any case, there is still no evidence that machine consciousness it attainable. At least one engineer involved in the development of OpenAI has made claims about consciousness, but those …
Need help with Lem-in Project
Programming
1 Month Ago
by Oven
…) // Use the shortest tunnel and update the ant's
position
if shortestTunnel != "" { rooms := strings.Split… } tunnelUsage[shortestTunnel] = true fmt.Printf("Ant's new
position
: %d\n", ant.roomNumber) } } // Reverse the…
Mariadb10.11.6 Glarea single failed node startup stuck failure
Programming
Databases
2 Months Ago
by mx_983
…240403 05:05:09 mysqld_safe WSREP: Recovered
position
20c1183c-e5c5-11ee-9129-97e9406cb3f8:7183126 2024-04…Loading provider /usr/lib64/galera/libgalera_smm.so initial
position
: 20c1183c-e5c5-11ee-9129-97e9406cb3f8:7183126 2024-04-…:10 2 [Note] WSREP: ####### Assign initial
position
for certification: 00000000-0000-0000-0000-000000000000:-1,…
Re: Trying to animate sprite using DirectX9
Programming
Software Development
2 Months Ago
by Pavel_11
… 0) { sprite_handler->Draw( cavemanright_image, &caveSrc, NULL, &
position
, D3DCOLOR_XRGB(255,255,255)); } else if(cavemanRight.movex< 0…) {sprite_handler->Draw( cavemanleft_image, &caveSrc, NULL, &
position
, D3DCOLOR_XRGB(255,255,255)); }
VB2010- why i get a different vertical size\color on RayCasting?
Programming
Software Development
2 Months Ago
by cambalinho
… = (Fix(player.PosY / ObjectSize) * ObjectSize) + ObjectSize ' Calculate grid
position
HorizX = player.PosX + (HorizY - player.PosY) / Math.Tan(RayRadians)…= (Fix(Player.PosX / ObjectSize) * ObjectSize) + ObjectSize ' Calculate grid
position
VertY = player.PosY + (player.PosX - VertX) * -Math.Tan(RayRadians)…
How Build Html form ?
Programming
Web Development
2 Months Ago
by Kirubel_2
…<style type="text/css"> .content {
position
: absolute; top: 50%; left: 50%; right: 50%; … Verdana, sans-serif; font-size: 16px; } .close-btn {
position
: absolute; right: 20px; top: 15px; background-color: #ae4732fe;…
How to Optimize RecyclerView performance by implementing the ViewHolder
Programming
Mobile Development
2 Months Ago
by Mikekelvin
…); } @Override public void onBindViewHolder(ViewHolder holder, int
position
) { holder.textView.setText("Item " +
position
); } @Override public int getItemCount() { return 100; // Example…
Re: Bouncing Balls: Creating a new ball when two balls collide
Programming
Software Development
2 Months Ago
by toneewa
…if (b.size() < MAX_BALLS) { // Calculate a new
position
for the ball that avoids collisions collisionX = b.get(i…(Ball ball : b) { // Draw the ball using its
position
and size g.setColor(Color.red); g.fillOval(ball.getX…
Re: i don´t understand this syntax error when using OpenCV
Programming
Databases
2 Months Ago
by Audun
…;) SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in
position
2-3: truncated \UXXXXXXXX escape >>> Then I…
Re: Things I hate about TV shows
Community Center
Geeks' Lounge
2 Months Ago
by Reverend Jim
…'t they" tease. When they are finally in a
position
for that first kiss they take so long approaching each…
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
4 Weeks 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
4 Weeks 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.
Re: Need help with Lem-in Project
Programming
4 Weeks Ago
by Oven
True. Wish we had able to. We cant manage it, thays why im seeking some help.
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