Peter's Awesome Lua with the Core functionality we care about

TL:DR ; results DukTape is a C engine for executing ECMAScript 5.1ish. (… or JavaScript or whatever we’re calling it this week) Notably, it’s distributed as a trio of source files to ease integration. Lua is a C script engine (for the Lua languages) and is not distributed in such a nice way. So I spent a few hours preparing a (Python) script to repack Lua 5.3.3 into a single header.

PAL-System

Lindenmayer Systems allow one to specify a series of replacement rules for transforming strings. If the text is used as a series of drawing commands, including saving and restoring the cursor’s position, the technique can generate fairly interesting foliage. A scene graph offers the ability to save/restore by chaining segments together. I used Unity3D’s ScriptableObject to create “Languages” with replacement rules. I also created “Dictionaries” mapping symbols to segments made from GameObject prefabs.

Vive Cane

I’m still alive just … busy, not bloggy … maybe someday I’ll be more bloggy. Here’s something that kept me busy … Teleporting everywhere feels wrong, so my suggestion is to use the Vive wand like a cane. Two minutes feels a bit long, but here’s a video showing it off. More or less; when you grip the/a wand - your avatar is planting a cane in the world from which you can push yourself.

Adding NotePad++ Macros to Atom.io

I haven’t posted anything in awhile … so here’s how to get Atom.io to get macros that work kind-of-like NotePad++ Install atom-keyboard-macros into Atom. > The default keybindings did nothing for me … sorry open your keybindings.cson Hit CTRL+, > click on Keybindings > click on the blue text that says your keymap file paste this wodge into the bottom of your keybindings.cson PRESERVE THE INDENTATION!

Mirroring Git/GitHub to Hg/BitBucket

This seemed a lot longer when I planned it in my notebook at lunch. GitHub user project (both sides) BitBucket user SCM Schedule ocornut imgui g-pechorin None Periodic Install hg-git You’ll have to do this on the Jenkins server You’ll have to do it either for the Jenkins user or all I’m using an OsX machine as my host, so I was able to use easy_install to install hg-git and dulwich setup a project on GitHub create a Jenkins Freestyle project which runs periodically Polling the SCM was NOT an option since there’s no default branch on GitHub … this is a quirk of hg-git … I think … IIRC/YRMV - so sling me a tweet or whatever if I’m wrong program the job to pull from git, push to hg, and ignore results of 1

Mercurial / Hg SubRepos

I’m still trying to catch up on stuff following Develop. I’ve decided to write a post about my experience(s) switching my work over to SubRepos. I am unaware of the “reason” why they’re considered “bad.” Perhaps it’s a Unix thing? Maybe they don’t work as well as people feel that they should? Whatever I have a (secret) project called “nite-nite/” in which I use and develop some public-domain headers. I want this public-domain stuff to be … well … public-domain and visible to all.

Stop Motion

Mother told me to try something different. {% youtube NKtWPRFU_HA %} I made a stop-motion video (mostly to see if I could) with bits I had lying around or withing a 5 minute walk. … also, I wanted to see if I could record “blocked out” storyboards since I’m a crap pose drawing person. I spent £2 on some pipe cleaners and a dopey phone stand. I took the pictures on my phone.

Dual Hetero Quadro on Heaven

Literally the punchiest title I could come up with. I’ve been told that heterogeneous GPU setups are ridiculously slower than a single-GPU. This is largely an anecdotal shrug of “hey - a second GPU doesn’t really slow my computer down in any meaningful manner at all!” I’m sure that I did this all wrong and that the GPU is capable of being tweaked into a setting where this all becomes conclusively - the legwork for that isn’t interesting to me so I haven’t done it.

Canadian Racing Geese

I have had several geese charge me - this is a poor approximation. I was quite young and the geese were acclimated to humans, more importantly, they knew how tasty the french fries and clam strips we carried were. I never had a chance, nor will I ever forget. Honking with a bestial hunger, the savage geese charged! Pursing me across the fried clam shop’s parking lot, my mother could only cackle as she scrambled for the camera.

Bin Plugins / Python 3.5.1

I was playing with Python’s binary extension system and was impressed with the simplicity. I think that the usage of setup.py encourages a consistent ecosystem … as opposed to the more open conventions used by Java and CLR. (I followed the generic instructions and they worked fine on Windows 8.1 - disregard the hype/hate!) Example on GitHub