Ask HN:How many LOC is/was your simplest useful application?
cperciva: According to sloccount, bsdiff + bspatch is 425 lines of code.  I've written smaller applications, but that's probably my smallest useful application -- at least if you consider being used (albeit unknowingly) by millions of people and being responsible for saving hundreds of man-years of waiting for downloads to complete to qualify as "useful".