Search found 5846 matches

by idle
Sat Jan 03, 2026 6:16 am
Forum: Coding Questions
Topic: Simple HTTP Server crashes on linux/mac on stress test
Replies: 19
Views: 793

Re: Simple HTTP Server crashes on linux/mac on stress test

it needs a delay so any send error can clear on the socket. Most of the time a socket fails to send when you fill the send buffer and it blocks returning -1 and sets the socket error to EAGAIN or WSAWouldBlock
PB doesn't check the socket error to see if you can continue sending, so when you get an ...
by idle
Fri Jan 02, 2026 10:15 pm
Forum: Bugs - Windows
Topic: DisplayTransparentSprite 6.30b6
Replies: 0
Views: 91

DisplayTransparentSprite 6.30b6

DisplayTransparentSprite isn't working properly
sprites now need to be created with #PB_Sprite_AlphaBlending and it breaks compatibility with 6.20 and prior code

test with 6.20 and 6.30



EnableExplicit

#WITHSOUND = 0

CompilerIf #PB_Compiler_Version >= 630
#MPB_Sprite_AlphaBlending = #PB ...
by idle
Fri Jan 02, 2026 9:59 pm
Forum: General Discussion
Topic: StartDrawing very very low PB6.30b6
Replies: 3
Views: 256

Re: StartDrawing very very low PB6.30b6

Also something else going on with the drawing modes as DisplayTransparentSprite isn't working properly
sprites now need to be created with #PB_Sprite_AlphaBlending and then it breaks compatibility with 6.20 code
by idle
Fri Jan 02, 2026 9:32 pm
Forum: Bugs - Windows
Topic: casting issue 6.30b6
Replies: 0
Views: 72

casting issue 6.30b6

when a function parameter or result variable is a float, the compiler or ide barfs on bit logic & ! | << >>
it shouldn't matter as the evaluation should cast to float as the last step not before cx, cy and ct1 are integers

So this raises an error

DisplayTransparentSprite(spriteNumber,cx-(ct1&2 ...
by idle
Fri Jan 02, 2026 12:44 am
Forum: Announcement
Topic: My blog backend is written in Pure and Spiderbasic
Replies: 6
Views: 432

Re: My blog backend is written in Pure and Spiderbasic

Always good to see native solutions, thanks for sharing.
by idle
Wed Dec 31, 2025 9:38 pm
Forum: Off Topic
Topic: HAPPY NEW YEAR!!
Replies: 15
Views: 409

Re: HAPPY NEW YEAR!!

I just got used to 2025. Happy coding 2026
by idle
Tue Dec 30, 2025 10:54 pm
Forum: Feature Requests and Wishlists
Topic: Feature request : Call a function from Backend C in Purebasic
Replies: 6
Views: 2486

Re: Feature request : Call a function from Backend C in Purebasic

MilosPantovic wrote: Tue Dec 30, 2025 10:51 pm @idle

Hi, I have tried your code and got an error.

PureBasic Assembler Error

purebasic.asm[88]

while (pos != end) {

error: missing end directive.
it's for the c backend only, use compiler options and select the c compiler
by idle
Tue Dec 30, 2025 10:09 pm
Forum: Coding Questions
Topic: TypeOf()
Replies: 5
Views: 394

Re: TypeOf()

not sure if the behavior changed or not, though it doesn't exactly match the documentation.
It only work through structures and you still can't drill down into it to get the type of the array, it's not runtime.


; PB 6.30 beta 5 (x64) on Windows

Macro ShowType (_x_)
Select TypeOf(_x_)
Case ...
by idle
Tue Dec 30, 2025 6:27 am
Forum: Coding Questions
Topic: POLINK: fatal error: Access is denied.? Why??
Replies: 3
Views: 142

Re: POLINK: fatal error: Access is denied.? Why??

windows defender or another AV?
by idle
Tue Dec 30, 2025 2:52 am
Forum: General Discussion
Topic: Making simple apps with AI
Replies: 16
Views: 669

Re: Making simple apps with AI

Neither for or against, I didn't really look at the code, it ran and that was about it.
The prompt was very generic and it'll be applying that from multiple tutorials, sources and languages but given better prompting and guidance It would be quite possible to spit out a half decent interpreter ...
by idle
Mon Dec 29, 2025 9:19 pm
Forum: General Discussion
Topic: Making simple apps with AI
Replies: 16
Views: 669

Re: Making simple apps with AI

asked claude
"write a calculator app in purebasic using shunting yard and rpn eval function"


; Calculator using Shunting Yard Algorithm and RPN Evaluation
; Supports +, -, *, /, ^, and parentheses

Structure Token
value.s
type.i ; 0=number, 1=operator, 2=left paren, 3=right paren
EndStructure ...
by idle
Fri Dec 26, 2025 10:25 pm
Forum: Off Topic
Topic: Merry Christmas
Replies: 9
Views: 465

Re: Merry Christmas

Merry Christmas. 3 days of it and I'm ready for a nap
by idle
Thu Dec 25, 2025 9:02 pm
Forum: Game Programming
Topic: Game test v0.01
Replies: 165
Views: 22199

Re: Game test v0.01

wow that's looking great, amazing what a bit of grass can do! :lol:
by idle
Tue Dec 23, 2025 11:01 pm
Forum: Announcement
Topic: [APP] Swap'em! Builder
Replies: 2
Views: 419

Re: [APP] Swap'em! Builder

Thanks nice addition.
by idle
Mon Dec 22, 2025 10:42 pm
Forum: Applications - Feedback and Discussion
Topic: EzPack Crossplatform packer
Replies: 27
Views: 10988

Re: EzPack Crossplatform packer

skinkairewalker wrote: Mon Dec 22, 2025 9:59 pm
idle wrote: Fri Dec 19, 2025 7:22 pm You have the source for atomic webserver it does it already.
The only reason I can't use Atomic Web Server 3 right now is that I can't run it on Mac/Linux.
I no longer have a mac to test it on but it was working on linux.