Search found 428 matches

by Cyllceaux
Fri Dec 15, 2023 3:11 pm
Forum: Coding Questions
Topic: Tesseract question or OCR recognizion
Replies: 9
Views: 845

Re: Tesseract question or OCR recognizion

Hey there, I use tesseract and ocrmypdf. I installed it with winget. you need python, too. Installation and examples: https://ocrmypdf.readthedocs.io/en/latest/installation.html#installing-on-windows This is my commandline for doing this ocrmypdf --output-type pdf -l deu+eng --redo-ocr --optimize 1 ...
by Cyllceaux
Fri Sep 08, 2023 9:52 am
Forum: Feature Requests and Wishlists
Topic: UseOracleDatabase()
Replies: 18
Views: 9656

Re: UseOracleDatabase()

Fred wrote: Tue Aug 05, 2014 10:38 am It's LGPL, so we can't include it in PB as a static lib. You should still be able to access it with importc/endimport.
They changed to APACHE-2 Licence. How about now?

*making puppy eyes"
by Cyllceaux
Fri Sep 08, 2023 4:33 am
Forum: Coding Questions
Topic: Is it possible to restrict access on structure fields?
Replies: 9
Views: 568

Re: Is it possible to restrict access on structure fields?

I have some Ideas: Idea 1: DeclareModule Test Structure Pos X.i Y.i EndStructure Structure Gerber Identification.q BoardSize.Pos;in mm Unit.a ;mm/inch EndStructure EndDeclareModule Module Test Structure InternGerber Extends Gerber DrawScaling.f EndStructure EndModule Idea 2: DeclareModule Test2 Inte...
by Cyllceaux
Mon Aug 28, 2023 6:04 am
Forum: Tricks 'n' Tips
Topic: Messing around with OpenAI
Replies: 5
Views: 1129

Re: Messing around with OpenAI

Hello Kiffi, I use ChatGPT 3.5 (free). I put my password in lines 150 and 151 and I get an error on line 120: "The specified #JSON is not initialized" Password? The API-Key looks something like this: sk-tbSuXo2FdK49qZ7Yf2Q5T3BlbkWJXqupW1uJhH0FtRx3jSmj I use this since I posted it here and...
by Cyllceaux
Fri Aug 11, 2023 8:06 pm
Forum: Bugs - Windows
Topic: The maximum buffer size is 2GB
Replies: 2
Views: 609

Re: The maximum buffer size is 2GB

My Workaround:

Code: Select all

#MAX_BUFFER_SIZE=1024*1024*1024
Protected.q bz,bzp,bzl
For bz=1 To sz Step #MAX_BUFFER_SIZE
	bzp=bz
	If bzp+#MAX_BUFFER_SIZE<=sz
		bzl=#MAX_BUFFER_SIZE
	Else
		bzl=(bzp+#MAX_BUFFER_SIZE)-sz
	EndIf
	WriteData(ff,*t+(bzp-1),bzl)			
Next
by Cyllceaux
Fri Aug 11, 2023 5:51 am
Forum: Bugs - Windows
Topic: The maximum buffer size is 2GB
Replies: 2
Views: 609

The maximum buffer size is 2GB

Ola, I have a InMemory Database with a strong encryption. Now I want to write the Data to a File. (around 12 GB) The code is simple: ff=CreateFile(#PB_Any,pfad,#PB_File_NoBuffering) If sz>-1 WriteData(ff,*t,sz) *this\nlen=sz Else WriteData(ff,*k,ll-SizeOf(Quad)*5-fn) *this\nlen=ll-SizeOf(Quad)*5-fn ...
by Cyllceaux
Sun May 21, 2023 3:28 pm
Forum: Tricks 'n' Tips
Topic: [All OS] Module DateTime - Date as Double Since 1970
Replies: 27
Views: 5738

Re: [All OS] Module DateTime - Date as Double Since 1970

I see, the year 100 is the lowest year on windows.

Code: Select all

    tdq.d=GetDateFromString("0100-01-01","%yyyy-%mm-%dd")
    Debug "MM: "+ tdq
    Debug "NN: "+ GetStringFromDate(tdq)
Everything lower does not work. :(
by Cyllceaux
Fri May 19, 2023 4:14 am
Forum: General Discussion
Topic: PureBasic Non-Regression Suite
Replies: 5
Views: 500

Re: PureBasic Non-Regression Suit

I tried PureUnit and it worked great. The only problem is, that there is no autocomplete fure "ProcedureUnit" and the others macros and procedures from the resource file. I'm not sure if it is a bug. (using 6.02)
by Cyllceaux
Tue May 16, 2023 4:24 am
Forum: 3D Programming
Topic: Landscape v8
Replies: 23
Views: 3963

Re: Landscape v8

I tried. But it is always a black picture :(
But I mean, the LOD "jumps" hardly. In the wireframe-view there are mountains and trees shows from a single triangle to a complex object. I count 5 "jumps".
by Cyllceaux
Sun May 14, 2023 2:21 pm
Forum: 3D Programming
Topic: Landscape v8
Replies: 23
Views: 3963

Re: Landscape v8

I really love your demos...
But, is there a chance to change the LOD? sometimes the background and farther aways things looking terrible.
by Cyllceaux
Wed Apr 12, 2023 6:27 am
Forum: Tricks 'n' Tips
Topic: Openai (ChatGPT) from PB
Replies: 20
Views: 2419

Re: Openai (ChatGPT) from PB

by Cyllceaux
Sun Feb 05, 2023 2:07 pm
Forum: Tricks 'n' Tips
Topic: Messing around with OpenAI
Replies: 5
Views: 1129

Messing around with OpenAI

At first a little Module. DeclareModule OpenAI Interface OpenAPICompletion Free() SimpleRequest.s(prompt.s,temperature.b=0,max_tokens.i=1000) EndInterface Declare createCompletionAI(apikey.s) Declare createCompletionAIPlayground(apikey.s) EndDeclareModule Module OpenAI EnableExplicit #host="htt...
by Cyllceaux
Fri Jan 13, 2023 4:35 pm
Forum: General Discussion
Topic: AI (Artificial intelligence) ...
Replies: 4
Views: 661

Re: AI (Artificial intelligence) ...

Hi Marco, To be honest. Every task can be done by an AI. But to 99,9999% you don't need an AI. I think I describe the Agent-System. Maybe you find an idea (or solution) for your problem. The idea behind an agent is, you have unlimited agents. every agent did only one task. It has an Input-Signal(s),...
by Cyllceaux
Fri Jan 13, 2023 2:40 pm
Forum: General Discussion
Topic: AI (Artificial intelligence) ...
Replies: 4
Views: 661

Re: AI (Artificial intelligence) ...

Long time ago I wrote a agent-system in PB. It's more like the Blueprintsystem from UE5, but Agents are a sub-category of AI. So, the question is... what do you mean with AI. - Agents - Neural Networks - Cell replications - Pattern recognition - or other stuff like big "if-then-else" block...
by Cyllceaux
Mon Jan 02, 2023 2:55 pm
Forum: General Discussion
Topic: Xojo Developers
Replies: 18
Views: 2776

Re: Xojo Developers

I wasn't going to pay $400/year just so I could use version control. How? Since 2012 I payed 699€ each year. But I loved the gadgets of RB/Xojo... I loved it, how easy it was to create new gadgets or update existing ones. AND I liked the llvm of the scripting on compiler. But the IDE is slow... ext...