Skip to content

Instantly share code, notes, and snippets.

View harlantwood's full-sized avatar
💭
☀️

Harlan T Wood harlantwood

💭
☀️
View GitHub Profile

We are cocreating a "nodesphere" abstraction to pass around (get/put) subgraphs of mutual interest. 

Nodesphere is intended especially for use by graph visualization tools like Core Network, Noomap, Metamaps...

I've already written prototypes of adaptors (client side coffeescript) which convert google spreadsheets and google drive folders into nodespheres (which are just graphs: nodes and edges).

Nodespheres will be content addressable and therefore automatically deduplicated. The data will likely be minified json with sorted keys.

Ultimately, I'd like to see these graphs stored and requested in post-server post-database systems like maidsafe.net and telehash.org .  We can start with server/db prototypes tho.

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>The Project</title>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
@harlantwood
harlantwood / README.md
Last active December 25, 2015 02:09 — forked from mbostock/.block
D3 full screen (width) resizable TopoJSON image using SVG viewbox

A demo of TopoJSON using a single file that contains county, state and country boundaries. This example uses topojson.mesh to extract separating lines between states and counties from the geometry collections.

Notes on this fork

To see the resizable nature of this image, check out this gist live at: http://bl.ocks.org/harlantwood/raw/6900108/.

This is a fork of https://gist.github.com/mbostock/4136647, which you can see live at http://bl.ocks.org/mbostock/4136647. I reverted to an earlier version of the gist, as the feature that I was interested in -- dynamic resizing of the image on browser resize -- seemed to be removed in the later versions.

I found the original gist when searching on this topic via this post: .

@harlantwood
harlantwood / INNOCENCE.md
Created September 14, 2013 13:08
INNOCENCE
# Usage:
# npm install coffee-script
# coffee promises_example_jquery.coffee
#
_ = require 'underscore'
$ = require 'jquery'
natural = require 'natural'
log = require './log.coffee'
@harlantwood
harlantwood / subdomain.rb
Last active December 18, 2015 13:39
Random subdomain segment generation
#!/usr/bin/env ruby
require 'securerandom'
MAX_SUBDOMAIN_SEGMENT_SIZE = 63
key = SecureRandom.base64 MAX_SUBDOMAIN_SEGMENT_SIZE*2
key.gsub!(/\W/, '').downcase!
key = key[0...MAX_SUBDOMAIN_SEGMENT_SIZE]
puts key
@harlantwood
harlantwood / My Raspbian Setup on Rasberry Pi.md
Last active December 17, 2015 21:49
My Raspbian Setup on Rasberry Pi
@harlantwood
harlantwood / My Arch Linux Setup on Rasberry Pi.md
Last active December 17, 2015 18:19
My Arch Linux Setup on Rasberry Pi

The gargoyles from Snow Crash have arrived.  Soon the mere mortals will be seen as the Amish are today, driving horse and buggy on Pennsylvania back roads.

@harlantwood
harlantwood / An Open Source Budget for an Autonomous Distributed Web.md
Last active December 17, 2015 09:39
An Open Source Budget for an Autonomous Distributed Web

Moved to