• Back to the Full Stack

    It’s been a while, blog. It’s been too long. After descending into database land for about two years, I am going to use a new job at Elastic to pump some life back into the old tech blog. My focus has been targeted very much on the back end, and...

  • Using Google Earth Network Links with MarkLogic 6

    A guest post from my coworker, * Mark, who showed me this cool trick with Google Earth.  Enjoy! –Dave*   By nature, I’m a visual person – I prefer graphs, charts and animations to reams of paper when it comes to analyzing information.  Geospatial data is no exception; in fact it’s where...

  • Using KML to define Geofences

    I’ve written about geospatial alerting in previous posts.  Here’s a fun example where we drive Philips Hue lighting changes based on geofence definitions driven by a mobile device’s GPS. Demo Overview: MarkLogic will be configured to accept KML with colored polygons as a description of geofences Each supplied geofence will...

  • Hacking my Sonos

    The previous project of controlling the lights in my living room with REST calls has given me an idea for a home automation project which will probably get written up here over a few more posts.  Next step … controlling my sound system!  As reverse-engineering practice, I decided to do...

  • Controlling Philips Hue with XQuery

    Playing around with a set of Philips Hue light bulbs.  Turns out you can control them with simple REST calls. l-mlhue.xqy library on github Simple Controller: xquery version "1.0-ml"; import module namespace lh = "http://derickson/lib/l-mlhue" at "/lib/l-mlhue.xqy"; for $i in (1 to 10) for $state in ( $lh:RED, $lh:MAGENTA, $lh:PURPLE,...