More on Racket Generators
I've been playing around, as I said, with Euler 9, which presented me with the question of how to generate Pythagorean triples—this is the interesting part of the problem (it's trivial, once you
I've been playing around, as I said, with Euler 9, which presented me with the question of how to generate Pythagorean triples—this is the interesting part of the problem (it's trivial, once you
So supposedly I was done talking about point duplicate detection in linear time, but one of the guys at work suggested another good trick: using polar coordinates rather than cartesian. This comes wi
Every so often I want to write a tools post and go on about what I use and really like. Sometimes I do this, but mostly I resist because there isn't much new for me to contribute here, and I'd rather
The team at my new job has grown pretty rapidly as more resources have been devoted to pushing things out the door, and as we've done some reorganization. Along with this have come some growing pains
A bit of Racket potpourri lately as I am reading through some material as well as working on Euler problems; more on the latter after this. One of the reasons I became interested in Racket was its app
Back in the day, when learning a new programming language, I would take a little time and make a random password generator: this is how I learned my first bit of C as a pimply junior high school stud
When I was in college, I took a one-credit LISP course taught by Matt Curtin, and I also implemented two Scheme interpreters for my undergraduate (C++) and graduate (Java) programming languages cou
So Donald Knuth says that premature optimization is the root of all evil, which probably isn't too far off the truth. (Loving money is, I suppose, a sort of premature optimization.) But an interesti
A lot of my work these days revolves around writing system tests using IronPython: our principal SDK is written in C/C++, but we have a thin .NET wrapper around it. A separate software group integrate
I'm working on Euler 9 right now, which is a search for the one Pythagorean triple that sums to 1000. This was a very natural segue into looking at Racket's support for generators—we want to gen
The more I think about yesterday's post, the more I feel like it needs some tidying up. First, this really isn't suitable for production code, and I realize this. What happens when, for example, a d
So the last article was written rather hastily during a bout of multi-tasking. I'd like to revisit the idea of aspect-oriented programming using Python's decorators. There are a lot of good introducti
Playing around with Racket still in the few hours I have during the weeks. Thinking functionally has been a good exercise, but I'm still working through the question of when it's appropriate to use se