[lang]

Present Perfect

Personal
Projects
Packages
Patches
Presents
Linux

Picture Gallery
Present Perfect

ski

Filed under: Flumotion,General,Travel — Thomas @ 01:42

2010-03-09
01:42

As we are deluding ourselves here into thinking it's snowing in Barcelona, I thought it appropriate to post some videos from the past few snowboarding trips.

Coincidentally, this is my first foray into the HTML5 video world - more on that later.

Let's start with my favorite, the one where I show off how years of gymnastics in my youth help me keep my body in one piece:

(Also notice the cool new orange snowboard pants that I settled on. Snowboard fashion was really boring this year, mostly grey and black only, with some ugly flashy colours as exceptions. I leave it to you to judge whether orange is one of them).

We spent eight full days in Tignes, France, with only about three days of sunny weather, and the rest filled with clouds and snow.

My goal this year was to learn how to do a 180. With the help of an instructor, that's exactly what I did! Here's an admittedly simple one - all the good ones are not caught on video.

Here's a more aggressive one with a bad ending:

A few weeks before our snowboard trip, we also had a business planning weekend which included one day of skiing. Xavier risked life and limb following me around with his iPhone to record this. It's not the most exciting descent in the world, and he ended up missing my one fall in it, but I was surprised to see how short the whole descent really is if you don't take any time to stop!

And here are Xavi and me relaxing over cheese fondue and raclette the day before the skiing:

Some notes about the HTML5 video part:

  • there is an enormous difference in colour between playing Ogg in Firefox, MP4 in Safari, and MP4 in Quicktime, on the same MacBook. My pants range from a soft orange to a bright red. Something is obviously up!
  • To learn about HTML5, I started with Dive into HTML5 Video, then learned about Video for Everybody, some web code that handles all of the stuff I don't know how to do for me and just makes sure the video can play on Firefox/Chrome/Safari/iPhone/...
  • Then I looked for WordPress integration, and found a plugin with a long name that implemented most of Video for Everybody. I modified it a little to do something more sensible for the poster image in case it's external, and to accept .mp4 as an extension instead of .m4v (which is not suggested by Dive into HTML)
  • I configured our transcoding platform to generate the three types of output file needed to support HTML5: the thumbnail, Ogg/Theora/Vorbis, and .mp4 with H264 and AAC.

The embedded video should work fine in Firefox/Safari/Chrome/iPhone/Opera (except in Aitor's "I plug mplayer into Opera" case), and work fine in Explorer too where it falls back to Flash.

I couldn't get this to work in Android. 2.0 is rumoured to support the video tag, but so far no dice, and I couldn't find a single HTML5 video page online that the Android phones over here can play. If you can see these videos embedded in Android, or know what I should to fix them, please do let me know!

Brain damage

Filed under: GStreamer,Open Source — Thomas @ 10:32

2010-01-26
10:32

Tim pointed me to a bug report about GStreamer. I couldn't resist from commenting on a comment that questioned my mental capacity :)

(In reply to comment #4)
> I still wonder who invented such ugly naming scheme for gstreamer plugins?

I don't think you wondered really hard because it's not that hard to find who
did. It was me.

> Who
> is this completely braindamaged guy, who combines all plugins into several
> packs, which names says nothing about their actual content.

If memory serves, the same guy that you met in person some years ago.

> I still hope, that sometimes there will be a great developer, who will split
> these good/bad/ugly/etc packages into something more suitable for end-users.

And I still hope that some people will not assume everyone else is stupid just
because they're talking on the internet.

Whether or not the GStreamer plugin-split and its naming was a good idea is obviously debatable. I still think that we did the right thing there, and he could have read the explanation.

But regardless, people, seem to think that because it's the Internet, common courtesy isn't necessary. Especially in our communities, people can get abrasive online where they wouldn't be in real life because they have a real person in front of them.

Often, these people emulate people like Linus Torvalds, who is known to have a certain abrasiveness. Linus gets away with it because he's made undeniable and genius contributions to the community. The problem are the disciples, taking him as an example, confusing correlation with causality, and copying his abrasive style thinking it will lead to genius.

I'm extrapolating this particular bug report here - I can't or won't comment on his contributions, which are many as well. I know about a lot of them, since he interviewed here for a job a year ago. I'm mentioning this to make sure you know that the Internet is not always as anonymous or isolated as you think it is. You can't delete stuff from the net, and people will evaluate you by your online presence, for better or worse.

And if the person commenting is really interested in the plugin split, feel free to talk to me, but let's keep the chatter out of the bug report.

Now excuse me, I'm late for my CAT scan. Better safe than sorry!

UPDATE: someone commented that I breached etiquette; so I removed some details like the bug report and a part of the comment. I should have thought it through, I had no idea what I did was considered as such. My excuses.

Save MySQL ?

Filed under: General — Thomas @ 11:49

2009-12-13
11:49

I was surprised to read Monty Widenius's plea to help save MySQL.

On the one hand clearly I sympathize and want to keep MySQL free. I am not entirely sure how that's not already possible given that there's always the option of forking, but I'll leave that aside.

However, I don't really get what Oracle is doing wrong here. In my opinion, Monty should have made sure when MySQL was sold to Sun to get all the things he's now asking Oracle to commit to in writing. Sure, Sun didn't have a competing product. But Sun is a company, and to not even consider that the company you're selling to can be taken over by any other company, or can sell off your product to some other company, seems pretty dumb to me. Who were the other rumoured potential buyers of Sun ? IBM was one of them, no ? They have a database, no ? That database gets hurt by MySQL in the market as well, no ?

So, since I'm just an armchair commentator, I don't really know what to do here. What do you guys think ? Surely I'm missing something obvious about what Oracle is doing.

PulseAudio and Firefox

Filed under: General — Thomas @ 11:12

2009-09-11
11:12

Taking further notes as I try and work through the various questions and problems that plague my setup with PulseAudio.

If you can shed any light on the following, please do!

  • Whenever pulseaudio crashes, sound in Firefox doesn't work, even after restarting pulseaudio. (pavucontrol seems to suggest I'm using the ALSA plug-in for firefox). I assume we can agree that this is a bug. Can Firefox use pulseaudio natively, without the alsa emulation ? Is there any other way to make Firefox sound work as long as pulse is running ?
  • I'm trying to figure out why my F-11 desktop/client cannot see the devices from my F-9 media machine/server anymore - yesterday I had it working. avahi-browse -a -t on the server shows the sound cards exported; on the client, the same command lists all the other services on that server, except for the soundcard. paprefs on the server tells me that the devices should be fully network-reachable and exported. What else could be causing this problem ?
  • If pulse is for some reason not running on the server, should it be possible for an audio app on the client to trigger the server's pulse to start, similar to how it works on the local machine ?

New Year’s Resolutions

Filed under: General,Hacking,Life — Thomas @ 12:26

2009-08-16
12:26

I used to make fun of people making new year's resolutions. Why decide some loftly goals quickly on the last day of the year only to break them a month after ? How many people that quit smoking on New Year's Day actually make it through a year ? Why put yourself through the ridicule of your friends like that ?

But last year on one of those rare weekend days I was taking stock of my life I did come up with some things that I wanted to get done or improve on. And as the end of the year was approaching, I was wondering how I could make these goals attainable. How could I make the ridiculous concept of New Year's Resolutions work for me ?

I theorized that, for them to work, I needed:

  • goals that I actually want, that are missing from my life
  • some alignation with where I want my life to go
  • some concrete target for that goal
  • a way to check my progress against the goal
  • a commitment (to myself or others) that these goals are important and take precedence

For long-term life goals, I want to enjoy more culture, enjoy life, and be healthier.

Roughly, these were the resolutions I made:

  • standup comedy: I've always been interested in going to see it, and for some reason I never do. And when I see stuff on TV I keep thinking I should go. Culture and enjoying life.
  • dance more tango: a requirement before we go to Argentina IMO. Culture and enjoying life.
  • cook more: I very much enjoy cooking, and I'm not bad at it either, but I want to get better at it. Culture and enjoying life.
  • rerip and organise my music collection: since moving to Barcelona I have bought 400 CD's that aren't in any computer, and everything else is all over the place. Enjoying life.
  • learn catalan. Culture.
  • see more movies Culture.
  • sleep before midnight: I am a perpetual late sleeper, and I need to start changing my sleeping patterns. Health.
  • improve my GTD use: I'm getting good at it, but I'm sure I can make this work better for me. Health (mentally) and enjoying life.
  • sports - play basketball again. Health.

Why does it help to make these resolutions ? Because it turns into an easy list that helps you make decisions at those times where you need to decide something quickly or are making plans for the week.

Do you stay at home reading books or find someone to go to the movies with ? Movies is a goal, so go. Do I accept a job interview meeting on Tuesday at 15:00 or do I stick to the basketball planned ? If I'm behind on basketball, then the meeting needs to move. Shall I eat out tonight ? If I'm behind on cooking, then no. It's actually liberating for an eternal undecider like me to just decide based on goals set earlier.

So, with that list in mind, I formulated some more concrete goals for some of them:

  • standup comedy: go see four shows this year. Let's start gentle, you have to get tickets well in advance over here.
  • cook more: cook at least one meal a week. Ambitious, given my life, but worth trying.
  • rerip and organise my music collection: no concrete goal set, since this is a project that's been on my mind for a long time, and code will need to be written.
  • tango: since dancing requires Kristien taking lessons, let's start there. 2 courses of tango classes this year. Good goal since there are only three courses.
  • learn catalan: no concrete goal set. The voice in the back of my head suggested I spend at least an hour reading through language courses, but I didn't actually set that as a goal. Probably shows a lack of real commitment to the goal!
  • see 40 movies
  • sleep before midnight: do so half of the working week days. Not that easy a goal at all, since my two flights a week usually have me land pretty close to that mark. To make it easier to track, and allow to make up in weekends, this comes down to 2.5 days in 52 weeks, or 130 days.
  • improve my GTD use: lower number of open tasks over time.
  • basketball: play 26 times in a year

An important part for me is to take stock once in a while. Where was I when July started, halfway through the year ?

  • standup comedy: 3 shows seen, 2 planned for July: 100% completed!
  • cook 52 meals: 18 times. I cheated by also counting the 6 meal course on New Year's Eve (only as 1 though). so, 69% there, and I need to step it up to make it.
  • rerip and reorganise music: even though there is no concrete goal set, I'm well on my way. I have various projects going on, from writing a correct ripper (which Linux still lacks) to getting Lego Mindstorms sets to create a CD ripping robot to reviving the old DAD project into a new Django-based one to finally writing a decent mixer... Wondering if I should set as a goal something like 'rip all newly bought CD's to FLAC using a robot and importing and rating them in the new DAD'. I'd rate myself halfway there right now, but some stepping up is required.
  • learn catalan. As I said, no goal set. Practically speaking, didn't do anything realistically useful. I need to either drop the goal or set a concrete task.
  • tango: one class taken, one class booked for september onwards. so, on track for 100%
  • see 40 movies: saw exactly 20 in the first half of the year! on track for 100%
  • sleep before midnight: as I feared, pretty pathetic. I don't have a complete tracking, but looks like I managed 18 times out of 140. That's like 36% by the end of the year if I keep this up! However, I seem to be cutting it close all the time: 20 times between midnight and 00:15, and 17 times between 00:15 and 00:30. I could have made the goal if I went half an hour to bed earlier, on average. Need more resolve!
  • improve GTD use: I was missing the tools to track this goal, so I wrote some. I need to fine-tune them a little, so I can better see how I'm doing each day. Sadly, for now, they seem to indicate my task list is growing. I need to better define the goal I'm working towards to - something like 'over time reduce the number of U:3 to U:5 tasks in the queue'
  • basketball: we finally got together at work with a few people, and now rent a court weekly. I managed to get there 10 times, so 77% so far. I specifically set the bar low to only half of the weeks, knowing that I have all sorts of roadblocks for going to play: emergency meetings, not being in Barcelona, Spanish fickleness (like, the guy not showing up at all because it rained a little in the morning), and so on. Still, I should be able to make this goal by the end of the year, possibly by playing some more here in Belgium on the court in front of the apartment.

So, half-year status:

  • 1 goal already completed! (comedy)
  • 3 goals clearly on track for completion (tango and movies), a third not well defined but probably getting there (music)
  • 2 goals around 70% (cooking and basket), could still be made if I really step it up
  • flunking 2 goals clearly; learning catalan and sleeping before midnight. Need to seriously consider what to do about them.
  • 1 goal did not have the tools required to measure properly; now need to actually track the task again.

Conclusions:

  • the measurable goals seem to be easier to attain - setting a clear way to track progress clearly helps following through on your commitment.
  • it is important to track those measurable goals - I wouldn't have guessed I made the movies one for example from memory. Also, writing them down makes it feel like an achievement.
  • the tasks that seem to be set more by my conscience than by my desires seem to languish (sleep and catalan). Clearly I need a better conscience or re-evaluate the tasks.
  • one task without concrete goals is getting done anyway, just because it's been a long desire to get it done (music). Still, it would help me focus to set a concrete goal.
  • concrete objectives can be re-evaluated in light of the desired goal. For example, the original goal was to be healthier by doing more sports. I picked basketball because I always liked it - but if needed, I could redefine the goal in terms of another sport if that makes it more attainable - as long as I don't cheat by making the goal easier.

So, next things to consider for me:

  • start thinking up new or extended resolutions for next year
  • decide what to do with Catalan - leaning towards forcing myself an hour a week for the next weeks
  • do end of September evalutation
  • cook more than once a week.
  • get to bed just a little bit earlier!

Anal-retentive - moi ?

But enough about me, let's talk about you. What goals did you set this year ? How are you doing on them ? What helps you stick to them ?

PS: completing this blog post marks another U:4 task of my GTD list, yay for me!

« Previous PageNext Page »
picture