Better HN
topnewbestaskshowjobs
Log inSign up

bmf

159 karma · joined Mar 5, 2009 (17y ago) · 16 submissions

Submissions

comment 5d ago · link · parent

Hi, everyone--speaker Brendan here. This talk tells the story of my two-person startup with about 120k lines of TypeScript and Python written mostly by Claude where the agent hit a bug that made the size of the code being able to fit into the context window actually drive reconsider semantic compression over being mainstream in language choice.

I found a bunch of other benefits of using Clojure while doing it: - 68% reduction in the code in scope - massive reduction in the agent waiting on build times because of image-based applications and the REPL (30s -> 1.4s in a trivial example is shown) - 4x reduction in type checking mitigated risk of drift between definitions

What went wrong: - the first pass took 7 days and looked finished, but it was a 7 week tail of deviations from the old system. I had thought the agent could/would use the old system as a functional spec, but I should have taken the explicit step of extracting a written spec first

Caveats: - some of the evidence for Clojure being better for the agent is self-reporting by Claude itself. Matches my experience, but more hard data would be better. - the video description says 90k lines became 12k. Those are from my original talk proposal, written before the rewrite had settled. The figures in the talk and on the slides are the correct ones.

The hooks, skills and style guides we use are at https://github.com/JoinIn-AI/clojure-agent-starter. I'm around today to answer questions, including the sceptical ones.

2.

What tipped the scales for Clojure [video](youtube.com ↗)

3 points · by bmf · 5d ago · 1 comment

comment 6mo ago · link · parent

Wasn’t planning on it, but Show HN: JoinIn.AI?! We’re working on making a better audio interface to LLMs that is socially adroit enough to handle even multi-party conversation.

4.

The Excellent Schemer(code-magazine.com ↗)

3 points · by bmf · 4y ago · discuss

5.

Researcher hacks over 35 tech firms in novel supply chain attack(bleepingcomputer.com ↗)

7 points · by bmf · 5y ago · discuss

6.

RMS;OUTPUT(paste.lisp.org ↗)

1 points · by bmf · 12y ago · discuss

comment 13y ago · link · parent

Richard Gabriel did a great write-up of the trade-offs during the ANSI Common Lisp standardization process:

http://www.nhplace.com/kent/Papers/Technical-Issues.html

What I took away from it was that macros get more tricky to write when you have possible variable capture for functions, which we humans seem to be a little more blind to than for values.

Item 18 contains the compatibility concerns for existing code, which the guys writing the standard seemed to think critical to keep the various vendors on board.

8.

Prove You’re a Human By Telling This Captcha You Have the Right Feelings(gizmodo.com ↗)

2 points · by bmf · 14y ago · discuss

comment 14y ago · link · parent

Many on Reddit are probably in agreement with the anti-SOPA movement, but that is why they are good to reach out to. Is there a phrase for "mobilizing the choir"?

10.

Facebook releases HHVM, 60 percent faster than its current PHP interpreter(facebook.com ↗)

2 points · by bmf · 14y ago · discuss

comment 15y ago · link · parent

I'm currently reading "Mastering Relational Database Querying and Analysis" by John Carlis, which posits that SQL is inherently flawed for several reasons. To paraphrase from the text:

First, both the syntax and the way querying is generally presented in textbooks, lead you to think that your task when querying is to display one unnamed table. The author objects to each of those four words.

Second, many people have found querying with SQL terribly difficult. Even experts find SQL hard to create and read. Do not be surprised if an analyst struggles to understand his/her own SQL. It is impossible for users to understand any but the simplest SQL.

Third, SQL practice suffers from the notion of a "correlated query" -- which has a monolithic subquery that is executed repeatedly via looping, once for each value of a candidate row picked by an outside SELECT.

The book has much more to say on the topic of SQL before going on offer relational algebra (built on top of SQL) as a n alternative.

12.

Why U.S. Broadband is So Slow(corp.sonic.net ↗)

108 points · by bmf · 15y ago · 66 comments

comment 16y ago · link · parent

nit picking, but many of the words listed (such as "smaller" and "crude") aren't verbs.

14.

Mac OS X native GUIs using Clozure Common Lisp [pdf](trac.clozure.com ↗)

16 points · by bmf · 16y ago · discuss

15.

Discussion of GUI approaches for Common Lisp(nklein.com ↗)

21 points · by bmf · 16y ago · discuss