Geektook is pretty cool stuff. One of its most flexible uses is to render the output of shell commands onto your desktop.
Unfortunately, you might be confused for a while when seemingly arbitrary simple commands produce no output at all. Debugging is hard when stderr is being discarded!
It turns out that Geektool [...]
On Linux, all manner of automation is available. I run my own minecraft server process on my virtual private server, and have been occasionally faced with random crashes. (Truth be told, the machine needs just a tad more RAM, so perhaps the process is killed by the OS for this reason.)
To keep my Minecraft [...]
You thought it’d be that easy, did you?
First make sure your dependencies are met. Generally this means GEOS, GDAL, and PROJ. If you’re using a proper package manager on your system, this should be as easy as requesting those packages to be installed by those names.
On OS X I had a wild ride [...]
http://pythonbenchmarker.appspot.com/
Because Python does so many things so easily, the average coder starts to embrace the fun syntax sugar. Sooner or later, though, people get sloppy and start to prefer the nice syntax too quickly, without bothering to entertain a speed comparison.
Lots of young pythoneers simply cower in [...]
As a joke (but not really), I was terribly annoyed at Java today, and wrote this Java code in a few minutes. It’s (not surprisingly) capable of accomplishing *anything*. Give it a shot.
ProjectAttempt project = new Project();
try {
attempt = project.codeWith(Java);
if( attempt.results == tooRigid
[...]
So, part 1 was all about our current circumstance in the world, with Java being a bit “dusty” (to use the term I used in the part 1 post) when held in comparison to the ideas backing new languages.
To recap the most important idea from part 1: Java was a great [...]
If Java and a language like Python got in a fight, Python would eat the eyeballs of Java, and then spit them out at jobless teenie-bopper Java coders.
Blinded by the magical cross-platform abilities Java presents to its audience, Java coders are hard at work being hard at work. Meanwhile, back at the ranch, Python [...]
When I started programming with Python (a switch I would urge any casual utility programmer to make), I learned basic syntax. I very very quickly learned that if you’re ever wondering if there’s the proverbial “better way” to do something, then there is probably already a utility built into Python to accomplish the task.
Consider [...]
For any of you who both run Windows and use MySQL as your database backend, you may have found MySQLdb already. You may also notice that there is no release for Python 2.6.x on the page. That struck me as odd, since Python has moved into the 2.6 days near [...]
Here is a line in python that should be recorded for posterity…
Some background. I have a multilingual database where several tables exist. Each table is named after a particular “vocabulary” for my website. For instance, there’s a “forums” table for all the terms that are used for pages related to the forums. The purpose [...]
About.me
Tim Valenta
Amateur at everything, coder, UI designer, musician, and writer. I break things apart and re-program them from scratch to learn exactly which problems people have solved in the past. I write for NaNoWriMo, and I'm nearing the self publication of a short story called Highway.
Python is my passion. Alastair Reynolds writes great science fiction, but has a really ugly website. My Mac is my Linux without all the driver failures. I hate working directly for salesmen. Huge scented candles are surprisingly nice when you work from home all day. I play AP Mid lane for my League of Legends team, but love a good run at Top.
Topics
- Design (2)
- Games (3)
- Hacks (22)
- Hard Drives (2)
- Hobbies (41)
- Writing (28)
- Huh? (2)
- Linux (7)
- Ubuntu (3)
- Mac (23)
- Music (1)
- Operating Systems (10)
- Opt-Out Diaries (1)
- Photo Editing (1)
- Programming (30)
- Java (7)
- Javascript (2)
- Objective-C (1)
- Python (15)
- Textmate (5)
- RAM (1)
- Rants (11)
- Troubleshooting (14)
- Uncategorized (3)
- windows (8)
- Work (1)
- 4500S bash Chrome dell development dimension Django Firefox flash function Google hard drive Highway 2 Hyper-V icon IDE IE Internet Explorer iTunes java JavaScript Linux mac Macports method Microsoft mountain lion Music MySQL MySQLdb nanowrimo Opera OS X panda3d patch php pip productivity Programming Python python 2.5 theme vista windows Windows 7






