Contronym https://en.wikipedia.org/wiki/Contronym
196 is a square number, the square of 14. As the square of a Catalan number, it counts the number of walks of length 8 in the positive quadrant of the integer grid that start and end at the origin, moving diagonally at each step. It is part of a sequence of square numbers beginning 0, 1, 4, 25, 196, … in which each number is the smallest square that differs from the previous number by a triangular number.
I just pay the qobuz subscription and use this inofficial script which can download the high res flac files from qobuz. (You can also buy music on qobuz and you get the flac file without drm or so as a download, compared to other services which don’t give you the file itself)
And then I use jellyfin to host my music library. Jellyfin has many music player apps which you can use.
https://github.com/vitiko98/qobuz-dl
https://jellyfin.org/downloads/clients/all
But most of the time I’m just streaming through qobuz directly.
Polish surrealist painter https://www.lewandowski.art/en_US/i/Biography/20
Or Mariusz Lewandowski https://www.reddit.com/r/SpecArt/comments/ee7jj2/existential_duality_by_mariusz_lewandowski/
(Sorry for the reddit link :/)
This is the code (Github link):
class Quitter(object):
def __init__(self, name, eof):
self.name = name
self.eof = eof
def __repr__(self):
return 'Use %s() or %s to exit' % (self.name, self.eof)
def __call__(self, code=None):
# Shells like IDLE catch the SystemExit, but listen when their
# stdin wrapper is closed.
try:
sys.stdin.close()
except:
pass
raise SystemExit(code)
What happens is that the python repl calls __repr__
automatically on each variable/statement that you type into the repl (except assignments e.g. x = 1
).
But this basically only happens in the repl. So “executing” only exit
wouldn’t work in a python script as it is not calling __repr__
automatically, so better you learn how to do it right than using just exit
in your python scripts and scratching your head why it works in the repl but not in your code.
Sorry I can’t hear you with my Focal Bathys 🤓