Search found 4827 matches

by idle
Tue Mar 26, 2024 9:02 pm
Forum: Announcement
Topic: MixPerfect
Replies: 29
Views: 1268

Re: MixPerfect

that looks really good thanks for sharing.
by idle
Tue Mar 26, 2024 8:46 pm
Forum: Off Topic
Topic: Ads by Google
Replies: 10
Views: 529

Re: Ads by Google

i don't know I got an add for hemorrhoid cream and hot dates thought it was quite useful :lol:
by idle
Mon Mar 25, 2024 10:56 pm
Forum: Bugs - C backend
Topic: [6.10 beta 9] Assembler error
Replies: 12
Views: 583

Re: [6.10 beta 9] Assembler error

do you have a module named pdf ? the function fileheaderttf_' maybe its declared as a long rather than integer
of have you tried to include a header #include foo.h; ?
by idle
Mon Mar 25, 2024 10:09 pm
Forum: Feature Requests and Wishlists
Topic: Html 2 PBsource
Replies: 4
Views: 263

Re: Html 2 PBsource

Thanks mk-soft :wink: The IncludeBinary is Ok in most cases, but sometimes I want to change parts of that Html with PB variables. You are right, may be a PBTool is the best solution. I wrote a crude tag preprocessor scans the page for <?PB functionname()/> so you can modify an html page saved as pb...
by idle
Mon Mar 25, 2024 8:04 pm
Forum: Tricks 'n' Tips
Topic: atomic web server threads
Replies: 73
Views: 4209

Re: atomic web server threads

I haven't tested it on Linux or osx so don't know if it's a problem. if it is I will have to reconsider how I do it. I'm trying to keep it simple and the threading model I chose makes it lock free from the user point of view. one thread per server many threads per request which can be done in parall...
by idle
Mon Mar 25, 2024 8:25 am
Forum: Coding Questions
Topic: quick reading a file of 15 GByte.... how?
Replies: 22
Views: 1527

Re: quick reading a file of 15 GByte.... how?

infratec wrote: Mon Mar 25, 2024 8:19 am You should definately import this file in a SQLite database.
If this is done once, you have very fast access to all data you want.
It would certainly make sense if run time query is required
by idle
Mon Mar 25, 2024 8:08 am
Forum: Coding Questions
Topic: quick reading a file of 15 GByte.... how?
Replies: 22
Views: 1527

Re: quick reading a file of 15 GByte.... how?

If you only have an HDD it will take a while reading and writing to file as you propose but if you have an SSD you should be able to do it in ~10 to 20 seconds.
by idle
Mon Mar 25, 2024 6:12 am
Forum: Tricks 'n' Tips
Topic: atomic web server threads
Replies: 73
Views: 4209

Re: atomic web server threads

3.0.5a
bug fix, seems I was missing #PB_File_SharedRead on file access, despite being led on a wild goose chase :oops:
note to self make sure #PB_File_SharedRead is set on threaded file access.
the purifier stated overflow in string memory block but the crash location was totally random.
by idle
Mon Mar 25, 2024 4:26 am
Forum: Coding Questions
Topic: quick reading a file of 15 GByte.... how?
Replies: 22
Views: 1527

Re: quick reading a file of 15 GByte.... how?

Its fine to use readstring as you are for now as your not loading the whole file into memory just scanning it, but do you need to do multiple queries at run time? If speeds a concern parsing the file you can also divide it into multiple threads and then optimize the readstring once you've got the re...
by idle
Fri Mar 22, 2024 5:18 am
Forum: Off Topic
Topic: The US government asks not to use C/C++ due to memory vulnerabilities.
Replies: 15
Views: 929

Re: The US government asks not to use C/C++ due to memory vulnerabilities.

Mijikai wrote: Mon Mar 18, 2024 12:39 pm Prob. just want people to use new tech with embedded backdoors instead.
Isn't that's the role of the operating system?
by idle
Thu Mar 21, 2024 5:27 am
Forum: Announcement
Topic: ProGUI V3 Alpha Sneak Peek!
Replies: 18
Views: 1662

Re: ProGUI V3 Alpha Sneak Peek!

that looks amazing, you've spent a good seven months. :D
by idle
Thu Mar 21, 2024 5:17 am
Forum: Off Topic
Topic: Wifi activity detection ...
Replies: 6
Views: 588

Re: Wifi activity detection ...

Take a look at wireshark
https://www.wireshark.org/
by idle
Thu Mar 21, 2024 3:56 am
Forum: Tricks 'n' Tips
Topic: atomic web server threads
Replies: 73
Views: 4209

Re: atomic web server threads

3.0.4.b removed the internal window.
by idle
Wed Mar 20, 2024 7:03 am
Forum: Coding Questions
Topic: PDF Document
Replies: 10
Views: 523

Re: PDF Document

Fangbeast wrote: Wed Mar 20, 2024 6:53 am
Note to self: Put the right glasses on when programming, not the first pair that come to hand...
You sound a lot like me. 4 different pair of glasses, all necessary and I still put the wrong damned ones on.
rack and stack em!
by idle
Wed Mar 20, 2024 6:27 am
Forum: Coding Questions
Topic: raspberry pi threading problem
Replies: 3
Views: 219

Re: raspberry pi threading problem

try using the purifier. it will identify any out of bounds writes, and make sure you only use postevent to interact with gui from threads.