Make any printer AirPrint compatible

Use CUPS, Avahi, and a python script to print from iOs devices

At home, we were missing the ability to print from our iPad or iPhones. While I'm not an OS zealot (anymore), I did upgrade to an iPhone last month, and have had an iPad for a while now. They're very useful for casual computing, checking email, browsing. But if we needed to print something, it was a hassle to fire up a laptop or desktop computer to use our networked printer.

Tags: ,

More programmers != more productivity

New Data support the mythical man-month

Carl Erickson observes that a small, boutique team of developers can be massively more productive than a larger team.

Voyager vs Smartphones

Best Comment today

Perceptive and made me chuckle.

Meanwhile my smartphone will be lucky to survive 34 months, and is only able to receive commands from Earth if I hold it out of an upstairs window...

Source

Tags: ,

Drupal finally using OOP

Entities will be real PHP Classes in Drupal 8

Finally. This is a huge step forward for Drupal. After eschewing OOP practices for a long time, its finally winning over core developers, which will make working with Drupal as a Framework easier in many ways. I copied the announcement below, but you can see that patch and discussion here.

Wait, Gingrich is the humane one?

Color me confused

I scanned the results of the latest GOP debate and while it didn't turn up anything earth shattering, it speaks volumes that in the current GOP, Newt Gingrich is the humane voice. I'm not sure if he was ever an anti-imigration partisan, or if he's genuinely not a nice, likeable person. But when he led the Republican house in the 90s, I recall a lot of anit-immigrant sentinement too. In fact, its what finally motivated my family to get our U.S. Citizenship. For additional weirdness, lets create a "red card", which to most non-Americans, means you're getting expelled from a soccer game.

Grokking Zend Framework 2

I've found these to be helpful in porting a ZF1 app to ZF2, which is in Beta1 status at the moment.  Rob Allen's tutorial -updated for the beta, worked for me out of the box using git submodule.

Debunking the sugar hyperactivity myth

And yet, I'm sure countless parents will rather trust their own anecdotal experience.

Tags:

Virginia Tech professor cuts PC energy usage

Granola software reduces energy usage 30%

I came across this link about a Virginia Tech professor that wrote a program to reduce energy wasted by computers. On the face of it, it sounds a bit smarter than the usual power management techniques that shut off parts or all of a computer when its not being used. It claims up to 30% reduction in power, which I expect translates into noticeably longer times between batter charges, if you use it on a laptop.

Fixing Realtek ethernet driver on Linux

Make sure you are using the right module

When my 3 year old son pressed the sleep button on my keyboard, we discovered that it actually sends my Archlinux desktop to sleep. Who would have thunk it? What was more annoying is that when the machine woke up, the network connection did not come back.

Poking around in the log files, I saw lines like the following lines which lead me to believe it was a NetworkManager problem.

Tags:

Improved importing to bitbucket

Easier method using git commands

Earlier, I wrote about a way to import an exisiting git project into bitbucket. I've since discovered a much easier way to do this using git's own commands. Instead of having to use git's daemon mode and have bitbucket import your repository, you should setup a new bitbucket repository and push to it. Assume you have a new repository, do the following two commands at your terminal. The key is the -u switch, which sets the master branch to track the remote repository.

Tags:

Responsive Design

Same html, different layouts

I've updated my theme here to make the layout more responsive depending on the device you view it in.  For both smart phones and iPads/tables, the layout linearizes. That is a fancy way of saying the right sidebar should scoot below the main content area, and everything will become 100% wide to fill the screen. 

I did this using CSS3 media queries, this technique only works in newer browsers, including Chrome, Firefox. and Mobile Safari.

Sync and Back Up Your Data with Conduit for Linux

Supports box.net for file sync, and other services.

See original: Del.icio.us Sync and Back Up Your Data with Conduit for Linux