It almost goes without saying that you won't find anything that runs Windows at anywhere near these prices. Oh, and no, that doesn't mean that Linux is somehow inferior as Windows fans would want you to believe. It is, however, free of charge.
pyclbr can scan Python source to find classes and stand-alone functions. The information about class, method, and function names and line numbers is gathered using tokenize without importing the code.
robotparser implements a parser for the robots.txt file format, including a simple function for checking if a given user agent can access a resource. It is intended for use in well-behaved spiders or other crawler applications that need to either be throttled or otherwise restricted.
The json module provides an API similar to pickle for converting in-memory Python objects to a serialized representation known as "JavaScript Object Notation".
It might have seemed last week, with the announcement of the
Open Database Alliance,
that MySQL is forking. The ODA promises a "central clearinghouse for
MySQL development" and claims to improve on areas where criticism has
historically been aimed at MySQL AB/Sun: bug-fixing, performance, and
community responsiveness. But what's going on behind the scenes is
much more subtle and promises a much better outcome for MySQL.
The past couple of weeks saw a flurry or articles debating the future of Linux on netbooks. A report in the Taipei Times on May 9th was picked up by LinuxToday but largely ignored by the tech press and the blogosphere. Stephen Lim, the General Manager of Taiwan based Linpus Technologies, made the surprising prediction that Linux will regain 50% market share from Windows on netbooks by next year.
Arlen Specter's party switch was big news, but a quick visualization technique shows it was a long time coming. What other surprises might lurk in the Senate Social graph?
I sense a bigger enterprise theme at the MySQL conference this
year. The pride of putting up a PHP- or Rails-backed web site lies in
the past; now people are concerned with scaling into the clouds
(figuratively and literally) and ensuring absolute reliability.
MySQL conference wrap-up: Flash, cloud computing, managing large
installations, the value of community, and how to fumble your way to
winning the presidency.
The Linux Journal's annual Readers' Choice Awards take the pulse of the Linux community, allowing readers to choose their favorites in a number of categories, and write-ins also are accepted. This year, more than 6,000 individuals voted for their favorite Linux solutions—one of the biggest turnouts in in Linux Journal history. And Linux in a Nutshell won the award for Favorite Linux Book of All Time. Our thanks to everyone who voted for this book. We think it's a classic and we're glad that you do, too!
As with threads, a common use pattern for multiple processes is to divide a job up among several workers to run in parallel. A simple way to do that with multiprocessing is to use Queues to pass messages back and forth. Any pickle-able object can pass through a multiprocessing Queue. This is part 2 of coverage of the multiprocessing module. If you missed part one, you may want to start there.
A look at multiprocessing basics. The multiprocessing module includes a relatively simple API for dividing work up between multiple processes based on the API for the threading module.
Business research usually starts with a list -- brands, competitors, people, products, whatever. This post describes a quick Python script that uses the Google Search API to automate the routine parts of the task, giving you more time to analyze and understand the results.
This was my second Pycon - since the last two have been in Chicago and on a weekend it has been an easy drive for me to attend coming from Michigan. Since last year was my first time at Pycon...
In just over two months of use so far I have been very impressed with the Sylvania g Netbook Meso. None of the issues, hardware or software, that I encountered with the original g Netbook, are seen in the somewhat newer model. The Meso has proven to be an upgrade in performance, in reliability, and most definitely in the area of software.
I just returned from PyCon in Chicago. During the conference open spaces there was an open space discussing potential changes for WSGI. The three basic ideas were: Return a tuple with the status, headers, and response instead using the start...
MySQL has had a long and sometimes strange journey from an independent database project to being commercialized; then brought to Sun and now possibly moving to a new home again. Brian Aker is the director of technology for MySQL with Sun Microsystems and probably is familiar as anyone with the life history and current status of the popular open-source database. He recently discussed the current status of MySQL with us, and how it might fare if IBM were to acquire Sun.
We're delighted to announce that High Performance MySQL, Second Edition, was awarded a Jolt Productivity Award in the category of Technical Books. The Jolts are the Oscars of the software development industry, showcasing the books, tools, and other products that have "jolted" the industry. Congratulations to the authors of this title. To celebrate, we've posted an excerpt from the book.