Search found 2125 matches

by DarkDragon
Fri Mar 01, 2024 10:02 pm
Forum: Coding Questions
Topic: Solve 1 Equation with 2 Unknowns
Replies: 23
Views: 822

Re: Solve 1 Equation with 2 Unknowns

Look, your equation describes a line in 2d space. Almost every point on that line is a solution. You need another constraint such as another line that crosses this line (but not the same line and not in parallel) to get to a single point.
by DarkDragon
Fri Mar 01, 2024 8:17 pm
Forum: Coding Questions
Topic: Solve 1 Equation with 2 Unknowns
Replies: 23
Views: 822

Re: Solve 1 Equation with 2 Unknowns

miskox wrote: Fri Mar 01, 2024 6:42 pm
No. That's still just one of infinitely many solutions.
No. I think if

Code: Select all

X=0
then there is no solution (for Y=653184000 / 499 / X)
It's still infinitely many, even if not at X = 0.
by DarkDragon
Fri Mar 01, 2024 12:18 pm
Forum: Coding Questions
Topic: Solve 1 Equation with 2 Unknowns
Replies: 23
Views: 822

Re: Solve 1 Equation with 2 Unknowns

how to Solve 1 Equation with 2 Unknowns ??? Solve both X and Y values : X = (653184000 / (499 * Y)) is it possible ? For two variables you need two equations like this to get a unique solution and even then it's not guaranteed. this is what it should calculate : real Solution: x=129.6025714796 , y=...
by DarkDragon
Tue Feb 27, 2024 8:52 pm
Forum: General Discussion
Topic: Arduino dev under windows?
Replies: 10
Views: 563

Re: Arduino dev under windows?

Arduinos are usually AtMega based microcontrollers with around 16MHz, 32Kbytes programmable memory, 1Kbyte EEPROM and 2Kbytes SRAM. There's no operating system or anything like that on them. Almost no library could be used. You'd need other functionality though like access to interrupts, timers, GPI...
by DarkDragon
Tue Feb 27, 2024 12:34 pm
Forum: Coding Questions
Topic: PB 6.10b6; Win64; SQlite; ICU or load_extension;
Replies: 12
Views: 527

Re: PB 6.10b6; Win64; SQlite; ICU or load_extension;

No, I say, I am not able to dive into the MinGW and "oh, and You have also to do..." world of this non trivial software. I don't need PureBasic as C with another syntax. That's not the idea, is it? Well, what's the point in software development if you never explore something new? You're a...
by DarkDragon
Tue Feb 27, 2024 6:24 am
Forum: Coding Questions
Topic: PB 6.10b6; Win64; SQlite; ICU or load_extension;
Replies: 12
Views: 527

Re: PB 6.10b6; Win64; SQlite; ICU or load_extension;

HanPBF wrote: Mon Feb 26, 2024 10:16 am A disadvantage in using registered functions is the missing index availability - index is not allowed for those kind of functions.
So compiling an own version of SQLite.dll would be better - something I don't want to do at all.
Are you saying you want to pay a developer to do it for you? 😉😄
by DarkDragon
Fri Feb 23, 2024 1:21 pm
Forum: Off Topic
Topic: OpenAI Sora: All Demo Videos with Prompts
Replies: 7
Views: 802

Re: OpenAI Sora: All Demo Videos with Prompts

tj1010 wrote: Wed Feb 21, 2024 7:16 pm It seems like neural networks and ML are mostly used for internet-junk. Hedge Funds are probably the only ones using it for problem solving and something tangible..
I'm sorting your mail with it 😉😄
by DarkDragon
Fri Feb 23, 2024 6:34 am
Forum: Assembly and C Programming in PureBasic
Topic: RIPs and RSPs of threads
Replies: 4
Views: 707

Re: RIPs and RSPs of threads

Probably you need something like this combined: https://learn.microsoft.com/en-us/windows/win32/toolhelp/traversing-the-thread-list https://learn.microsoft.com/en-us/windows/win32/api/dbghelp/nf-dbghelp-stackwalk?redirectedfrom=MSDN The CONTEXT structure contains the addresses. Pc and Sp. If you wan...
by DarkDragon
Thu Feb 22, 2024 5:59 am
Forum: Feature Requests and Wishlists
Topic: LoadJSON allow comments
Replies: 12
Views: 664

Re: LoadJSON allow comments

JSON doesn't support comments. See also https://stackoverflow.com/questions/244777/can-comments-be-used-in-json https://www.json.org/json-en.html Yes, I said that already in the first post; and? In practice it does and many disagree with that design (hence jsonc is a thing which is nothing more tha...
by DarkDragon
Wed Feb 21, 2024 12:12 pm
Forum: Coding Questions
Topic: OpenGL dot / cross Functions
Replies: 10
Views: 389

Re: OpenGL dot / cross Functions

There is no dot or cross function in OpenGL. These functions are inside GLSL for shading. You'd have to create a shader, compile it, link it and render some polygons such that it will be executed. https://www.purebasic.fr/english/viewtopic.php?p=578247#p578247 Something like that. Simply search for ...
by DarkDragon
Tue Feb 20, 2024 5:51 pm
Forum: Coding Questions
Topic: StrD and Rounding
Replies: 17
Views: 625

Re: StrD and Rounding

Cyllceaux wrote: Tue Feb 20, 2024 3:20 pm And... 0.049 should still rounding up. 49 -> 5 and 5 is rounding up
Wrong. You don't apply rounding recursively from the least significant to most significant digit.
by DarkDragon
Sat Feb 10, 2024 8:38 pm
Forum: Coding Questions
Topic: Purebasic 6.10 beta 6
Replies: 9
Views: 699

Re: Purebasic 6.10 beta 6

I dont want to avoid scan in this temp directory. How can I solve the problem ? There are two main solutions: Uninstall the anti virus Bloat your software by importing more dependencies. If your import table is big enough it'll look less suspicious. And you can create the executable in the source d...
by DarkDragon
Fri Feb 09, 2024 8:37 pm
Forum: Coding Questions
Topic: NaN() and if compare problem
Replies: 3
Views: 230

Re: NaN() and if compare problem

The inequality of NaN against NaN is the early version of the IsNaN check. So if x <> x it is NaN. But it should be the same on all backends.