Commit Graph
100 Commits
Author SHA1 Message Date
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
Dan Buch ce29df17cb Renaming for clarity 2012-11-15 07:50:46 -05:00
Dan Buch 217fe20307 Kinda starting to implement the hello world producer 2012-11-15 07:44:27 -05:00
Dan Buch a1c85158f0 Updating project name, adding sbt-assembly and rabbitmq goodness 2012-11-15 07:43:38 -05:00
Dan Buch 76e84ec472 Ignoring another build artifact 2012-11-15 07:43:23 -05:00
Dan Buch c4b9bc99b8 Adding the sbt-assembly plugin 2012-11-15 07:43:10 -05:00
Dan Buch f800f221fd Stubbing in some garbage for Scala version of RabbitMQ in Action ch 02 examples 2012-11-15 00:23:36 -05:00
Dan Buch 3fed0c2e4e Implementing the producer side and breaking out common topology bits 2012-11-15 00:05:44 -05:00
Dan Buch 46933f0611 Much better like that, yap 2012-11-14 23:47:08 -05:00
Dan Buch f1c4f20058 Almost kinda there... 2012-11-14 22:27:46 -05:00
Dan Buch 1991c87ba9 Starting work on go version of chapter 2 examples 2012-11-14 21:16:00 -05:00
Dan Buch 18a9674ec2 Working through the confirmation example
albeit with code that works rather than what came with the book.  Hmm...
2012-11-14 20:37:37 -05:00
Dan Buch 26ec865dd7 Pulling out channel setup into common bits
as was suggested in book.
2012-11-14 18:03:45 -05:00
Dan Buch 1120412e45 Namespacing work by implementation language
which just might be a horrible idea, but it was feeling cluttered at
just two languages and I'm about to add a third...
2012-11-14 17:56:40 -05:00
Dan Buch 7155d76a11 Filling in consumer side 2012-11-14 07:52:32 -05:00
Dan Buch 061c84f554 Filling in the RabbitMQ in Action Chapter 2 hello world producer 2012-11-14 07:43:11 -05:00
Dan Buch 8ac1ef7da5 Stubbing in some python bits
mostly so that I can work cleanly in a virtualenv.
2012-11-14 07:42:32 -05:00
Dan Buch 9f9a905f00 Showing conn uri before attempting to connect 2012-11-12 19:48:22 -05:00
Dan Buch 03d3b542a2 Using go get to fetch deps. 2012-11-12 19:06:33 -05:00
Dan Buch 17032016c3 Using app-specific vhost
now that I'm learning more about vhosts.
2012-11-12 19:05:29 -05:00
Dan Buch 50efb4df6a Just using go get to fetch deps. 2012-11-12 19:05:13 -05:00
Dan Buch 2b21608871 Pointing at correct (renamed) dir 2012-11-11 09:44:55 -05:00
Dan Buch a0991a7653 Renaming dir for clarity
since it's really not specific to the book...
2012-11-11 09:43:25 -05:00
Dan Buch 2cb4181460 Renaming dumb little executable for clarity
plus I think I'll be using the `sylvilagus` package for library bits.
2012-11-11 09:42:18 -05:00
Dan Buch f56f2868a4 Setting env vars to make local root worky good 2012-11-11 08:42:55 -05:00
Dan Buch c715ac39e0 Saving my tracks while working through the RabbitMQ In Action book 2012-11-11 08:23:12 -05:00
Dan Buch 06fde72193 Not formatting during build
and instead using the in-buffer :Fmt command.
2012-11-11 08:15:14 -05:00
Dan Buch 36ea5c9213 Properly cleaning 2012-11-10 21:24:16 -05:00
Dan Buch 7a626b6a36 TRIVIAL go fmt 2012-11-10 20:41:27 -05:00
Dan Buch d0fbe716d9 Messing around with I/O streams and regexes 2012-11-10 20:27:23 -05:00
Dan Buch 1ab8d7d42c Moving bulk of amqp play crap into separate lib
in prep for changing the things, introducing more code.
2012-11-10 18:47:32 -05:00
Dan Buch d24efe640b Moving into a valid package name 2012-11-10 18:38:06 -05:00
Dan Buch 13057264f1 Ignoring deps 2012-11-10 13:41:45 -05:00
Dan Buch 447c40aebd TRIVIAL go fmt 2012-11-10 13:41:33 -05:00
Dan Buch ab9db7837d Playing with streadway/amqp's examples 2012-11-10 13:41:02 -05:00
Dan Buch 19b17354e0 More goofing around with buffered channels 2012-11-07 00:34:24 -05:00
Dan Buch 6e17df80ab The buffered channel example... 2012-11-07 00:16:13 -05:00
Dan Buch 97c9a95968 More trivial connection crap 2012-11-06 23:58:51 -05:00
Dan Buch 2f527a9d80 Connecting and such 2012-11-06 23:09:13 -05:00
Dan Buch 597f07ec2f Stubbing in new Go project for playing more with AMQP and database stuff 2012-11-06 23:01:10 -05:00
Dan Buch c556fa9b7c Implementation of rot13 reader
Although I'm sure there's a fancier way to do the lookup table.
Hmmm...
2012-11-06 07:35:11 -05:00
Dan Buch 736d61e82c TRIVIAL go fmt 2012-11-05 21:00:35 -05:00
Dan Buch 090d101d51 More namespacing and goofing around with unimportant crap 2012-11-05 20:59:42 -05:00
Dan Buch 0d7806fba4 Re-namespacing things and adjusting how stuff gets built
based on some recent practical experience with Go.
2012-11-05 20:36:27 -05:00
Dan Buch 37ffe3c870 Back to the clean version 2012-09-01 22:37:29 -04:00
Dan Buch 4c196c93d9 Each closure has its own locals, yay! 2012-09-01 22:36:53 -04:00
Dan Buch b53879a0fb Doing the fibonacci closure example
but I'm too sleepy to figure out the right way to make the first two
yielded values 1's.
2012-09-01 22:33:20 -04:00
Dan Buch d23bfcc869 Slice exercise with the blue and white picture! 2012-08-25 23:08:27 -04:00
Dan Buch e48569cc70 Maps exercise! 2012-08-25 22:18:48 -04:00
Dan Buch 892960c712 Making the compiler report its subcommands 2012-08-25 22:16:46 -04:00
Dan Buch 13201cbfea Adding a local go installation
since the one shipped by way of ubuntu repos is *just* outdated enough.
2012-08-25 22:16:11 -04:00
Dan Buch 5edefe38d2 A crappy implementation of Newton's method for finding square root 2012-08-25 21:48:12 -04:00
Dan Buch 92cd405b2e Playing with ranges 2012-08-25 21:12:40 -04:00
Dan Buch dd64e484a5 Recording some of my work as I go through the go-tour 2012-08-25 21:08:08 -04:00
Dan Buch 4618fcf851 Ignoring local autoenv file 2012-08-05 08:36:03 -04:00