This is a small utility to modify a Windows installation CD so that it can be installed onto an SD card (eg. for use in your SSD-based netbooks with little onboard storage). You just need to copy the contents of your CD to your hard drive, then run the utility and voila it will produce an iso ready to be burned to CD for installing Windows XP onto your computer so that it can then transferred to an SD card. The installation instructions are geared towards the Asus EeePC.
I was looking around for an example of how to access Google’s Translation services from Python, and all the examples I found seemed too bloated to me, so I decided to write my own, and managed it in just a few lines of code. Perhaps the Ajax API didn’t exist when others wrote theirs, but it’s certainly much easier now.
So here it is, gtrans.py:
url = 'http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q='+urllib.quote(' '.join(sys.argv[3:]))+'&langpair='+sys.argv+'%7C'+sys.argv
transtext = eval(urllib.urlopen(url).read().replace('null,', '"",'))
print "\n", transtext['responseData']['translatedText'], "\n"
I just received my Google Wave Developer Sandbox account today, and so I’ve spent a good part of the evening playing around with it, finding my bearings in the interface, and working out how it all works. So far it looks like a very nicely integrated communication system, with a lot of API access to ensure it develops rapidly. There’s quite a few bots already running, for code syntax highlighting, for blogging, for starting discussion groups and a whole swath of other things.
Here is a screenshot of a wave:
Wave hints & tips
This wave is a collection of hints and tips on how to get started using Wave, and is a really handy FAQ to get things rolling once you’ve got your account setup.
And here is a shot of the entire interface for Wave, with a wave open that demos some of the stuff that can be embedded into a wave, in this case Google Maps.
Google Wave interface
As far as browser support goes, I’ve mostly been using it in Chromium (220.127.116.11), where it seems to work best (Surprise Surprise). It didn’t even recognise Firefox 3.5 as being a browser capable of handling Wave for some reason, but 3.0.11 was fine. The experience is a little laggy, but that could just be because it’s only a preview implementation, and therefore is probably not well distributed (like most other Google services usually are).
textview is my first application written in Genie, a python-like language which is converted into C and then compiled as a normal C program. The language is cross-platform also, and I have compiled textview on Windows just to prove it!
Although I think there’s more than enough text editors available for Linux, I was unable to find a really lightweight text viewer that could also perform basic editing functions. Previously I used leafpad or gedit for this purpose, but even that is overkill, since most of the time I just view Readme files etc. which don’t need syntax highlighting, vast arrays of menu options or dialogs popping up asking me if I want to save etc.
Be warned that textview does not have any undo or backup features, and probably never will. It’s primarily for use as a viewer, not an editor. To enter edit mode, press escape, to return to view-only mode press escape again. To save any changes, press “w” in view-only mode.
textview_0.1.deb (deb package)
textview-windows.zip (compiled for Windows)
You will also need to download GTK for windows to run this.
textview.gs (source code)