Here's a cool little trick I learned: How do you create UI in HTML/CSS/Javascript for a tictactoe nside a #Jupyter #notebook that communicates with a #python engine running a neural network that teaches itself how to play.
I asked ChatGPT for help and it gave me the code below. Which is broken, but there is enough of a meat in it that one can figure out how to build a functional game within a Jupyter notebook.
I'm writing the chapter on #neuralnetworks for my #python class, and Richard Feynman's quote seems more applicable than ever: 'If you want to master something teach it'. Preparing to teach this class is the most fun learning experience I've had in a really long time.
_6.0001 Introduction to Computer Science and Programming in Python_ is intended for students with little or no programming experience. It aims to provide students with an understanding of the role computation can play in solving problems and to help students, regardless of their major, feel justifiably confident of their ability to write small programs that allow them to accomplish useful goals. The class uses the Python 3.5 programming language.
I'm familiar with #protocol s in #Swift, but just recently discovered #protocol classes in #Python. Like in #Swift they allow for structural subtyping. Now you can require that a parameter passed to a function must conform to a given protocol and #mypy will statically check that for you. You get the best of both worlds -- the safety of static typing and the convenience of duck typing.
Type hints introduced in PEP 484 can be used to specify type metadata for static type checkers and other third party tools. However, PEP 484 only specifies the semantics of nominal subtyping. In this PEP we specify static and runtime semantics of protoc...
Downside of getting one-time gigs; I am now no longer eligible for state unemployment.
Ooof. So, remember: looking for more permanent work, US remote, ideally in #accessibility or #UX . 8+ years experience in those fields. Ask me for my LinkedIn! #GetFediHired #fedihire