HN user

user2994cb

131 karma
Posts13
Comments80
View on HN

Interesting date on that Max Newman paper - 2nd September 1942. Newman started working at Bletchley Park on 31st August, where he was deeply involved in the decryption of the Lorenz cipher and the development of Colossus.

I like this Python3 quine, which doesn't use repr printing:

  (lambda s,q,b,k,c,e:print(b+s+k+b+q+s+q+c+q+e+q+q+c+q+b+q+c+q+k+q+c+q+c+q+c+q+e+e+q+k))("lambda s,q,b,k,c,e:print(b+s+k+b+q+s+q+c+q+e+q+q+c+q+b+q+c+q+k+q+c+q+c+q+c+q+e+e+q+k)","\"","(",")",",","\\")

If you don't like those hard-coded character constants, lack of newlines, and compiler warnings, here's a C quine on similar lines:

  #include<stdio.h>
  int main(){
    char q='"',n='\n',b='\\';
    char*f="#include<stdio.h>%cint main(){%c  char q='%c',n='%cn',b='%c%c';%c  char*f=%c%s%c;%c  printf(f,n,n,q,b,b,b,n,q,f,q,n,n,n);%c}%c";
    printf(f,n,n,q,b,b,b,n,q,f,q,n,n,n);
  }
BBC Micro Bot 6 years ago

Dr. Johnson gives both spellings in his Dictionary, along with relevant quotes from Milton and Dryden, which are all spelled "spelled" or "spell'd".

BBC Micro Bot 6 years ago

That was probably a factor - does HN do this for all newbie comments though? Most of the 'dead' comments I see are more obviously dodgy.

BBC Micro Bot 6 years ago

I don't (it wasn't my project) but I've emailed my housemate (seemed polite, since we are talking about him).

BBC Micro Bot 6 years ago

The Centre for Computing History is a great place to visit - lots of machines up and running you can actually use (mainly from the 8-bit era, but other interesting things too).

BBC Micro Bot 6 years ago

Rather than Unix, our Workstation ran Panos, the only operating system that I know of named after a Greek restaurant.

BBC Micro Bot 6 years ago

One of these: http://www.computinghistory.org.uk/det/33101/Acorn-Cambridge... with a TI 32016 processor & using a BBC Micro for UI - except that my housemate Colin thought it was a bit expensive, so reverse engineered the board, redesigned it to be a little smaller (this was in the mid-80s & chip specs were changing rapidly), wire-wrapped a prototype for testing, then etched five proper PCBs, of which only a couple were populated.

BBC Micro Bot 6 years ago

That emulator is from the very talented Matthew Godbolt of "Compiler Explorer" fame, by the way.

BBC Micro Bot 6 years ago

Interesting - this comment was marked as 'dead' until I upvoted it - some sort of over-zealous spam filter misinterpreting "bbc"?

I was a Spectrum guy myself, but I did write my first C program on an Acorn Workstation clone.

This would have made a nice scene in that awful Imitation Game film, unlike the rubbish they actually put in (as well as other tales of the real Turing - the gas mask worn during hay fever season, for example).

Indeed, though that's to the entire volume - I was trying to link directly to the individual Gentzen papers (though by the fairly slow download maybe they are being created dynamically).

Thanks for the interesting blog piece though - maybe you could write one about Gentzen's consistency proof?