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
Dan Buch
6818d0ee01
Serving random state images, now need to tackle state transfer
2012-12-17 09:17:01 -05:00
Dan Buch
8b536de45c
Playing around with images and drawing
...
mostly in preparation for doing image stuff in the Conway's Game of Life
implementation.
2012-12-16 19:58:01 -05:00
Dan Buch
3e013ce1a5
Too much crap for one commit
...
Breaking out console runner into its own file, adding an empty web
runner, and starting to test that games and game states are able to
represent themselves as images.
2012-12-16 17:59:54 -05:00
Dan Buch
3bfa23fff2
Have we achieved torus?
2012-12-16 16:04:54 -05:00
Dan Buch
8056d86cbf
A bunch more work towards achieving torus
2012-12-16 12:17:44 -05:00
Dan Buch
7567f1c991
Starting work on making the game exist on a torus
2012-12-16 09:56:38 -05:00
Dan Buch
fc3f94e78f
Goofing around with Qt a bit
2012-12-14 20:35:01 -05:00
Dan Buch
39fdd6fdd6
Reflection thing from Jesse :-)
2012-12-13 21:02:19 -05:00
Dan Buch
44999623da
Collapsing tree into more sane Go project layout
...
since I was in here looking at something unrelated...
2012-12-13 18:12:43 -05:00
Dan Buch
270eb1fc2d
Moving bulk of console runner into library func
2012-12-12 21:34:28 -05:00
Dan Buch
6bbe19c26f
Whoops, was double-eval'ing generations
2012-12-12 08:11:33 -05:00
Dan Buch
f22abc0430
Detecting 3-period oscillators
...
and properly (?) checking for zero-oscillator stasis.
2012-12-10 09:39:58 -05:00
Dan Buch
78625088e8
Detecting statis with blinkers or beacons or some other 2-period oscillator
2012-12-10 09:14:29 -05:00
Dan Buch
8ff1125452
Even better, I guess
2012-12-10 00:55:39 -05:00
Dan Buch
3ff6e2e999
Ending game automatically when statis is reached
...
plus properly seeding math/rand and swapping the chars used for grid to
better match black/white from canonical example.
2012-12-10 00:35:09 -05:00
Dan Buch
ad1bd2537a
Introducing concept of mutation
...
which appears to delay the onset of stasis until about twice as many
generations (???)
2012-12-10 00:22:31 -05:00
Dan Buch
ea5bb19b0b
Flagging up the command-line interface
...
and using unicode chars instead of X and _, dangit!
2012-12-09 23:38:38 -05:00
Dan Buch
00b750e2b0
Plugging stuff into command-line runner
...
including adding random initial state generation.
2012-12-09 23:20:43 -05:00
Dan Buch
32095ef057
Ensuring the game can display itself
...
albeit in very simple string form.
2012-12-09 22:51:10 -05:00
Dan Buch
ffb8d1e43c
Implementing dead cell reproduction
2012-12-09 22:33:42 -05:00
Dan Buch
c2ffaee979
Implementing overcrowding rule
2012-12-09 22:16:16 -05:00
Dan Buch
aaba7c22df
Getting two of the four rules (sorta) working
...
with some gnarly and probably way too big scoring code.
2012-12-09 21:05:40 -05:00
Dan Buch
f6546e7186
More tests, including finally getting into implementation of real reqs
2012-12-09 00:22:10 -05:00
Dan Buch
8a858a9a11
Filling in a few more tests
2012-12-08 23:08:40 -05:00
Dan Buch
f1ab95c68f
(finally!) doing some TDD in Go
2012-12-08 22:44:45 -05:00
Dan Buch
ecffff2a60
Starting work on a Go implementation of Conway's Game of Life
...
since I had a decent amount of practice at
http://globalday.coderetreat.org/
2012-12-08 21:47:21 -05:00
Dan Buch
6bd27f93b8
picking up the android thing again
2012-12-08 07:57:46 -05:00
Dan Buch
5228eba27e
Using the more explicit Java symbol access pattern
2012-12-02 20:28:07 -05:00
Dan Buch
e1a07fadd9
Working through an old @why post on metaprogramming
...
since I'd like to make the JRuby rabbitmq stuff a bit less boilerplate.
2012-12-02 20:21:14 -05:00
Dan Buch
9fd03cab2f
Implementing rpc example in Go
2012-12-02 08:41:05 -05:00
Dan Buch
b0553c1b8d
Renaming some stuff and starting on ch. 4 rpc example implemented in Go
2012-12-01 19:06:23 -05:00
Dan Buch
4c63923238
Ignoring symlinked bin dir from main go workspace
2012-12-01 18:50:30 -05:00
Dan Buch
9802fe8ca5
Removing obsolete autoenv file and updating imports to match new layout
2012-12-01 18:41:06 -05:00
Dan Buch
80e5b8fa5e
Attempting to correct Go project layout
2012-12-01 18:34:55 -05:00
Dan Buch
bbb709be31
Accepting fib count from os.Args, whoopdittydooo
2012-12-01 08:08:31 -05:00
Dan Buch
b01f9d70fd
Doing the bit of the go tour on select
2012-12-01 07:52:03 -05:00
Dan Buch
42b7abccc0
Re-namespacing stuff, but not quite going the whole way with "correct" go layout
...
since I don't really want the overhead of separate repos for silly crap
like this.
2012-11-30 19:31:24 -05:00
Dan Buch
b8d83c830c
Playing with round-robin behavior
2012-11-27 00:11:56 -05:00
Dan Buch
10aa737d1d
Adding the picture resizing consumer
2012-11-26 23:42:08 -05:00
Dan Buch
b3f0f5c4ec
Touching up the add-points consumer
...
to really fake implement points-adding method and more cleanly stop
consuming.
2012-11-26 23:29:20 -05:00
Dan Buch
c4e8e39176
Adding the alert consumer
...
plus a tiny bit of touchup to fanout producer.
2012-11-26 22:47:57 -05:00
Dan Buch
952604d431
Adding fanout publishing script for the picture upload example
2012-11-26 22:36:28 -05:00
Dan Buch
6d5cc71aa4
Printing awesomely
2012-11-23 09:45:11 -05:00
Dan Buch
91f9d80e16
Finishing the consumer side of the alert example from chapter 4
2012-11-23 09:28:45 -05:00
Dan Buch
4acbd0a911
Getting the alert producer JRuby implementation working
2012-11-23 08:17:53 -05:00
Dan Buch
d42c036909
Adding another creds env var
2012-11-22 16:40:39 -05:00
Dan Buch
d3918bd79c
Goofing around with JRuby implementation of chapter 4 alert stuff
2012-11-22 16:40:19 -05:00
Dan Buch
c01332ff84
Updating rakefile setup task to pull in gson, too
2012-11-22 16:23:42 -05:00
Dan Buch
12bd530e6f
Meant to go clean, too
2012-11-22 14:07:11 -05:00
Dan Buch
61a748bd44
Finishing up the alert consumer and producer
...
I think...
2012-11-20 07:57:06 -05:00
Dan Buch
4e980011d6
Filling in the chapter 4 alerts consumer
2012-11-20 07:39:33 -05:00
Dan Buch
0be6b37318
Adding setup script for ch. 4 alerting user
2012-11-20 07:04:34 -05:00
Dan Buch
19350d73ca
Having a level helps
2012-11-19 22:46:25 -05:00
Dan Buch
d418a7ae38
Beware the trailing slash
2012-11-19 22:38:11 -05:00
Dan Buch
2bf7d416e2
Using a separate admin '/' vhost login
...
and shutting down more cleanly.
2012-11-19 22:37:23 -05:00
Dan Buch
0e5566367c
Setting up separate admin user for use with log consumers
2012-11-19 19:50:42 -05:00
Dan Buch
9e0e2ab567
Goofing around with log consumers
...
although it would appear the logging exchange doesn't exist on all
vhosts (???)
2012-11-19 19:00:51 -05:00
Dan Buch
351a7dc5ba
Kinda fixing rake to at least only download once
2012-11-19 08:45:55 -05:00
Dan Buch
5500be5264
Playing with rolls of dice or whatebbs
2012-11-18 22:09:49 -05:00
Dan Buch
0bad7fe2f9
Playing with counters and flips
2012-11-18 21:46:49 -05:00
Dan Buch
9cb1be13fe
TRIVIAL go fmt
2012-11-18 20:21:16 -05:00
Dan Buch
e99e5165bd
Filling in example binary search thing with real implementation
2012-11-18 20:20:29 -05:00
Dan Buch
0c300d7cdd
Adding test for binary search rank func
2012-11-18 20:20:07 -05:00
Dan Buch
b867cd616a
Adding implementation of binary search rank
2012-11-18 20:19:47 -05:00
Dan Buch
1ddd54676c
Goofing around more with mechanics instead of reading the dang book
2012-11-18 19:00:50 -05:00
Dan Buch
3f696f3060
Filled in "ReadInts" implementation and test
2012-11-18 18:51:59 -05:00
Dan Buch
869142a314
Getting sidetracked writing utility functions
2012-11-18 13:47:26 -05:00
Dan Buch
8ca6f624d4
Starting to goof around with binary search
...
which lead into goofing around with IO streams...
2012-11-18 08:30:49 -05:00
Dan Buch
631472da41
Breaking things out, adding test, all that good crap
2012-11-18 08:06:50 -05:00
Dan Buch
f3712555d5
Go Euclid!
2012-11-18 07:50:09 -05:00
Dan Buch
d231791a19
Updating autoenv crap
2012-11-18 07:30:57 -05:00
Dan Buch
d2f94e6b8e
Refreshing Algorithms 4th Ed. work, updating ignores.
2012-11-18 07:22:04 -05:00
Dan Buch
52a7c23bb1
Working on administration-related php exercise
...
which apparently does not work *at all* when the user/pass combo is
wrong or has characters that explode or whatever.
2012-11-17 21:12:46 -05:00
Dan Buch
74bd6aeaf0
A bit of cleanup, hopefully shutting down consumer in a relatively sane way
2012-11-17 08:55:37 -05:00
Dan Buch
c9c964d7c4
Using amqp uri env var in jruby implementation
2012-11-17 08:27:12 -05:00
Dan Buch
f950fcd318
Sloppy commit. Both re-namespacing and using the amqp uri env var.
2012-11-17 08:25:15 -05:00
Dan Buch
4c78d5d148
Switching scala implementation to use env var for amqp uri
2012-11-17 08:16:21 -05:00
Dan Buch
148cf7ef95
Updating Go impl to use amqp uri from env
2012-11-17 08:10:11 -05:00
Dan Buch
13d3d28fe3
Setting up some shared environment stuff
...
while working through administrative concepts.
2012-11-17 07:50:35 -05:00
Dan Buch
23b4162455
Ignoring a few rabbitmq artifacts
2012-11-17 07:33:49 -05:00
Dan Buch
2e7de65c2d
Switching to Ruby-style methods and setters
2012-11-16 22:24:01 -05:00
Dan Buch
ef2c0337c6
Filling in the consumer side of the JRuby implementation
2012-11-16 21:15:29 -05:00
Dan Buch
43be53a224
Starting implementation of RabbitMQ in Action Ch. 02 exercises in JRuby
2012-11-16 20:25:44 -05:00
Dan Buch
4b81b14358
Stubbing in jruby version
...
mostly to get used to jruby, I suppose, but I need to know how to use
the official rabbitmq java client in this context, too.
2012-11-16 19:38:13 -05:00
Dan Buch
2ef0c8207a
Running the producer via maven (via bash)
2012-11-15 23:14:13 -05:00
Dan Buch
04c57cc71f
Getting rid of a silly else block
2012-11-15 23:06:06 -05:00
Dan Buch
dc1d9d5b0c
Commenting out dependency that doesn't apppear to exist anymore
2012-11-15 23:03:42 -05:00
Dan Buch
b5e86d9b41
Attempting to build with maven instead...
2012-11-15 22:58:39 -05:00
Dan Buch
420a979b98
Implementing the consumer side of the chapter 2 exercise
2012-11-15 20:13:46 -05:00
Dan Buch
4be2593056
Adding back the package statement
...
now that I have the vim syntax checker working better
2012-11-15 20:13:11 -05:00
Dan Buch
b8a0654107
Getting bytes of string more elegantly
2012-11-15 08:10:39 -05:00
Dan Buch
374c5e03fa
That's better. Cleaning up is clean.
2012-11-15 07:52:32 -05:00
Dan Buch
dda8e8cb85
Declaring queue properly, but now it would appear we're blocking...
2012-11-15 07:51:08 -05:00