Archive for March, 2004

Mixing the worlds with Debian 0

Do you use Debian? I do, for my laptop and servers. It's the coolest.

The problem with Debian has always been, what stream do you use? There's stable (woody), testing (sarge) and unstable (sid). Side note: the releases are named after Toy Story characters, with the unstable release always being called sid - he was the kid next door that used to blow his toys up ;) So what do you do when you're running woody on your firewall, but want the SNMP packages from sarge or sid? You investigate apt- pinning right here!

First thing, you need to change your entries in /etc/apt/sources.list so that you have all three streams shown as package sources. It needs to look like this:

falcon:~# cat /etc/apt/sources.list

# Stable
deb ftp://ftp.wa.au.debian.org/debian/ stable main non-free contrib
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb http://security.debian.org stable/updates main contrib non-free

# Testing
deb ftp://ftp.wa.au.debian.org/debian/ testing main non-free contrib
deb http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free

# Unstable
deb ftp://ftp.wa.au.debian.org/debian/ unstable main non-free contrib
deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free

Then you need to tell apt what distribution you want to use as the default. Also, because the cache might not be big enough to handle packages from all three streams, you need to bump its size up a little. You might not have an /etc/apt/apt.conf, so make one

falcon:~# cat /etc/apt/apt.conf

APT::Default-Release "stable";

APT::Cache-Limit "8388608";

Lastly, we edit /etc/apt/preferences (again, this might need to be made) so it has the pinning order, that is, the order in which preferences will be weighted

falcon:~# cat /etc/apt/preferences

Package: *
Pin: release a=stable
Pin-Priority: 700

Package: *
Pin: release a=testing
Pin-Priority: 650

Package: *
Pin: release a=unstable
Pin-Priority: 600

Now run an update (apt-get update). You should have now instructed your Debian system to use all three pools of packages, and the preference order in which to use them. To force another pool you use the -t switch, like this:

falcon:~# apt-get -t unstable install snmp

Hopefully somone will find this useful; I know I sure have. There's more information available on the Debian apt-get HOWTO page, and this Apt-Pinning for Beginners page

Google calculator 3

I went to Google and entered:

how many pounds in a kilo?

Check out the results. Google rules.

Charismatic boobs 5

News just in, Charisma Carpenter (who played Cordelia Chase in Buffy the Vampire Slayer, and more recently Angel) has apparently had a photoshoot with Playboy! The photos were taken on the 10th of February, and will be seen in a summer issue, relative to the United States that is. The current rumour is that it's likely to be in the May issue.

And for those fans concerned with "taste" apparently it's "nudity from the waist up," which suits me fine. No objections from me :)

Make sure you see if it's out before you head back Withered! :)

charisma-carpenter-4.jpg

Delightful!

Stress - does it really have a strangle hold? 3

Here's a comment I made in reply to one of Emma's recent Live Journal posts. I think it warrants its own post here, because it's something I feel quite strong about. Read her post, then check out what I have to say, and leave some comments.

It's kind of like The Matrix: you're only stressed if you think you are. You've been stress crazy for as long as I can remember (just after Richie got back from his trip last year...), but I really think it's because you want to be. Sadistic? Maybe.

I know uni's hectic, but so is everyone else's life too. Deadlines, long hours, relationships... it goes on. News flash: that's just life! As my dad says, life's not a dress rehearsal.

Walk into any office, bar The Frontier Group's 'cos we know what's really going on, and I guarantee everyone will tell you how hectic life is, and how much stress they're under. Then watch them chat to their collegues, or have a game of solitaire ;)

Sure, things can be hectic, but you have to realize how much control you have over it.

Honestly, can you think when the last time you weren't complaining about being stressed? Is dentistry really for you if it causes so much heartache? Why not do something that isn't going to make you ill, or take some control, and realize that things really aren't that bad, and if they were, then nobody would be doing it.

I expect (know) it's compounded by Mark being away (and what we talked about the other day...) but you've got to put barriers up and try to isolate these things. In the 12 months since I remember talking to you about this, you've not once come and used the spa to chill out. And don't tell me you don't have time.

Kinda like that dream I had about Buffy, just before the series ended. It was when they were building the army of potentials. My dream was actually cooler than the finale I thought, but is was scary how similar the two endings were. Remember, Buffy bestowed some slayer powers on the other girls and they all were slayer-biatchez? Well in my dream it was cooler - the girls just had to "decide" they were slayers, and then they were. I think it really wrapped up the whole growing up, self realization theme that Joss had through the entire series. How does this relate? Deciding is so final. You decide to be successful and achieving success is so much easier. Decide to not be stressed (don't actually worry about the small details, like how you'll achieve this) and you will see that magically, you're fixed. Make the consious (I can't spell) choice and the hard work's done.

Whoa - my new-age, take control ramblings are bigger than the original post ;)

This has been a Matt service announcement, in the interest of healthier, happier friends.

What do you all think? Am I living in Fairy Land, or do people let stress get to them too often? Is stress the whipping-boy of the new milennium?

U.S. vs Aussie Apple pricing 4

I was talking with Adam earlier today, and he said there was apparently some news coverage regarding Apple's fixed-pricing structure, even considering the strong Australian Dollar. I've been attracted to the iPods for a while, so I thought they'd be a good base for me to do some currency tests on. Here's what I found.

The iPod comes in 3 models currently (not including the iPod Mini). They are a 15GB, a 20GB and a 40GB model. Here's a quick pricing table I knocked up to demonstrate the differences in cost.

  US Price Aus. Price US to Aus. % Difference
15GB 299.00 449.00 399.80 89%
20GB 399.00 598.00 533.52 89%
40GB 499.00 799.00 667.25 83%

So there we have it... proof that Mark should buy an iPod while he's in the States. For all of us. And the 40GB ones at that.

Edit: 30/3/2004 - 12:27AM
I've found this article from early March which is the foundation for what we were discussing.

Next Page »