Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
next-line
- Page 1
Comparing Fine-tuned and Default GPT-3.5 Turbo for Text Classification
Programming
Computer Science
3 Days Ago
by usmanmalik57
…).tolist() # Write JSON structures to file, each on a new
line
with open(json_file_path, 'w') as f: for json_structure in json_structures…
Re: Read, Edit and Write to File
Programming
Software Development
2 Days Ago
by Ram_034
With this code we able to modify the first
line
of text. For example i have text file with 5 text lines and i want to modify first 5 chars of first word then how handle this
Re: RayCasting: why i get a more width vertical lines on square grid size?
Programming
Software Development
1 Week Ago
by cambalinho
…:
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
…
Re: Need help with Lem-in Project
Programming
4 Weeks Ago
by toneewa
…1]) farmInfo.startRoom = roomDetails[0] } else if strings.Contains(
line
, "##end") { roomDetails := strings.Fields(lines[i…= roomDetails[0] } else if strings.Contains(
line
, "-") { rooms := strings.Split(
line
, "-") if _, ok := …
RayCasting: why i get a more width vertical lines on square grid size?
Programming
Software Development
1 Week Ago
by cambalinho
…for vertical intersections: 'and get the 1st vertical
line
intersection: If RayRadians <= Radian90 Or RayRadians…RayCounts = RayCounts + 1 'next vertical
line
RayRadians += RadiansSteps 'next vertical
line
angle Loop End Sub the result: https://…
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
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: How to enable gpedit on Windows 10 & 11
Hardware and Software
Microsoft Windows
1 Week Ago
by Lethabo
The Windows 11 update KB5023706 led to intermittent BSODs for many users. Despite Microsoft's troubleshooting suggestions, including switching to a metered Wi-Fi connection and pausing updates, some found relief by uninstalling the update. To prevent its automatic reinstallation on Windows Home systems, users can enable the Group Policy Editor …
Re: How to enable gpedit on Windows 10 & 11
Hardware and Software
Microsoft Windows
1 Week Ago
by Reverend Jim
I understand this script does not work in all cases. If not you can try Policy Plus which is available on GitHub and MajorGeeks.
Need help with Lem-in Project
Programming
1 Month Ago
by Oven
… slice for room coordinates roomCoordinates := strings.Split(
line
, " ") farmInfo.roomCoordinates = append…Ant count not found") } } else if len(
line
) > 0 { farmInfo.startRoomNumber = i + …0 Ant Count: 4 Start
Line
: 3 End
Line
: 7 Room Coordinates: 0…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Months Ago
by david.tigner
… download Composer. In order to install Composer, need a Command
Line
PHP.exe file. I do not have one of these… since 2011. They said in order to get a Command
Line
PHP.exe file, requires SSH to 'Connect to Webspace'. They… timeline is matching). Question: how does one get the Command
Line
PHP.exe file needed to install Composer ? In Composer Setup…
Online subission forms not sending emails of submitted info
Programming
Web Development
2 Months Ago
by david.tigner
… for one thing. No emails are being received. Last on
line
submission form I received was on 2/6/2024. No… all, just nothing sends at all. I tested multiple on
line
submission forms on several websites. Same thing, nothing is sending… fix everything before is the same on all the on-
line
submission pages. It appears to be an issue with PHP…
Question Answering with YouTube Videos Using RAG in LangChain
Programming
Computer Science
1 Month Ago
by usmanmalik57
…city with no specific destination. ``` ## A Command
Line
YouTube Question Answering Chatbot Now that we know how to… YouTube videos, we can create a simple command-
line
application for question-answering. To do so, we… list. Thanks to the' chat_history' list, the command
line
application will be able to answer follow-up questions. ``` …
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Months Ago
by Biiim
… the root directory are directories: PHPMailer, RNHindex, etc.). IONOS tech
line
said that the reason for the blank white screen is… screen, like Dani pointed out, there is the error on
line
18 that needs a semicolon on the end: "Comments…
Paris Olympics Ticket Information Chatbot with Memory Using LangChain
Programming
Computer Science
2 Months Ago
by usmanmalik57
… question. ## Putting it All Together - A Command
Line
Chatbot To create a simple command-
line
chatbot, we will instantiate an empty list…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Months Ago
by Biiim
… said was that something changed in Feb 2024 (last on
line
submission form I received was in early Feb 2024 so…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Months Ago
by david.tigner
… the root directory are directories: PHPMailer, RNHindex, etc.). IONOS tech
line
said that the reason for the blank white screen is…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Month Ago
by david.tigner
… running PHP file). Adding the semi-colon at end of
line
18 (in previously discussed code) did not work and funny…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Month Ago
by david.tigner
My 4 domains are all through URL provider IONOS. The question is why does the sender's email address as entered on the front end of the on-
line
submission form have to have the same ending as the domain name of the site or one of the other 3 or else submitted info fails to send ?
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Month Ago
by david.tigner
… phone number is one of the questions on the on-
line
submission form (most of them ask this question)). $from = $_POST…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Month Ago
by david.tigner
… address) and form emailed successfully. And by changing only 1
line
of code, everything worked again normally. Now if John Smith…
Re: i don´t understand this syntax error when using OpenCV
Programming
Databases
2 Months Ago
by Audun
… "C:\Users\Audun Nilsen\open cv - tot.py",
line
8 image = cv2.imread("C:\Users\Audun Nilsen\Pictures… "C:\Users\Audun Nilsen\open cv - tot.py",
line
1, in <module> import cv2 # OpenCV for image…
Hi everyone, I'm ដំណើរ
Community Center
Say Hello!
2 Months Ago
by ដំណើរ
arguments passed in /var/www/gamebar/html/kh/api/redirectpage.php on
line
14
A module that comes with Python, doesn´t register?
Programming
Web Development
2 Months Ago
by Audun
… "C:\Users\Audun Nilsen\open cv - tot.py",
line
1, in <module> import cv2 # OpenCV for image…
Re: i don´t understand this syntax error when using OpenCV
Programming
Databases
2 Months Ago
by Audun
… just said nothing and went back to an empty "
line
", or whatever. I suppose that´s a good sign…
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