Call the compiler, fax it your code [video]
11–20 of 37 posts
Re: Call the compiler, fax it your code [video]
#12So my username is a little less ridiculous than I originally thought? :) The fact that this can introduce OCR bugs into your C code is hilarious, and this is diabolical: #define one ( 4 - 3 ) #define eleven ( 3 + 4 + 4 ) Source code is here https://github.com/lexbailey/compilerfax
Need a proper preprocessor to take a code file and make it OCR-safe by substituting for dangerously glyphs.
edit: fixed link, copy paste fail dropped the ++
Re: Call the compiler, fax it your code [video]
#13So my username is a little less ridiculous than I originally thought? :) The fact that this can introduce OCR bugs into your C code is hilarious, and this is diabolical: #define one ( 4 - 3 ) #define eleven ( 3 + 4 + 4 ) Source code is here https://github.com/lexbailey/compilerfax
Especially if your fax machine uses JBIG2 compression. See: https://googleprojectzero.blogspot.com/2021/12/a-deep-dive-i...
Re: Call the compiler, fax it your code [video]
#14Have fun troubleshooting when the OCR keeps mis-identifying one of the semi-colons as a greek question mark!
Re: Call the compiler, fax it your code [video]
#15So my username is a little less ridiculous than I originally thought? :) The fact that this can introduce OCR bugs into your C code is hilarious, and this is diabolical: #define one ( 4 - 3 ) #define eleven ( 3 + 4 + 4 ) Source code is here https://github.com/lexbailey/compilerfax
Re: Call the compiler, fax it your code [video]
#16I'm curious why this requires a reply number in the program, rather than relying on something like Caller ID and sending the reply back to the number that sent the fax.
Re: Call the compiler, fax it your code [video]
#17https://stackoverflow.com/questions/5508110/why-is-this-prog...
Re: Call the compiler, fax it your code [video]
#18Possibly inspired by this stack overflow question: https://stackoverflow.com/questions/5508110/why-is-this-prog...
Why is this program erroneously rejected by three C++ compilers? - https://news.ycombinator.com/item?id=22798602 - April 2020 (1 comment)
Why is this program erroneously rejected by three C++ compilers? - https://news.ycombinator.com/item?id=6504442 - Oct 2013 (1 comment)
Why is this program erroneously rejected by three C++ compilers? - https://news.ycombinator.com/item?id=3727717 - March 2012 (7 comments)
Re: Call the compiler, fax it your code [video]
#19So my username is a little less ridiculous than I originally thought? :) The fact that this can introduce OCR bugs into your C code is hilarious, and this is diabolical: #define one ( 4 - 3 ) #define eleven ( 3 + 4 + 4 ) Source code is here https://github.com/lexbailey/compilerfax
Amateur! Use a barcode font!
Re: Call the compiler, fax it your code [video]
#20Have fun troubleshooting when the OCR keeps mis-identifying one of the semi-colons as a greek question mark!
I wonder if this is a perfect use case for an LLM. I bet that if you did submit he code to Claude/ChatGPT with a prompt to „fix any typos in the code that was read using OCR” it would have a pretty high rate of success.