Jaspers Personal webpage
Blog
Portfolio
  Things
About me
  CV
  contact
Portfolio

I use the o-jasper github account, with various stuff in various stages of development or abandonment.

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.

Julia-ffi

I dont have any projects that are really used by others, except for this one, basically. Also they’re largely just using the @get_c macro. The idea is that it just parses the header and then you have the Foreign Function Interface; then you can use the C library pretty directly.

Robert Ennis(github:rennis250), uses some of the output and the macro in the GetC module.

Julia FFI also contains ‘treekenize’, which parses things into trees using ‘beginners and enders’. I am of the opinion that that concept, combined with infix would make the syntax of Julia nicely overseeable.(What is there currently is slightly more messy)

In util/, it also contains things that either should be separate projects, should be using the appropriate standard stuff, or should become/inspire standard stuff.

Physical-map

An octtree implementation with some stuff ontop of it, very little-tested. And i am not current doing much on it. Note that it doesnt have a particular size, it can expand outwards aswel as create smaller subtrees. (That kindah aughto be an obvious thing to do)

One use is for 3d printing models, which is why i implemented Constructive Solid Geometry(CSG) by answering for a convex shape and a primitive shape if it is 1)inside 2)outside 3)neither. Then you can add/substract/intersect the shapes.(As CSG does)

Another more ambitious one is for ‘mapping the universe’. The idea is to try make a single piece of software that tries to estimates ‘what is’ at different positions in the universe. Starting with stuff like photos, geology, gravitational-, electric-, magnetic fields. Probably separated objects like planets will be an instance of octtree each. (Stuff like magnetic fields may be better off encoded differently than in quad trees) Of course, dont take this one too seriously.

Stackmatic

Stackmatic is a is a stack language interpreter in C. Unfortunately the repo is in a bad state right now.

The idea is that microcontrollers currently often seem to receive strings, which they then have to decode. A stack language would be lighter, on all sides, and also gives some basic scripting ability.

I have more advanced versions with type calculation in my head.(and sortah in code) If i executed that idea well, i’d go so far as to implement or at least suggest it for use in repraps.

Various_physibles

Designs for stuff in openscad. Including a soldering iron holder based on a tin can. Hopefully i will print, try, and improve them one day.

Some povray stuff



Generates pictures of asteroids and planets(not or barely based on physics), currently. Tarball. The planet y also has a planet surface texture generator.

Various Julia projects

Julia-glplot various 2d plots, including histogramming and real time in somewhat fancy (informative)ways.

Particle_tree tries to simulate high energy photons and electrons hitting matter.

Pathfind Uses Dijkstras algorithm. (thats A* if i got the ‘heuristic’ right)

Various

Various stuff that i didnt think needed to have their own entry.

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. 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.

Common Lisp stuff

I have gone away from Common Lisp to Julia, these are pretty much abandonned.

Expression-hook reads at least most common lisp and had a ‘hook’ -a function you could insert- that sees every expression in it.

It also had expression-scan that uses that hook to get information like dependency of functions and packages relative to each other. It had autodocumentation, and ‘autopackaging’ that makes things asdf systems. (all the CL code is autopackaged)

parse-c-header ‘ancestor’ and analogue of Julia-FFI.

cl-command-line-wrappers, FFIs commandline arguments for wmctrl, iwlist scanning .., pinot-search, ps and top. (to various extents)

j-basic various library-like things. Regular-tree, and destructuring-regex seem the most interesting.

last written: Mon Apr 7 01:36:20 CEST 2014


Blog - Portfolio - About me -