Chandler Calendar Server

In a previous post, I mentioned Cosmo Calendar Server while it was in it’s very early stages of development. It looks like the developers have been working their asses off, because the Chandler project as a whole has improved a lot! There isn’t much you can’t do with this calendaring suite: It has it’s own fully functional desktop application, Chandler. It not only does calendering, but can do email too if you want. You can sign up for a free account on Chandler Hub, which is very cool as it adds a way to synchronize your local calendars to a web server. The web interface is also very nice… one of the better ones I’ve seen. Assuming you don’t want to trust your personal info on someone else’s server, you can run your own with Cosmo Server. This is completely self contained, and only requires that you have Java installed. Incredibly simple to set up, and works with a DB text file, MySQL or PostgreSQL. I had one up and running on my openSUSE test box in 30 mins, using MySQL. Even though it’s coming along pretty well, there are still some bugs. I noticed right away the desktop app crashed when I tried to drag an appointment to a different time. There’s a page of bug reports and you should report any you may find.

September 24, 2008 · churnd

Syntax Highlighting with Less

I love the syntax highlighting that VI/VIM provides. I refuse to use any text editor without it. It just makes it much easier on my eyes to navigate the code. It’s a very useful feature, and I have no idea why common pagers such as more or less don’t offer this. Hope is not lost though! You can use one of VIM’s macros to act similar to less but with highlighting! This is done by setting an alias in your .bash_profile or .bashrc file, which is in your home directory. Here’s how: Open up a terminal and type cd. This will take you to your home directory in case you aren’t already. You need to edit your .bashrc or .bash_profile include this alias: alias vless=’vim -u /usr/share/vim/vim71/macros/less.vim’. You will most likely have to modify that path depending on your system, but it should always start with /usr/share/vim. Save and close, then type “. .bashrc” or “. .bash_profile” to re-read the file and have the alias take effect. You’re done! Now instead of using less to read a file, you can use vless. The great thing about aliases is they can be whatever you want. You can even set it to override less itself if you want. I’m not sure if basic functionality is any different between less and vless. Both use / to search and q to quit, and navigate the file the same. If there are any differences, they certainly don’t bother me. :)

September 24, 2008 · churnd

Transmission & Clutch – A Torrent Server

I have an openSUSE 11 box at work that I use for testing, development, and file storage. I resurrected an old RAID array that had a failed RAID controller by pulling out the controller and rewiring it to be just a SCSI chain. It’s hooked up to the openSUSE box and configured as a 500GB software RAID5 array. To set up the torrent server, you’ll need Transmission and Clutch. Transmission is in the Packman repos, so you can enable that repo via YaST, search for Transmission, and install it. Or of course, you could download the source and compile it. If memory serves, I did that once and it compiled easily. With clutch, it’s just a bunch of web files made to run on your favorite web server. I use Apache, so make sure that’s installed and turned on. You’ll also need PHP, JSON for PHP, and the PHP socket extension. These are all in YaST too. After they’re installed, restart the server so they’ll take affect. Then unzip the files to the server root, in my case is /srv/www/htdocs/. I use the web server to test several different things, so I put them in a subdirectory /srv/www/htdocs/clutch, and I can get to it by typing http://server/clutch in my browser. The rest of the instructions are here under the Installation (Linux) section, and the do work fine assuming you follow them step by step. I know because the first time I tried, I missed a step concerning permissions and had to backtrack to find it. The important parts in the instructions above are the permissions and file locations. A key to making this easier for you is knowing which user your web server runs as. In my case it was wwwrun, and group www. I edited the necessary files, and did a chown -R wwwrun:www to the top level directory. Now my web server owns those files and can modify them as needed. The last portion of this puzzle is to turn transmission into a service by creating this script in /etc/init.d: [sourcecode language=“bash”] #!/bin/sh ...

September 24, 2008 · churnd

iCal & iPhone Sync

Seems like Google Calendar is not without it’s flaws either on the iPhone. I’m syncing the calendar from iCal. The calendar shows up on my iPhone as read-only, so I can’t add any appointments. I thought I’d be able to do this “offline”, and have it sync to iCal, then upload to Google Calendar. No dice. Ideally, I’d be able to do CalDAV straight from the iPhone. John Gruber’s thoughts mirror my own, though I am able to get alarms on my iPhone if I go “iCal –> iPhone” sync. ...

September 10, 2008 · churnd

Google’s Cloud

I’m all for the innovation Google churns out, and I’m a big fan of a lot of their services. Their Chrome browser is the latest thing, and it’s obviously built for speed. Their main goal seems to be to optimize the users experiencewith these online services. I applaud and welcome that initiative. There has been speculation that this is part of Google’s effort to obsolete the operating system as we know it. I doubt that would happen. I don’t know many people who would trust their entire lives on someone else’s servers. ...

September 5, 2008 · churnd

Apple & MobileMe

Apple clearly bit off more than they could chew with releasing the iPhone 3G and MobileMe at the same time. Steve Jobs said so himself in an internal email that found it’s way to the public view. I agree they should have waited on releasing MobileMe. Now they’re having problems on both platforms, which is creating bad press. I worry about Apple’s future. I’m very happy people are switching over to the Mac platform, but is Apple really ready for that substantial increase in their customer base? The thing I’m worried about most is the way they handle problems. There’s usually very little or no acknowledgment that there actually IS a problem until several days or weeks AFTER the fact. Then once they DO acknowledge it, they won’t tell you what went wrong, or what they’re doing to prevent it from happening again. Their way of communicating the problem is, in this Mac user’s opinion, borderline patronizing. For some reason, they seem to get away with it. Hopefully with the bad press it’s getting, that’ll change. People want to, and deserve to, be informed. Google had a Gmail outage, and communicated to it’s users very timely and in detail. That’s good service. I bring this up because lately I’ve been seriously contemplating moving from Google to MobileMe for myself and my wife. I have a trial account that I signed up for ~5 days prior to the MobileMe launch. Thanks to the problem’s MobileMe’s been having, that account won’t expire until the end of November. :) That’ll give me plenty of time to test MobileMe and make a decision. However, things are leaning mostly in Google’s favor. Here’s why: MobileMe’s web interface only uses SSL when you log in or go to your account settings. Why?? Is it too much trouble to encrypt the entire session, especially since the service is paid for?? Google does this for Gmail, and it’s free!! You can also use just about all of Google’s other services in secure mode just by adding an s to the http. I can’t choose which calendars get sync’d. MobileMe assumes I want them all sync’d, but I don’t. I have a few calendars that I use to schedule backup jobs at work. I don’t need those following me around. It’s annoying when they do. With Google Calendar, I have to manually set up CalDAV, but at least that way I can control what “follows me around”. The email address itself. Do I want to use @gmail.com or @me.com? Who’s the idiot that thought up @me.com?? I’d prefer @mac.com to @me.com anyday. I hand out my email address a lot, and I cringe when I think of the confusion that most likely will follow with an @me.com address. ”My email is [email protected]”… “Ok, so it’s [email protected]?”… “No, it’s [email protected]”… “That’s what I said, [email protected]!”. *sigh*. I know I still have @mac.com, but I don’t know what Apple plans on doing with that name in the long run, or whether or not they make it available with newer accounts created after DotMac was taken offline. @gmail.com is easier to understand, and more people know it. It’s $150 a year! Google is free!! Yeah, I know I can get the family pack from Amazon for $109, but still. On the plus side, reasons I like MobileMe: It’s more of an all-in-one solution that integrates seamlessly with Apple computers. My wife has been telling me for a while she wishes she could use iPhoto and iWeb to host pictures online. Yeah, there’s PicasaWeb, and it works well with iPhoto, but that leaves iWeb… iDisk is nice, and the storage space you get is ample (20GB). Yeah, there’s gDisk and other “hacks” for using your Google storage space other than it was intended. I’d rather not risk having my account shut down for violating the usage agreement. Wow, I thought I’d have at least 3 reasons, but I guess I don’t. Hmm… <div> </div> <div> As you can see, Google has the upper hand, and most likely my services will remain with them. I can only hope that Apple does something to MobileMe that&#8217;ll convince me to change my mind. Knowing Apple, that probably won&#8217;t happen. </div>

August 20, 2008 · churnd

Linux at Home

I’ve been spending more time on my Linux install of my main dual-boot machine at home lately. I realized 95% of the stuff I did on Windows, I could do on Linux. I considered the other 5% a challenge I was ready to take on. I’m using openSUSE 10.3 x86_64. I’m planning on upgrading to 11 over the weekend. If you’re wondering why I chose openSUSE over Ubuntu, I tried hard to give Ubuntu it’s fair chance. I just don’t like that distro in the x86_64 platform. My experience has been that everything in openSUSE has just worked out of the box, that’s including Java and Flash! Can’t say the same for Ubuntu. I also think openSUSE is a better experience from boot to shutdown. The grub boot screen looks much nicer, as well as the splash screen while booting. The green theme is much more pleasant on the eyes than Ubuntu’s brown Human theme. Yes, I could change all of this, and I have in the past… but why should I have to? Operating systems provide a user experience, and the default themes matter. As far as the rest of the software goes, they’re pretty much the same through all distros, so I won’t go there. Gnome is my desktop of choice. I like it’s simplicity. KDE4 is awesome, but just not for me. Too many config options. Some notes: Being a Mac guy, I really like Banshee! Especially it’s DAAP server! Wine has really come a long way. Programs are easier to install and run more stable. WineDoors makes this easier too, especially with getting libraries and fonts. YaST is nice as a control panel… one place to go for everything. I actually prefer it to Ubuntu’s package manager, even though it’s a bit slower. I heard 11 is faster, so we’ll see. Transmission rocks as a Torrent client, especially with Clutch as it’s webUI. I’ll blog more about how I got that set up later. It’s easy to do… just requires a few must-do steps. Gnome-do is my new favorite Linux app. Really makes me feel at home since I’m used to Quicksilver. I need to commit to GIMP over Photoshop. I rarely ever use it, which makes it harder to do. I’d like to find a good, beginner’s video editing program like Premier Elements. I’ve tried some in the past, but they weren’t very easy to use. I should check into them again, especially Avidemux. <div> One very pleasant surprise was when I first booted into openSUSE. I had moved the PC and had been using wireless until I could get my home wiring done to reposition my router. I have this <a href="http://www.msicomputer.com/product/p_spec.asp?model=Dual_Net_Card&class=com">MSI Dual Net Card</a>. I was surprised that wireless worked right out of the box, but even more so that so did bluetooth! I had to figure out a way to get my new WPA2 key saved into the wireless config. I didn&#8217;t have a USB key handy, so I thought&#8230; maybe I&#8217;ll try to send it via bluetooth from my PowerBook. So I started up Gnome-Bluetooth-Manager, then fired up bluetooth on my PowerBook. The PowerBook saw the linux machine with no problem. So I chose to send the file, and it worked! I couldn&#8217;t believe it was so easy! </div> <div> </div> <div> If I had to list a gripe, it&#8217;s that wireless seems to cap off downloads at 100kb/sec. Not sure why, as downloads on my other laptops are unaffected. Must be some config setting with the wireless card, but I&#8217;m not going to worry about it much because the wireless is just temporary. It&#8217;ll be hardwired with gigabit to the router once I get the wiring done. </div> <div> </div> <div> I&#8217;m hoping I don&#8217;t find a reason to boot back into Vista x64 for a long time, if ever. I think my next step is going to be getting a Windows VM set up for seamless integration with those few Windows apps I need. If only I could have something as nice as VMware Fusion. Might be time to check out Virtualbox again. Ah, just checked their site and I see they listed seamless windowing since version 1.6.0. Time to check it out! </div>

June 20, 2008 · churnd

MacPorts

I love MacPorts. What a fantastic way to install open source software to run on a Mac. Sometimes I want to be able to run certain Linux/Unix tools on my Macbook Pro, only to find there’s no Mac alternative available. Or maybe I just prefer to do things the hard way via command line. I’m weird like that sometimes. You need Xcode to use MacPorts, so get it and install it if you don’t already have it: http://developer.apple.com/tools/xcode/. It’s free too!! ...

April 23, 2008 · churnd

Sync iCal with Google Calendar

I’ve been trying to find a good way to sync my iCal with Google Calendar. Spanning Sync is a good solution, but it’s not free. Enter GCalDaemon. As long as you read the documentation and follow it step by step, it’s a breeze to configure. I followed these directions: http://gcaldaemon.sourceforge.net/usage13-b.html You can use a calendar you already have. The trick is finding it. By default, iCal stores it’s calendar files in: /Users/*username*/Library/Application Support/iCal/Sources/ If you have more than one calendar, you’ll see folders with a bunch of random characters followed by .calendar. You can figure out which one is which by opening the Info.plist inside each folder with Property List Editor. Expand the Root key, and the Title string will have the name of your calendar. ...

August 27, 2007 · churnd

29

Following up on this post: It happened again, and I’m not sure why. I hadn’t hooked any other monitors up to the server since I had originally set it up. The only thing I suspect is I tried changing the display settings colors to thousands instead of millions to speed ARD up some. There’s definitely a bug… I’ll be watching Apple for an update. So I tried hunting the problem down a little harder this time, knowing it was in ~/Library/Preferences somewhere. Sadly, I’m still not exactly sure where, but I have a suspicion it’s in the ByHost folder, in one of the display .plist files. Either that or it’s one of the systempreferences .plist files in ~/Library/Preferences.

April 19, 2007 · churnd