22 Oct
Posted by Elf Sternberg as python, web development
A couple of weeks ago I bought the book “The Definitive Guide to Django,” and I’ve come to realize, to my frustration, that the book is already outdated. My big headache this week was dealing with the administration interface, which the Django people swear is one of the coolest features of the entire application server. [...]
I started using this recently. If you do a lot of Python, you’ll sometimes find yourself desperate for breadcrumbs, little print statements scattered throughout your code as you try to figure what you told it to do, since it’s obviously not doing what you want it to do. I’d used inspect previously to [...]
05 Sep
Posted by Elf Sternberg as javascript, programming, python
For the past eight days or so, I’ve been having the absolute pleasure of working on a pure research project, re-implementing FireWatir in Python. The project is known internally as “Whiskey,” (FireWatir without the R) and at some 1805 lines is faster and more concise than firewatir’s 6522 lines.
The real trick was to stop [...]
26 Aug
Posted by Elf Sternberg as programming, python, ruby
Until circumstances change, this will just be the most horrible geek tease you can imagine.
At the office, we have exactly three approved programming languanges: C for performance, Python for everything else, and a begrudging tolerance for ECMA-262 for the WebUI team and site design. (Although the docs deployment people get away with PHP, which [...]
I was up last night hacking on my toolchain and getting it ready for production, and I realized that part of it could be ripped out and put up as a library. I had searched for this library and found nothing, so I scratched that itch and tossed it together. I use Emacs [...]
14 Jul
Posted by Elf Sternberg as programming, python, web development
I recently wrote a game, and found it very much like developing a Javascript-based web application. (My wife, who’s a journalist with the video game industry beat, insists “it’s a toy, not a game. There is a difference.” I will defer.)
If you’re a web developer who does a lot of Ajax, there [...]
08 Jun
Posted by Elf Sternberg as Uncategorized, programming, python, ruby
I know there are people out there who love the way Ruby does some things, but there’s one feature of Ruby that drives me nuts, mostly because it doesn’t do things The One True Way of Python. And that’s call by reference.
In Python, everything is a reference. Let’s say you have some methods, and [...]
30 May
Posted by Elf Sternberg as programming, python, web development
I’ve never been happy with templating languages. Oh, sure, I use them. Wordpress (what this blog is written in) is written in PHP, and I’ve used eruby and erb for other websites. I understand what they’re trying to accomplish, but if the objective is to write an application that happens to use [...]
Webware certainly isn’t the best and hottest and most wonderful of all application servers out there. There’s Paste, for one thing, which has a Webware emulation layer in case you ever want to move your Webware application to the latest and greatest. I’m going to use Webware because it works and because, as [...]
06 May
Posted by Elf Sternberg as programming, python, web development, webware
For most of what I will do and show, I’m going to be using Webware For Python. I like Webware because it’s simple, and is more or less the perfect vehicle for showing various aspects of web application development. So, for this first post, I’m going to go through a usual installation of [...]
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Nov | ||||||
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 31 | |