Stargate SG-1 Season Premier

Wow. The Stargate SG-1 season premier was on. It was… wow.. that was bad. I think I’m just going to sit in a corner and sob lightly for a while. I don’t think it could have been worse if they tried. They destroyed SG-1. Hopefully some good effort will be put on Atlantis. I guess I get to take SG-1 off my Tivo now 🙁

libsexy, mmmmm

I just put out a release of libsexy and the new GTKMM bindings, libsexymm (pronounced “libsexy, mmmmmmmmm”). The files will probably move at some point, but for now, they’re available here.

I moved GalagoGtkIconEntry into libsexy, and renamed it SexyIconEntry. Also, SexyUrlLabel has been fixed up to allow for hyperlinks that span multiple lines. Thanks to everyone who pushed me in the right direction there. It’s also been optimized a little.

This is not a stable library. I imagine I’ll break things without soname bumps right away, but maybe not. Who knows? This is just a fun library, but useful.

Obligatory screenshots follow.

SexyIconEntry
SexyUrlLabel

SexyIconEntry
SexyIconEntry

Beagle with Galago support

The release of Beagle 0.0.12 rocks. Among the many reasons is support for Galago, provided by Lukas Lipka. This just kicks ass. Simple, informative, useful integration that doesn’t get in your way. Now if some other IM clients will step up and provide at least optional support for Galago, non-Gaim users will be able to get this functionality as well.

Beagle with Galago support

Headline: “Victim Dead In Apparent Caltrain Suicide”

As we were getting ready in the morning for a day of furniture shopping, Jamie noticed that the train across the street came to a hault. Not long after, I heard sirens and looked outside the window to see some ambulances and fire trucks rush by. I noticed that the sirens stopped as they got off right by here. That’s when I noticed that the train wasn’t moving. I shuddered and said that something bad just happened.

We counted I believe 9 police cars. We could see the train, could see people on the train, but still had no idea what had happened. The train was there about an hour before we left. I knew it couldn’t have been something as simple as someone who needed medical attention. With all those police guarding the tracks and an hour-long stopped train, it was obvious that it was something more.

So I finally checked the local news, and saw this, courtesy of PaloAltoCaNews.com (article) :

PALO ALTO, CA – A person apparently committed suicide this morning by standing in front of a Caltrain train in Palo Alto, Caltrain spokeswoman Jayme Maltbie Kunz reported.

The incident occurred around 10 a.m. one quarter-mile north of the East Meadows Crossing in Palo Alto, Palo Alto Battalion Chief Niles Broussard reported.

This man committed suicide just across the street from my apartment, while my girlfriend watched. She couldn’t see it happen, fortunately, as there were trees there. It probably would have scarred her, I’m afraid.. Man, creepy stuff. I don’t feel at all comfortable knowing a guy killed himself by train right across the street from my apartment. *shudder*

Be afraid, be very afraid

There’s so much fear lately. This isn’t really new, but I’ve been hit by it twice in the past few days. The problem is that with fear comes distrust, and with distrust comes mistreatment.

During a very fun vacation at Disneyland (which I shall blog about later), my girlfriend lost her wallet, which contained her ID. She was going to take Amtrak back home from my place, but of course, you need a photo ID to get on the train or on the buses. This wasn’t that much of a surprise, I guess, but we started wondering what would happen if a person got mugged far from home and needed to find a way back — plane, bus, or train. Without ID, you’re stuck! I called up Amtrak and explained the situation, and asked if there were any options. Nope. The guy on the phone said that “with all the terrorist attacks in the United States nowadays,” photo ID is required.

I’ve heard this from others too. People are under this impression that we’re under seige 24 hours every day. I guess that’s what they’re supposed to think, given how the news depicts things, and our wonderful “You’re in danger!” color system.

“Terrorist” has become a catch-all phrase. If we still had a major threat of pirates (the sea kind, not the software and media kind), we would probably be calling them aquaterrorists.

The second incident was today when, after a very long day full of typical crappy Monday things (it’s surrogate Monday, due to Monday being a holiday), I decided to go to Fry’s to pick up a few things. Now, I ended up walking home today from work, and I keep my laptop in a backpack, so I entered Fry’s with the backpack on. I didn’t really think about it at the time, though. One of the employees stopped me as I was walking through one of the aisles, which is to be expected. They’re of course worried about someone stealing something. What I was upset about was how they treated me. I ended up in the middle of the front of the store, where everybody was walking through. They looked in my backpack and had me take out my laptop and show it to them.

I wasn’t too upset at this point, but then another employee came by and, with a less than friendly tone of voice, demanded to know what I was doing in Fry’s with a laptop. I explained that I had just walked in from work and stopped there on my way home. His response was “uhh huhh..” in that “Yeah, right” tone. He told me he’ll need to take the backpack. I asked where it’s going to be put, and they said “somewhere safe.” I asked where. He repeated himself: “Somewhere safe.” I asked where again. He finally told me that it’ll be behind the counter. I said, “The laptop is expensive and it’s my primary work computer. I want to make sure it’ll be taken care of.” He got a bit agitated at this point.

So, they stuck the backpack right behind the counter, where really, anybody could get it. I walked around for a few minutes and decided not to bother giving them my money today. When I went to pick up my backpack, the second guy gave me this look like, “Yeah, knew you’d be back so soon.” I picked up the backpack and left. The way they handled it was just embarrassing. Pulling me off to the side and talking to me like I was a person, rather than talking loudly and accusingly in the middle of a crowd, would have been fine. I’m now making those purchases at newegg. Fry’s lost a sale because two of their employees couldn’t treat me civily.

Fear is natural, and everybody fears something. The problem is when people let fear control what they assume of a certain person or class of people. And that’s something that’s now all too common in this day of “Don’t cross the street alone, the terrorists will run you over in their car.”

libsexy – Doing naughty things to good widgets

I’ve been needing a label widget with support for embedded URLs lately for a couple of projects, but nothing was available that met my needs. So last night I put together libsexy, which will be my testing ground for experimental widgets that do things that I consider very wrong but very cool.

The first widget I put into libsexy is SexyUrlLabel. It’s an actual GtkLabel subclass with a custom sexy_url_label_set_markup() function. This function takes the same markup that gtk_label_set_markup() takes, except it also groks <a href=”…”>…<a>. The link turns into the standard blue text with an underline. Moving the mouse over the link changes the cursor to the standard hand cursor. Clicking it will emit a url_clicked signal, and right-clicking it will pop up a menu with “Open Link” and “Copy Link Address.”

Sexy URL Label

The only problem I have encountered so far is that if you have a link that spans multiple lines, the hyperlink won’t work on the second line except for parts below the top line’s link. I’d like to blame Pango for this, but I know someone will tell me a way to make this work 🙂 I’m currently getting the X and Y coordinates based on the range that Pango specifies for the attribute, but this doesn’t handle line wraps well. Suggestions are welcome.

This will be going into notification-daemon probably today. I won’t be around after today until next Saturday or Sunday. I’m going to Disneyland with my girlfriend and my family, and won’t have net access (nor do I want it). If anyone messes around with the widget and has any patches, please send them to me and I’ll get back to you when I’m next available.

Update: notification-daemon now uses SexyUrlLabel. Markup (as per the spec) is supported and links are supported. Have fun!

88 != 103. Incidentally, San Jose was lovely today.

I left work a little early today so I could pick up a package at the apartment office that just arrived before the office closed. I was on the phone as the bus pulled up, but I was busy fumbling for my bus pass, and didn’t read the number on the bus. There were two buses that went to that stop, and the 103 left, leaving the 88 to arrive. I assumed, therefore, that this was it. It wasn’t.

A long trip later, with plenty of stop and go traffic, I was in San Jose. I’m in Palo Alto. For those that don’t know, the bus route goes like this: Palo Alto, Mountain View, Sunnyvale, Santa Clara, and then San Jose.

A brief 10 minute wait in San Jose and the bus back home arrived. I fortunately managed to get a lot of work done on the libgalago GLib port on the bus.. And now I’m finally home. 3 hours later. Now I’m going to just sit here.. watch TV.. *yawn*

Silent Noise

So we don’t have flying cars. That’s okay, I didn’t think they were a great idea anyway. There are no personal android helpers. They’d just take up my closet space anyway. What I can’t figure out though is why we’re still using wired headphones. I know there are wireless ones available, and that wireless phone headsets are becoming more popular, but it sure is taking a while.

The wires a nuisance, I believe, but it seems most people have become accustomed to them. I still haven’t. I sometimes get my arms or backpack tangled in them. If I’m listening to my Rio and stand up without thinking, the Rio will fall to the ground. And they just look ugly!

I’d like to see a future world, maybe 3000 or so at this rate, where every earphone set can communicate wirelessly to devices through, say, Bluetooth. I want priorities in the devices where, if I’m listening to music and my cell phone rings, the music will mute and I’ll hear the ringing. Tap the headset/earphones and it’ll answer the phone. When listening to music, a tap could pause/unpause. No more pressing buttons on the device or changing volume if I need to listen to somebody who’s talking to me.

How hard would this be? We’d definitely need a standard for communications and priorities, and every upcoming CD player, MP3 player, radio, etc. would have to support it. The technology for actually doing the communication would have to fit inside the earphones/headsets, though that’s probably doable or close to doable now.

If we all wanted to look like cyborgs, there are other options if we kept these on or with us all the time. A TV in a bar or pizza place or even at home could mute its speakers and yet still broadcast the audio wirelessly. If you need to listen to the news real quick, and it’s too noisy in the restaurant, put on the headset and listen in clearly.

Just some stuff I was thinking about earlier.

Waterfalls and Wooden Steps

I decided to take some pics of the outside area of VMware the other day. I finally put them up. Walking past the pond and waterfalls and fountain and all that greenery is a nice way to start each day.

Outside VMware
I walk through here to go to my office every day.
Scroll to Top