Gruff skier is gruff!




Gruff skier is gruff!

Originally uploaded by eidolon

That was a great day of skiing.

This was yesterday (Saturday), up at Wachusett Mountain in Princeton, MA. Zach and I went up for a good chunk of the day, hauling our food and other goodies in ourselves (Holy cats is food there expensive. Better to just bring your own).

It was by far the busiest day I’ve ever seen there (with weather today forecast to be in the single digits, and it was), so naturally most of the east coast went skiing on Saturday.

Lift lines were in the 40+ minute range, which was reminding me of the days we skied at Hunter Mountain in NY.

Things sure have changed since then – the lifts are FAR faster, carrying 4 folks per chair, using that ‘zoomie launch’ bit, but the old tricks still work. Zach and I split up and took to the ‘singles’ line, and were able to zip through to the lift in about 10 minutes each run. Wahoo!

Zach had all new ski gear this time, after some successful ebay and craigslist scrounging. Didn’t have to deal with rentals at all. Another win. The gear worked great, and we both had a fantastic day.

A good way to killl an evening

Someone on a chat channel mentioned this site, and I’ve been browsing it off and on over the last few days.
The site is TVtropes.org, and is a vast collection of ‘tropes’ found not just in television, but in comics, manga, and film.
A trope, according to the home page:

Tropes are devices and conventions that a writer can reasonably rely on as being present in the audience members’ minds and expectations. On the whole, tropes are not clichés. The word clichéd means “stereotyped and trite”. In other words, dull and uninteresting. We are not looking for dull and uninteresting entries. We are here to recognize tropes and play with them, not to make fun of them.

The site has a horrific amount of information on it, in wiki form, though they are careful to state they are NOT wikipedia (“We’re a buttload more informal…”).
Some choice bits.
Regarding the ‘BerserkButton’ trope:

Marty McFly from the Back To The Future films: “Nobody… calls me… chicken!” This is a rare instance in which getting over the Berserk Button is part of the Character Development, or where the Berserk Button is even treated as a bad thing to have.

And, in the ‘BarSlide’ trope:

In Hudson Hawk, when Eddie orders a cappucino, the bartender slides it down the bar to him.

And it goes on and on and on.
I love the internet.

Cuz all the k00l kidz are doin it.

My Political Views
I am a left social libertarian
Left: 5.16, Libertarian: 3.93

My Foreign Policy Views
Score: -6.68

My Culture War Stance
Score: -6.67

Political Spectrum Quiz

I’m a little surprised at the strong libertarian side of things, as I consider myself a socialist. Some of the questions were… tricky in that I could have answered them in a certain way depending on the next statement. For example, “Do you support the death penalty if the crime is heinous enough” – I have to answer yes, but that is only under the assumption the legal system can be considered infallible. I have to answer the question as it’s stated, so had to say “Yes, I agree, strongly.”

A few of my favorite iPhone apps

I’ve had my iPhone for a few months now, and gone through the brain replacement that’s sometimes necessary to use Apple products, so I think it’s time to talk about some of my favorite iPhone applications.

At the top right now is AirShare from Avatron. It’s a simple app that starts up on the iPhone and sets up an active WebDAV enabled HTTP server. With some tools under windows, mac, or linux, you can mount that DAV as a filesystem, and voila, you have your own portable wireless data repository.

Admittedly, what I really do is play a lot of games on the phone. So, here’s a quicky list of some of my favorites:

  • Dr. Awesome!
    This game plays much like the old arcade game ‘Qix’, but has a wonderful comic bent to it. Presentation and gameplay are excellent, music track is enjoyable, and the steadily increasing difficulty isn’t too hard to deal with, though I agree with some commenters that after a certain point, it’s nigh on impossible to win the levels.
  • Tap Defense
    In the ‘Tower Defense’ model, this game fleshes out the premise with a mildly interesting storyline (Demons are escaping from hell, you’re trying to keep them from getting into Heaven). It took me about 4 weeks to complete the game on all three levels (easy, medium, and hard). And on the Hard level, I had to go to the net to get some hints. Each full game can take 30 minutes to an hour to complete.
  • Jewel Quest 2
    This is an oldie but a goodie. It’s been around for ages from I-Play in various forms, but the iPhone version is a good clean port of it. Very long storylines, steadily increasing difficulty. Took about 3 weeks to complete the game end to end.
  • Galcon
    Galcon is a realtime strategy game for the iPhone that’s faster paced than most RTS games, but still keeps the tactics element alive. It borrows many ideas from some old skool strategy games I played in college. The higher levels are hard to win, though you can play network play against other ‘live’ players anywhere on the net.

The potential for the iPhone to be a powerful gaming platform I feel is only just being realized. More and more high resolution excellent games are coming out, and the phone handles them with great aplomb. I’m looking forward to finding more.

Realtime Arisia conversations via Twitter

Hey, this could be fun. I’ve set up a script that watches twitter for the hashtag ‘#arisia’. When it finds a tweet with that in the message, the script retweets the message over to @arisia. So, if you’re coming to Arisia, and use twitter, add @arisia to your follow list, and join the conversations in realtime with your fellow Arisians!
To have your tweet show up in the @arisia group, just add to your tweet.

A day of music ripping and MPD updates




Yawl as of January 2009

Originally uploaded by eidolon

(How geeky is it that I blog pictures of my computers?)

Continuing the ‘home sick during a snowstorm’ thread, today I set up a couple machines in Chez Geek for ripping and tackled my backlog of CD’s from my great cd un-casing.

The trick here was to get enough machines running so that I was always ripping music, but not getting too nutty running around to different consoles.

After some fiddling, I got 2 grip processes running on ‘yawl’ – one on the external USB cdrw drive, the other on the internal generic ATA drive. The external one ran the fastest, ripping at around 6x times on average.

I also ran a grip process on ‘algol’, my laptop. I configured up X so I could display the 3 grip sessions back to algol’s screen, so had a view into how all 3 ripping sessions were running, and settled in to feed cd’s.

All in all it worked pretty well. A cd change happened every 4-6 minutes. If I hung around in the room, I could flip CD’s pretty quickly as they came up for changeout. As it was, I kept wandering aorund in the house, so there were times I’d come back and all 3 drives were gaping open, the rippers idle, and the feeling that somewhere a machine was going “Well? Any more?”

Total disk space consumed is somewhere in the 2-3 gig range, perhaps 40 albums ripped. ‘yawl’s load average hovered in the 4-4.5 range, and seemed to take just fine to everything I was demanding of it.

I’m only about 1/4 of the way through my whole CD collection. I think next ripping job will involve 2 more machines with better CDrom drives, and then I can really get in the groove.

Grump about Compiz + GL + blinking

Being home sick makes me turn my attention to gaming. I’ve gotten back into Puzzle Pirates, and that’s been good for multiplayer, general quiet entertainment. I’ve backed off on Eve Online, for a number of reasons (not being home / in front of a windows game machine all the time is pretty key).

Last night I decided to do a little more involved gaming on ‘algol’, my linux laptop. HappyPenguin provided a couple interesting options, a few showing up in apt, so I installed one.

The problem is, the app I chose (SuperTuxKart), blinks like crazy when running. I’d seen this behaviour in the Compiz / Xscreensaver screens, but thought it was something specific to XScreenSaver’s interraction with Compiz. Alas, that’s not the case.

This is a known problem with Ubuntu installations that use Compiz as their default compositing window manager. According to this page on the Ubuntu wiki…

Summary
Currently opengl apps do not work correctly when composite is running. This is a BIG bug and annoyance for desktop users, especially as composite-by-default is set to be included for gutsy. This should be fixed via redirected direct rendering. It is especially important as modern applications use opengl interfaces, such as blender and google earth, but also for smaller opengl parts, such as the visualisations in amarok.

Rationale
Users of ubuntu, both advanced users and novices, find it annoying to have to disable the compositioning window manager whenever they want to run an opengl accelerated application. Solving this requires deep changes to the structure of the X server and the display drivers, and is a future plan for the Xorg devs: http://dri.freedesktop.org/wiki/DirectRenderingToRedirectedWindows (A prototype for this has been developed by Kristian Hogsberg: http://hoegsberg.blogspot.com/2007/08/redirected-direct-rendering.html). However, it is a big job, so I believe that the Ubuntu devs should help out.

So, if you use Ubuntu and GL apps and Compiz, and you have the blinks, there’s no known fix. I’m guessing it’s specific to certain video drivers, because I know some systems work fine, but on this machine (which uses an Intel 945GM chipset), looks like it’s no GL for me.

Suggestions for Network Filesystem Technology?

I’m looking for suggestions on how best to set up filesystem services for my local network. I’ve built out a decent fileserver (‘yawl’, running Ubuntu Linux) with a series of external HD’s, and I want to make those filesystem(s) available to client machines.

There’s a couple caveats. Whatever solution I use has to have the following features:

  • Centralized Authentication / Authorization
    Per my recent post, I’m liking the idea of using a centralized authentication server for account management. This is the role traditionally filled by Microsoft Active Directory. I have no interest in dedicating a new machine, paying Microsoft money, and introducing a whole new layer of ‘customizations’ to standards, as Microsoft is wont to do. Whatever solution I use needs to provide cross-platform support based on existing standards and tools. LDAP + Kerberos is what I have running now, but I can look at others.
  • Multi Platform Support
    I’ll need support for various client platforms. The big three – Linux, Mac, and Windows are a given. I don’t mind needing to install simple tools on each platform (for instance, for Kerberos ticketing on Windows, you need Kfw, etc).
  • Inexpensive or Free
    I have zero budget for this project, other than hardware. If I’m supporting my half dozen clients initially, with a possibility of a larger deployment later, the solution should be available in opensource.

Now, I already hear the cry. “Why not just use CIFS, the ‘windows’ fileshare protocol? Everyone uses it, and Samba is a great system.” That’s because from everything I’ve read, Samba cannot use an external authentication system OTHER than active directory. It vaguely supports Kerberos, and vaguely supports LDAP, but only to the level that an Active Directory server provides. I can find no clear documentation or even loose information that states how to configure Samba to authenticate in a non-windows Kerberos realm.

So where’s that leave us? Well, there’s a couple to consider:

  • AFS – Andrew Filesystem
    AFS is used at MIT and CMU, and is directly coupled with Kerberos. My understanding is it’s pretty damned cool, but it’s not really meant for ‘small’ environments like mine. I’d be happy to be proven wrong. I also don’t know if AFS clients exist for Mac and Windows
  • SSHFS – the SSH filesystem
    Not a bad idea. SSH is widely supported, well known, and seems like it’d do the job. Unfortunately, the sshfs is a FUSE system, and requires some tweaking on the Linux box to make it work. Secondly, I can find no support for sshfs clients in Windows or Mac. Alas.
  • NFS – The original Sun Network Filesystem
    Ahh, the good old days of NFS. Everyone knows it, everyone supports it, as far as I know, no one really likes it. At least NFS’s weaknesses are well known. In addition, I don’t know how good the NFS client support in Windows and Mac is.

So whadya think, world, what should I look at? Is there hope?

A KDE User Switches to Gnome. The World Trembles

It’s certainly no secret that I’ve been a KDE fan for ages. I’ve been using KDE as my primary Linux desktop for going on 10 years now. In all that time, I’ve made occasional forays into GNOME, but every time ran in fear at the sheer idiocy of the interface. Either it was too ‘smart’ doing ‘really cool stuff!’ or it was dumbed down to the point where it was impossible to use. A steady litany of “Oh, just edit gconf to fix that” or “you need to recompile such and such a module, that’s been patched” made me run back to KDE’s stable, consistent, powerful interface.

When Ubuntu 8.1 came out, I installed it onto a Dell D520 that I had available. Being a KDE geek, I said “Sure, lets run KDE4.”

What a disaster.

KDE4, despite the fact that it has been marked as stable and ready, is a complete mess. Unusable, unintuitive, unstable. I spent 2 days trying to make sense of the frequent crashes and missing componentry, and gave up. It was time to try Gnome

Gnome, on the other hand, was delightful. They had finally struck the balance between “make it as simple as you can” and “make sure all the necessary functionality is there.” The package managers are sane and work, the configuration tools are consistent and do the job, the desktop, while sparse, is eminently useful, and it’s fast. I have done 4 Ubuntu 8.1 installations now, and each has gone without a hitch. The only ‘missing’ bit I’ve had to deal with involved a missing package from my first Kubuntu -> Gnome upgrade.

This bothers me in a bunch of ways. What happened to KDE? I think it can best be summed up as ‘Gnome grew up’. KDE stayed ahead of Gnome for a decade. It took that long for the Gnome folks to get it together and come up with something that actually works. What I worry about is that didn’t happen through careful UI design and deliberation, but the result of years of trial and error. The fear is that just when they get it right, they’ll either stop working on changes to the desktop (thereby stagnating the environment), or will try more radical ‘upgrades’, breaking things again.

Time will tell. But for now, I’m pretty happy with Gnome.

Baby steps on centralized authentication

I’ve had a small project churning along in the background for the past couple weeks. The goal is to come up with a way to have Active Directory like services for an all Linux environment without going through a major yak-shaving exercise of setting up all the individual components.

My first glimmer of hope in this idea was finding Zeroshell, a Linux live CD application designed to run all the major components for a network from one simple install. It includes LDAP, Kerberos, DNS, and a well put together web interface, making setting up the server side of things quite simple.

The goals of the project are pretty straightforward. Mimic the single-point authentication / authorization services that Active Directory has, and configure all clients in the network to use a centralized server for these functions. Adding a user to all machines should be as simple as adding said user to the central server.

Here’s where I am so far…

  • Build a central server with all the services enabled and accessble. Status: Done – Zeroshell is the answer there. Booyah.
  • Learn enough about how central authentication and authorization works. Status Done – These sorts of functions require LDAP, DNS, and Kerberos services.
  • Set up a single client machine that can retrieve credentials from the central server. Status: Done – Enabling Kerberos on Zeroshell and installing the krb5 suite on Linux and KFW – Kerberos for Windows allow single login and ticket generation.
  • Configure a host computer to act within the realm and accept credentials from the zeroshell server. Status: Done – My media server, ‘yawl’ is acting as my guinea pig. It’s now a part of my internal realm, and accepts Kerberos credentials from the zeroshell server when requested.
  • Configure a host computer to use LDAP for extended GECOS information. Status: Done – ‘yawl’ now allows me to look up users that are being served from LDAP as if they were local users. I can use ‘finger’ ‘getent’ ‘id’, etc – and as far as ‘yawl’ is concerned, they’re local users.
  • Configure PAM to accept Kerberos authorization for ssh logins. Status: Done, dammit. This was the trickiest bit, because it requires the correct fiddling between PAM, Kerberos, LDAP, and ssh. But this afternoon, I was able to log into ‘yawl’ via kerberos-backed authentication from both my Windows box and my Linux laptop, without needing to provide a local password. Score!
  • Allow Samba shares to be mounted / authenticated via Kerberos. Status: Not working yet. I’ve only just started this side of things, but I want to be able to browse shares on ‘yawl’ as if they were natural Windows CIFS volumes, while authenticating via Kerberos, as managed by the zeroshell machine. This’ll take some time.

99% of the work for this process has been learning the terminology of Kerberos, LDAP, and PAM. Once all the pieces are in place, it actually makes an awful lot of sense. But there is one well shaved yak behind me. I’m documenting each and every step of this process, so that when I upgrade my colo’ed servers, I can implement a similar setup.

Feel free to catch me online if you have questions, but stay tuned – I’ll be writing a pretty in depth HowTo on this entire process once I’m able to repeat the configuration end to end from scratch.