UP | HOME

Orangesoda Index

Sitemap and License. Everything on this site falls under the license unless otherwise noted.

Recent Changes

  • HTML/JS notes created by Lang 2011-03-10 Thu.
  • SIC a compiler for scheme, 2010-09-10 Fri.
  • Windows Cheat Sheet also moved to it's own file, 2010-03-31 Wed.
  • Emacs moved to it's own file, 2010-03-31 Wed.
  • Squash by Lang, 2010-03-11 Thu. A new version, r2.

Javascript

Fluid Bindings (aka Dynamic Scoping, aka Parameters)

fluid.js by Lang. 2009-07-17 Fri

Fluid bindings follow the flow of control rather than the lexical order of a program. See wikipedia on Dynamic Scoping.

The code: fluid.js.

jquery.dataset: HTML5 Dataset jQuery Plugin

Posted by Ben on 2009-09-08 Tue.

The HTML5 specification allows custom data attributes to be added to any DOM element. This jQuery plugin provides methods to retrieve and manipulate custom attributes.

Read More: The jquery.dataset Plugin

Download: jquery.dataset.js

Squash: SQL Manipulation with Native Expressions

squash by Lang. 2009-12-07 Mon

This is an incomplete implementation of SQL in JavaScript objects. It's in the spirit of LINQ, but adds an additional layer of abstraction; clauses are interpreted with late-binding. It's possible to use the same set of where clauses in multiple contexts.

Squash.

Scheme

A REQUIRE special form for Gambit-C

Posted by Ben on 2009-07-22 Wed.

The REQUIRE special form includes libraries only once. It is implemented using Gambit-C's INCLUDE and LOAD forms with COND-EXPAND to prevent a library from being loaded again (which is an error) or re-evaluated.

REQUIRE accepts a sequence of requirement specifications that identify libraries. The specifications are mapped onto the filesystem to find the corresponding source files or compiled modules. For example:

(require (srfi 1)
         (lib util))

;; Library code here...

See require#.scm for additional documentation. An easy way to integrate REQUIRE into a project is to include require#.scm from `.gambcini' or `~/.gambcini'. For more details, see Customization in the Gambit-C documentation.

Source: require#.scm _require.scm

Contributers

Ben Weaver

Ben lives in Chattanooga TN and works at Medium. You can follow him on Twitter, see code on github, or send an email to [his-first-name] at orangesoda.net.

Lang Martin

Lang is also in Chattanooga. I don't really do social networking; I do have an account at github. You can email lang.martin at Gmail.

Wibler.com

Wibler email & apps are hosted by Google:

Date: 2011-08-27 16:46:21 EDT

Org version 7.6 with Emacs version 23

Validate XHTML 1.0