This part of the old website is not ported to the newer version yet.
Jaspers Personal webpage
I use the o-jasper github account, with various stuff in various stages of development or abandonment.
this thing is out of date.
Currently my main language of interest is Julia. I particularly like its polymorphism, lack of classes, and code as data.(with macros as such) Unfortunately, I am behind on following things like packaging properly.
Another direction is using my reprap to print stuff.
Foreign Function Interface allowing C functions to be used in Julia
Octtree, applied to Constructive Solid Geometry(CSG), and other things.
Not used by anyone as far as i know, however, it did work for an earlier version of things. I am sure it can be made to work again fairly easily.
I initially wrote it with a vague(ambitious) idea of the ‘map of the universe’, later i noticed that i could fairly easily do CSG. I renamed it from ‘universe map’; the name ‘physical map’ allows both ideas.
The CSG part works by figuring out whether things are 1)entirely - 2)entirely not - pr 3)partially overlapping, you can deepen the octree when it is partially, up to the (typically)computation limitations.
The advantage of the approach is that the software is probably a lot simpler than many existing approaches. The disadvantage is that it’d always be cubes of some size. A big improvement could be to have each cube contain a ‘plane’ -a flat surface beyond which it is inside/outside the object.
Uses OpenGL for drawing stuff.
Stack language interpreter implemention. Current version broken.
I know one of the versions worked.. Todo is to find it back and park the github version there. Basically, i abandoned it.
It had basically two parts, the (in a stack language very basic) parsing, basically, each definition just stuffs a bunch of bytes on top.
And the interpreter. Each value comes with a byte identifying its type. If i’d do it again, i’d add a ‘type calculator’ to do away with that.
Various little projects i cleaned up a bit and put out there. en-morse text to morse code, morse code to morse code sound. Morse code to text conspicuously missing. (Very poorly tested)
hashtable, hash table and s-expression(nested lists) parser.
relax, solves the laplace equation using the relaxation method method. For instance for electrostatic potentials, but i suppose it could be extended to waves. It uses doubling of resolution to work pretty quickly. This is an idea for the future of physical_map.
prog-select, C program that uses gtk to select a command, it lists commands based on what is typed, with the most used most prominent. There already exist much better programs that do the same.
dotbin, some shell scripts i use for (desktop)convenience.
Various objects that are hopefully printable, or useful developments towards being printable.
I have printed a few of them. Not published yet.
Can generate textures for the surface of planets and clouds.
Used to be different scripts but converted it into a single script where things are replaced in a template, and you specify what to replace. Conveniently there is also a way of defining defaults, and the defaults can be arbitrary depend on given parameters.(including other defaults, if those defaults come before)
Common Lisp stuff
I have gone away from Common Lisp to Julia as it is pretty much a lisp, and people apparently wont accept s-expressions. (though Julias syntax could yet be better)
These are pretty much abandonned.
Function that sees all expressions in code. Allows you to provide a function that sees all expressions in code.
Builds on that to provide a ‘scanner’ taking data out.
Builds on that to ‘automatically package’ a bit, making
Dont know if it is used much, think not. Forgot how usable the autodocumentation is. Should also try running it on ‘all the CL stuff out there’.
parse-c-header(Common Lisp(parses C header))
Parses C headers and outputs CL and Julia FFI, ‘Ancestor’ of Julia-ffi.
cl-command-line-wrappers(Common Lisp, bash)
Nice wrappers around commandline functions
In particular, wraps for
Various utility functions i used.
last written: Mon Apr 7 01:36:20 CEST 2014