@sumanthvepa

85 Followers
302 Following
479 Posts
I build things. Software, products, and companies. In that order. Fractional CTO/Product Manager/Venture Studio Investor/Jack of Many Trades, master of a couple
Okay. Okay. I'm doing my bit for the country. It's made in India. #india #tartiffs #humor

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.

https://www.youtube.com/watch?v=zmCwPOjQNTw

#teaching

Richard Feynman: If you want to master something, teach it.| Quantum Mechanics, (Motivation Video)

YouTube
So, I'm teaching #python to 1st year undergads this fall. Working on a syllabus. In an age of AI what's a good way to teach an introductory programming class. I've always loved MIT 6001. Might be a good idea to base my course on that? https://ocw.mit.edu/courses/6-0001-introduction-to-computer-science-and-programming-in-python-fall-2016/
Introduction to Computer Science and Programming in Python | Electrical Engineering and Computer Science | MIT OpenCourseWare

_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.

MIT OpenCourseWare
The new metro line is coming to the neighborhood. Love it!

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.

https://peps.python.org/pep-0544/

PEP 544 – Protocols: Structural subtyping (static duck typing) | peps.python.org

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...

Python Enhancement Proposals (PEPs)
I normally use GitHub copilot for coding with an OpenAI ChatGPT window open next to it. On a whim I switched to #DeepSeek this morning. It's pretty decent for coding. #ai #LLMs

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

Been away from social media for a month as work pressures increased. I'm back on Mastodon and look forward to it!

And of course #chatgpt comes to the rescue. I have to add set fasttty to my init.vim file.

But it's a shame that #vim detects my tty speed but #neovim does not.