Profile cover photo
Profile photo
Python Diary
365 followers -
A Python blog with many different posts, package reviews, and tutorials
A Python blog with many different posts, package reviews, and tutorials

365 followers
About
Posts

Post has attachment
My latest project, a VGA compatible console in Pygame!  This project is currently under a Preview Demo and is not considered a final product nor ready for production.  However, in it's current state it is very useable.  Currently it emulates the VGA memory segment at &B800 and renders an SDL Surface using that memory.  Considering what it is doing on each paint, it's really fast.  There is also mouse support, so you can move around a classic block cursor, and of course being able to type text.
Add a comment...

Post has attachment
Looking for a temporary contacted Linux server support?  How about Python development or server hosting?  I have a vast portfolio of experience, and am currently looking into new and exciting opportunities.  If you have a project that needs some extra assistance, contact me through my consulting website.
Add a comment...

Post has attachment
Enjoyed the previous article about creating a CPU simulator in Python?  The next guide in the set is now available:  How to build an assembler for CARDIAC simulator built in the previous guide.  Also, be sure not to miss the upcoming guide on how to build a compiler which will complete the CARDIAC toolchain.
Add a comment...

Post has attachment
Curious about bytecode engines, or how a CPU simulator/emulator works?  Look no further than this article/tutorial about just that!  I recently read an article from Planet Python about this interesting device from the 60s called the Cardiac.  It has a 10 opcode instruction set, and it was used as an aid to assist people of the era of how a computer works, and processes data.  Much of it is still relevant, as the core foundation of a microprocessor hasn't really changed.  What has changed is how many instructions it has, and how fast it can process these instructions.  This article can also be an introduction to Python classes and Mixins, as it uses both, alongside some introspection for good measure.  Might be useful for teaching children on a Raspberry Pi how a computer processes data.  I'd recommend going to the links within my own article and download the vintage PDF manual for the Cardiac, as it has many great tutorials and explanations.
Add a comment...

Post has attachment
Easily deploy an SSD cloud server on DigitalOcean in 55 seconds. Sign up using my link and receive $10 in credit.
Add a comment...

Post has attachment
Why does the Python standard library still lack JSON-RPC server and client modules.  Python still ships with XML-RPC server and client modules, but still seems to lack a JSON-RPC equivalent, even in version 3 of the language.  I wrote a client library called "jsonrpclib" recently that I'd like to share.  It works exactly like xmlrpclib, just with JSON-RPC socket servers.  It doesn't support HTTP(S) transport protocols just yet, but that will come soon.
Add a comment...

Post has attachment
Add a comment...

Post has attachment
In this demo I built using Python, I leverage the powerful speech recognition system of Android to proxy voice commands to my Linux workstation.  It allows me to lock and unlock my computers, enable x2x, and even play and stop a music video, all by using my own voice.
Add a comment...

Post has attachment
Control the XBMC media center using just your voice, here is a demo project I am currently working on which is built on the Python for Android/SL4A framework.
Add a comment...

Post has attachment
Updated video of my "two-factor laptop decryption" system, this time updated with voice for the visual impaired(and for humor).
Add a comment...
Wait while more posts are being loaded