Search found 129 matches: storing

Return to advanced search

Re: Class TOpenAI_ChatGPT by Charles Kwon

... and decrypt() functions. Regards, Charles KWON Dear friends, how wonderful :-) one question please ... could someone suggest to me a safe way of storing cKey in this context? on openai they suggest an environment variable...is this a good approach? or is it even necessary to bother? thank you ...
by CharlesKwon
Thu Feb 01, 2024 12:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Class TOpenAI_ChatGPT by Charles Kwon
Replies: 3
Views: 472

Re: Class TOpenAI_ChatGPT by Charles Kwon

Dear friends,

how wonderful :-)
one question please ... could someone suggest to me a safe way of storing cKey in this context?
on openai they suggest an environment variable...is this a good approach? or is it even necessary to bother?

thank you for your expertice and kind regards
ruth
by Ruth
Wed Jan 31, 2024 10:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Class TOpenAI_ChatGPT by Charles Kwon
Replies: 3
Views: 472

Re: hash for storing variables

Hello friends, Here is an example of a test program. All these blocks are reusable in all my programs. Best regards, Otto https://mybergland.com/fwforum/tbldruck.jpg https://mybergland.com/fwforum/tbldrucktc.jpg https://mybergland.com/fwforum/abfrage.gif
by Otto
Tue Nov 28, 2023 5:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: hash for storing variables
Replies: 7
Views: 523

Re: hash for storing variables

Enrico, the advantage is that you have reusable blocks here and don't have to worry about passing the variables.

It's simply the productivity that is the advantage.
It's a method to make the source code more readable and secure.

Best regards,
Otto
by Otto
Tue Nov 28, 2023 9:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: hash for storing variables
Replies: 7
Views: 523

Re: hash for storing variables

I do not understand, sorry. Anyway, it still does not make sense.
by Enrico Maria Giordano
Tue Nov 28, 2023 8:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: hash for storing variables
Replies: 7
Views: 523

Re: hash for storing variables

Hello Enrico,
for e.g. my code looks like this.
All the moduls are this way independent.

Best regads,
Otto

Image

Image
by Otto
Tue Nov 28, 2023 8:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: hash for storing variables
Replies: 7
Views: 523

Re: hash for storing variables

What is the point of using h["cTmp"] as the FOR EACH variable?
by Enrico Maria Giordano
Tue Nov 28, 2023 8:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: hash for storing variables
Replies: 7
Views: 523

Re: hash for storing variables

Enrico, I use a patcher and preprocessor for my programming. https://forums.fivetechsupport.com/viewtopic.php?f=3&t=42693&p=260562&hilit=hash&sid=fef71b12cde0ab87a1d9048f22a2ff63#p260562 Best regards, Otto ADVANTAGES OF THE PATCHER AND PREPROCESSOR SYSTEM The Patcher and Preprocessor...
by Otto
Tue Nov 28, 2023 8:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: hash for storing variables
Replies: 7
Views: 523

Re: hash for storing variables

It does not make sense to me. What do you want to get?
by Enrico Maria Giordano
Tue Nov 28, 2023 8:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: hash for storing variables
Replies: 7
Views: 523

hash for storing variables

Hello friends, static h := {=>} h['mycParts'] := {"date=1900-11-21", "time=16:00"} // Correct loop syntax for iterating over the array in the hash FOR EACH cTmp IN h['mycParts'] ? cTmp NEXT But when I try to use h["cTmp"] := "" FOR EACH h["cTmp"]I...
by Otto
Tue Nov 28, 2023 7:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: hash for storing variables
Replies: 7
Views: 523

Re: Create help system with F1

... between different topics, enabling users to navigate seamlessly between related information. These fields provide a basic structure for storing help content, but depending on your specific requirements, you can add additional fields such as version number, language, file attachments, ...
by Antonio Linares
Tue Jul 11, 2023 4:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create help system with F1
Replies: 15
Views: 863

Reading QRCodes

Hello again Fiwinners;

Can anyone here read QR Codes?

This squared dot matrix dots and squares can store a lot of information. Given a QR code storing text, can we read it with fw or harbour? Is anyone here reading QR Codes?

Thank you.
by reinaldocrespo
Wed May 17, 2023 7:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Reading QRCodes
Replies: 8
Views: 531

Understanding how autoGPT works...

... that I am not relying too much on delegation and that I am capable of performing critical tasks independently. I also need to ensure that I am storing information in a way that allows for easy retrieval and referencing.", "speak": "To calculate the current planets' positions ...
by Antonio Linares
Sun Apr 09, 2023 11:51 am
 
Forum: latest AI news
Topic: Understanding how autoGPT works...
Replies: 6
Views: 526

Re: Read API data one by one or in block

... a dictionary, to make it easier to access specific pieces of information. Iterating over the data to perform some action on each record, such as storing it in a database or analyzing it in some way. Using libraries or frameworks that make it easier to work with the data, such as Pandas for data ...
by Antonio Linares
Mon Dec 19, 2022 9:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Read API data one by one or in block
Replies: 1
Views: 253

Re: TWebView:Destroy method does not close the window.

... isn't called. If it was called everything is fine, and the webview2 calls Release(). Wow! It can easily be fixed by storing a flag if ICoreWebView2CreateCoreWebView2ControllerCompletedHandler:Invoke() is called. If the flag is false when its destroyed, call release() ...
by Antonio Linares
Sat Jul 30, 2022 1:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TWebView:Destroy method does not close the window.
Replies: 46
Views: 3064
Next

Return to advanced search