Which do you prefer? (name
key is object's unique identifier)
[
{
"name": "bob",
"foo": "bar"
},
{
"name": "alice",
(ns letterpress-solver.core | |
(:require [clojure.string :as string])) | |
(def letters "srrbt | |
sdofa | |
ghvyp | |
ksbkk | |
begnv") | |
Which do you prefer? (name
key is object's unique identifier)
[
{
"name": "bob",
"foo": "bar"
},
{
"name": "alice",
// I swiped this from a stack overflow question somewhere, it works well. | |
window.getParameterByName = function(name) { | |
name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]"); | |
var regexS = "[\\?&]" + name + "=([^&#]*)"; | |
var regex = new RegExp(regexS); | |
var results = regex.exec(window.location.search); | |
if(results == null) | |
return ""; | |
else | |
return decodeURIComponent(results[1].replace(/\+/g, " ")); |
We plan on leveraging the Agile development process, so that we can iterate quickly. We will initially have one week sprints while we get our bearings, and then move to two week sprints. We will begin each sprint with a sprint review, where we discuss where we are at and how things went, followed by sprint planning, where we make new, specific tasks for each of us, applying what we learned in the sprint review.
We will be using Git as our version control system and GitHub as our VCS host. Git is very friendly to Agile development as branching and merging is simple. We will have three kinds of branches:
Note: *
is some generic operator, not necessarily multiplication
a
in S
, b
in S
, a * b
in S
a + (b + c) = (a + b) + c
a
in S
, a * i = a
, where i
is identity elementa
in S
, there exists b
in S
such that a * b = b * a = e
where e is identity element{ | |
"traits": [ | |
{ | |
"id": "Draggable", | |
"properties": { | |
"up": true, | |
"down": true, | |
"left": true, | |
"right": true | |
}, |
var foo; |
I've been taking a compilers class this semester from Matt Might, which has been a great experience. Amongst the most challenging/interesting aspects of the course has been taming Racket, a Scheme-y/LISP-y language (I'll leave it at that).
Having never used anything functional/LISP-y in my days, this was a brand new experience. On the whole, it was good, but here's how I wish my first introduction to the language had gone as it would have set me on the right foot. While I'm focusing on Racket here, I imagine this same thing applies to LISP/Scheme and its derivatives.
I read everywhere that, "In Racket, code and data are the same thing." That sentence alone was useless to me, and it took a number of weeks before I "got it." Perhaps this explanation may have been more helpful:
// | |
// MTMigration.m | |
// Tracker | |
// | |
// Created by Parker Wightman on 2/7/13. | |
// Copyright (c) 2013 Mysterious Trousers. All rights reserved. | |
// | |
#import "MTMigration.h" |