Someone recently asked what my issue was regarding the JVM, since at the moment it prevents me from falling too much in love with Clojure – a language with the double-benefits of functional programming, and Lisp syntax and macros. Well, below is my reason. These may not seem like much time in the scheme of things, but psychologically it builds [...]
As some one who has enjoyed the Lisp language (in several flavors) for about
15 years now, I wanted to express some of my reactions at recently discovering
Haskell, and why it has supplanted Lisp as the apple of my eye. Perhaps it
will encourage others to explore this strange, wonderful world, where it looks
like some pretty damn cool ideas are starting to peek over the horizon.
[...]
Following on my last entry, where I built a better pre-commit
hook to ensure
every commit in my Git history passed make check
with flying colors, I
realized something today about my good friend, rebase
.
[...]
Recently a friend turned me onto an interesting article about a problem I had
just recently discovered about Git and its pre-commit hook:
Committing in git with only some changes added to the staging area still
results in an “atomic” revision that may never have existed as a working copy
and may not work.
[...]
This has probably been written countless times before, but I found myself
needing it today and it was quick to write. It lets you read characters from a
char array in C++ via the istream interface:
#include "ptrstream.h"
int main() {
ptristream in("Hello, world!\n");
char buf[31];
in.getline(buf, 32);
std::cout << buf << std::endl;
}
Handy for if you don’t want std::istringstream
needlessly copying character
strings.
[...]
There is a new version of Ready Lisp for Mac OS X available. This version is
based on SBCL 1.0.24 and Aquamacs Emacs 1.6, and requires OS X Leopard 10.5.
The only changes in this version are upgrades of many of the dependent
packages.
[...]