SXSWi 2008 – Friday – Day 1

BTW, I’m at the South By Southwest Interactive (SXSWi) thing again this year. W00t for me.

I woke up at 5am to make my way to the airport. I flew Southwest to Austin by way of Dallas. Unlike everyone else who flew the day before, I had 0 problems. I’m quite happy about that. I hopped a ride in the nicest cab I’ve ever ridden in. It was a brand new, taxicab-yellow Dodge Charger. I also conversed with the most interesting cab driver I’ve ever met. We talked about his troubles interfacing his website with a mysql backend. It was fun to be knowledgeable. If you are going to make a new website then make sure you get a dedicated server.

I’m at the Raddison again this year. While it is a little further away from the convention center, it’s not nearly as far away as the La Quinta that I stayed at my first year. Never doing that again, let me tell you. I checked in early, they thankfully had a room already available, even though it was 11:30ish when I checked in and normal check in is 3pm. Yay for that.

I hadn’t eaten lunch yet, so I checked in with Jeffy and met him and some other folks – Nathan, Christian, Sara, and for a short time Sarah. I had a so-so caesar burger with waffle fries. Oh, and roughly 5 Negra Modellos and a White Russian. Tasty. This was the first and second time I heard Jeff’s story about Ariel Waldman.

After that, I headed down to the convention center to pick up my badge. This process, according to everyone else I talked to, was to be a very quick process. In fact, it was to be “the fastest it’s ever been.” Those people are fucking liars. I believe from when I joined the line to when I got my actual badge in hand, it was about an hour.

Afterwards, I headed back to the hotel to grab a quick nap before the nights festivities. There is an annual initial party called ‘Mix at Six,’ which is held at a bar called Six. I got there around 6:20ish. The line was around the block. Quite different from previous years. I caught up with a bunch of folks and we headed down to the always popular Iron Cactus for some dinner. By the time we got there, it became known that Mike Davidson wasn’t going to make it down to SXSW. In accordance with this, everyone had to do a Jager shot in his honor. I hate this Devil liquid. Dinner was quite good though: chicken burrito with white cream sauce with beans and spanish rice. Rice could have been cooked a little longer, but c’est la vie. Also: two Negra Modellos. Mmm. Also, this is where Jeff met the previously mentioned Ariel and told his story to her. He also told it to our table – so it was my third time hearing it that day.

After dinner, it was time to drink. So, we headed down to the Ginger Man. The Ginger Man is a lot like Barley’s Brewhouse in KC, only with not quite as many taps. I had a New Belgium 1554 and a Paulaner Hefe-Weizen which was too orangey. I also played in a team pool game with Christian, Jon, and Josh. We lost, I was kind of drunk.

At some point we decided we needed to go to the previously mentioned Six. I had a delicious Red Stripe downstairs and then we headed up to the upstairs balcony. The funniest part of this section of the evening was Josh trying to talk. See his twitter around that time for further explanation.

Around 11 I bounced and headed to bed, called the wife, and fell asleep in the 800-pillow bed.

Nerdery Links

In an attempt to post more on this site about stuff I find interesting, I think I’ll try doing a few ‘link round-up’ type of link lists.

Ext JS 2.0.2 Released

If you haven’t looked at the Ext JS framework yet, you really ought to. We use it extensively at work and we are quite happy with it. I just wanted to point out that the 2.0.2 version of Ext has come out. This release was mostly related to the new Adobe AIR 1.0 that was recently released. Currently at work we don’t do any AIR related things, but we’ve looked at dabbling in that field in the future. That being said, there are a few custom Ext components that were put in the Simple Tasks example that came out with this release. The TreeList, custom grid columns, and a switch button are all used in Simple Tasks, but their code could very easily be copied from that example to be put into any 2.x-compatible code.

Protocol https not supported or disabled in libcurl

Have you ever seen this error before when working with CURL:

“Protocol https not supported or disabled in libcurl”

Yet, you know that https works. Or even:

“Protocol http not supported or disabled in libcurl”

And you think, “What the hell? That’s basically what CURL is for. Why would HTTP not work!?”

Try wrapping that echoed out error message with <pre> tags:

Protocol  https not supported or disabled in libcurl

Notice anything?

There is an extra space before ‘https’. Make sure that when you do set CURLOPT_URL, you don’t put a space before the http, CURL won’t know what to do with it.

PHP And Nesting Ternary Operators

I came across an interesting quirk in PHP today. The way a nested ternary operator is evaluated in PHP is unlike that of any other language I’ve come across: left to right.

Ex:

<?php
$test = 'one';
echo $test == 'one' ? 'one' :  $test == 'two' ? 'two' : 'three';
?>

What do you suppose that prints? Wrong, the answer is ‘two’. Let’s break this down in how it is working, shall we.

<?php
$test = 'one';
echo $test == 'one' ? 'one' :  $test == 'two' ? 'two' : 'three';
?>

Here, I’ve emphasized the first ternary operation. What PHP will do is evaluate this section and return a value, in this case it is the string ‘one’. The boolean value of the string ‘one’ is true. So, for the second ternary operation, ‘two’ gets selected.

No other language I know of acts like this.

Hopes this help someone one day.