SXSW 2005: Blogging Showdown

Here’s the abstract:

Representatives of top personal publishing companies talk about the strengths and weakeness of their applications, as well as discuss where this medium is evolving to in future years.

Sounds interesting, right? From these online notes it looks like it marginally did, but after 20 minutes of introductions and another 10 minutes of nearly content-less product pitchy stuff, I left.

(It looks like there was no chair-bashing, so I guess I didn’t miss anything)

SXSW 2005: No Absolutes: Social Software and Shades of Trust

I was really looking forward to Alex’s panel, and I’ll have to admit that I was pretty disappointed by how it turned out. It never seemed to get any momentum, was all over the place, and rarely touched upon any of what was implied by the abstract. Kathryn was rockin the SubEthaEdit on this one and has a comprehensive transcript on the notes exchange so you can judge for yourself. Also Ka-Ping Yee (hey, he’s put up a new Usable Security Blog up after SXSW), who I hadn’t met before came off very well (and IMO had the most interesting things to say).

For what it’s worth, here’s a quickie run-down of some things I might have liked discussed:

  • Defining trusts at the node, system, and meta-system level (not covering this first was probably what threw the whole panel off)
  • Control of personal data propagation through the network, specifically in addressing issues of social context friction/collisions (and their real world implications!)
  • Relationship management, particularly interchange, how they map
  • Good and bad ways to represent complex relationships – directionality, transitivity, type, explicit/implicitness
  • Actual different approaches for trust, application of the sociological/ontological into real-world systems

I’ve actually done a lot of thinking some of these issues (I’ve posted bits in the past), but it might be worth writing in depth sometime in the near future. In the past I’ve been of the opinion that the last thing the web needs is more punditry, but well, maybe not in this case.

Lastly, one thing I mentioned in the IRC channel at the end (did that get logged anywhere?) was that Danah Boyd gave a very interesting talk at ETECH 2004 on trust from a social theory perspective that I found to be quite interesting and an excellent way to get into the right frame of mind on these things.

SXSW 2005: Saturday 3:30PM

The “How to Hot-Wire the Creative Process” panel was supposed to be quite good, but unfortunately completely overflowing, so I spent most of the time hanging in the hallway. I swung through the “Blogs and Blockades” session, but the speaker was talking about which blogs he could access through the Great Firewall on China (didn’t we do this exact thing 3 years ago?) so I tried the “Uses and Abuses of History in the Education of Designers” next. I sat down, but after a minute I realized that words were being spoken, but entirely without content. I didn’t stick around.

External Notes:

SXSW 2005: Opening Remarks: Jeffrey Zeldman

To preface, keynotes this year are unfortunately incredibly crowded due to the fact that the keynote room is only a double-room, so you need to get in really early just to get a seat/in the room. Boo-urns.

Zeldman’s remarks were an in-jokey, folksy, rambly thing — not an ‘essential’ talk if you missed it, but perhaps a good instroduction for the lots of new faces this year. I miss Billy and Jess too.

Secure Connections

One of my goals this year was to get myself secure (network-wise) for SXSW w/o having to using the corporate firewall. This is useful for a number of reasons:

  • Less brittle connections
  • No worries about connections while the firewall is down – this is an issue w/ auto-connecting applications like Adium/iChat
  • The ability to participate in Rendezvous/other local networks while being secure

So, it turns out that on OS X, this is trivial.

SSH comes built w/ a built in SOCKS server. Just SSH as so:

ssh -D 1080 user@example.com

And then set up your SOCKS Proxy to localhost:1080 in System Preferences -> Network Preferences -> Airport -> Proxies.

Go into each application (Safari, Adium, and iChat all support using the System SOCKS proxy setting. w/ Firefox you just enter localhost:1080 again) and you’re all set. (I have my email, IMAP/SMTP using SSL/TLS already, otherwise you’d want to look into proxying that as well. That, you can also just use a straight SSH tunnel)

You can use manually SSH to create the connection, or if you’re lazy like me, you can use the SSH Tunnel Manager for one-click action (you have your authorized keys set up (alternate guide) already, right?

To double check that everything’s hunk-dory, cut off ssh and watch all your connections fail. Or run netstat in your terminal and make sure all your connections are localhost.socks (except your SSH ones of course).

A Little Tidbit

Gamespy just posted an article on the specs for the next Xbox. Note the last line in particular:

CPU – Xenon’s CPU has three 3.0 GHz PowerPC cores. Each core is capable of two instructions per cycle and has an L1 cache with 32 KB for data and 32 KB for instructions. The three cores share 1 MB of L2 cache. Alpha 2 developer kits currently have two cores instead of three.

I’ve been sitting on this until it became public knowledge, but when I saw a dev machine last year, it occurred to me that it’d explain why that Microsoft blogger was fired a year and a half ago.

Bloc Party

Wow, Bloc Party‘s new album, Silent Alarm has caught me by surprise. I haven’t been this excited about an album in a while. I’m loving it. A lot. Here’s their opener:

Looks like they’re going to be in town right after SXSW. (Hmm, Troub is sold out already)

  • 21.03.2005 Pomona, CA Glasshouse
  • 22.03.2005 Los Angeles, CA Troubadour

Exponentially Smoothed Moving Averages in PHP

Wow, I’m a dumbass. While closing out tabs this morning, I found an article on Smoothing Time Series that actually explains this stuff in code terms instead of subscripted letters that made my eyes glaze over.

Looking back at the formula at the bottom of John Walker’s Exponentially smoothed moving averages page, it’s pretty clear how trivially easy the code is:


// Exponentially smoothed moving average function
function esma($in) {
  $out[0] = $in[0];
  for($i=1; $i<sizeof($in); $i++) {
    $out[$i] = $out[$i-1] + 0.1 * ($in[$i] - $out[$i-1]);
  }
  return $out;
}

Here’s an output comparing a 20-day simple moving average, a 20-day exponential moving average, and the exponentially smoothed moving average. You can see the latter two are almost identical. The advantage of the exponential averages are that they track from the first point (instead of the simple moving average’s offset). The exponentially smoothed average uses a smoothing constant, so it doesn’t depend on the a size window):

Also, here’s the source.

WordPress 1.5 Apache Authentication Haxie

Before I forget here’s a quick and dirty hack for enabling Apache Authentication in WordPress 1.5 that I whipped up the other week:


# line 20 of wp-login.php

if($_SERVER['REMOTE_USER']) {
  $action = 'login';
}

# line 162 of wp-login.php
if($_SERVER['REMOTE_USER']) {
  $user_login = $_SERVER['REMOTE_USER'];
  $user_pass = $user_login;
}


# at the top of wp_login in wp-include/functions.php

if($username == $_SERVER['REMOTE_USER']) {
  
  $login = $wpdb->get_row("SELECT ID, user_login, user_pass 
                           FROM $wpdb->users 
                           WHERE user_login = '$username'");
  if ($login) {
    return true;
  }
}

.htaccess are applied to <File wp-login.php> and to the wp-admin directory

There’s a more “proper” WP 1.5 Authentication Plugin but I couldn’t get it to work and the do_action() callbacks were annoying/impossible to debug. Daniel generously offered to help get it working, but if we use it for what we’re planning to, the above hack should be fine until Apache auth makes it into WP core.

One other note: there’s no ‘scheme’ so http/https is broken on the CSS linking for the admin. That needs to be changed from the WP options.