Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
math
- Page 1
ChatGPT is Now Smarter Than 90% of the Population
Community Center
9 Hours Ago
by Johannes C.
…model can “perform complex reasoning” and significantly outperforms the
math
and coding capabilities of previous models. Even the now …://mathstodon.xyz/@tao/113132503432772494) presented o1 with a complex
math
problem, as he would to a class of PhD…is more of a mediocre problem-solver to an actual
math
wizard. Nevertheless, this is a big step up …
Opengl, java background color rendering problem
Programming
Game Development
2 Months Ago
by varone
… *
Math
.sin(
Math
.toRadians(pitch)) *
Math
.cos(
Math
.toRadians(yaw))); float y = (float) (distance *
Math
.cos(
Math
.toRadians(pitch))); float z = (float) (distance *
Math
.sin(
Math
.toRadians(pitch)) *
Math
…
Quantum Computers: Mysterious Export Bans and the Future of Encryption
Community Center
1 Month Ago
by Johannes C.
… algorithm**, a quantum algorithm developed by mathematician [Peter Shor](https://
math
.mit.edu/~shor/) in 1994. This algorithm can factor large…
Extract and Count Reviews/AggregateRating Script (Python)
Digital Media
Digital Marketing
Search Engine Strategies
1 Month Ago
by Chris Hüneke
… give to much attention, but there are indicators showing, the
math
is getting more important. ## Description ## This script extracts the total…
Re: What is the optimal content length for SEO?
Digital Media
Digital Marketing
Search Engine Strategies
1 Month Ago
by Chris Hüneke
… also penalized for KW-Stuffig. Triple-Check your %'s. The
math
is important. Not counting words. Regards,
Re: Opengl, java background color rendering problem
Programming
Game Development
2 Months Ago
by rproffitt
Is this the old Blinding Flash issue? Hack or workaround possible at https://gamedev.stackexchange.com/questions/210425/blinding-flash-set-background-color-when-creating-new-window
Re: Opengl, java background color rendering problem
Programming
Game Development
2 Months Ago
by toneewa
You can try to only show the window when you are ready to draw. Runs fine. Main.java: package org.example; import org.joml.Matrix4f; import org.lwjgl.glfw.GLFWVidMode; import org.lwjgl.glfw.GLFWErrorCallback; import org.lwjgl.opengl.GL; import org.lwjgl.system.MemoryStack; import java.nio.…
Re: Opengl, java background color rendering problem
Programming
Game Development
2 Months Ago
by varone
**toneewa** you are a very good programmer, your code is working properly ... how you know what to implement ? to think that available AI chats (copilot, chatgpt 4 , and some others) wasnt able to help in such matter is unbeliveable . so to sum up you just add glfwWindowHint(GLFW_DOUBLEBUFFER, GL_TRUE); in init …
Re: Opengl, java background color rendering problem
Programming
Game Development
2 Months Ago
by toneewa
This is what was left overs, after several different iterations. My thoughts: The idea was to hide the window, color it black, and show it when ready. From the first impression I got, it was clearing the frame color or not setting it resulting in a long white screen before getting to black. glfwWindowHint(GLFW_DOUBLEBUFFER, GL_TRUE); This…
Re: Opengl, java background color rendering problem
Programming
Game Development
2 Months Ago
by varone
i noticed (based on your first answer you gave above) that simpliest solving of issue is just move glfwShowWindow(window); to whatever method for example to drawAxes or whatever other will me during code developing like for example AxisArrowHeads() . I didnt noticed any errors so far so it should work i think , you said about spending some hours …
Re: Opengl, java background color rendering problem
Programming
Game Development
2 Months Ago
by toneewa
Correct. glfwShowWindow(window); in drawAxes(); Yeah, many hours for this. Trouble-shooting skills, with trial and error. I had more trouble getting the work envirnoment setup. The IntelliJ IDEA license was expired. "AI" has a long way to go. E.g., missing headers, identifiers, and all 4 types of dementia.
Re: Opengl, java background color rendering problem
Programming
Game Development
2 Months Ago
by varone
Wow dont waste so many time for anonymouse guy from the internet who ask for help, but really i appriciate that, thank you even much more by reading it , for your help and your time . I just tell you what i am seeing now - Java is very weird lang, free dev programs like eclipse or vsc have plenty of implementing errors (and IntellJ licence is…
Re: Opengl, java background color rendering problem
Programming
Game Development
2 Months Ago
by toneewa
I like C++. It has plenty of libraries. Like any language, find a good book or website with examples and write them. Understand how they work, then, try to create an example using the idea. It really depends on what you want to do with it. Learn them all. I've only encountered the following: C, C++, SQL, Node.js/TypeScript, HTML/CSS, C#, Java, …
Re: Opengl, java background color rendering problem
Programming
Game Development
2 Months Ago
by varone
Many thanks for your chat and help Toneewa 🙂🤗👍
Re: Extract and Count Reviews/AggregateRating Script (Python)
Digital Media
Digital Marketing
Search Engine Strategies
1 Month Ago
by Chris Hüneke
Sorry, i got that wrong. I can't post scripts in Digital Marketing section, right?
Re: Extract and Count Reviews/AggregateRating Script (Python)
Digital Media
Digital Marketing
Search Engine Strategies
1 Month Ago
by Dani
No, just in Web Development, but you can use the seo tag.
Re: Extract and Count Reviews/AggregateRating Script (Python)
Digital Media
Digital Marketing
Search Engine Strategies
1 Month Ago
by abuislam
Great script! It’s a practical solution for aggregating review counts across categories. Automating the process for accurate Schema.org markup can definitely improve SEO and visibility. Thanks for sharing!
math.round
Programming
Software Development
11 Years Ago
by mattsearle
…, could someone please add the
math
.code function in the code below so that the resulting …
Re: math functions?
Programming
Software Development
14 Years Ago
by n.utiu
math
.h trigonometric functions take parameters in radians. To convert radians to degrees : cos (60 degrees) is equivalent to [CODE]cos (PI*60/180)[/CODE] PI - predefined constant in
math
.h
Re: math.round
Programming
Software Development
11 Years Ago
by Taywin
… var upA = a*100 var upB = b*100 var resA =
Math
.round((upA*3.35)) / 100 // <= 784.72 var resB…
Re: Math problem in C
Programming
Software Development
19 Years Ago
by vegaseat
… 292.797 * PI/180; // degrees to radians
math
= asin(sin(x) * 0.39777); printf("…The result is %f radians",
math
);
math
=
math
* 180 / PI; // radians back to degrees printf…("\nThe result is %f degrees",
math
); getchar(); return 0; } [/code] You …
Math problem in C
Programming
Software Development
19 Years Ago
by ray96
…#include <stdio.h> #include <
math
.h> main() { double
math
;
math
=sin(292.797) * asin(0.39777); printf…("The result is %f",
math
); return 0; } Ok, why aren't the 2 calculations…of variables, I have tried converting radians to degrees, (
math
* 180 / PI) I have tried other things too,…
Math.max prob???...XD
Programming
Software Development
17 Years Ago
by upstream
…but when i try to rewrite it using the
Math
.max method, it only return the second highest number…will be compared to the n1 variable... return
Math
.max(n1,
Math
.max(n2,n3)); [CODE]import java.util.…> maxValue) maxValue = n3; return maxValue; */ return
Math
.max(n1,
Math
.max(n2,n3)); } public static void main(String args…
Math.abs
Programming
Software Development
14 Years Ago
by anevins
…. I think this is because I haven't used the
Math
.abs correctly but I don't know how to fix….nextDouble(); input2 = scan.nextDouble(); cubed =
Math
.pow(input1, 3); input2 =
Math
.abs(input2); squared =
Math
.sqrt(input2); smallest =
Math
.min(squared, cubed); DecimalFormat fmt…
Re: Math.max prob???...XD
Programming
Software Development
17 Years Ago
by iamthwee
>return
Math
.max(n1,
Math
.max(n2,n3)); What happens if you break that down. int one = 0; int two = 0; one =
Math
.max(n2,n3); two =
Math
.max(n1,one); return two; Does that make any difference?
Math output
Programming
Software Development
14 Years Ago
by vinnijain
… mathematical equations and side by side the corresponding
math
format is generated like we see in books.…using LATEX/MimeTEX for generating
math
format and it uses special symbols for generating
math
format. Like for square…implement "\div" and generate the coresponding
math
format.Similarly for fraction ,in the textbox there should…
Re: Math.abs
Programming
Software Development
14 Years Ago
by Zaad
… programme that u have given the output is correct as
Math
.abs converts the negative value to a positive value and…;]Enter 2 numbers: -68792.75 -459451.009 -325557730528518.94 [/COLOR]
Math
.abs is used to get the absolute value of a… number no matter it is positive or negative
Math
.abs(-5) gives 5 But if u r intending something…
Re: math.random()
Programming
Software Development
14 Years Ago
by coil
…we cast the result to an int. (int)(
Math
.random()) will always return 0, because the method…. Thus, we multiply results then cast. (int)(
Math
.random()*5) will produce 0, 1, 2, 3… want numbers between 2 and 5. (int)(
Math
.random()*5+2) can produce numbers up to… 6, because if
Math
.random() returns 0.9999, multiplying it by 5…
Re: Math.max prob???...XD
Programming
Software Development
17 Years Ago
by upstream
…;Blue"]double[/COLOR]) [code] double maxValue; maxValue =
Math
.max(n2,n3); return
Math
.max(n1,maxValue); [/code] i can't say…
Re: Math output
Programming
Software Development
14 Years Ago
by vinnijain
… feed a textbox some latex text and expect it shows
math
formulas you see in textbooks. Did you not try it…] Actually after feeding in textbox I was able to display
math
formulae for many symbols.Also In textbox I am using…..... The only solution which I could find is to make
math
dictionary from all latex types to user friendly symbols.I…
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