Search found 5579 matches

by idle
Mon Aug 18, 2025 6:08 am
Forum: Coding Questions
Topic: Issue with converting tiny classifier routine into a macro
Replies: 17
Views: 826

Re: Issue with converting tiny classifier routine into a macro

Olli wrote: Tue Jul 29, 2025 7:14 am

Code: Select all

macro isNotLetter(self)
(((self&~32)-52)/13-1)>>1
endmacro
It is method to be fast. And normally, the optimizer should use it, as SIMD if you use it in a contiguous array.
That's really nice for azAZ
by idle
Sun Aug 17, 2025 10:22 pm
Forum: Announcement
Topic: ProGUI V3 Alpha 3 Ready for testing!
Replies: 224
Views: 90812

Re: ProGUI V3 Alpha 3 Ready for testing!

Sweating in the uk 🇬🇧 is a thing now. 😳
by idle
Sun Aug 17, 2025 10:02 pm
Forum: General Discussion
Topic: Prompt for AI analysis of PB source codes
Replies: 2
Views: 202

Re: Prompt for AI analysis of PB source codes

It's a good idea though I would do it with a local llm
If you have it returning json it would be easy to add to dB
But you don't need to do embeddings to retrieve code as it's easy enough to do full text search, it's just that the index becomes larger than the data In that case like in my codedb ...
by idle
Sat Aug 16, 2025 12:41 am
Forum: Game Programming
Topic: Volumetric clouds [VIDEO]
Replies: 4
Views: 191

Re: Volumetric clouds [VIDEO]

that looks very good.
by idle
Thu Aug 14, 2025 10:16 am
Forum: Game Programming
Topic: SpotFX Lib - Retro Sound Generator
Replies: 65
Views: 66773

Re: SpotFX Lib - Retro Sound Generator

Better late than never. This is great!
by idle
Thu Aug 14, 2025 4:52 am
Forum: Coding Questions
Topic: Best approach to create a syntax reader for a code converter?
Replies: 12
Views: 535

Re: Best approach to create a syntax reader for a code converter?

what are the languages would be a good start.
There are numerous frameworks that can make it easier, check out the Frameworks section in this repo
https://github.com/milahu/awesome-transpilers
by idle
Wed Aug 13, 2025 2:50 am
Forum: General Discussion
Topic: About the long (.l) on recent PB...
Replies: 6
Views: 295

Re: About the long (.l) on recent PB...

So that's the reason. Makes perfect sense now.
by idle
Wed Aug 13, 2025 2:48 am
Forum: General Discussion
Topic: Speed on PB is slow ?!
Replies: 14
Views: 468

Re: Speed on PB is slow ?!

NicTheQuick wrote: Tue Aug 12, 2025 5:57 pm On my machine the code is done in 0 milliseconds. I guess the optimization is working fine. :D

Without optimization it is 1512 milliseconds. :wink:

So don't forget to enable optimizations in the compiler options.
C Optimizer removed the loop. :lol:
by idle
Mon Aug 11, 2025 5:31 pm
Forum: Tricks 'n' Tips
Topic: PureBasic and AccuWeather APIs - A LIVE Working Example
Replies: 9
Views: 484

Re: PureBasic and AccuWeather APIs - A LIVE Working Example

Nice thanks for sharing very useful
by idle
Mon Aug 11, 2025 7:56 am
Forum: Assembly and C Programming in PureBasic
Topic: Solved! CPUID in C-Backend! Problems with returning values
Replies: 6
Views: 283

Re: Solved! CPUID in C-Backend! Problems with returning values

SMaag wrote: Sun Aug 10, 2025 6:39 pm
also module here
viewtopic.php?t=61060
thank's @idle
How stupid! seems like I've reinvented the wheel! Well, just for practice!
think we're all guilty of doing that sometimes :lol:
by idle
Sun Aug 10, 2025 2:45 am
Forum: Tricks 'n' Tips
Topic: 2D FFT image quantization
Replies: 3
Views: 207

Re: 2D FFT image quantization


Very nice work idle :D
I have a feeling that you are very close to to do AI enlarge image instead of compress it using PB
Thanks for sharing


That probably wouldn't be to hard for an AI to do, make it bigger. :lol:
I actually used Gemini to produce it and while it didn't have to many issues it ...
by idle
Sat Aug 09, 2025 9:07 am
Forum: Tricks 'n' Tips
Topic: 2D FFT image quantization
Replies: 3
Views: 207

2D FFT image quantization

An experiment in 2D image FFT quantization between brain farts (as in while I can still think)




Structure complex
Re.d
Im.d
EndStructure

Structure arcomplex
ar.complex[0]
EndStructure

Procedure _stockham(*x.arcomplex, n.i, flag.i, n2.i, *y.arcomplex)

Protected *y_orig.arcomplex ...
by idle
Tue Aug 05, 2025 1:38 am
Forum: 3D Programming
Topic: Is it possible to render 3D on the sprite layer?
Replies: 1
Views: 133

Re: Is it possible to render 3D on the sprite layer?

window3D perhaps
you can edit it and probably make new skins
look in the examples 3d data gui folder