random thoughts to oil the mind

Category: Technology Page 5 of 9

[:en]On matters relating to computer hardware, software, and other technical goodies.[:de]Beiträge über Hardware, Software und Ähnliches[:]

The WordPress 3.0 Milestone

Although it’s only slated for release sometime in May, the first beta of the new WordPress 3.0 is already doing the rounds. Blog Oh Blog has a nice summary of the changes and additions in the new version: most of the updates are fairly innocuous, perhaps the largest mention should go to the integration of WordPress-mu, for setting up multi-user blogs and networks.

However, the announcement that really put the cat amongst the pigeons has been that the core development team may now be promoting what were formally called canonical plugins, now known as core plugins following the unpublished results of a poll in December. It appears that whilst attempting to address a genuine issue, the very idea of having plugins that stand in the limelight with an official stamp of approval has incensed many community plugin developers.

Some really excellent debate has been held which has, amongst other things, revealed that the initial go ahead for core plugins will be very limited; just three plugins, including an old, out-of-date plugin, a chunk hived off from the core, and a newly developed plugin. Nevertheless, the potential for these core plugins to have wide-reaching effects on the plugin development pool, create stagnation in the community and a greater top-down hierarchy is something that in the eyes of many developers and enthusiasts, has not been addressed.

Fixing a Broken Network Printer

There’s one problem which was driving my parents nuts on XP for some time before we finally got around to finding a reasonable solution. For whatever reason, one of their computers insisted on automatically adding the shared network printer on the other machine as the default printer in the list. This regardless of whether we had already assigned a local default, and whether the network printer was already in the list.

Whilst that already caused some consternation when documents would be sent to the wrong machine, it was compounded by the fact that if the printer was offline at the time, Windows XP would spend 100% CPU time trying to find the damn thing, leaving the PC highly unresponsive until the print queue was manually cleared. Meaning the options were between remembering to change the printer on every print job, or forgetting and rebooting the machine in between.

Fortunately, we found the handy little script below on some forum or other (praise be to the original author). It stops Windows’ printer service, deletes any waiting print jobs, and then restarts the service. Copy the lines below into a batch file (or into a simple text file and change its extension to .bat) or alternatively download the same script as a file.

@echo off
echo.
echo Purging the print queue . . .
net stop Spooler
echo Deleting all print jobs . . .
ping localhost -n 4 > nul
del /q %SystemRoot%\system32\spool\printers\*.*
net start Spooler
echo Done!
ping localhost -n 4 > nul

Ten Reasons Valve’s Steam Fails to Live Up to Standards

Steam

I’ve been using Steam for a fair while now, in fact pretty much since the beginning, and have seen the program grow on from its fairly humble origins. There are now hundreds of titles available, including games from big-name publishers and independent game houses alike, and the usual crashes and quirks that afflicted the early releases are pretty much gone. Nevertheless, there are still a number of key areas in which Steam continues to live up to standards, at times making using the system a bit of a nightmare. This is a list of some of those issues which in my eyes prevent Steam from becoming a really top class product, delivering everything the platform really promises. Some of these issues admittedly have their origins outside of Valve’s headquarters, but the way in which they are dealt with only compounds the problems further, for both customers and clients.

Another WordPress Blank Page

There are plenty of examples out there of WordPress installs suddenly displaying blank pages—on admin pages as well as frontend posts—after changing themes, adding/removing plugins or updating the WordPress backend. Whilst there is plenty of good information out there covering most of the usual suspects, I just came across another which was fairly difficult to track down given the lack of information, though pretty easy to solve once I’d found it. If like me you’ve at any point tried to streamline your WordPress install by cutting down on a few unnecessary services, and reducing the number of calls to the database, you may have added some lines to your wp-config.php file like so:

define('TEMPLATEPATH', '/path/to/theme/directory');
define('STYLESHEETPATH', '/path/to/theme/style.css');

Fairly innocuous, until you actually change your WordPress theme, in which case those long forgotten about resource savers will leave you with little more than a blank page to diagnose your problem. If this is the case though, just updating the lines or commenting them out will leave you with a workable system once again.

It’s a fairly common problem with Windows. Somehow a program manages to create a file with a name containing illegal characters or otherwise outside the file system’s parameters. No matter what you try, you just can’t rid yourself of it. The file certainly isn’t in use and being locked up by another program. Trying to delete or rename the file only results in Windows telling you the file cannot be found: “This is no longer in <location>. Verify the item’s location and try again.” Even running the Command Prompt with administrator privileges doesn’t allow you to move, rename or delete the blasted thing!

Fortunately, I managed to find an easy solution. Fire up the 7-zip File Manager, and rename the file from there. Bingo – don’t ask me how Vista couldn’t manage it, or indeed why 7-zip could, but at least now you can delete the damn thing! Kudos to the guys on this forum for the answer.

Page 5 of 9

Powered by WordPress & Theme by Anders Norén