Search found 11 matches

by larryhoughton
5 Feb 2018 16:19
Forum: Visual Prolog
Topic: Outlook 365 email requires "starttls = true" parameter
Replies: 4
Views: 4041

Re: Outlook 365 email requires "starttls = true" parameter

Yes, startttls is SSL. I'm not sure if the requirement is only an encrypted username and password or if the entire "session" has to be SSL ( and therefore SSL certificates would be required too, ugh ). The mission is to simply send emails from a Amazon AWS hosted EC2 server running VP. Amazon's eMai...
by larryhoughton
4 Feb 2018 18:52
Forum: Visual Prolog
Topic: Outlook 365 email requires "starttls = true" parameter
Replies: 4
Views: 4041

Outlook 365 email requires "starttls = true" parameter

Hello, Update: GoDaddy has given me a port 25 option that may be a work-around for now.... I need to include email output in my VP application. "sendMail_smtp.pro" was perfect right up to point where I found out the GoDaddy Outlook 365 smtp server I'd like to use requires a setting that the VP sendM...
by larryhoughton
2 Sep 2017 2:20
Forum: Visual Prolog
Topic: Prolog backtracking when using a SQL Database instead of Prolog Facts
Replies: 2
Views: 799

Hi Thomas, As part of a previous discussion topic (http://discuss.visual-prolog.com/viewtopic.php?t=15668) it was recommended that I not retrieve the DB Facts and Assert them to Prolog Facts for processing (e.g. Backtracking). However, I think it you should avoid/minimize data caching in your applic...
by larryhoughton
31 Aug 2017 19:45
Forum: Visual Prolog
Topic: Prolog backtracking when using a SQL Database instead of Prolog Facts
Replies: 2
Views: 799

Prolog backtracking when using a SQL Database instead of Prolog Facts

Hello, Prolog automatically and sequentially steps to the next Prolog Fact during backtracking (while trying to find a successful solution). Conceptually how should the SQL retrieval of data be done in a way that might mimic the Prolog Fact DB backtracking selection of the next Fact "DB record"? To ...
by larryhoughton
19 Aug 2017 3:19
Forum: Visual Prolog
Topic: Extending the sample Visual Prolog sample Calendar code to use FACTS
Replies: 2
Views: 845

Okay, I've conquered my aforementioned json 'o' and Procedure issues with your help, thank you. And I have the sample ODBC code working with an MS SQL DB. What I can't put together now is how the results from an SQL query become available for goal processing. That is, with a Fact I can simply resolv...
by larryhoughton
16 Aug 2017 7:06
Forum: Visual Prolog
Topic: Extending the sample Visual Prolog sample Calendar code to use FACTS
Replies: 2
Views: 845

Extending the sample Visual Prolog sample Calendar code to use FACTS

Hello, I'm trying to extend the sample Visual Prolog sample Calendar code to use FACTS instead of creating the Calendar "Event" data within the code (i.e. hard coded Calendar Events). I'm looking for guidance on the best Prolog coding strategy (i.e. commands) to make the Calendar sample code read Ca...
by larryhoughton
30 Jul 2017 6:23
Forum: Visual Prolog
Topic: Unable to "Consult" assert(ed) 'time' data type - Exception r306 Unsupported interface 'time'
Replies: 5
Views: 1253

Hi Martin,
I've taken all of your excellent advice. It took a while, but I have everything working nicely now with MS SQL and file stream storage/retrieval of Prolog Fact subsets (as needed) for Prolog processing. Thanks again.
Larry
by larryhoughton
9 Jul 2017 19:35
Forum: Visual Prolog
Topic: Unable to "Consult" assert(ed) 'time' data type - Exception r306 Unsupported interface 'time'
Replies: 5
Views: 1253

I want my cake and eat it too

Hi Martin, Thanks for your quick response. My need is to keep track of possibly thousands of date/time db records along with their related attributes in a compound domain. I'm looking for some guidance here because the date/time storage and comparison methods will be critical to my program's perform...
by larryhoughton
8 Jul 2017 16:48
Forum: Visual Prolog
Topic: Unable to "Consult" assert(ed) 'time' data type - Exception r306 Unsupported interface 'time'
Replies: 5
Views: 1253

Unable to "Consult" assert(ed) 'time' data type - Exception r306 Unsupported interface 'time'

Hello, I don't get it. The "time" data type "consult" works normally if I execute the "consult" before terminating the program instance that executes the assert and save to create my disk file. However, if I restart the program and immediately execute "consult", to retrieve the disk file data , the ...
by larryhoughton
21 May 2017 0:44
Forum: Visual Prolog
Topic: Using "HasDomain" with a variable Domain parameter e.g. HasDomain(MyRuntimeVariableDomain,Term)
Replies: 2
Views: 1068

Hi Martin, Thanks for the quick reply. I was trying to have a single generic clause to handle all Domains, but the truth is; when I start creating the Prolog program that I really want to create, each Domain will need separate handling anyway. Your sample code is very clean and looks like exactly wh...
by larryhoughton
20 May 2017 17:57
Forum: Visual Prolog
Topic: Using "HasDomain" with a variable Domain parameter e.g. HasDomain(MyRuntimeVariableDomain,Term)
Replies: 2
Views: 1068

Using "HasDomain" with a variable Domain parameter e.g. HasDomain(MyRuntimeVariableDomain,Term)

Hi, For retrieval of Terms from a Chain, can the "HasDomain" Domain parameter be set with a runtime variable (and reset during backtracking)? Alternatively, I thought you could create a Domain with all of the Domains you would ever need (see below) and use that with HasDomain. My example below works...