25yo got a programmable rgb array and is writing #micropython programs to display #uspol #dataviz. Those are mildly interesting, but I don't know why anyone cares about polls after 2016, let alone 2024.

The interesting thing is the first contact with #embedded #software

The first Real Problem is an intermittent out-of-memory condition that happens on the House, but not the Senate. (obvs more people, but both loop endlessly so it's not that simple.)

I'm walking thru how to find the leak, but socratically. Like "hmmmm.....I wonder what objects get created in each iteration?" and "If only there were some means of printing the mem usage."

@davidr Is there no console to print to for micropython?
@poleguy There is. Remember, I'm being Socratic.
@davidr Maybe I was also being Socratic? :-)