Art is Art and Water is Water

January 31, 2010

python’s curses module and delwin

Filed under: Google bait — foone @ 5:07 am

If you check the docs, you’ll notice it’s missing. Googling “curses delwin python” gives a few people asking about it but no answers. HERE IS AN ANSWER:

You don’t need it. Python internally calls it when the window object is deallocated, or when you shutdown curses with curses.endwin(), whichever happens first.

Advertisements

January 3, 2010

WebRemote 2.0: UDP Harder

Filed under: Android — foone @ 7:46 pm

A shiny new UDP button is approaching fast!

So I modified by web-remote Android app and my server so that they support UDP, along with the older HTTP API.

Results: Excellent. There’s no longer a 0.5-1.0 second pause when clicking buttons. I’m still not sure where the hell that came from, HTTP shouldn’t be this slow.

Blog at WordPress.com.