Archive for December, 2006

I was unable to get the Juggernaut plugin for rails to work the last couple of times I tried. I dug in today and found that I could get it to work by adding:

require ‘json’

to the head of juggernaut.rb. It took a lot of debugging to figure this out, so I hope someone [...]


Here’s my current xhtml_struct.mab, which happens to be the dumb name I gave the layout I ended up choosing for the latest app

self << ‘<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>’
html(:xmlns => “http://www.w3.org/1999/xhtml”, :lang => “en”){
head{
title { @title ? “#{@title} | #{app_name}” : app_name }
render :partial [...]


Alright, so I saw that last post and thought I should finish it up. A normal subgroup has the property that every left coset is the same right coset, so gN=Ng for all g in G (or, element-wise, gn(g^-1) is in N for all n in N and g in G). Now it [...]


Me and a buddy were talking last night and he asked me if I had an example of the whole ‘coset’ thing from set theory that was NOT specifically related to Algebra.  Real quick primer on cosets:
Given: a group G and a subgroup H of G.
Consider an element g in G.  Then Hg is a [...]


Tell me this isn’t some of the coolest stuff you’ve seen YouTube helps get inventive people noticed, I think. You?


This is really quite funny.


Here’s the latest bit of design work I did: a calendar. I wanted to make it reminiscent of a post-it note, and I don’t really know why. The colors are all themeable anyway (I just use a palette hash, so I can swap it out with another and keep a library of them [...]


UPDATE: Added another style nav to the code below. It’s ALA’s Taming Lists.
I can now just use helpers to generate list styles. There are loads of config options. This makes building interfaces stupid simple. I’m going to implement most of listamatic’s various list types, for my own edification and ease [...]


So I’ve got my RcssController handling all my css files these days (so I can make sweeping color changes, or per-user stylesheet config settings), and I just added my first helper function. You use it like this, to generate shadows on a given element:

div.trip .package{
width: 16em;
padding: 1em;
margin-right: 1em;
background-color: #282828;
float: [...]


I’ve got some photos here showing off various fiddly things I’m playing with.