linux

Girl Geek Dinner

So my work played host to the 3rd Girl Geek Dinner last night. My first reaction was that I didn't really want to stay untill the start of this event, so I left early at work. What a mistake to make! The evening was marked as "Robots and other smart companions" and included a live demo of the Tux Droid. Man, if I were there at that moment, Tux would be reported missing in Drongen. Anyway, I'm a few months away from my 30th year on this planet, so I expect some cool presents that day, but he/she/they who buy(s) me that droid will have his/her/theirs photo on a special place in my house forever!

Topics 

work, linux

The init hook enigma, part 2

I struggled a few days with some functionality on the new CarChannel site where visitors are offered a splash page the first time they visit the site. I needed to built in some exceptions, like the special msn page, the xml calls and the game pages. Testing when you are logged in always worked, but when browsing anonymous and with normal caching on, things went wrong, especially with url aliases. Reading source code and documentation - or now when you are reading this article - can save your life, so when you have an init hook and you need the know the 'q' variable, add

drupal_bootstrap(DRUPAL_BOOTSTRAP_PATH);

at the top of your hook before doing anything else. This will save you many sleepless hours and frustrating tests!

Being the only *nix sysadmin (or at least, the only guy at work who knows a little more then just opening an ssh-session) also made me very stressed out the last couple of weeks because services suddenly died without leaving any information in logs. I spent the whole afternoon yesterday setting up extra monitoring services on 2 higly imported webservers which check apache, mysql, ssh and load average every five minutes and , if needed, takes the appropriate action (restart, renice etc). It was the first night in a week I finally slept the whole night through, so fingers crossed!

Topics 

drupal, work, linux, hooks

Ubuntu-PS3

How cool is this: I'm typing this story directly in Ubuntu (Feisty Fawn) installed on my Playstation 3. To answer my question for you, Sony made it very easy to install a second OS on their latest console, you only need to follow like 5 easy steps to get things going, so ok, it ain't thàt groovy. There are a few things I need to figure out though:

  • My mobile phone recognizes the playstation when I try to connect with Bluetooth, but I can't seem to get any connection. 'hcitool inq|scan' always times out. If anyone is able to connect and send files with his phone, drop a line!
  • I want the sound from another receiver, not coming from my television, so I can listen to either webradio's, cd's or music stored on my other computer without having the tele on.
  • I'll probably experiment wth other window managers than gnome right now, because I can clearly see sound and video isn't always syncronized perfectly.
  • Video modes is also something I'll have to experiment with, because the extreme low refresh rate is killing my eyes (but then again, this ain't my desktop rigt?)

But now, back to Assassin's Creed!

Sexy

When I run uname -a on a new system just installed I get this:

Linux swenmacuntu 2.6.20-15-powerpc

Ubuntu on a Mac PowerBook G4. I really didn't feel like doing much today and I want a laptop with me when I go to the DrupalCon next week in Barcelona to do some work there - mainly upgrading my modules to work with the upcoming Drupal 6 release. Since there was a spare powerbook at work, I decided to give it a try and install Ubuntu Feisty. All things like a local webserver, SQL database and some development tools I need, work fine - even the right mouse button click! And to be perfectly honest, it looks sexy too. To bad the battery seems to be more or less dead, it allready dies little after 30 minutes. I'll have to ask my mac-buddies at work if they have a spare battery for me.

Topics 

work, linux

New office

Today we moved to a completely new office in Drongen. The absolutely con I had for this move was that we lost the insane connection we had thanks to our link on the Ugent backbone at the old office. There are many pro's though. The building itself is absolutely cool and in some way we'll bond more with our colleagues (I know this sounds corny), because we are packed with developers and designers in one big room. And we are still waiting for our wii to arrive too, so fun times ahead!

Also work related: I'm having an issue with an ssh-configuration where I want to turn of rootlogin (duh) unless our remote server gets an rsync command. I've followed a lot of tutorials allready but somehow I can't seem to get it working. If anyone has *the* tutorial about this, please let me know - I allready know it involves public keys and command validation on the remote server. Thanks. And now on the weekend!

Topics 

work, linux
Subscribe to RSS - linux

You are here