// 60101 Mun autolander program test Second iteration of autoland script for kOS. Script waits until over target within 10 degrees, then executes retro burn followed by pitch control to track onto landing target. Multiple failed iterations. Current script does not auto-throttle for descent phase, but managed to crash directly into the landing target. Success. …
Author Archives: admin
KSP Lalande log 2
// 51228 Solar Science Probe Mun base construction lacks sufficient solar technology; rush construction of a solar science probe. Collect about 100 science for unlocking advanced electronics. 1×6 solar panels and KIS screwdriver will be essential for Munar colony mission to follow. Image // 51228b Mun base Alpha hab dry run Deployed the Mun base …
KSP – Lalande Server log 1
Getting back into Kerbal Space Program with some folks using the multiplayer mod. Taking mission notes to refer back to. // 51224 Mun landing Manned mission to Mun for science and practice. First attempt success. Touched down 1.2km from CK’s landing zone (for the bragging rights). Image 1, 2. // 51225 Minmus probe Unmanned probe …
Pruning collision detection with a 1D sort
Recently I was trying out Phaser.io. It’s a nifty little HTML5/JS game development framework for 2D games with graphics, audio, physics, etc. It’s free, and MIT licensed. Anyway, I ran into a limitation in its physics optimization. You can collide object-to-object, or entire groups of objects to other groups. Colliding entire groups at a time …
Continue reading “Pruning collision detection with a 1D sort”
(Mostly) Imperative Packrat Parsing
I’ve been tinkering with monadic parser combinators combined with continuations (see Monads, Mother of All), but my latest toy simplifies all that by using PEG grammars. PEGs and CFGs are nearly interchangable for most parsing of computer languages, and can be parsed in linear time and space by packrat parsing — parsing with backtracking, but …
Rootbeer – Red Arrow
Red Arrow The ingredients include “Essences of wintergreen and licorice.” That sums it up in the best way possible. Would buy again.
Rootbeer – Sprecher
Sprecher Fire-Brewed Root Beer Nice tone. It’s got just enough bite, reminds me a bit of XXX Rootbeer. It has a sweetness that doesn’t linger too long, possibly due to the glucose syrup. In any case, I like it quite a bit.
KSP – Budget (Challenge)
It’s time for another Weekly Challenge: Budget Crisis. This time, Reddit challenges us to visit a Kerbin moon in 15 parts or less. The part about deadly reentry is real. I have an unofficial tweak to the Deadly Reentry mod, (my fork is on github). In short, all but the shallowest approaches results in breaking …
Non-determinism from generators
UPDATE(7/3/2013) I’ve found an earlier use of this technique written about on a blog, Valued Lessons – Monads in Python from 2008. Please read it too! ~~~ I was tinkering a bit tonight with simulating nondeterminism a-la McCarthy’s Amb operator — in Python. This is peculiar as Amb is usually implemented using either first class …
Rootbeer – Sioux City Sarsaparilla
Sioux City Sarsaparilla Mild sarsaparilla, and well balanced. Probably great as a first time sarsaparilla.