Making a pretentious logo using CSS

My pride in not being a "front end guy" is notoriously obnoxious and obviously compensatory. On the other hand, having crappy front ends for my projects might help disguise deeper flaws and thus actually be an advantage.

Came a time, however, when I wanted to make myself a logo. Faced with the horrific prospect of doing actual art, I had no real choice but to use markup. Make no mistake, the linguae francae of our browsable universe -- html, css and javascript -- are a collective insult to science and beauty. But you can do cool stuff sometimes.

My new company, is ...

more ...

Porting a land line to Google Voice and Obihai

The assumptions here are that you have a US land line, it has a phone number you've grown attached to, you or someone else in your household prefers to talk on something traditionally phone-like, you want to pay as little as possible for the privilege, that you have a high tolerance for - or ideally derive pleasure from - configuring gadgets, and that pains in the ass don't count as payment for the purposes of the fourth assumption. At this point, we're probably down to me, as there is low or negative correlation for simultaneous applicability of the forgoing ...

more ...

Typecasting, part 2

Some time after my recent fiddles with IMDB, I read an interesting article about using a perceptron to classify words as parts of speech based on features that precede them in text. It's all done in python or some such sh*t, but whatever. Still very cool. Since I had all of this IMDB data accumulated in Mongo, I thought I would try to play with it, and the idea I had was to predict metacritic scores from the actors that appeared in each film. In retrospect, it's far from clear that such a prediction can be made ...

more ...

What if John Conway Wrote Esolangs?

This is about a month old.

Actually, scrap that. This kind of thing never gets old.

To wit, a presentation on implementing and "using" Fractran, via clojure of course.

The least silly aspects of the show are (1) that we can implement the language very concisely and functionaly, and (2) to interpret the results, there's a nifty sieve of Eratosthenes - the real one.

The code is on github.

more ...

Hollywood Typecasting - Adventures with typed clojure and IMDB

I am broadly sympathetic to view that scalable systems must be built with statically typed langages, for reasons outlined in this wonderful screed, and, until recently, that has made it difficult for me to recommend clojure for institutional use.

With the introduction of core.typed, that has changed. The author has says that core.typed is now production-ready, and I agree. It's not perfect, but it will find bugs in your code without breaking it or causing performance problems. It's also pretty cool, and in many ways more expressive than type declarations in "normal" statically typed languages.

That ...

more ...

Deriving the Y-Combinator in Clojure

At some point, everyone wakes up in the middle of the night, in a cold sweat of panic that they don't truly understand how to derive the Y-combinator. Well maybe not everyone, but at least me. (Note that I'm talking about the higher order function, not the startup incubator.) I ended up reading through quite a few web pages, all of which presupposed a slightly different background, before I finally understood. This post distills my understanding, expressed in clojure, which happens to be what I'm into now. It can now be one of the pages that someone ...

more ...

Computer Chess is not just a bad movie, it is a despicable movie.

"Remember when you told me to tell you when you were acting rudely and insensitively?"

First things first. It it is certainly a bad movie. That isn't in itself so rare, of course, but it's nice to think that foul intent is always accompanied by shoddy artistry (which requires momentarily forgetting Leni Riefenstahl, but never mind). It would also be comforting if hateful crap were technically incompetent as well, so you tell immediately and find something better to do. Unfortunately, technical excellence is so easy and cheap to attain these days that it's no longer a reliable ...

more ...

Medical Moneyball!!

The story below changes or omits all the proper names, because that's the decent thing to do, but it would be even more decent not to write this at all, as it wouldn't be that difficult to figure out who these people are, and they don't come off well. Balanced against my need to get all this off my chest, I'm afraid I'm going to err on the side of selfishness.

Background, some of it anyway. I spent the last two decades at a variety of financial institutions. There have been interesting technical challenges and ...

more ...

Varieties of laziness: clojure reducers, scala views and closure functors

This is very cool.

(Thanks to David Nolen, who pointed out errors in the original.)

I hadn't realized that the standard higher order sequence functions compose in a manner that requires quite a bit of run-time machinery. For example nested map calls will cause a separate lazy sequence to be instantiated at each level of nesting, with each level "pulling" results from the next innermost as needed. The function calls are thus temporally interleaved, but the functions are not actually composed. We can see this happening by adding some printlns to some unary functions and then running a ...

more ...