A neat subgenre of quines: invalid programs that print their own source code!
$ python https://reproducing.py/
File "https://t.co/z9z9h8CFOT"" target="_blank" rel="noopener noreferrer">https://t.co/z9z9h8CFOT", line 1
File "https://t.co/z9z9h8CFOT", line 1
^
IndentationError: unexpected indent
miniblog.
Related Posts
Compiler error messages is such a deep topic. Even in rustc, a mature compiler that invests effort in diagnostic quality, I find interesting issues every few months.
(The majority have been fixed pretty quickly, so it's really rewarding to file issues.)
There's something pleasingly self-referential about configuring an agent by talking to it.
> Remember that [fact about data formats].
Agent: Noted.
... realise nothing happened ...
> Write to your rules file that when I say "remember", I want you to write to the rules file.
I'm experimenting with diagnostics formatting.
* I've added a left margin, showing both the file name and line numbers
* I'm showing one line of context above/below the offending line.
* I'm using grey for comments.
What do you think? Is there anything you'd change?

