Expedite progress – think in the future, become estranged from the now.

  • >
  • 2019-05-07

    06:63

    SVG Spritesheets versus Spritestacks

    To all with an eye towards web design and SVGs, I present a comparison and some examples for using SVG spritesheets versus spritestacks.

    Testo!

    Check it out here!

    2018-12-19

    09:33

    Shupload - personal image hosting and sharing by the power of HTTP, Go, and an optional bit of JavaScript!

    Spent the last few days working on shupload in my spare time. It is, as the title says, image hosting software written in Go and JavaScript.

    shupload.gif

    Check it out here!

    2018-11-05

    18:10

    Golang APNG decoder & encoder

    Spent some time last weekend (and a bit of today) writing an APNG decoder and encoder in Go.

    Check it out here!

    2018-08-08

    19:40

    Mac OS and Linux and ZFS, oh my!

    Wrote up a quick article on setting up Mac OS and Linux dual-booting with a shared ZFS-based home directory.

    Check it out here!

    2018-06-08

    19:30

    NodeJS Submodule Installer

    Hark, a grand new module written for automatically installing Open Markup Editor’s various built-in packs!

    This module provides a system for calling npm install on a list of locations, ultimately providing automatic submodule installation. It only works on directories that possess a base package.json file.

    Check it out on GitHub or on NPM.

    Using it is easy!

    1. Install: npm i submodules-install --save

    2. Edit package.json:

    {
      ...,
      "submodules": [
        "my_subdir/*",
        "my_subdir2/**"
      ],
      ...
    }
    

    3. Run npx submodules-install or add as a preinstall/postinstall/etc. script

    2018-05-07

    23:15

    Simple Electron App Settings Management

    Written as a replacement for the rather nice but somewhat insufficient (for my needs) electron-settings, I hereby present electron-app-settings, a multi-process safe app settings library for Electron.

    This module is being used in the soon-to-be released Open Markup Editor (development visibile @ its GitHub page) and has proven itself to be far nicer to use than other non-IPC based settings libraries that were tried.

    Usability is a cinch:

    // In your main process
    const settings = require('electron-app-settings');
    settings.set('my_var', 'my_value');
    settings.set({my_obj: 10});
    
    settings.get('my_var');
    // => 'my_value'
    settings.get();
    // => {'my_var': 'my_value', 'my_obj': 10}
    
    // In your renderer process
    const settings = require('electron-app-settings');
    settings.get('my_obj');
    // => 10
    settings.set('my_obj', 20);
    

    Setting default settings:

    // In your main process
    const settings = require('electron-app-settings');
    
    // Merge these settings under any existing settings
    settings.set({
    	window: {
    		width: 800,
    		height: 600,
    		left: -1,
    		top: -1
    	},
    	update_delay: 250
    }, true);
    

    All settings are saved on application quit.

    See the github page for more information.

    2018-03-07

    12:50

    Control Audio with CSS

    Wrote an experimental “add-on” (JavaScript library) called css-audio that allows for defining and controlling audio with CSS custom properties.

    Basic Example:

    button {
      --audio-src: url('click.ogg');
    }
    button:active {
      --audio-state: playing;
    }
    

    See the github page for more information.

    2016-02-18

    10:25

    XCode 4.2, GCC 4.8, and C++11

    GCC 4.8.5 Short article on how to get C++11 support on XCode 4.2/Mac OS 10.6.8, aggregated from the disparate information on the net.

    Read it Here

    2016-01-30

    19:12

    QWiki 0.1

    QWiki version 0.1 is now available, yo.

    QWiki 0.1

    You can do all sorts of snazzy snazz with it.

    2015-02-02

    02:08:10:322

    MAngband 1.1.2 SDL2 interface

    I spent some time this last week hacking together an SDL2 interface for MAngband. I will be uploading the binaries for Windows 7, OS X, and Linux, along with the modified MAngband 1.1.2 source, once it is complete.

    MAngband SDL2 screenshot

    You can read some of my notes on hacking MAngband here - this should also provide enough information to make your own interface if you felt so inclined.

    2014-12-28

    ARK 1.0

    ARK/Alternative Registry Keeper has been released! ARK scroonshet

    2014-12-09

    Petite Juliet Released!

    After slogging through Ludum Dare 31, Petite Juliet has been created! Developed from scratch using C++, SDL2, OpenGL, and GLSL, it’s kind of a cool little game.

    Mon Petite! 27 out of 48 hours were blasted away in the creation of this game.

    I plan to expand it in the future, implementing some of the features that were (sadly) missed due to rushing about. See the TODO here.