Search found 2125 matches
- Fri Jan 05, 2024 9:11 pm
- Forum: 3D Programming
- Topic: Entity collision with another unknown entity is posible?
- Replies: 4
- Views: 522
Re: Entity collision with another unknown entity is posible?
You can store all entities in a list and iterate through that to check for collision.
- Fri Jan 05, 2024 8:57 pm
- Forum: Coding Questions
- Topic: Strange behavior of Abs()! @PureBasicTeam
- Replies: 25
- Views: 1933
Re: Strange behavior of Abs()! @PureBasicTeam
Shouldn't it be a GCC compiler bug and not a PB bug? No, if the C compiler isn't compiled/called appropriately, it will use whatever it is allowed to in it's default configuration. I'm not sure, does PureBasic ship with a C compiler now or does it require you to install one? I'm mostly on my smartp...
- Fri Jan 05, 2024 4:02 pm
- Forum: Coding Questions
- Topic: Strange behavior of Abs()! @PureBasicTeam
- Replies: 25
- Views: 1933
Re: Strange behavior of Abs()! @PureBasicTeam
Btw. is there a way to turn SIMD optimizations off in PureBasic on C backend? The xmm0 sounds like some SSE stuff. Theoretically yes, but it don't work! I chaned compiler setting: compile for "all CPU s", what means no MMS, SSE, SSE2 But the C compiled result is the same.(havy use of xmm ...
- Thu Jan 04, 2024 9:45 pm
- Forum: Coding Questions
- Topic: Strange behavior of Abs()! @PureBasicTeam
- Replies: 25
- Views: 1933
Re: Strange behavior of Abs()! @PureBasicTeam
I'm not sure that all the different C compilers always come up with the same results. Or whether Intel and Arm processors deliver the same floating point results. Abs is a library function, I'm not expecting library functions to be recompiled. It should be linked or not, but not recompiled. If Pure...
- Thu Jan 04, 2024 9:08 pm
- Forum: Coding Questions
- Topic: ExamineDirectory() not displaying all files ?
- Replies: 9
- Views: 701
Re: ExamineDirectory() not displaying all files ?
Print them into a file and fgrep them like this:
Are they marked as system files maybe? Can you see pagefil.sys for example under C:?
Code: Select all
fgrep -v -f pb_output.txt dir_output.txt
- Thu Jan 04, 2024 8:55 pm
- Forum: Coding Questions
- Topic: Strange behavior of Abs()! @PureBasicTeam
- Replies: 25
- Views: 1933
Re: Strange behavior of Abs()! @PureBasicTeam
It's not a Bug! It's a tricky float handling! It's always a bug if behavior changes without being the intention of the user. C and ASM backend should use the same function for Abs, those optimizations are a compiler thing, no linker thing. If they'd point to the same precompiled Abs it wouldn't be ...
- Sun Dec 31, 2023 8:18 pm
- Forum: Coding Questions
- Topic: HTTP / HTTPS Proxy in Purebasic
- Replies: 18
- Views: 2182
Re: HTTP / HTTPS Proxy in Purebasic
That's just a client, not a proxy.
- Sat Dec 30, 2023 12:19 pm
- Forum: Coding Questions
- Topic: How to improve the sharpness of an image for OCR
- Replies: 3
- Views: 396
Re: How to improve the sharpness of an image for OCR
Tesseract often needs images of a certain size. You might want to resize your input image a bit. Smaller texts may not be recognized. Sharpness is usually not the problem. Most deep learning methods are also vulnerable to single pixel changes. So don't totally trust the textual output of any OCR.
- Fri Dec 29, 2023 4:09 pm
- Forum: Coding Questions
- Topic: Can DLL produce a message after loading executable?
- Replies: 12
- Views: 911
Re: Can DLL produce a message after loading executable?
ProcedureDLL AttachProcess(Instance) MessageRequester("", "Attach") EndProcedure That pops up the message requester when I open the library. Hi, "AttachProcess" pops up the Message, then it disappeared, then after, the main window appears, which is not the required seq...
- Thu Dec 28, 2023 8:09 am
- Forum: General Discussion
- Topic: In which section of the forum should I create a topic?
- Replies: 4
- Views: 609
Re: In which section of the forum should I create a topic?
1. The function is not outstanding, nothing special, but it makes sense for a beginner. There is no point in sharing it with specialists who will write it in 2 minutes. 2. Wish lists as I understand it for new features, not IDE improvements IDE improvements are new features. I've edited my post to ...
- Thu Dec 28, 2023 6:44 am
- Forum: General Discussion
- Topic: In which section of the forum should I create a topic?
- Replies: 4
- Views: 609
Re: In which section of the forum should I create a topic?
1. There was a proposal for an IDE. This is not a bug and is not appropriate for the section "The PureBasic Editor : Working on new editor enhancements?", since I don't want to work on the enhancements, but I want someone else to do the work. "Feature Requests and Wishlists" if ...
- Wed Dec 27, 2023 11:49 am
- Forum: Coding Questions
- Topic: [Done] WebViewGadget + SpiderBasic-App?
- Replies: 11
- Views: 1862
Re: WebViewGadget + SpiderBasic-App?
Do you have a developer console inside the new webview or similar? This way you could check for CSP errors or similar.
- Tue Dec 26, 2023 7:09 pm
- Forum: Linux
- Topic: High precision Delay (nano/micro second)
- Replies: 15
- Views: 1584
Re: High precision Delay (nano/micro second)
This is exactly what I do. Each time a client is connecting, I create a thread. This thread will handle all data and disconnection event. One thread per client seems overkill to me for 250 clients. That's 250 threads which need to be scheduled! They might even get scheduled if they have nothing to ...
- Thu Dec 14, 2023 6:28 am
- Forum: Off Topic
- Topic: The 'purest' of mobile phones
- Replies: 6
- Views: 1368
Re: The purest of mobile phones.
Google Pixel phones => earliest updates and stock ROM. If you want a plain android check for Android One smartphone.
Re: 1 + 1 = 2
A succinct answer for DarkDragon : a human being can imagine, in his head, the quaternion mechanism. But the octonion mechanism is impossible to imagine in the head. Rare people achieve this on paper. But it is really the computer tool that makes it possible to affirm the existence of these more co...