Search found 1412 matches

by NicTheQuick
Mon Nov 24, 2025 3:59 pm
Forum: Windows
Topic: IPAddressGadget Bug
Replies: 5
Views: 151

Re: IPAddressGadget Bug

Hm, on Linux it works but it also seems just to be simple StringGadget with only numbers and dots allowed. You can type anything into it.
by NicTheQuick
Sun Nov 23, 2025 4:05 pm
Forum: Coding Questions
Topic: MD5 for text [Resolved]
Replies: 32
Views: 1208

Re: MD5 for text [Resolved]

When i works with this files, the titles can be a little bit different (French accent forgotten, comma added, typing error, additional informations, etc ...)
For example

Cindy Lauper (She bop).mp3
Cindi Lauper (She bop).mp3

Then i say to me, i must create an UNIQUE reference for each title
Don ...
by NicTheQuick
Thu Nov 20, 2025 4:11 pm
Forum: Off Topic
Topic: Glad you're back!
Replies: 7
Views: 273

Re: Glad you're back!

juror wrote: Wed Nov 19, 2025 4:54 pmWas this related to the cloudflare outage?
I don't think so. It happens basically daily and it happened again today. Totally unusable for some time. Either it takes 20-30 seconds to load or a page or just a white page appears with an error showing that the requested page has timed out.
by NicTheQuick
Thu Nov 20, 2025 2:09 pm
Forum: Coding Questions
Topic: MD5 for text [Resolved]
Replies: 32
Views: 1208

Re: MD5 for text [Resolved]

No.

I would suggest to use longer hashes. I don't understand why you only want to use small ones.
by NicTheQuick
Thu Nov 20, 2025 11:43 am
Forum: Coding Questions
Topic: MD5 for text [Resolved]
Replies: 32
Views: 1208

Re: MD5 for text [Resolved]



Be aware that hashes like MD5 and especially CRC32 (because of its length) can have a lot of collisions.
Incredible !!!! :shock:
I've always been convinced that an MD5 hash couldn't produce the same result for two different sources, and that's precisely why it was created: to control the ...
by NicTheQuick
Mon Nov 17, 2025 2:21 pm
Forum: Off Topic
Topic: Free, Opensource…
Replies: 19
Views: 908

Re: Free, Opensource…

I can only think of Windows vs Linux here. Windows collects data, Linux usually does not, except you want it to do so.
by NicTheQuick
Mon Nov 17, 2025 1:36 pm
Forum: Coding Questions
Topic: MD5 for text [Resolved]
Replies: 32
Views: 1208

Re: MD5 for text [Resolved]

Be aware that hashes like MD5 and especially CRC32 (because of its length) can have a lot of collisions.
Here's an example:
UseCRC32Fingerprint()

Procedure.s CRC32_ASCII(input.s)
Protected *ascii = Ascii(input)
Protected hash.s = Fingerprint(*ascii, MemorySize(*ascii), #PB_Cipher_CRC32 ...
by NicTheQuick
Fri Oct 31, 2025 5:15 pm
Forum: General Discussion
Topic: Website incredibly slow?
Replies: 83
Views: 22767

Re: Website incredibly slow?

What's happening again? It's annoyingly slow. Loading times of 20 seconds and more.
by NicTheQuick
Thu Oct 30, 2025 2:35 pm
Forum: Off Topic
Topic: Curiosity : RandomSeed(Random(1000))
Replies: 10
Views: 1197

Re: Curiosity : RandomSeed(Random(1000))

If you need real randomness use `CryptRandom()`. It creates cryptographic secure randomness.
by NicTheQuick
Sun Oct 12, 2025 2:14 pm
Forum: Coding Questions
Topic: Slow code !! Why ?
Replies: 10
Views: 750

Re: Slow code !! Why ?

pjay wrote: Sun Oct 12, 2025 12:38 pm The mouse movements are being caught in a queue as you're only processing one OS event per frame, whereas you should be handling all of them.
That's the right way to do it.
by NicTheQuick
Mon Oct 06, 2025 6:10 pm
Forum: Off Topic
Topic: C++ 26 will be a game changer !
Replies: 17
Views: 2805

Re: C++ 26 will be a game changer !

We already had discussions about OOP quite a lot in this board and I think the answer will stay the same.

I think Fred wanted you to describe what the benefits of C++26 are, not OOP or C++ in general.
by NicTheQuick
Mon Oct 06, 2025 1:22 pm
Forum: Coding Questions
Topic: atof Replacement for ValD
Replies: 7
Views: 879

Re: atof Replacement for ValD

These are my results:
ValD: 103 ms
_ValD: 123 ms
Using this code and with the Debugger disabled, C-backend and code optimization enabled:
EnableExplicit

ImportC ""
atof.d(*txt) As "atof"
EndImport

; Macro ValD ;-> uncomment to use new procedure instead of built-in
; _ValD
; EndMacro ...
by NicTheQuick
Mon Oct 06, 2025 1:18 pm
Forum: Coding Questions
Topic: atof Replacement for ValD
Replies: 7
Views: 879

Re: atof Replacement for ValD

Three things:
1. You don't measure time in Debug mode.
2. An additional function call and string conversion adds a lot of time.
3. _atof does not exist on Linux it seems. But atof does. A version for UCS-2 strings like Purebasic uses them internally seems not to be available.
by NicTheQuick
Thu Sep 11, 2025 7:14 am
Forum: General Discussion
Topic: Happy Birthday, PureBasic!
Replies: 15
Views: 2650

Re: Happy Birthday, PureBasic!

Back in the day I was coding 2d games in BlitzBasic, which was really cool. But it was fullscreen only, no way to open even a simple window with a button. In their online FAQ they recommended PureBasic for such purpose. Well, it was love at first sight.
lol. That's quite exactly how I came to ...