Archive | March, 2004

Think Globally, Buy Locally

I’ve been in the book and publishing business for a while. I take advantage of the fact that there are local retailers by buying from them whenever possible. Perhaps I could use an Amazon or a BookPool or another online service, but if I’ve used the local bookstore to browse the stacks, look through possible purchases, I’ve used their services, what they pay rent for, and I owe them fair compensation. Tim O’Reilly notes similar thoughts here, and my thoughts were spurred on by receipt of my monthly email newsletter from SoftPro. The folks at SoftPro are great – they know their titles, they can order what you need. They’re working hard to make it through this “jobless recovery” when the joblessness is hitting hard in the IT sector.

Their “Regular Reader” program is a great deal – a percentage off list price in exchange for an email address for monthly newsletters. In addition, they sponsor the discounts sent on by their publishers, like O’Reilly’s “Buy Five, Get One Free” promotion. And to top it off, they throw in their own promotions of T-shirts and coffee cups.

And SoftPro is a cool store, the geek equivalent of a kid in a candy store. Wall-to-wall books, and they’re all computer books. O’Reilly, Addison-Wesley, Prentice-Hall, APress, No Starch Press, Microsoft, sometimes even Hentzenwerke. I was sad to hear they were closing the Marlborough, Mass, store, although the Waltham store (recently relocated from Burlington) is my favorite. Check them out if you’re in the area (or near Denver, where their other two stores are).

MySQL Connectivity with Python

Great article over at DevShed on connecting to a MySQL database using the Python language. Folks familiar with ADO or with SQL Pass-through and the VFP way of manipulating cursors will be comfortable with code like this:

#!/usr/bin/python
# import MySQL module
import MySQLdb
# connect
db = MySQLdb.connect(host="localhost", 
user="joe", passwd="secret",db="db56a")
# create a cursor
cursor = db.cursor()
# execute SQL statement
cursor.execute("SELECT * FROM animals")
# get the resultset as a tuple
result = cursor.fetchall()
# iterate through resultset
for record in result:
        print record[0] , "-->", record[1]

Outsourcing snapback?

InfoWorld: Top News reports companies are finally starting to Weighing the benefits of outsourcing. IT leaders now think before rushing into deals with offshore developers

Against the flood tide of IT work moving offshore, a small stream of work has been coming back to the United States as some U.S. companies have concluded that offshoring, for a variety of reasons, is not as much of a bargain as advertised.

TANSTAAFL: There Ain’t No Such Thing As A Free Lunch.

Eolas patent invalidated

A Reuters story reports that the U.S. Patent and Trademark Office has invalidated the patent that Eolas was claiming gave it exclusive licensing to the technique of embedding objects (think ActiveX, Java, Flash, MIDI) into HTML pages. As I had blogged here and here, Microsoft had lost an infringement suit, and industry watchers were concerned that the suit could be the precursor to the end of browser technology as we know it.

A Tale of two Michaels

PRI’s MarketPlace report came on tonight featuring a comparison of Michael Dell and Michael Eisner:

Michael Dell gives up CEO title to Rollins. President and COO Kevin Rollins was appointed CEO during a meeting of Dell’s board of directors in New York today. Founder Michael Dell will remain chairman of the company’s board of directors. [Computerworld News]

Discontent Remains High After Disney’s Moves on Eisner. The quick decision by Walt Disney’s board to name George Mitchell as chairman is being questioned by big institutional shareholders and analysts. By Kenneth N. Gilpin. [New York Times: Business]

Fedora Review

OSNews links to a review on Fedora: Swapping Red Hat for a Fedora. However, this sentence set me off:

It started off by offering me the same media test that was available from previous versions of Red Hat Linux, something I recommend every newbie Linux user go through.

(emphasis mine) Hey! Only newbies have bad media or bad burns? Snob.

Six Legacy Code Anti-Patterns

While the language in the article is Java, the anti-patterns seem to apply to many legacy projects I’ve seen over the years. Good lessons for all of us to remember when writing code some poor fool will have to maintain in the future: Six Legacy Code AntiPatterns. [Update: link removed. It was redirecting to an installware site.]

And remember, that fool could be you…

Powered by WordPress. Designed by Woo Themes

This work by Ted Roche is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States.