jarble

Results 51 comments of jarble

It seems that `x != 0` could be written as `abs(x)/abs(x) = 1`, since this expression is undefined when `x=0`.

@tfoleyNV Generics would also be useful for operations involving matrices: for instance, I'd want to define a function that performs [Gaussian elimination](https://en.wikipedia.org/wiki/Gaussian_elimination) on a matrix of any size. I'm not...

Recursion in GLSL can be [implemented using macros](https://stackoverflow.com/a/77470186/975097), so this can probably be done in Slang as well.

You could also use the [AssemblyScript](https://github.com/AssemblyScript/assemblyscript) compiler to compile TypeScript to WebAssembly.

Also, transpiler-generator will be able to convert EnglishScript into C and C++ if the EnglishScript source code is statically typed. Is it possible yet to write statically-typed code in EnglishScript?

I'm also planning to write a translator that converts Java and C# code into statically typed EnglishScript code. Has the syntax for statically typed parameters been decided yet?

COBOL is not a [controlled natural language](https://en.wikipedia.org/wiki/Controlled_natural_language), so it might be difficult to integrate it with EnglishScript. It might be easier to re-use features from other controlled natural languages such...

@ChrisAcrobat Window.localStorage has a limit of [only 10 MB](https://stackoverflow.com/a/2989317/975097), which might not be enough. Maybe [IndexedDB](https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API) is a better option.

@cmdr2 It seems that this setting saves the text in the input box, but it doesn't save the queue of prompts and generated images. Is there an option to save...

An [Img2prompt](https://replicate.com/methexis-inc/img2prompt) model already exists for Stable Diffusion. Could we use this model to convert images to prompts?