/ blog projects miniprojects tagcloud   about contact github flickr where am I?

Welcome to the future with 50y old technology. There is an obscure emacs extension, swank js, that runs a nodejs daemon that speaks slime to emacs.

It allows you to work with js the same way you'd work with lisp, evaling lines or buffers into a live nodejs instance.

I use it (in combination with org-babel) to talk to live instances of remote services, to inspect data, experiment, but also as kind of an on-the-fly UI

It allows you to inject js into a browser as well, handy for js dev or even on the fly data scraping/web manipulation. Super useful yet not very well known.

here is a quick elisp code to make it run with livescript

Fri Sep 29 2017 17:10:56 GMT+0200 (CEST), 3 months ago

klymit, pads are super light and surprisingly comfy, they make hammock versions as well

img

Wed Nov 09 2016 00:47:38 GMT+0100 (CET), 13 months ago

you usually make an open fire, but sometimes you need a stove? you don't want to carry something heavy or something that uses weird fuel that you can't get everywhere?

alcohol stoves are great in general, and this one in particular: vargo decagon

It was a bit slow to prime (should get to a certain temperature before it starts shooting flames from the sides) but I deal with this by just covering the whole thing with a bit of alcohol setting it on fire, primes it immediately.

img

(if you get a vargo triad, you should have an alcohol bottle with about 1mm nozle, it has just a tiny hole to fill it through)

They also make a great way too expensive titanium pot with a screwable lid

you can also always make a DIY super cat or something on the cheap, and you should use a windscreen, these can be sensitive to wind. yes putting random stuff around is fine-ish, but those aluminum foldable ones are reliable, cheap and light.

Wed Nov 09 2016 00:05:54 GMT+0100 (CET), 13 months ago

Are you having trouble falling asleep during conversations?

Are you in a disco, finding in hard to focus on computer programming?

I have a solution for you! just pop one of these babies in. http://lesh.sysphere.org/dump/weirdforest.mp3

Its a sound that I made that I play when I need to focus and zone out. It has some rain, weird thunder, owls, someone shuffling sticks around and everybody's favorite - whale noises.

I guess it will sound a bit ominous at first but it grows on you.

Tue Nov 08 2016 17:58:48 GMT+0100 (CET), 13 months ago

I feel like people aren't freaking out enough about how awesome it is that big universities are publishing their lectures online, some of my favorite ones are

Justice, Michael Sandel (Harward)

Human Behavioral Biology, Sapolsky (Stanford)

I turned these into podcasts that you can download here

about behavioral biology letures, in order to fall in love with Sapolsky, check his short talk on toxoplasmosis parasite

Also, I think his lecture on biological underpinnings of religiosity that is a part of this course is not in the playlist, I think because its pretty controversial, you can find it as an old recording here

will add more stuff to this folder with time.

Tue Nov 08 2016 16:50:41 GMT+0100 (CET), 13 months ago

10$ power bank / battery charger combo that you can use for day to day stuff but also outdoors.

img

  • usb in - usb out (was that so hard?)
  • It supports low power solar charging
  • light (30g)
  • they can be chained in series and will charge simultaneously if they get enough power, or one by one if they don't
  • each charger is obviously self contained so no single point of failure
  • on the negative side, it supports 3v rechargeable batteries only

bigger review and official site

Mon Aug 08 2016 23:19:38 GMT+0200 (CEST), 16 months ago

I like creating and building things and I own a grappling hook. This site will be an partial dump of projects I work on and things I've written down.

I'm into evolvable programs, designs inspired by nature, philosophy, computer security - malware specifically, robots and such. I've worked as a software engineer and I've worked for artists on tech art pieces as that's more fun. These days I tend to travel so expect stories on hitchiking, stealth camping, urban exploration and nature.

Check out the tagcloud to find if there is something here that you care about.

Here is my contact info and PGP key



Mon Oct 07 2013 19:17:35 GMT+0200 (CEST), 50 months ago

repository

I'm surprised I couldn't find this..

async object or json pattern matching/validation used for validating function/process arguments, api call permissions, messages, etc. supports serialization/deserialization of patterns themselves, which I used to implement a generic db query language on top of this. for now, tests are documentation

extras repository contains cuter things like

  • translation of subset of validator patterns to mongodb queries
  • validated backbone models (model that throws if certain attributes aren't set or if doesn't find appropriate superclass (for mixins))
  • validated backbone model attributes (special accessors that validate the data before its written to a model)
Fri Sep 13 2013 10:35:14 GMT+0200 (CEST), 51 months ago


a bunch of selfish prisoners having sex and mutating. WHOA. a very basic evolutionary algorithm, a last night's play.

Prisoner's dilemma is a scenario in a game theory (check it out if you don't know about it) its interesting to me in part because it explains human moral intuitions through a selfish evolutionary perspective, in other words, why people are generally nice to each other.

In the iterated prisoners dilemma the game is played repeatedly thus each agent has an opportunity to learn about other agents behaviours and potentially punish noncooperation. Cooperation may then arise as an equilibrium outcome.

solutions:

I didn't get tit for tat which I originaly expected, nor did I manage to get any other cooperative equilibrium. cooperation does evolve, but it doesn't last, strange, I expected that cooperative species will raise and stay dominant as I enlarge the number of interactions before a step in the evolution. (its rational to be nice if you need to stick around) need to investigate and think about this some more.

I'll post more info and code later or never. screenshot and someone with a different approach and a spacial dimension.

Tue Sep 10 2013 07:07:06 GMT+0200 (CEST), 51 months ago

After looking at the rorschach test, I wanted more. supirisingly, I couldn't find any rorschach generators online, so, python, tkinter and randomwalk with random size blobs and simmetrical reflection, I thought that some tweaking or more complicated algorithm would be needed but this works great.

click on a canvas for (re)generation.

examples and source.


Tue Sep 10 2013 07:07:06 GMT+0200 (CEST), 51 months ago

hello world

Sun Feb 24 2013 06:51:38 GMT+0100 (CET), 57 months ago

test

Sun Feb 24 2013 06:07:06 GMT+0100 (CET), 57 months ago

I've been hoping to write this for a while, its not a very exciting project so I've been working on this when I'm tired.

its a bit unusual, nodejs-blosxom, ~400 lines of coffescript. this is very much a work in progress, I'd advise you to use it as inspiration more then as a code you run. templates related to my own homepage are included in the repo. might move them laters.

features

  • each post is a markdown file (maybe I should check out ORG mode files?)
  • posts are in a git repo, so they can be written offline and synced with the web later
  • I wanted something like google plus circles, with restricted tags for particular people
  • implicit tagging by placement .md posts in folders
  • explicit tagging/metadata for a particular post by adding a JSON line as a first line in a file
  • tag filtering
  • no javascript on the clientside
  • rss for arbitrary tag combination

immediate todo

  • full set operations on tags
  • think about collapsing large posts when they are initially displayed..
  • also, don't render ALL matching posts, do the next/prev button thing.
  • saving of blog post metadata JSON back to files
  • color private tags differently
  • wiki (some way to link to other posts or tags (just extend the markdown?))

things to figure out

  • something super light for image galleries, I want to rsync images.. might implement this myself. flickr doesn't suck anymore, might hook into flickr?
  • I want to extend the markdown renderer in order to be able to include things like youtube videos or my own images/galleries
  • social network publishing - ifttt.com - I'll just use the rss.

at some point

  • implement tag equalities and implications, for example music is always audio but audio is not always music, audio is always sound though.
  • posts that are related to geographical location + geo search/map display.. I'd use this to mark interesting places, track trip progress and such
Fri Feb 22 2013 05:48:14 GMT+0100 (CET), 57 months ago