Codetown ::: a software developer's community
Tags:
The code that I wrote at last night's meeting is posted at http://github.com/ericlavigne/instant-runoff
I have not yet figured out how to post the video online, as it weighs in at 3.5GB.
It's good to see that some others have submitted solutions. Looks like Michael's solution is a bit ahead of mine as it can read votes in from a file. And of course Dan's is way ahead since it has been used for real elections.
wait, really? where can I find Dan's entry?
it is a large project that is not portable. This is why i was not trying to enter it. I could take snippets of code or screenshots and post it for people to look at. time permitting at our next meeting i will demo it.
During your presentation I wasn't fully following your logic as I don't deal with Clojure, Lisp or functional programming much. But now after looking at your code I see pretty much followed your line of attack, when I wrote it I thought I was taking a different approach.
Codetown is a social network. It's got blogs, forums, groups, personal pages and more! You might think of Codetown as a funky camper van with lots of compartments for your stuff and a great multimedia system, too! Best of all, Codetown has room for all of your friends.
Created by Michael Levin Dec 18, 2008 at 6:56pm. Last updated by Michael Levin May 4, 2018.
Check out the Codetown Jobs group.

This week's Java roundup for November 23rd, 2026, features news highlighting: the Vector API Proposed to Target for JDK 28; GA releases of Quarkus 4.0, Hibernate Reactive 5.0 and Apache Juneau 10.0; a point release of Lottie4J; and introducing the Kotlin Security Newsletter.
By Michael Redlich
DoorDash introduced Decoupled Search Grounding, an MCP-compatible gateway that separates web retrieval from LLM reasoning. It supports interchangeable search providers, exact and semantic caching, configurable retrieval depth, and provider fallbacks. In production query-intent evaluations, it reduced search costs by more than 98% while maintaining accuracy comparable to native search grounding.
By Leela Kumili
In this episode, Uberto Barbini discusses how clean functional programming can help AI Agents to generate better code. He explains how immutable data and pure functions enhance code quality, maintainability, and testability.
By Uberto Barbini
Next.js 16.4, released October 6, 2026, recommends Cache Components as the default for all apps, with Next.js 17 planned to adopt them. New projects enable cacheComponents and partialPrefetching. The release adds ensureStatic, navigation() and prefetch(), Turbopack improvements, React 19.3, and agent-based upgrade tooling. A security patch followed on October 14.
By Daniel Curtis
Microsoft has added continuous improvement to Microsoft Foundry, linking production traces, expert annotations, and evaluations to an agent optimizer that proposes and ranks changes to an agent's instructions, skills, and model. Insights are generally available, while the optimizer and training options remain in preview.
By Steef-Jan Wiggers
© 2026 Created by Michael Levin.
Powered by