Search found 239 matches: random

Return to advanced search

Re: Using Microsoft AI Phi-2 from FWH

hi, i have change all Property and CODE as advice but can´t create Simple.DLL Die Neuerstellung wurde um 02:50 gestartet... 1>------ Neues Erstellen gestartet: Projekt: ZERO_CHECK, Konfiguration: Release x64 ------ 1>1>Checking Build System 2>------ Neues Erstellen gestartet: Projekt: gg...
by Jimmy
Fri Dec 22, 2023 1:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using Microsoft AI Phi-2 from FWH
Replies: 51
Views: 8330

Re: random sentences generator

Dear Antonio,

Thank you, it works.
And thank you very much for your research and development work and for exploring new techniques for us.

Best regards,
Otto
by Otto
Fri Dec 01, 2023 6:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: random sentences generator
Replies: 6
Views: 713

Re: random sentences generator

You can use chatGPT to generate the sentences for you: write 50 simple sentences to feed artificial intelligence using the format Tokenizer( sentence ) Tokenizer("The sun rises in the east.") Tokenizer("Cats are furry animals.") Tokenizer("Water freezes at zero degrees Celsi...
by Antonio Linares
Fri Dec 01, 2023 6:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: random sentences generator
Replies: 6
Views: 713

Re: random sentences generator

Dear Otto, In this example you can visually review how we organize the tokens, so its easier to understand how it works :-) llml.prg #include "FiveWin.ch"static hTokens := {=>}function Main()   local n   Tokenizer( "The cat climbed the tree...
by Antonio Linares
Fri Dec 01, 2023 5:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: random sentences generator
Replies: 6
Views: 713

Re: random sentences generator

Dear Otto,

When you call function Generate( <cInitialWord> ) you have to provide an initial word that exists in your sentences,

in your case:

? Generate( "the" )
by Antonio Linares
Fri Dec 01, 2023 3:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: random sentences generator
Replies: 6
Views: 713

Re: random sentences generator

Dear Antonio, thank you very much. I added #xtranslate hb_HHasKey( [<x,...>] ) => HHasKey( <x> ) and translated: Tokenizer("The tomcat climbed the tree and meowed until the firefighter arrived.") Tokenizer("I like learning new things every day.") Tokenizer("Th...
by Otto
Thu Nov 30, 2023 9:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: random sentences generator
Replies: 6
Views: 713

Re: random sentences generator

In this example we load all William Shakespeare's books into memory: https://www.fivetechsoft.com/files/shakespeare.txt #include "FiveWin.ch"static hTokens := {=>}function Main()   local cText := hb_memoRead( "shakespeare.txt" )   loca...
by Antonio Linares
Thu Nov 30, 2023 5:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: random sentences generator
Replies: 6
Views: 713

random sentences generator

Inspired in the idea of AI large languages models, this is a very simple and easy to understand sentences generator, quite funny :-) The more sentences that you provide to it, the more "inspired" that it will be :-D llml.prg #include "FiveWin.ch"static hTokens := {=>}...
by Antonio Linares
Thu Nov 30, 2023 4:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: random sentences generator
Replies: 6
Views: 713

Re: xbrowse and tooltip

... what I would like is the dot red in the cell with tooltip. My xbowse has 35 column and tooltip could be in 1 or 3 or 10 or 15 column (it's a random) when the users open xbrowse he doesn't know where the tooltip is. the excel example (dot red into the of C column) could be a solution. thanks
by damianodec
Fri Nov 24, 2023 7:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse and tooltip
Replies: 5
Views: 560

FWH 2310 Active X problem ?

... rebuilt the entire application yesterday with FWH 2310 and now when calling the program, it fails on an "array access". This is a pretty random issue, and there were no coding changes. I went back to 2306 and it works perfectly. So "something" in the new FWH release has "broken" ...
by TimStone
Fri Nov 03, 2023 3:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 2310 Active X problem ?
Replies: 13
Views: 509

Re: not ISOEM(), ISANSI() or IsUTF8()

I made a simple test by first creating a small dbf with 2 fields and 10 records all containing random OEM strings of Umlauts. This is the code:    field FLD1, FLD2   local aoem  := { "84", "94", "81", "8E", "99", "9A", ...
by nageswaragunupudi
Tue Aug 29, 2023 1:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: not ISOEM(), ISANSI() or IsUTF8()
Replies: 34
Views: 2095

Cómo genero "codigo de password" al azar?

Buen dia.
Necesito generar códigos de validacion asi como: !"·!"asdASDQWE! al azar,
existe algun "random" para este tipo de dato en fwh?

gracias.
by goosfancito
Tue Aug 08, 2023 6:28 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cómo genero "codigo de password" al azar?
Replies: 8
Views: 404

xHarbour Commercial and latest FWH

... AS LPSTR, initdata AS LPSTR) AS BOOL ; PASCAL FROM "SmtpInitializeA" LIB hSmtp The license key is a define for a long string of random letters. The error I get is: Compiler version: xHarbour 1.2.3 Intl. (SimpLex) (Build 20170127) FiveWin version: FWH 23.04 C compiler version: ...
by Randal
Sat Aug 05, 2023 2:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xHarbour Commercial and latest FWH
Replies: 3
Views: 359

Re: Using free AI power from our Harbour apps !!!

random sample from the GPT-J model (that you can use commercially!) we will be releasing tonight tomorrow morning

just readed in discord chat
by Antonio Linares
Sat Apr 01, 2023 9:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using free AI power from our Harbour apps !!!
Replies: 20
Views: 1674

Fighting Xbrowse and lozing !!!

Whats in a title.... I have following issue. At random looking at my code, i discoffered a real issue of bad programming from my site of cource ! Using 90% of Xbrowse time in my program, Xbrowse performance is essential, so I need to do it correct. ...
by Marc Venken
Sat Dec 17, 2022 11:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fighting Xbrowse and lozing !!!
Replies: 18
Views: 1569
Next

Return to advanced search