| Models | Examples |
|---|---|
| Display ads | Yahoo! |
| Search ads |
| # config/initializers/extensions/active_record.rb | |
| module ActiveRecord | |
| class Base | |
| class << self | |
| delegate :pluck, to: :scoped | |
| end | |
| end | |
| class CollectionProxy | |
| delegate :pluck, to: :scoped |
| # | |
| # Please go to https://github.com/paulnsorensen/lifesaver | |
| # | |
| class Foo < ActiveRecord::Base | |
| has_many :bars | |
| belongs_to :baz | |
| include IndexingHandler | |
| indexed_associations :bars, :baz | |
| end |
A friend asked me for a few pointers to interesting, mostly recent papers on data warehousing and "big data" database systems, with an eye towards real-world deployments. I figured I'd share the list. It's biased and rather incomplete but maybe of interest to someone. While many are obvious choices (I've omitted several, like MapReduce), I think there are a few underappreciated gems.
###Dataflow Engines:
Dryad--general-purpose distributed parallel dataflow engine
http://research.microsoft.com/en-us/projects/dryad/eurosys07.pdf
Spark--in memory dataflow
http://www.cs.berkeley.edu/~matei/papers/2012/nsdi_spark.pdf
- The best tutorials are in the introductory books. See below.
- Getting Started with Clojure - A detailed tutorial on getting a modern (as of Jan 2013) Clojure workflow going.
- Emacs Live is a nice development environment based on Emacs.
- Understanding The Clojure Development Ecosystem
- Clojure Docs Site is a community-driven doc site with good tutorials, and reference material going somewhat deeper than individual API docs.
- Functional Programming for the Rest of Us is a classic introduction to functional thinking
- [A comprehensive article on namespaces and different ways of requiring them](http://blog.8thlight.com/colin-jones/2010/12/05/clojure-libs-and-namespaces-require-use-import-and-ns.
| export PROJECT_NAME=$1 | |
| export WORKING_DIR=/me/prj/$PROJECT_NAME | |
| cd $WORKING_DIR; | |
| # create the session | |
| tmux start-server | |
| tmux new-session -d -s $PROJECT_NAME -n work | |
| # start vim in working dir | |
| tmux select-window -t$PROJECT_NAME:1 |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
This post also appears on lisper.in.
Reader macros are perhaps not as famous as ordinary macros. While macros are a great way to create your own DSL, reader macros provide even greater flexibility by allowing you to create entirely new syntax on top of Lisp.
Paul Graham explains them very well in [On Lisp][] (Chapter 17, Read-Macros):
The three big moments in a Lisp expression's life are read-time, compile-time, and runtime. Functions are in control at runtime. Macros give us a chance to perform transformations on programs at compile-time. ...read-macros... do their work at read-time.