Skip to content

Instantly share code, notes, and snippets.

View RafeKettler's full-sized avatar

Rafe Kettler RafeKettler

  • Square
  • San Francisco, CA
View GitHub Profile

Design Notes for Gibraltar

Background

I've spent a good part of the last year writing a great deal of JS (CoffeeScript, to be exact) after a few years away and it's become a lot of fun. Node/NPM have given JavaScript some semblance of tooling, and (modern) browsers do a much better job of implementing standards. However, I'm getting fed up with CoffeeScript. First and foremost, I would like to say I have tremendous respect for Jeremy Ashkenas and the other CoffeeScript contributors. It has advanced the community miles and has been very pleasurable to use. However, CoffeeScript has grown as a library, not as a language.

Gibraltar should be a language. It should have a clean, simple design without redundancy or sharp edges. As the design evolves over time, the process should be documented (a la PEPs in the Python community), transparent, and open. Above all, the language should be stable. I view CoffeeScript (and other similar languages) as studies whose findings we can combine into a new, better design

# .bashrc
# (C) 2013 Rafe Kettler. Use it however you'd like.
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# environment variables
export EDITOR=emacs
The Zen of Python, by Tim Peters
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
#!/bin/bash
curl http://pastebin.com/raw.php?i=R2bbU8f6 > ~/.nyan
echo "$(pwd)/.nyan" >> ~/.bash_profile
@RafeKettler
RafeKettler / projects.org
Created March 25, 2012 17:00
DP web dev tasks for the rest of the semester

Projects for web dev this month

Dining Guide

  • Improving the design of Dining Guide (HTML, CSS) – Yaou, Crystal
    • Layout
    • Colors/typography
  • Adding “cool” features to DG (we’ll need to be coming up with several ideas in advance) (HTML, CSS, JS/JQuery, Python/Django) – Crystal
  • Getting data more ready/useful for us (Python/Django)
  • Wordpress plugin for 34st that automatically enters reviews in our database (PHP/HTML/CSS)
  • Getting DG to run on our development server (Linux) – Jinesh

The Red and the Blue

@RafeKettler
RafeKettler / request_test.py
Created May 17, 2011 15:07
Stack overflow CDN request test in Python
#!/usr/bin/env python
"""
CDN tester for SO. Designed to make lives easier.
Usage:
python request_test.py # for default number of tries, 20
python request_test.py 100 # for a specific number of tries
Rafe Kettler, public domain.
"""