Commit Graph

1047 Commits

Author SHA1 Message Date
Dan Buch
eacc351b17 Add 'PracticingAlgorithms/' from commit '0b723f2ae0a20ab8c90c33db8c1d9d9acd76a86f'
git-subtree-dir: PracticingAlgorithms
git-subtree-mainline: 0a9428093c
git-subtree-split: 0b723f2ae0
2013-01-09 23:58:26 -05:00
Dan Buch
0a9428093c Add 'RubyFun/' from commit 'b01c6826131196ba58b5288a3182f2526c89c249'
git-subtree-dir: RubyFun
git-subtree-mainline: a04a502787
git-subtree-split: b01c682613
2013-01-09 23:50:14 -05:00
Dan Buch
a04a502787 Add 'PracticingC/' from commit 'ef128a996fc826339bbc3d9deea376932caf6981'
git-subtree-dir: PracticingC
git-subtree-mainline: fd87ec8fe9
git-subtree-split: ef128a996f
2013-01-09 23:49:46 -05:00
Dan Buch
fd87ec8fe9 Add 'flickrscripts/' from commit '89393c390fe69e66bd2d9aa275ba652e320a3215'
git-subtree-dir: flickrscripts
git-subtree-mainline: 1037e390b5
git-subtree-split: 89393c390f
2013-01-09 23:49:19 -05:00
Dan Buch
1037e390b5 Add 'practicing-processing/' from commit 'a863dc99fc5e1967264c286f2adf2b27b50585ef'
git-subtree-dir: practicing-processing
git-subtree-mainline: d40d570281
git-subtree-split: a863dc99fc
2013-01-09 23:49:00 -05:00
Dan Buch
d40d570281 Add 'PracticingAndroid/' from commit '490eb04c395d82efb226c19a890e9f48e80a94f7'
git-subtree-dir: PracticingAndroid
git-subtree-mainline: c076df41c6
git-subtree-split: 490eb04c39
2013-01-09 23:48:26 -05:00
Dan Buch
c076df41c6 Add 'lsqlthw-remnants/' from commit '45ac55d14c734fb12e130efc80476325866c4cb7'
git-subtree-dir: lsqlthw-remnants
git-subtree-mainline: 01e5a4e45f
git-subtree-split: 45ac55d14c
2013-01-09 23:47:55 -05:00
Dan Buch
01e5a4e45f Add 'lrthw-remnants/' from commit '2b0a814a1795c60baf29b95462921b0ec8c7d861'
git-subtree-dir: lrthw-remnants
git-subtree-mainline: f2380eef05
git-subtree-split: 2b0a814a17
2013-01-09 23:47:30 -05:00
Dan Buch
f2380eef05 Add 'lcthw-remnants/' from commit 'e172f73c8297b22a579c94558f0c171ca74a0e5c'
git-subtree-dir: lcthw-remnants
git-subtree-mainline: 4107485591
git-subtree-split: e172f73c82
2013-01-09 23:42:19 -05:00
Dan Buch
4107485591 Removing now-extracted conway subtree 2013-01-09 23:14:45 -05:00
Dan Buch
e427f23c90 Removing stuff I extracted into github.com/meatballhat/algs4 2013-01-09 23:05:06 -05:00
Dan Buch
4505d31471 Meant to move the Makefile in here too 2013-01-09 21:30:33 -05:00
Dan Buch
1ac638a0ad Moving all algs4 "test clients" inside the algs4 project
in preparation for making it a for realsies separate repo (maybe.)
2013-01-09 21:29:05 -05:00
Dan Buch
dd4fbb0f32 Much simplifying the env for algs4 project
now that I'm using gvm and better-managing my GOPATH.
2013-01-09 21:26:52 -05:00
Dan Buch
bed7e5bef4 Working through 1.3 with Bags, Queues, and Stacks 2013-01-09 21:26:52 -05:00
a40ee71b5f Privatizing and such to clean up docs 2012-12-26 10:58:42 -05:00
efeccf62a2 Adding something like a proper doc string 2012-12-26 10:55:50 -05:00
Dan Buch
d246fc20a0 Filling in tree walker and asserting it yields simplates 2012-12-25 14:22:21 -05:00
Dan Buch
dc4fe12631 Asserting generated file can successfully compile 2012-12-25 10:19:54 -05:00
Dan Buch
887919098f Playing with generic maps 2012-12-25 00:07:26 -05:00
Dan Buch
c8b4612c2e Making generated code worky better
but straying from the TDD path ... which is sad...
2012-12-25 00:06:55 -05:00
Dan Buch
0bb83f358d TRIVIAL whitespace change 2012-12-24 23:26:18 -05:00
Dan Buch
58272a076a Goofing around with code generation
which feels crazy brittle so far and I'm thinking I'd rather do with
ast/parser stuff.
2012-12-24 15:38:32 -05:00
Dan Buch
3dd1fc9635 Moving output name calculation into method of Simplate 2012-12-24 12:03:21 -05:00
Dan Buch
8654aacea3 Starting work on rendering out simplates to Go sources. 2012-12-24 00:12:11 -05:00
Dan Buch
8314d97ade Making assertions about TemplatePage assignment 2012-12-23 12:11:48 -05:00
Dan Buch
dcb060b246 More assertions about simplate parsing
beyond simple type detection.
2012-12-23 11:07:23 -05:00
Dan Buch
f61d845eca More tests for simplate type detection 2012-12-22 23:32:26 -05:00
Dan Buch
bfc7c0cdc6 Starting to goof around with a Go implementation of Aspen 2012-12-22 22:51:14 -05:00
Dan Buch
5d5ada2dfc Filling in Accumulator implementation and test client
as well as fixing the Canvas implementation so that it doesn't pop up an
X window on init.
2012-12-21 22:49:50 -05:00
Dan Buch
209e074503 Filling in Date implementation 2012-12-21 22:31:33 -05:00
Dan Buch
b7480b78a8 Closing window on 'q' instead of space
since it fits my brain better, was a leftover from the x-go-binding
example.
2012-12-21 17:29:05 -05:00
Dan Buch
809e5ae69e Fixing rectangle drawing
which was broken because I was treating the 3rd and 4th args to
`image.Rect` as width and height rather than end coords.
2012-12-21 09:19:35 -05:00
Dan Buch
be0c529381 Drawing pixel "misses" now
but looks like something is awry in how rectangles are being drawn.
2012-12-21 09:14:12 -05:00
Dan Buch
71ab8b249d Futzing around more with drawing API
including implementation of `Rectangle(...)` and supporting methods,
making `Draw()` a method of `Canvas`, other crap.
2012-12-21 00:34:30 -05:00
Dan Buch
d009f8b70d Getting a bunch more of the drawing API implemented
including drawing to a very plain X window, albeit an image of
nothingness.
2012-12-20 23:40:31 -05:00
Dan Buch
2b688fd385 Sourcing Go workspace env if present 2012-12-20 19:49:26 -05:00
Dan Buch
c2dc9cfe02 Starting work on the Interval2D example
and filling in drawing library along the way.
2012-12-20 10:47:12 -05:00
Dan Buch
5bf03a1a40 Cleaning up rolls implementation
to be a bit more idiomatic, I suppose.
2012-12-20 08:36:35 -05:00
Dan Buch
e81b35471e Fixing a few places where I was using "crypto/rand"
to use "math/rand" with a proper seeding instead.
2012-12-20 00:34:24 -05:00
Dan Buch
7a40632ca8 Implementing "Average" example
and supporting `Stdin.ReadDouble` method.
2012-12-19 23:23:35 -05:00
Dan Buch
e0101b4c69 Not using that GOROOT after all 2012-12-19 23:22:36 -05:00
Dan Buch
9a1c045581 Implementing the "RandomSeq" example
with supporting implementation of `StdRandom.uniform`
2012-12-19 22:58:37 -05:00
Dan Buch
6ebbf04980 Re-namespacing one more time to get sources back in the same tree.
I dunno...  this whole thing should be its own repo, probably.  Meh.
2012-12-19 22:33:46 -05:00
Dan Buch
76c392967d Re-namespacing everything and fixing imports to match 2012-12-19 21:10:56 -05:00
Dan Buch
335fe2e9bd Adding a shell script variant of web assets generator
mostly just for silly comparison, as a shell scripting exercise I guess.
2012-12-19 18:36:50 -05:00
Dan Buch
18efe35c95 Yup, I think I prefer left-aligned. 2012-12-19 00:25:43 -05:00
Dan Buch
142c802a70 Giving image representation a top and left border
plus some other minor visual cleanups to web game.
2012-12-19 00:23:22 -05:00
Dan Buch
45c45bb838 Wrapping base64-encoded files at 76 chars
like it should be!
2012-12-19 00:06:15 -05:00
72b269650b Simplifying web game loop 2012-12-18 22:03:26 -05:00