This isn’t just for virt-manager, but any X-Windows app you’d want to tightly integrate into your daily routine. Instead of firing up X11, then SSH’ing to your VM box and typing out virt-manager (insane!) you can script X11 to do everything with 1 mouse click. I have it in my Dock, and Launchbar also recognizes it as an app.
tell application "Finder"
launch application "X11"
end tell
set results to do shell script “ssh -X haddad-vmserver ‘virt-manager’”
About 2 weeks ago, I brought the Air back to the Apple store again, despite being completely shot down the first time. I had a 12:30 appointment, got there right at 12:30, but no one talked to me for a few minutes, so by the time I got someone’s attention, I was informed since I was late, they cancelled my appointment.
To get a quick idea of what ports you have open on your local box, you can use nmap.
~ jhaddad$ nmap localhost
Starting Nmap 5.00 ( http://nmap.org ) at 2010-01-05 11:06 PST
Interesting ports on localhost (127.0.0.1):
Not shown: 499 closed ports, 492 filtered ports
PORT STATE SERVICE
80/tcp open http
88/tcp open kerberos-sec
548/tcp open afp
631/tcp open ipp
3306/tcp open mysql
3325/tcp open unknown
5900/tcp open vnc
9000/tcp open cslistener
10000/tcp open snet-sensor-mgmt
I bought a MacBook Air in June this year, refurbished. I didn’t really use it a lot for day to day work, and when I didn’t use it I was charging it. It was very convenient - it weighs practically nothing and has almost no impact on me while traveling. When I cut back on using it, I noticed a few things.
When I’d leave it unplugged for a few days, the battery would be dead. After a bit of testing I noticed I was losing roughly 25% of my battery life overnight if it wasn’t unplugged.
I got this error after installing the Mono framework on MacOS X 10.5.6 and trying to set up a new project with eclipse.
NAnt 0.86 (Build 0.86.2898.0; beta1; 12/08/2007)
Copyright (C) 2001-2007 Gerry Shaw
http://nant.sourceforge.net
For more information regarding the cause of the build failure, run the build again in debug mode.
Try 'nant -help' for more information
BUILD FAILED
Failed to initialize the 'Mono 3.5 Profile' (mono-3.5) target framework.
Function call failed.
Expression: ${not pkg-config::exists('mono')}
^^^^^^^^^^^^^^^^^^^^^^^^^^
'pkg-config' failed to start.
ApplicationName='pkg-config', CommandLine='--exists mono', CurrentDirectory='/Library/Frameworks/Mono.framework/Versions/2.4/share/NAnt/bin/'
A few google searches suggested that this might be because pkg-config wasn’t installed - but it’s included in the Mono distribution. I finally realized the symlink wasn’t being created in by the Mono installer. Running the below command fixed everything.
This looks like a pretty cool tool to get a good idea of what’s going on in your PHP script without having to install tools like XDebug and Webgrind / KCacheGrind.
The Mac Mini is now capable of running dual monitors. This, to me, is huge. It’s a machine that comes in a decent price that developers are used to, while allowing us to keep our dignity and use our own monitors.
A few months ago, I bought a triplehead2go, and I ran 3 20 inch monitors. Then I got greedy, and decided to step it up to 2 26" screens (the LG W2600 to be exact). Unfortunately, the triplehead2go doesn’t support 2 monitors running at 1920x1200, and my MacBook pro certainly didn’t have dual video cards. The latest round of Mac Minis support dual monitors just fine.
There’s a lot of people who don’tseem to like the genius feature of iTunes. In fact, quite a few seem to hate it.
The complaints vary. I’m still confused by this complaint by my friend David. He wants iTunes to recognize band names after he’s changed them. If a band has a name, why should iTunes still recognize the band name after you’ve changed it?
Of course, there’s always things that can be improved. Here’s a few ideas that I’d like to see, in no particular order.
Might as well list the latest Apple stuff they’re announcing today.
Games: Interesting. I’ve always been a pacman fan. They will be starting with the following: Bejeweled, Cubis 2, Mahjong, Mini golf, pac man, tetris, texas holdem, vortex, and zuma. Glad they’re compatible with my 5th gen iPod.
iTunes 7: According to iLounge, iTunes will give you cover art for free if you are missing cover art. That’s pretty sweet, since most of my music was ripped off of CDs. 3 different views of iTunes, list view, album view (with art and tracks), then “cover flow view” lets you rapidly find what you want by album cover.