This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---------- Forwarded message ---------- | |
From: Mark S. Miller <[email protected]> | |
Date: Tue, Nov 16, 2010 at 3:44 PM | |
Subject: "Future of Javascript" doc from our internal "JavaScript Summit" | |
last week | |
To: [email protected] | |
On November 10th and 11th, a number of Google teams representing a variety | |
of viewpoints on client-side languages met to agree on a common vision for | |
the future of Javascript. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* statsd_domload_20120: multiple flush intervals a la graphite itself | |
--- | |
diff --git a/util/conf/production/statsd-config.js b/util/conf/production/statsd-config.js | |
index d855abe..197736a 100644 | |
--- a/util/conf/production/statsd-config.js | |
+++ b/util/conf/production/statsd-config.js | |
@@ -4,5 +4,16 @@ | |
, port: 8125 | |
, statusPort: 8126 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define (match pat thing) | |
(cond | |
((null? pat) 'yes) | |
((null? thing) 'no) | |
((eq? (car pat) '*) (match (cdr pat) (cdr thing))) | |
((eq? (car pat) '**) (match (cdr pat) (cdr thing))) | |
((eq? (car pat) (car thing)) (match (cdr pat) (cdr thing))) | |
(else 'no))) | |
(match '(* y z) '(z y z)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
"""This script goes through a bunch of code and determines whether | |
or not there is the potential for a problem because we're using | |
an assignment directly rather than a setter. It's pretty specific | |
to the Meetup entities framework. | |
""" | |
from __future__ import with_statement |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; project-mode.el | |
;; | |
;; Author: Benjamin Cluff | |
;; Created: 02-Feb-2010 | |
;; | |
;; Synopsis: | |
;; * Finding files is greatly simplified (see key bindings) | |
;; * TAGS files for project files. | |
;; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
"""This script spits out a log in a simulated real-time based on | |
information provided at the command line. | |
""" | |
import datetime | |
import optparse | |
import re | |
import time | |
import sys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.meetup.base.util; | |
import java.util.ArrayList; | |
import java.util.Iterator; | |
import java.util.List; | |
import java.util.NoSuchElementException; | |
public class Permutations<T> implements Iterator<List<T>> { | |
private ArrayList<T> _source; | |
private int[] _state; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
flipdict = lambda d: dict((v, k) for k, v in d.items()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns ded | |
"Structural Data EDitor for Clojure with zippers. Inspired by Interlisp: http://larry.masinter.net/interlisp-ieee.pdf" | |
(:require [clojure.zip :as z]) | |
(:use [clojure.pprint :only (with-pprint-dispatch code-dispatch pprint)] | |
[clojure.repl :only (source-fn)])) | |
(defn print-hr | |
"Prints 30 dashes and a newline." | |
[c] | |
(println (apply str (repeat 30 c)))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Day job: Software Engineer at Meetup | |
Favorite Python project: nyanbar (https://github.com/apgwoz/nyanbar) | |
Favorite Conference: I don't go to many conferences. Clojure Conj was great last year. | |
Python Experience Level: Experty |