Search found 47 matches
- 6 Dec 2019 13:05
- Forum: Visual Prolog
- Topic: Increase buffer size
- Replies: 2
- Views: 4151
Re: Increase buffer size
Thomas, Thank you for your prompt response. I misunderstood the 2000 implied buffer size. I am still a long way away from my final system concept and I will now go to the next step. If you do not think I will get much gain from playing with buffer sizes then I accept that advice. If I ever get to th...
- 5 Dec 2019 8:58
- Forum: Visual Prolog
- Topic: Increase buffer size
- Replies: 2
- Views: 4151
Increase buffer size
I am streaming (reading) a 2GB utf8 file in binary mode; doing some processing; and then streaming out the processed file. Input "record size" is 1024 (8 bit) bytes as this suits my application. Everything works, and the processing time is reasonable (294 seconds), though I think I can do ...
- 30 Nov 2019 2:49
- Forum: Visual Prolog
- Topic: Fault tolerant heap shim message
- Replies: 3
- Views: 4848
Re: Fault tolerant heap shim message
Thomas,
Thanks for the info. I won't play with the windows settings (just yet). I will wait and see if it happens again.
Regards,
Loffy
Thanks for the info. I won't play with the windows settings (just yet). I will wait and see if it happens again.
Regards,
Loffy
- 24 Nov 2019 13:17
- Forum: Visual Prolog
- Topic: Fault tolerant heap shim message
- Replies: 3
- Views: 4848
Re: Fault tolerant heap shim message
I seem to have proceeded past the debug error message by issuing a memory::garbageCollect(), statement from a small standalone routine, though I remain confused why the error persisted for a significant number (about 10) of debug runs. Also, I am not absolutely convinced that the memory::garbageColl...
- 23 Nov 2019 8:41
- Forum: Visual Prolog
- Topic: Fault tolerant heap shim message
- Replies: 3
- Views: 4848
Fault tolerant heap shim message
I am currently testing and get the following message after selecting to run the Debugger: Project 'C:\Data & Photos\Data\PDC\Loffys Test Bed V2\Loffys Test Bed V2.vipprj' is opened Project components have been saved No changes. Debug: outputDebugString('FTH: (2096): *** Fault tolerant heap shim ...
- 31 Oct 2019 10:52
- Forum: Visual Prolog
- Topic: Progress Bar status indicator
- Replies: 37
- Views: 16640
Re: Progress Bar status indicator
Thomas, Thanks. I will try to implement the solution over the weekend. I must admit that I had not expected to get this deep into VIP this quickly. I continue to learn "stuff" in my project and still have a quite a way to go. Thanks again to yourself and Martin for the determination to att...
- 31 Oct 2019 3:15
- Forum: Visual Prolog
- Topic: Progress Bar status indicator
- Replies: 37
- Views: 16640
Re: Progress Bar status indicator
Martin and Thomas,
Thank you for all the work you put into this.
After I finish my current test activity I will attempt to merge your solution into my project.
Regards,
Loffy
Thank you for all the work you put into this.
After I finish my current test activity I will attempt to merge your solution into my project.
Regards,
Loffy
- 25 Oct 2019 3:03
- Forum: Visual Prolog
- Topic: Reading hexadecimal from utf8 files
- Replies: 9
- Views: 5886
Re: Reading hexadecimal from utf8 files
Thomas,
Thanks again.
Yes, I had noticed the mode parameter in my investigations, though I have not yet got around to using it. I will now.
And I don't mind your comment at all. It made me laugh.
Regards,
Loffy
Thanks again.
Yes, I had noticed the mode parameter in my investigations, though I have not yet got around to using it. I will now.
And I don't mind your comment at all. It made me laugh.
Regards,
Loffy
- 24 Oct 2019 13:50
- Forum: Visual Prolog
- Topic: Reading hexadecimal from utf8 files
- Replies: 9
- Views: 5886
Re: Reading hexadecimal from utf8 files
Thomas, Thanks again for your prompt response. Your question is quite pertinent. I am attempting to emulate/simulate the actions of a quantum computer, and that goes a very long way further than this issue. The simple pretext of my idea for this part of my system is as follows (and I will not elabor...
- 24 Oct 2019 6:23
- Forum: Visual Prolog
- Topic: Reading hexadecimal from utf8 files
- Replies: 9
- Views: 5886
Re: Reading hexadecimal from utf8 files
Thomas, Please find attached file. First, some points: - the file I was testing is large (2GB). - I have saved the first 32 bytes of the file using (WinHex) into a new test file. - the 2GB file was created in VIP using utf8 file qualifiers where required. - Windows notepad has confirmed the new file...
- 23 Oct 2019 11:34
- Forum: Visual Prolog
- Topic: Reading hexadecimal from utf8 files
- Replies: 9
- Views: 5886
Re: Reading hexadecimal from utf8 files
Harrison,
The file does not contain a BOM (at least as far as I can see with my hex editor), so I will look further at the details of thread-ansi.
Regards,
Loffy
The file does not contain a BOM (at least as far as I can see with my hex editor), so I will look further at the details of thread-ansi.
Regards,
Loffy
- 23 Oct 2019 9:09
- Forum: Visual Prolog
- Topic: Reading hexadecimal from utf8 files
- Replies: 9
- Views: 5886
Reading hexadecimal from utf8 files
I am testing concepts for a project, and to date I have settled on using utf8 files for a number of reasons. My current testing requires using streams to read and write utf8 files. The streaming works fine until I get to the current test regarding reading a utf8 file that contains hexadecimal bytes ...
- 18 Oct 2019 7:01
- Forum: Visual Prolog
- Topic: Progress Bar status indicator
- Replies: 37
- Views: 16640
Re: Progress Bar status indicator
Ben,
Thanks, that works. I took a few seconds for the message to appear, but that is a lot better than not appearing until after the file has been written.
Regards,
Loffy
Thanks, that works. I took a few seconds for the message to appear, but that is a lot better than not appearing until after the file has been written.
Regards,
Loffy
- 17 Oct 2019 11:57
- Forum: Visual Prolog
- Topic: Progress Bar status indicator
- Replies: 37
- Views: 16640
Re: Progress Bar status indicator
Thomas, I have tried my "crude" approach, though I have hit a hurdle that I think relates to background processing of stdio::write functionality. Firstly I send a message to the standard stdio outstream at the beginning of the process to the message window to inform the user to be patient....
- 17 Oct 2019 8:23
- Forum: Visual Prolog
- Topic: Progress Bar status indicator
- Replies: 37
- Views: 16640
Re: Progress Bar status indicator
Thomas, Thanks for the above posts and all of the work you put into this. For the moment I will go to something a bit crude to give some very basic info, and come back to the problem after I have developed more of the fundamental aspects of my project idea. Good progress so far; a few more things to...