Search found 27 matches

by technopol
Wed Mar 19, 2025 1:07 am
Forum: Coding Questions
Topic: TCP Nagle algorithm default
Replies: 2
Views: 215

Re: TCP Nagle algorithm default

idle wrote: Wed Mar 19, 2025 1:02 am Yes that is the default as far as I'm aware
COOL!!!
¡Muchas gracias!
by technopol
Tue Mar 18, 2025 11:53 pm
Forum: Coding Questions
Topic: TCP Nagle algorithm default
Replies: 2
Views: 215

TCP Nagle algorithm default

Is TCP Nagle algorithm enabled by default?
by technopol
Tue Sep 10, 2024 12:21 am
Forum: Feature Requests and Wishlists
Topic: enable or allow access to Microphone and Camera in WebViewWidget
Replies: 10
Views: 4177

Re: enable or allow access to Microphone and Camera in WebViewWidget

I will try to get access to UVC standard video camera capture with this:
https://learn.microsoft.com/en-us/windows/win32/medfound/audio-video-capture-in-media-foundation

or with DirectShow for backward compatibility
https://learn.microsoft.com/en-us/windows/win32/directshow/directshow

But ...
by technopol
Sun Jul 07, 2024 7:14 pm
Forum: Coding Questions
Topic: WriteData() 2GB size limit
Replies: 5
Views: 781

Re: WriteData() 2GB size limit

Interesting solutions, but since I need to keep the program easily portable (Win, Linux, Mac and eventually Android and iOS) as it will be sold as libraries in a SDK, I will keep it to 2GB for now.
by technopol
Sun Jul 07, 2024 3:21 am
Forum: Coding Questions
Topic: WriteData() 2GB size limit
Replies: 5
Views: 781

Re: WriteData() 2GB size limit


For/Next with each next 2 GB block, along with FileSeek?


Thanks for the suggestion.

Of course I can do it in 2GB blocks, in sequence, no need for FileSeek for that. What I want is read a file, let's say 20GB, in memory, work on it, then save it in one WriteData. But if it's impossible, I'll go ...
by technopol
Sun Jul 07, 2024 1:48 am
Forum: Coding Questions
Topic: WriteData() 2GB size limit
Replies: 5
Views: 781

WriteData() 2GB size limit

According to help, WriteData() still support only up to 2GB.
Is there a way to write more at once, even with #PB_File_NoBuffering set?
by technopol
Sat Aug 26, 2023 3:32 am
Forum: The PureBasic Editor
Topic: Editing multiple projects at once
Replies: 5
Views: 1635

Re: Editing multiple projects at once



It appears that Purebasic 5.62 can open only one instance of the IDE.

In the PureBasic IDE, go to File > Preferences > General , then uncheck the option
[ ] Run only one Instance


Little John! My saviour!, and the one making me feel like so stupid (or lazy) I should remember the name of ...
by technopol
Fri Aug 25, 2023 11:57 pm
Forum: The PureBasic Editor
Topic: Editing multiple projects at once
Replies: 5
Views: 1635

Re: Editing multiple projects at once

It appears that Purebasic 5.62 can open only one instance of the IDE. Could it be different with 6.02? Shall I give it a try and install 6.02 again?
by technopol
Fri Aug 25, 2023 1:05 am
Forum: The PureBasic Editor
Topic: Editing multiple projects at once
Replies: 5
Views: 1635

Editing multiple projects at once

Is there a safe way to edit multiple projects simultaneously? I have 3 purebasic Windows programs that need to work together with a fourth one in Assembler on an "exotic" CPU. At the beginning I managed to deal with the multiple executables inside the same project, but it led me to some disastrous ...
by technopol
Thu Apr 27, 2023 6:55 pm
Forum: Coding Questions
Topic: CompareMemory() optimizations
Replies: 9
Views: 1539

Re: CompareMemory() optimizations

Bonne nouvelle! Great news! Merci Fred.
Fred wrote: Thu Apr 27, 2023 8:42 am I checked the current CompareMemory() code and we didn't used memcmp() which is twice faster than our custom code. I changed it for the next beta.
by technopol
Thu Apr 27, 2023 6:30 am
Forum: Coding Questions
Topic: CompareMemory() optimizations
Replies: 9
Views: 1539

Re: CompareMemory() optimizations

Because of the industrial secrets and patent applications not yet done, I just couldn't share anything from my work as I always work on my inventions. Like trunked code I just shared I had to extract, simplify and even change all variable names. And since I started programming some 53 years ago on ...
by technopol
Thu Apr 27, 2023 3:07 am
Forum: Coding Questions
Topic: CompareMemory() optimizations
Replies: 9
Views: 1539

Re: CompareMemory() optimizations

Thanks a million times for the quick and very elaborate reply!

I'm sorry for the unrunable code, it was just part of the question, not meant to be run. But even if I'm an avid PureBasic user since 1998, it's the first time I read about code tags (not a big user of the forum; I know I should be ...
by technopol
Thu Apr 27, 2023 1:12 am
Forum: Coding Questions
Topic: CompareMemory() optimizations
Replies: 9
Views: 1539

CompareMemory() optimizations

I imagine CompareMemory() stops at the first data difference but does it?
Also, is it quadword optimized (using padding for bytelenght capability)?
What is faster?

success = CompareMemory(*passBuf,*netBuf,passLen)

OR

;( passLen already a multiple of 8 )
success = #True
For i = 0 To passLen - 8 ...
by technopol
Mon Feb 27, 2023 10:13 pm
Forum: The PureBasic Editor
Topic: Quickhelp for Win32 API commands
Replies: 8
Views: 2892

Re: Quickhelp for Win32 API commands

blueb wrote: Thu Jul 07, 2022 11:10 am Here's a small program written by Danilo that I have found very useful... 8)

Seems great! In which folder is it saved? I just can't find the result.