Monthly Archives: August 2004 - Page 2

atheism and spirituality

I was out doing a job for a few friends of mine (Linux-based ISDN router), and got a lift back with one of them.

We chatted on the way back to Monaghan about our differences in belief. One thing that struck me was how people think that atheists do not have a sense of spirituality – perhaps because atheists do not believe in spirits.

I think of myself as a very spiritual person. When Marcus put me on the spot by asking what spirituality meant to an atheist, it took a few moments to gather my thoughts on how i felt about it.

In my opinion, a “spiritual” person is one who feels an empathy with his/her surroundings. The surroundings could be people, nature, or just thoughts.

With that in mind, there is little difference between a pagan shaman (or witch or whatever) and myself. I feel “at one” with my surroundings, wherever I am, even though I do not subscribe to theist viewpoints.

Marcus then posed another – what will I do when I die but have not “turned off”? We had a bit of a chuckle when I said that I’d probably feel a bit embarassed at being wrong.

ROTK

Note the capitals: Lord Of The Rings – Return Of The King – EE.

I remember sitting in my ostracised computer room at home in Clones, Monaghan watching the Fellowship Of The Ring extended version many times, with different commentaries, then watching The Two Towers EE in my ostracised computer room in Coranny, Monaghan when it came out.

This year, I’m looking forward to watching Return Of The King EE on my computer. This time, no longer ostracised, because Herself has become a computer junkie.

physical exercise

As a web developer, my physical exercise is constricted to the walk into and from work, which, while it is four miles either way, is not enough for me to feel healthy.

I am thinking of devoting two hours each day to keeping healthy – I miss those days only a few years back, when I could get up out of a seat, and easily run a mile.

I am considering freestyle skateboarding and a martial art.

The skateboarding style that most people are familiar is street, which is a very aggressive style based on jumps and slides. Freestyle is more of a flowing style kind of like dancing – more spins and flips, and less running around.

The martial art I would like to do is Ninjutsu, in particular Bujinkan Taijutsu. However, the nearest teachers to me are about 200 miles away. Second and third choices would have to be aikido and tai-chi, however the same distance problem exists here. As much as it disgusts me to contemplate, I will have to do Karate.

I hate blunt martial arts, but if it keeps me healthy, then I’ll have to do it! Besides, with the effort of progression, I may come to enjoy it.

weeds and gardens

I am not a very good gardener. This has been pointed out to me a few times by Herself, and is blatantly obvious to me when I look at how much difference there is between the garden as it is right now, and the garden after I’ve spent two years on it.

Very little

I know there are onions and tomatoes and potatoes, etc, in there, because I planted them and tended them as they grew. But, then I went to my sister Tarynn’s wedding in Dublin for a week, and left the garden untended for a few weeks after that – oh, and a cow trampled the place as well.

When I next looked, I could only see my vegetables after pushing aside the nettles, ivy, thistles and brambles that had appeared out of no-where.

There is a huge amount of work to do now to bring it back to the state it was in.

Sometimes, I think it would be easier to turn the whole place into a grass garden, and mow it every week. I am tempted to give in to that thought.

hardware acceleration on ATI 9000

this is an old article from a previous blog – it’s useful though, so here it is.

This is something that took me years to finish working out. I’ve been running Linux since the last century, and only just last week finally got hardware acceleration working on my computer.

If you have the ability, do all this from source instead of with binaries. You will end up with a cleaner and faster product, and will spot errors easier.

  1. Install XFree86. Or x.org – your choice. I installed 4.4 for this. 4.3 would have been fine as well (see the next bit).
  2. Install DRI. This compiles its modules and writes them over the native XFree86 ones. They claim to be compiled for XFree86 4.3.99, so it doesn’t matter if your XFree86 is 4.3, and I have no problems with my 4.4.
  3. Install the latest kernel. I’m presently using 2.6.6. The important modules are outlined below. These are the minimum modules needed for Direct Rendering in the ATI 9000 on a VIA chipset motherboard.
    • Device Drivers
      • Character Devices
        • /dev/agpgart M this controls the high speed connection between the video card and motherboard.
          • Via chipset M my motherboard uses a VIA chipset for agpgart. see “cat /proc/pci” for yours.
        • DRM Y controls the direct interaction between the video hardware and the X server.
          • ATI RADEON M my video card is the ATI Radeon 9000. see “cat /proc/pci” for yours.
      • Graphics Support
        • Console Display Driver Support
          • VGA Text Console Y useful!!!!! Never reboot without it.
  4. Comment out your existing Device section in /etc/X11/XF86Config, and replace it with this (adapted as necessary):
    Section "Device"
        Identifier  "radeon"
        Driver      "radeon"
        VideoRam    65536
        BusID       "PCI:1:0:0"
        Option      "AGPMode" "4"
        Option      "EnablePageFlip" "ON"
    EndSection
      
  5. Reboot and restart X11. If all is well, your GUI should come up.
  6. Open a console in it, and type glxinfo | grep "direct rendering". If everything is correct, the word “Yes” should be shown.
  7. Play Enemy Territory.

how to bring up your child

When Jareth was born, Bronwyn’s mother was horrified to find out that we did not want to have him christened. She truly did not understand our objections to it. To sum them up:

  • We are not christian. I am an atheist, and Bronwyn is pagan. To have Jareth baptised into christianity would be hypocrisy.
  • Part of baptism involves the parents promising to bring up the child as a good christian. I most certainly will not bring my child up to believe in one thing and discard all others – especially when it is not something I believe in – it would be like pointing at the sky every day and saying “repeat after me: the sky is purple”.
  • Baptism is an empty ritual for most people in Ireland. People do it because they are expected to. That, I believe, is stupid. For us, it would be more than empty – it would be an outright denial of our own faiths – I have faith that there is no god, so baptism would be a damning lie.

Anyway – that’s not really what I wanted to talk about.

A few days ago, we were shopping, and met a neighbour and her aunt. She must have spent some time worrying about something, because she almost-immediately asked if Jareth was still “not on the beef”.

I was surprised at the question. I have been vegetarian over half my life. Bronwyn has been vegetarian for seven years. Why would we feed Jareth murdered animals?

Her objection was that we were somehow denying him a choice.

I do not understand this. Bronwyn’s mother also used that line as an explanation as to why we should have Jareth baptised – “just in case he turns out christian”, she said.

We are not denying him any choice. If we shoved meat down his throat, would we not be denying him the choice to live as a vegetarian?

If he wants to eat meat, he is welcome to go, get a job, and buy a burger somewhere. If he wants to become a christian, or a buddhist, or hindu, or satanist for that matter, he is welcome to go through whatever rituals he needs to.

My point is that I will not push anything on him. For now, he lives like we do because that is how we live, and he is not old enough to make choices yet (he’s a baby, for fuck’s sake!).

When he is old enough to decide to eat meat, drink alcohol, smoke his lungs out, have sex with whoever, believe what the hell he wants, I will let him. I may not like it, but I will let him.

But, not in my house.

Think of it – if you were a non-smoker, wouldn’t it be reasonable to allow people to destroy their health, but ask that they do not smoke in your house? Personally, I believe that is very reasonable.

It is the same with meat. I do not eat it, and will not have anyone cook it in my house. It is a matter of politeness – when in rome, do as the romans do. When in my house, do as I do.

Of course, if she had looked a little deeper into how we live, she would have seen that we are not the crazed hippie tree-huggers that she thinks we are. I have a leather wallet, and my dogs and cat eat meat. I do not try to deny that animals die to feed “society”. I merely try to moderate what impact I have on the total amount of murder occuring in the world.

I have a choice of whether I want to be vegetarian or not. So does Jareth. So does everyone. I do not believe anyone should ram meat down my throat, or my son’s, claiming that it is in the name of “choice”.

computer violence

taken from #linux on irc.linux.ie

<dredg> rndc flush
<paul> dont forget to put the seat down after
<dredg> funny guy
<kverens> !flush paul
<doneagai2> Mean Bastard
<davidd> KICK HIS ASS, MOFO!
<paul> dredg: i try
<ompaul> oh yeah here we go again coding through violence
<davidd> 🙂
<doneagai2> ompaul: you mean there is another way?
<ompaul> yes object throwing
<ompaul> yes extremist methods
<doneagai2> ompaul point taken
<bigbro> while(1){ kill -9 `pgrep $person`; };
<bigbro> hahahahahahahahahahahahahahaa etc…
<ompaul> bigbro mass storage devices for the bodies?
<bigbro> ompaul: Something like that 😉
<minus1> bigbro: no no no. it’s _mwuhahahahahaaaaa_
<bigbro> minus1: Trust me on this one, I need NO help with maniacal laughs… Just ask any of my victims^H^H^H^H users… 😉
<ompaul> vic users – you support vic 20s ?

saved by the blog

damn, blogs are important!
Only a few hours ago, I came home to find that my hard-drive had fried – again (yes, I know – “Go buy a new one”. My reply: “Show me the money!”).
Luckily, I tend to write down the answers to technical problems I’ve overcome – makes it easier for me to find the solution when it happens again!
And, as is evident, it happened again.
So, I moved the blog off my home server, and onto my company’s managed server, then recreated the system; first, by downloading and installing WordPress, then by uploading the database of the old one (luckily I kept it on a different drive!), then by downloading Donncha‘s amendments again, applying them, then reading through my last blog entry to tell me what needed fixing.
Instead of four hours or so to debug the patches, it only took me about an hour to do the whole lot!

integrating wordpress with smarty (continued)

Mostly, everything in the integration of wordpress and Donncha’s Smarty code had already been done – i just needed to figure out why little errors were creeping in.
The first I tackled was one where posts appeared with mangled titles on the front site. After a bit of grepping, I found that it was the template command {the_category} that was screwing up.
An example of the screw up was:
<a href="?cat=0" http://verens.com/index.php?cat="1&quot;" title="Category: &lt;a href=">General</a>"&gt;[<a href="http://verens.com/index.php?cat=1" title="View all posts in General">General</a>]
That one, while it took some time to find the cause, was a cinch to fix – simply delete everything in the wp-blogs/main/templates_c/ directory! Next time you view the page it’ll be much better…
…but not perfect – what appears as {the_author} in the template was displayed as “kaekae” in the front – the username doubled. A bit of code-searching and testing revealed that the_author() was returning ‘kaekae’ via $authordata->user_nickname.
I thought I had it when I tracked it down to get_userdata() in wp-include/functions.php, but a bit of testing revealed that the if conditional never became true – for some reason $cache_userdata[$userid] was not empty.
After much frustration, I finally noticed that the second parameter of the_author() was $echo = true, which triggered an echo of the user id in that function, doubling the output as the call from the template also printed it to screen.
I changed the true to false, then went looking for calls to that function to make sure they worked fine.
In wp-atom.php, wp.php and wp-rdf.php, I changed instances of <?php the_author() ?> to <?php echo the_author() ?>, and removed the second parameter and associated code from the function.
It is my considered opinion that the second parameter was a stupid idea which merely saved a few bytes of typing by the programmers. It is always a bad idea to directly echo a function’s return value from within that function, unless that is the purpose of the function.

wp_smarty

I’ve just installed Donncha’s Smarty patch on top of my 1.2 install of wordpress. To get it working properly, though, I had to then download a fresh install of Smarty and install it.
Make sure to edit the wp-includes/class-smarty.php such that it is pointing to the correct location of your installed Smarty.
Apart from that, there were just a few permissions changes to make. When you see permissions errors, just either chmod 777 (the easy way, but slightly insecure) the directory mentioned, or chmod 755 (recommended!) the directory and chown it to either apache or httpd (or whatever – the webserver user).
There are still some glitches to work out, but I’ll get them later.