Quantcast
Channel: Codeabout
Browsing all 26 articles
Browse latest View live

Linux is making progress

I was browsing through magazines at the dentist's office, and started looking through PC World. In the few minutes I glanced through it, I counted 3 articles on Linux (all Ubuntu)! When did such a...

View Article



Ubuntu + Wine = Windows 7

I was reading Joel's latest post, about the architecture astronauts that are running MS, and it occurred to me that they're going in exactly the wrong direction. After all, Wine is great. I can run...

View Article

About the title of this blog.

It's my bit of homage to my favorite British comedy, Coupling. If you've never seen it, you are missing out on one of the funniest shows in years. I don't watch tv, don't even have cable, but this was...

View Article

Flash & Silverlight bait and switch...

Beware of geeks bearing gifts...Personally I've become so cynical that I use open source as a purely defensive measure. I've been burned too many times.

View Article

Beginning of the end of Linux Driver issues...

linux.com has an article on major OEM's (ASUS, Dell, Hewlett-Packard, and Lenovo) would put language into their acquisition contracts with their suppliers to require either Linux drivers or open api's...

View Article


Nokia 810 goodness...

I just unwrapped my new 810 last night, and have been impressed. To have a Linux machine that you can carry in your pocket it wonderful, especially with apt-get. Add in a bash shell, vi, ssh, openvpn,...

View Article

Unit tests force decoupling

I just read Vidar Hokstad's post on reducing coupling via unit tests, and I can't agree more. I'm currently trying to untangle some code that was written without unit tests, and is very tightly...

View Article

Distraction...

Paul Graham posted again in his usual good form. I canceled my cable years ago, and have never regretted it. Amusingly, I follow his formula for email at work, but only because Ironport uses exchange,...

View Article


What cities whisper to us

Another great post by Paul Graham. I think I'll stop linking to his stuff unless I have something to add. Just go an read his essays. I wonder what message Istanbul sends to residents. (edit) Having...

View Article


Nice trick with functools and os.path.join

Sometimes os.path.join('something', 'something_else', 'more' ... ) gets old. With functools.partial, you can preload os.path.join to clean up your code. For example:import functoolsmy_path_plus =...

View Article

Clojure, Frozen Bubble, and how I learned to start worrying about my math...

So, I've been playing around with Clojure, reading the rough cut of Programming Clojure, (good book, so far), and was looking for a project to sink my teeth into in order to really get a feel for the...

View Article

Quick post on working with large changes across your codebase

Stuff I wrote up for work. Ignore the p4 part, assuming you use a real version control system, *cough* git. Strategies for making changes that affect a large number of files emacs: recursive editing...

View Article

Extending the range of a PS3 controller.

Just plug a short usb cable (I use 12"), and leave the other end unplugged. The cable seems to act like an antenna, giving you a better connection. I've not done any tests to see exactly how much you...

View Article


Using Apache Camel from Clojure

I've been looking at Apache Camel for a project at work, and had a bit of trouble getting it working from Clojure, so I wrote this up in case anyone has the same issues.The first example in Camel in...

View Article

Airbnb sounds cool, but I really want Walk-in-closet-to-go

I don't like packing. When I look around my house, I see the progress I've made towards living a less-stuff lifestyle, such as advocated by Paul Graham, among many others, (see Stuff.) Still, I don't...

View Article


Python lockfiles

The python-daemon library has a nice implementation of pidfiles, much better than the standard lib lockfile. i.e.import lockfile.pidlockfile as pidlocklf = pidlock.PIDLockFile("/tmp/mqtask.pid")#...

View Article

Controlling android via http(s) over usb

I've been playing with couchdb, and was playing with the paw web server for android (http://paw-android.fun2code.de/), and discovered something interesting. * If you turn on usb teathering, then...

View Article


Running Rake as a script

Rake seemed nice, but I needed some of it for a server side trick. Not difficult, but if you're new to it, it's tough to find just what you...

View Article

The old, new job

Oh, yea.  FYI: I work for bittorrent these days.  I started around June.

View Article

.emacs style Clojure rc files

The following will let you run clojure code in the current namespace, from a dotfile in your home directory.(require '[clojure.java.io :as io])(load-string (slurp (io/file (System/getenv "HOME")...

View Article
Browsing all 26 articles
Browse latest View live




Latest Images