TestDisk for undeleting files

My son Travis accidentally deleted a digital movie he took with his camera. He was so disappointed, so I took up the task of trying to undelete the file. If his camera’s SD card was formatted with Linux’s ext3 filesystem his file would be impossible to retrieve.

Fortunately, all digital camera cards are formatted with the tried-and-true MS-DOS vfat filesystem, which makes undeleting files trivial. I even found a Linux tool called TestDisk that can easily retrieve deleted files. In seconds, I had fetched Travis’s deleted file.

If you are a Linux-head like me and need to bring a file back from the dead, try TestDisk!

Could Raleigh’s greenway paths be fiber paths?

Capital Area Greenway

I was thinking again (I know, I know. I should stop that bad habit) about Raleigh and the potential for a municipal Internet network (or a Google one). It occurred to me that the miles and miles of greenways Raleigh enjoys would make the perfect place to run a fiber backbone across our city. We’ve got greenways stretching into every corner of our city and more are being built and stitched-together every year. Why not make burying conduit part of every greenway construction project going forward?
Continue reading

Is Google stifling municipal broadband investment?

I was thinking more about the Google Fiber project today. It occurred to me that Google might actually be doing more to put the brakes on municipal broadband than Time Warner Cable and its cronies ever could.

As long as the possibility is out there that Google may build a network in a certain city, that city won’t be investing in its own broadband infrastructure. Google is guaranteed to disappoint the huge majority of applicants with its selection of a few cities, but nevertheless I can forsee city officials everywhere holding up Google as an excuse not to spend money on developing their own broadband. “Let’s hold off until we hear from Google,” they’ll say.

Google would do well in furthering its “fiber everywhere” cause by not keeping everyone in suspense.

Google creates fiber Internet resource site

In response to the overwhelming demand that 1,100 communities showed for the Google Fiber project, Google created the Fiber for Communities website. This site is a collection of resources that is intended to pave the way for communities to acquire fiber Internet.

I really like how Google has positioned this new effort. They know that their fiber project will only serve a handful of communities, leaving many to fend for themselves. By creating this site, Google shows it is committed to sharing its findings and supporting those communities who want to make this jump.
Continue reading

Integrating QEMU with your Linux desktop

Here are some handy tips for making QEMU work much better with your Linux desktop. You can now park QEMU on an unused workspace and not have to click in your QEMU window to use your mouse in a QEMU guest.

Integrating QEMU a bit with your desktop

Presently you have to run QEMU with a slightly lower resolution than your real desktop or run it in full-screen mode to get a decent experience out of it. With a patch I have written and a few tricks it can work a bit better.

via Integrating QEMU a bit with your desktop.

Close, but not quite

I put on my geek hat last night to see if I could get Bluetooth audio streaming to work from my mobile phone to my Ubuntu desktop. I got tantalizingly close! After adding “Enable=Source ” in the /etc/bluetooth/audio.conf file and rescanning my laptop’s available services from my phone after I made that change (among the other steps outlined in this page, suddenly the phone would connect to my laptop. It wouldn’t last long, however as soon as I began to stream music to my laptop it would disconnect. I’m not really sure why, too. It probably has something to do with PulseAudio, which I have rarely messed with and don’t completely understand.

I bet you this is a cinch to do under OS X. Sigh.

Streaming music to Ubuntu from a Bluetooth device

I’ve been intrigued by my new Samsung phone’s apparent ability to stream music to my laptop via Bluetooth. Ubuntu doesn’t appear to be able to do this out of the box and I had no idea where to search for this.

Today, I found the secret, thanks to this page:

After a few people asking me how to use the A2DP Sink with BlueZ, I’ve decided to write this mini-tutorial with a step-by-step on how to establish a A2DP stream from any device to a BlueZ-enabled host.

Before we start the hands-on, let’s see a little bit of nomenclature. In our use-case we have an stream being transmitted between two devices through a pipeline. Our pipeline is constructed of the remote host, BlueZ and PulseAudio. Each element of this pipeline has a Source (SRC) and a Sink (SNK) interface. The stream is handled between different elements by being sent from one element’s source to another element’s sink. So, the big picture of our pipeline is something like this (with the stream being represented by an arrow):

via 1, 2, 3, 4, A2DP Stream « jprvita’s weblog.

It’s still wonky out the wazoo but it looks like it can be done. I will wrestle with this more this evening.

N&O covers broadband fight

The N&O covered the municipal broadband fight today. While it does quote opponents of the moratorium like Rep. Bill Faison, it doesn’t challenge the statements of Sen. “Fiber will be obsolete” Hoyle, who obviously has little or no idea what he’s talking about. Hoyle has been comparing the debt of municipal broadband projects (cost: $28 million) to the debt used to build the Shearon Harris nuclear reactor (cost: $4 billion), a laughable comparison on its face. The numbers simply don’t compare.

The article also failed to mention that the state’s Local Government Commission has vetted all of these projects and declared that them to be on sound financial footing. And that until now Wilson hadn’t raised its pole attachment fee in over 30 years.

In spite of these flaws, the comments to the story’s web edition are running overwhelmingly in favor of municipal broadband projects. Clearly there is reason for caution before blocking them with a moratorium.

WordPress has Facebook-like link excerpting

Remember when I wished I had Facebook-like link excerpting in WordPress? It turns out I already do: it’s a bookmarklet built into WordPress called Press This.

Here’s how to use it:

In your WordPress Dashboard’s menu, click Tools. Drag the Press This link at the bottom of that page to your browser’s toolbar.

Now, when viewing a webpage that you’d like to add to your blog, simply highlight whatever text you’d like to include in your blog post and click on the Press This bookmarklet you just created. A new window will open up with your selected text already added to the editor and the title of the post set to the title of the webpage you were viewing. You can then adjust the text accordingly (add comments, etc.), and then click Publish. Super easy!

A big hat-tip to Scott Reston for pointing out this nifty feature!

Lightning strike

We had a massive, city-shaking lightning bolt strike somewhere within a few hundred yards of our house at 3 AM this morning. I fully expected to smell smoke after that one.

The storm rolled up quietly in the night and as I dozed I figured it was a typical summer storm, where there’d be a few low-amp bolts and that would be it. There wasn’t even much rain falling. Instead, I suddenly saw a series of connected flashes as the feeders probed the earth. Then the flashes merged into one hugely bright flash, followed by immediate thunder that sent my already-skittish dog running for cover.

The kids and I spent 15 minutes hunting for the lightning’s unwitting conductor this morning but we haven’t found it yet. Something must have gotten cooked by that bolt! Thank goodness I disconnected that yet-ungrounded satellite dish I was playing around with yesterday!