20
Aug 08

VMware Fusion and Cisco VPN on Mac OS X – Fixing a Hiccup

I’m using a Cisco VPN Client (4.9.01) on Mac OS X Leopard (10.5.4). Yesterday I installed VMware Fusion (1.1.3), and today I noticed that my VPN wasn’t working anymore.

The error:

"Error 51: Unable to communicate with the VPN subsystem.
Please make sure that you have at least one network interface that is currently active and has an IP address and start this application again."

After some rooting around I suspected that Cisco was getting hung up on vmnet1 and vmnet8, VMware’s virtual network interfaces. My troubleshooting process pretty quickly landed on restarting the Cisco kernel extension, which fixed it. There are multiple ways to do this, but here’s the commands I used:

sudo /System/Library/StartupItems/CiscoVPN/CiscoVPN stop
sudo /System/Library/StartupItems/CiscoVPN/CiscoVPN start

That cleared up the problem.

Update: Also check out this article at Mac OS X Hints - A fix for ‘Error 51′ with the Cisco VPN Client.

19
Aug 08

Adobe Error Messages

I can identify with the conditions (complexity, time constraints, etc) that would give rise to these errors. But when you step back, it’s quite humorous. From an ideal perspective, messages like these shouldn’t really happen.

15
Aug 08

Animated John Lennon Interview

Great visualizations in this interview conducted by a 14 year old who snuck into John Lennon’s hotel room in 1969.

Via Infosthetics.

14
Aug 08

Ruby code to convert MySQL XML to CSV

This very simple code will take a file saved by

mysql --xml

and convert it to CSV format, with a header. I know there’s a MySQL option to save a file as a CSV or TSV, but I needed this for my situation.

The code uses Hpricot (by Why the Lucky Stiff) for XML parsing.


require 'hpricot'

xml = Hpricot(open(ARGV[0]))

# Header line - first set of attribute values
puts ((xml/'resultset/row').first/'field').map { |e| e.attributes['name'] }.join(', ')

lines = (xml/'resultset/row').map do |r|
(r/'field').map { |f| f.inner_text }.join(', ').strip
end

puts lines.join("\n")

 

I wonder – is there a better, shorter way to do this?

13
Aug 08

iTunes Music (Non-)Availability

Seeing this really annoys me. I thought in the age of the long tail (challenges notwithstanding) we were beyond antique distribution limitations like this.

I know some of it has to do with legal issues. It’s still very disappointing to see.

12
Aug 08

An Error in Metamagical Themas

Douglas Hofstadter’s Metamagical Themas: Questing For The Essence Of Mind And Pattern has been one of my favorite compilations for most of my life. It’s been a mind-expanding read for me on numerous occasions since I was fifteen.

Recently, my girlfriend and I were going reading through one of the word-play submissions by Howard Bergerson and we found an error. This self-documenting sentence does not add up (link):

“In this sentence, the word and occurs twice, the word eight occurs twice, the word four occurs twice, the word fourteen occurs four times, the word in occurs twice, the word seven occurs twice, the word the occurs fourteen times, the word this occurs twice, the word times occurs seven times, the word twice occurs eight times and the word word occurs fourteen times.”

Clearly, the word fourteen doesn’t occur four times, for example.

I couldn’t dig up an errata page for the book, so I’m posting here. Am I wrong?

07
Aug 08

Freebies are Good

My girlfriend and I shop at the Whole Foods headquarters in downtown Austin, usually a couple of times a week. Today we had our goods on the conveyor when my girlfriend ran off. Right after I finished paying, she came back with an açaí sorbet and said she had to try it.

“Then it’s on us,” said the clerk.

“Really?”

“Yeah, they encourage us to give away things.”

“Cool, thanks!”

I know Whole Foods has had some controversies recently regarding CEO John Mackey’s surreptitious forum posting habits, and we’ve had our complaints about the quality of their lemons, but I can’t fault the freebie policy. It’s especially appropriate when customers are paying a premium for boutique foods.

Now if they would only get some castelvetrano olives — California stores have ‘em, so why can’t we?

07
Aug 08

Presidential Candidates using LinkedIn?

I was on my profile page on LinkedIn recently, and I saw this:

More…

05
Aug 08

The Why of Trolls

 

That’s something that’s hard for me to grasp. The New York Times has an illuminating article on internet trolls, as noted by Jon Lebkowsky and others.

Image credit: Dunechaser on Flickr

Image credit: Dunechaser on Flickr

More…

29
Jul 08

Gaming IMDB – The stupidity of crowds?

A CNET blog post by Harrison Hoffman reported on the efforts by fans to elevate the new Batman film The Dark Night to the number one position on IMDB’s list of the top 250 films of all time. Hoffman uses this and the Digg HD/DVD key incident (discussed by Clay Shirky in Here Comes Everybody) as examples of the failure of the wisdom of crowds.

I can sort-of buy the idea that the IMDB gaming incident represents a failure, though I would argue that it’s only a minor one. Having The Godfather drop to number two or even three on the list seems like evidence for a temporal mobbing weakness in the ranking implementation. More…

« Older Entries
Newer Entries »

Copyright © 2010 ANDY PAYNE
Powered by WordPress and Theme Lab