tv's gone

TV sold, first “resolution” I held up to, so far. That thing really took some space, I'm considering replacing it with a library, or whatever since I feel at ease with less furniture for now, and next tuesday I'm leaving for mexico. It can wait.

la machine

This is nice, you should have a look.

fasta

ssd disk

Avec 4Go de RAM, et un SSD, mon petit laptop va vite, et ne fait plus de bruit, plus du tout (vraiment plus). Et ça c'est Bien.

How not to lose 15 minutes

Another geeky one? Although it's light, this post deals with Apache, and PHP, and htaccess files. So anyone with a brain, go away. You have been warned.

When setting up a vhost for Apache 2, under your homedir, the following thing is explained very clearly in the official documentation:

Further note that Apache must look for .htaccess files in all higher-level directories, in order to have a full complement of directives that it must apply. (See section on how directives are applied.) Thus, if a file is requested out of a directory /www/htdocs/example, Apache must look for the following files:
/.htaccess
/www/.htaccess
/www/htdocs/.htaccess
/www/htdocs/example/.htaccess

That is to say: when you setup an application under $HOME/src/foo/bar/baz, and do not understand why (the fuck) Apache complains it can't read e.g. the file $HOME/src/.htaccess, that's because of the quoted statement above. The quickest fix is to just chmod your way up the parent directories so that your web server user can at least read them.

... Isn't that ugly? I guess for a laptop/dev env it's okay-ish. Although, I should probably remove the htaccess file and have directives placed in Apache's vhost configuration. As to why I'm using Apache and not something lighter, it is because of a PHP project, and the inability of our client's tech team to grasp the concept of FastCGI... in spite of our efforts as I've been told, but they won't let me try my good'ol' chainsaw Rusty. Aah those sales guys...

crappy monday one

Today we're supposed to see a few guys, at work, from one of our biggest, wealthiest, and dumbest client. We are expected to train them on the tech we developed those past few months for SomeBigWebsite ; so that our contract will leave us with the development of new features, while they'll work on support, maintenance, bug fixing, etc. While this is not necessarily a bad thing (I mean I could care less), there is a huge problem here: me doing PHP training... WTF?

xlockmore on squeeze / testing

(Sorry, writing it down is the best way I know to remember it.)

I've been using Debian for some years now. While the alternatives like Ubuntu seem easier to a lot of people, I can't help but prefer Debian for its idealistic views on software, and freedom ; which sometimes beat practicality to the ground, but let us dream.

So, if you've been using Debian's squeeze (aka as testing for now), you may have noticed that the xlockmore package is not available (for very good reasons IIRC, do your googling-homework). However the software is present in the unstable branch, and you can easily build the package from unstable for your testing playground. Note that this method is unsafe, as you won't get any automatic update of the “custom” package...

First, grab the source tarball from unstable.

Un-compress the archive:

tar zxvf xlockmore_5.31-1.tar.gz

Build the package:

    cd xlockmore_5.31-1
dpkg-buildpackage
# This should take a little time

If the dpkg-buildpackage command complains about missing build dependencies, just install them and restart the dpkg-buildpackage command after (did I even need to mention that?).

There, you have your package:

    cd ..
ls xlock*.deb
# if you on amd64, you should get:
# xlockmore_5.31-1_amd64.deb xlockmore-gl_5.31-1_amd64.deb

Install one, or both of them. For example on amd64...:

sudo dpkg -i xlockmore_5.31-1_amd64.deb

You're done.

outside in

What's up? Well, on my side of this blog not much. 2010 is finally dying, and I've been considering doing a few silly things to celebrate, like selling some of my stuff (in order to make some room for myself). Let's say it's a resolution for 2011. For example, I do not depend on my TV to get news, or... watch TV. Let's sell the stupid thing already. On the other hand, I hate new-year's resolutions, so let's call it a challenge. The latter is much more likely to make my lazy ass do it.

Since I'm talking about my place, I have to admit that I need to fill my fridge, since he's been almost empty since I got back from the traditional family diners of December (it's been almost a week). However, I keep discovering (surprise!) more excuses to bury my stupid-self under piles of work... so empty the fridge remains.

The good news, is that I'm spending 3 months in Mexico starting in February 2011. I'm still not sure if it's a great idea, since the place is damn far. But I'm quite sure, on the other hand, that I have to get away from my little world for a while, to check out what's happening somewhere else. To put it simply, I'm bored: I need a bigger horizon, or at the very least: distraction.

Let's see how tele-commuting works out for me. :)

← Previous  1 … 3 4 5 6 7 … 268 Next →