travis-whitton.blogspot.com
so it was written...: July 2009
http://travis-whitton.blogspot.com/2009_07_01_archive.html
So it was written. Defn blog [stuff] (blog stuff). Wednesday, July 22, 2009. Sweeping Networks with Clojure. Not knowing the IP, my only option was to hop on the VPN and sweep the network for machines running ssh. There are obviously tools available to do this rather easily (nmap for example), but what fun is that? Kicking things off with a bit of ceremony, we'll import the required objects. Hostname timeout port] (let [sock-addr (InetSocketAddress. hostname port)] (try (with-open [sock (Socket.)...As yo...
travis-whitton.blogspot.com
so it was written...: October 2009
http://travis-whitton.blogspot.com/2009_10_01_archive.html
So it was written. Defn blog [stuff] (blog stuff). Tuesday, October 27, 2009. Not many languages are simple enough to have their entire syntax conveniently summarized in a table that fits on one screen. Luckily, Clojure is. The following is a summary put together based on the Clojure reader documentation. I'm a fan of tabular data, so I put this together for my own personal reference. Atom, foo-bar, *foo*, etc. 42, "foo", nil, true, false, c, :foo. Foo (like symbols, prefixed with colon). Jay Paroline - ...
travis-whitton.blogspot.com
so it was written...: August 2009
http://travis-whitton.blogspot.com/2009_08_01_archive.html
So it was written. Defn blog [stuff] (blog stuff). Tuesday, August 18, 2009. Flipping Coins with Clojure. So there was a question on Reddit today. Regarding flipping a series of coins. Quite a bit of dispute arose about the actual phrasing of the question, so rather than plagiarize one of the many suggested variations, I'll spell it out here in plain english. Day 1, Monday:. Day 2, Tuesday:. If Bob only knew what Clojure could do for him, he could get his old life back, and Janet and the kids would come ...
travis-whitton.blogspot.com
so it was written...: Hot Code Swapping with Clojure
http://travis-whitton.blogspot.com/2009/09/hot-code-swapping-with-clojure.html
So it was written. Defn blog [stuff] (blog stuff). Tuesday, September 8, 2009. Hot Code Swapping with Clojure. Reading the Clojure mailing list, you'll notice that people frequently ask about updating code at runtime without restarting their program. Erlang includes this feature out of the box and has dubbed it, "Hot Code Swapping". It's not baked into Clojure nor is it regularly advertised as a feature, but it's easy to do and potentially very useful. Ns main (:use greeting repl-server) (defn main [] (l...
travis-whitton.blogspot.com
so it was written...: Crushing PNGs With Ruby
http://travis-whitton.blogspot.com/2009/10/crushing-pngs-with-ruby.html
So it was written. Defn blog [stuff] (blog stuff). Thursday, October 15, 2009. Crushing PNGs With Ruby. Nothing too special here. just a quick hack. I needed to recursively run pngcrush over a directory structure, and I couldn't find any examples of how to do this online. The following solves the problem nicely. Hopefully someone else finds this helpful. D, new dir) puts(%Q! Pngcrush -reduce -brute "#{file}" "#{new dir}/#{base file}"! From there, you can just do something like: crush.rb images sh.
mykestubbs.com
Chef Client Installation On CentOS 5.4 - ape babble
http://mykestubbs.com/blog/2010/04/chef-client-installation-on-ce.html
Chef Client Installation On CentOS 5.4. April 9, 2010 5:12 PM. Set up some variables we'll use throughout the install. We need a newer version of Ruby than provided by CentOS/RHEL. Add appropriate repositories and install the packages. With that complete, we want to install RubyGems from source as it's cross-platform and we know what to expect. Make sure the rubygems EXECUTABLE. DIRECTORY is in our PATH. Create some config files to get chef-solo up and running. Add the Opscode gem source. Install the che...
mykestubbs.com
Grooveshark 2.0 - ape babble
http://mykestubbs.com/blog/2009/08/grooveshark-20.html
August 21, 2009 7:16 PM. Grooveshark 2.0 is coming. Here's a taste. =). TrackBack URL: http:/ mykestubbs.com/mt/mt-tb.cgi/8. Jay Paroline - GS Dev. Josh Greenberg dawt name. This page contains a single entry by Myke published on. August 21, 2009 7:16 PM. Was the previous entry in this blog. Autoloading Facebook's PHP Classes. Is the next entry in this blog. Find recent content on the main index. Or look in the archives. To find all content. Subscribe to this blog's feed. Powered by Movable Type Pro.
travis-whitton.blogspot.com
so it was written...: June 2009
http://travis-whitton.blogspot.com/2009_06_01_archive.html
So it was written. Defn blog [stuff] (blog stuff). Thursday, June 18, 2009. Clojure's Agents: Scientists, Monkeys, and MD5. This is an accurate description of what agents do, but I had to read that paragraph many. Times to really get it. If your eyes are still returning to fixed position, cast your fears aside, and let me take you by the hand. We're about to take baby steps through what agents offer followed by an incredibly contrived (and somewhat long-winded) example. We could have used an anonymous fu...
scottberkun.com
Why Software Sucks | Scott Berkun
http://scottberkun.com/essays/46-why-software-sucks
Speaking & Videos. No one makes bad software on purpose. No benevolent programmer has ever sat down, planning out weeks of work, with the intention of frustrating people enough to make them cry. Bad software, or bad anything, happens because making things is hard, making good things doubly so. The three challenges are:. Possessing the diverse skills needed to make something good. Understanding who you’re making the thing for. What it means to say This sucks. What is this for? This is cool / I love it.