Wallpaper

I have something of a wallpaper fetish. I can’t stand bad wallpaper (too busy, colorful, etc). IMO, wallpaper should not distract the user. I use a Macbook Pro, so this has been my wallpaper for the past few years and I still haven’t grown tired of it. I think that’s a record for me.

November 25, 2008 · churnd

OpenSUSE ATI Problem

**UPDATED** Today I realized that changing the below mode from 0660 to 0666 is not the right way to go. There is an actual group in OpenSUSE called “video” that each user needs to be a member of. The “mode” is actually a permission that gives users of the group “video” access to the special DRI 3D stuff that the video card does. Well, by default, all users in OpenSUSE are a member of the video group. I happened to be using this method of migrating users to upgrade the workstation so I wouldn’t lose any passwords. Somehow, the users lost their video group membership, most likely due to the differences between OpenSUSE 10.3 and 11. That caused the error below. ...

October 23, 2008 · churnd

Open Directory with Linux

Here’s some really good links on setting up Open Directory with Linux clients: Discover the Power of Open Directory. Discover the Power of Open Directory Part 2. Discover the Power of Open Directory Part 3. It seems like the Mac DevCenter at O’Reilly.net has stagnated, so I printed these off to PDF just in case. :-)

October 16, 2008 · churnd

OpenSolaris svn_99

I’m really liking OpenSolaris. I’ve always wanted to get into Sun more, and OpenSolaris seems to ease the transition from Linux. Being a file server admin, I want to explore ZFS more. I can’t wait until it’s officially part of Mac OS X. I have it up and running in VMware Fusion, and have been using it since July (I think svn_96). If you follow that link, make sure you check the comments for other tips on getting it working in Fusion 2.0. ...

October 16, 2008 · churnd

Chandler Calendar Server continued…

I have been incredibly pleased working with the Chandler project’s calendar server. It’s so easy to set up and get running if you let the documentation guide you through it. It would take you 30 mins, assuming you already have some basic linux and mysql knowledge. My only gripe is that it won’t authenticate against directory services, such as OpenLDAP or Active Directory. I had a chat with one of the developers on IRC about this, and it didn’t seem like that feature would be added anytime soon. So, this would be a good way to share calendars for a smaller workgroup or at home.

October 10, 2008 · churnd

Darwin Calendar Server on Tiger Server

After finally playing around with Leopard Server, I realized there’s not much to their calendar server GUI. It relies mostly on Workgroup Manager settings, and for Open Directory to be turned on. Once I had a basic understanding of how it worked, I was able to search more effectively for a way to implement it on Tiger Server. I found this link, which worked well for me. After following the instructions, I was able to add my account in iCal and sync across two leopard clients. I wasn’t able to get the group thing figured out, and the web interface is a mystery to me (as in, why do I need it?). I’d have to get more comfortable with managing it if I were going to set it up on a larger scale, but at least it’s working! :)

October 10, 2008 · churnd

iPhone App Store Controversy

So, iPhone developers are pissed because Apple is apparently rejecting apps that “duplicate existing functionality” on the iPhone, and slapped them with a non-disclosure agreement to boot. This is definitely wrong, and bad for the iPhone’s future. Imagine Microsoft saying you can’t install Firefox on Windows because it duplicates existing Internet Explorer functionality. The uproar would be deafening. Let’s assume Apple doesn’t wisen up and correct their mistake here. What’s going to happen is history will repeat itself. The whole point of the App Store was to appease customers who desired their iPhone to do more than just what few apps Apple included. They were doing this on the 1st gen iPhone with the help of jailbreaking utilities. They were also using the jailbreaking method to use their phones on different networks. Apple’s response was, “Ok, we hear you… here’s the iPhone SDK and App Store.”. So now users and developers alike are all overjoyed, and the App Store is instantly successful. Users are happy, developers are earning money, and Apple’s revenues are up. Now the current controversy ensues. Developers are afraid to invest their time in developing an app that might not be accepted into the App Store. There are no guidelines for whether or not it will be accepted. They will not find out whether or not it will be accepted until the app is complete, meaning all development is done and time is already invested. Would you do work, expecting to get reimbursed for it, but not knowing whether or not you would until it was finished? Like I said, history will repeat itself. If Apple continues this pointless charade, users will go back to jailbreaking their iPhones to get the apps they want. Developers will find other ways of distributing their apps. It won’t be as beneficial to everyone as the App Store, but people will not stand to be censored. When you buy something, that something belongs to you. Nobody likes to be told what they can and cannot do with their own personal belongings. I have no idea why Apple is kicking themselves in the nuts over this. How does it help their bottom line? They’re losing money over this, and for what? Pride? Image? Apple is getting away with this for now because of their cult-like following, but they’re pushing their limits.

September 25, 2008 · churnd

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