Archive | LAMP

Linux Apache MySQL Python Perl PostgreSQL

There is no one best way

Declarations of a One True Way to Python Web Frameworks has lead to lots of kickback. A few samples from Daily Python-URL! (from the Secret Labs):

  • [Floris Bruynooghe] Python web frameworks
  • [online.effbot.org: Fredrik Lundh] he has given us… his shoe!
  • [Groovie] Notes on the Python Web Framework Pronouncement

The consensus seems to be that not much has really changed following the “pronouncement.” No one is in charge, and choice is a good thing. The TurboGears folks will keep trying a little harder, now that they're officially #2, everyone else will try a little harder to unseat them.

What will be good to see implemented would be a comparison chart of the many products. The FoxPro Wiki does a great job of this for VFP Frameworks, and CMS Matrix does a good job on content management systems. This would be a great service to the community.

Django the #1 choice for Python's Benevolent Dictator For Life

Over at Blue Sky On Mars: Kevin Dangoor, one of the lead developers for the TurboGears Python web framework posts, “There can't be only one.”

“I guess I'd better give up now. Guido announced at SciPy that Django is the standard web framework for Python. How's that for a first two sentences of a blog post? ”

“Always there are two, a master and an apprentice.” Master Yoda says.

Neo claims, “It's about choice. Free will is the one thing that can't be factored out of the system.” Free will mustn't be factored out of the system. The Joy of Branching is that someone else will go off and try something else, take a different direction, chose the Road Less Taken. And that will make all the difference.

No one size fits all. Sometimes you just need a little snippet, a tweak, of inline python code like you can do with Myghty. Other times, you need a big, honking uber-reliable message-passing system with scalability, redundancy, failover, point-in-time recovery and full BuzzTerm 2.0 compliance. Sometimes you just want to toss together a quick-and-dirty web site for a friend and the first app you come across with a README small enough to take in in one glance is the choice.

There's always room for more than one. Fight for choice.

link via Daily Python-URL! (from the Secret Labs)

Why are computers so hard to use?

David Berlind's recent blog post pointing to Tim Bray's trials and tribulations on switching from a Powerbook to a Sun Ultra 20 running Ubuntu (!) has some interesting reflections on how hard all desktop switching is. David says,

[Tim] “used two words — “wrangling” and “gyrations” — in his last post that leap off the page as having long been (in my mind) desktop Linux's key stumbling blocks.”

I've got a half-dozen machines in the office I work at regularly: Dells, HPs, ThinkPads, Macs, running Win98 through XP, OS X, CentOS, Ubuntu, Fedora, Xubuntu and probably a couple of others. I am constantly wrestling with getting a PDF file just right on this one, or wrangling an icon to do what I want on the desktop of that one. They are all hard!

I got tired of using the supplied Apple keyboard with my iMac and thought I'd try a Microsoft Natural Keyboard I had spare around the office. It worked well, just plug it in and It Worked ™. However, the key labels and assignments had me stumped. On Windows and Linux, the control key is the lower, outer left key and I spend all day issuing ^X, ^V, ^F, ^T to cut, paste, fine and create a new FireFox tab. On the Mac, it's not the outer key, it's the option key, the middle of the three keys outboard the spacebar. Except when it's not. Subconsciously, I had gotten myself into the groove of using the different keyboard layout on the (different) Apple keyboard. When I swapped out the keyboard for the one I use on another machine, I lost the ability to touch type those characters on both keyboards.

In the above-cited blog post, Tim was annoyed when Ubuntu didn't follow the hand-patterns he had memorized on the PowerBook; I feel the same way when I use the Mac.

One view of LinuxWorld Day One

Over at NewsForge, Joe 'Zonker' Brockmeier blogs A slow start at LinuxWorld during the seminar day before the main trade show opens. It sounds like the conference had many of the classic faux-pas, hard to avoid but difficult to overcome. I'm not picking on LinuxWorld for these, they happen at every show (and I've been guilty of more than one), but to remind us all what conference attendees expect:

  1. Schedule changes: “I'd hoped to attend Greg Kroah-Hartman's “Write a Real Working Linux Driver” session, but it had been cancelled.”
  2. Not delivering what was promised: “Unfortunately, the presentation was not a “hands-on” affair at all.”
  3. Losing control of the session: “Kirkland turned out to be something of a disappointment. Kirkland spent too much time at the beginning of the session discussing the types of RAID and taking questions from a particularly inquisitive attendee at the back of the room. I enjoy sessions where the presenter takes questions during the presentation, but a good speaker knows how to control the audience and will shut down questions when they start to derail a presentation.”

Lenovo offers SuSE ThinkPad T60p?

Lenovo debuts Linux ThinkPads.

(InfoWorld) – “Lenovo Group announced on Tuesday the availability of the ThinkPad T60p, its first laptop computer preloaded with the Linux operating system… The new laptop is primarily aimed at engineers, the company said… Linux users will welcome Lenovo's decision to preload the open-source operating system on its new ThinkPad.”

Well, the left hand forgot to tell the right hand. The links on the Lenovo site lead to http://www.pc.ibm.com/us/notebooks/thinkpad/t-series/wor where it says, “The ThinkPad T60p Mobile Workstation does not come preloaded with SUSE Linux. Users must obtain SUSE Linux licenses from Novell. The ThinkPad T60p comes with DOS entitlement only and ships with a blank hard disk drive. SUSE Linux OS will be supported by Novell, while Lenovo will support Hardware,” Hopefully, they will get the story together over the next couple of days.

The whole point of buying such a machine is to get a pre-installed image that supports all the oddball features of Bluetooth, hibernate, ACPI, power management, the funky specialized buttons, the pointer, the touchpad and so forth. If you have to go out and buy and install SuSE yourself, what's the point? Buy the T60p with Windows, snapshot the image, shrink the partition and set up the machine to dual-boot.

Trouble starting XAMPP's Apache on Windows

In attempting to set up XAMPP on a Windows XP Pro workstation, I couldn't get Apache to start. Attempting a command-line start gave me an error message that port 80 was in use. The netstat command showed nothing listening on that port. As a work-around, I edited the config file for Apache to work on http port 8888 and https port 8443 and confirmed that Apache was installed correctly and working fine. Finally, digging around in the Services applet showed that the IISAdmin was running. Dredging around on Google yielded this blog entry that recommends disabling the service and rebooting to detect which app is launching IISAdmin. That cured the problem; Apache's up and running. XAMPP rocks.

HP endorses Debian as Linux of choice on HP

HP announces support for Debian Linux.

(InfoWorld) – “Hewlett-Packard is throwing its support behind the Debian Linux distribution, the first major hardware maker to align itself with the noncommercial community-based Linux offering… HP also announced Monday that unit sales of 1.5 million Linux servers generated revenue of close to $6.2 billion for the 12 months ending in May, 50 percent more revenue than its nearest competitor.”

I think we'll continue to see some interesting alignments between vendors and Linux distributions: Lenovo's announced SuSE support, HP aligns with Debian. The Dell Linux site makes it clear they're not going to lose a sale over the choice of OS: you can pick your own, but RedHat and Novell SuSE are their top picks.

We don't want to go back to the one hardware vendor – one OS model: Ultrix, Solaris, HPUX, and the rest created a Balkanization of UNIX that lead to its downfall. However, vendors supporting Linux, especially multiple flavors, is a good sign.

Monadnock LUG, Thursday, August 10th: SugarCRM

From Guy Pardoe's announcement:

The next meeting of the Monadnock Linux User Group (MonadLUG) will be this Thursday, August 10th, 7:00pm, at the SAU 1 Superintendent's Office behind South Meadow School in Peterborough.

For directions and other information, visit
http://wiki.gnhlug.org/twiki2/bin/view/Www/MonadLUG

Mark Witham discusses SugarCRM: SugarCRM is a complete CRM and groupware system for businesses of all sizes. Functionality includes sales force automation, marketing campaigns, support cases, project mgmt, calendaring, documents and more. Built on PHP and MySQL.

Microsoft: Our customers are dumb

OSNews points to a ZDNet article, Microsoft: ‘Open Source Is Too Complex’. “Although open-source software can be customized to meet a company’s specific needs, its inherent complexity could dent the profitability of independent software vendors, says Microsoft. “One of the beauties of the open-source model is that you get a lot of flexibility and componentization. The big downside is complexity,” Ryan Gavin, Microsoft’s director of platform strategy, said.”

An ISV has to know what they are getting into, and have sufficient support to deal with the challenges of many platforms. The same is true if you choose to support Windows XP, XP Home, XP Media Center, XP Tablet, Windows 2000, Windows Server 2003 on standalone, networked, workgroup, domain and Active Directory models. The claim that supporting Linux is more difficult because there’s more than one vendor (all of the majors adhering to the Linux Standards Base) is FUD. If you have to support home users with Windows 95 or do-it-yourselfers with a hand-built Linux kernel, the challenges are the same. Their claim to ISVs that Windows is easier to work with may be easy to claim, but I’d like to see Microsoft prove it. Truth Happens. Unbend the Truth.

Microsoft claims that computer technology is complex, and they are smarter about making those decisions than their customers. If they are not careful, they’ll prove that: the smart customers will leave.

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.