Archive for December, 2007

Bullet proof Solaris!

Saturday, December 29th, 2007

One thing I found out about the Solaris OS is that regardless of system load or runlevel, you could always ping the box. Even when you rm -rf / Ok, so that wasn’t always true, somtimes it was powered off, but its pretty close. Solaris appears to have gained another ability……Despite a “failed” install of build 78 of OpenSolaris which collapsed at 85% completion, the machine still appears to have installed well. It boots, JDS works fine, ZFS is happy, and nothing has crashed (yet). :) This is another shining example why those guys down in the Sun labs deserve a pay rise!!! Now, if only they could fix a gigabit ethenet bug thats affecting me…… :)

SXDE - for developing right?….

Thursday, December 27th, 2007

Upon trying to install JWSDP on my SXDE machine I got the following error…

solaris-devx $ /bin/sh jwsdp-1_3-unix.sh
Using /var/tmp as temporary directory...
Searching for Java(TM) 2 Platform, Standard Edition...
This product is not available for Solaris versions older than
Solaris 2.5.1

Tut, tut, tut, Sun!!! This should be a flawless install given what SXDE is supposed to stand for! Lets just hope that its not just reading in /etc/release . Admittedly, Netbeans 6.0 does come with all this stuff, and of course, I’m using that instead!


				

Women converting to Islam

Wednesday, December 19th, 2007

The common assumption about Islam by non-muslims is that Islam oppresses women, thanks to poor quality, ill-informed mass media. In fact, the way muslim women are portrayed in the media I wouldn’t be surprised if most non-muslims thought that women were not even allowed to speak in Islam. This couldn’t be further from the truth. In fact, the first martyr in Islam was a women, and one of the most important sources for the Hadith is Ayesha, a wife of the prophet.

Interestingly enough, many more women convert to Islam than men. But it shouldn’t be so surprising. Women don’t carry their ego as much as men do. Accordingly they are more receptive to things which they believe to be true. And when they hear some of the things about the position of women in Islam, its really a surprise that more don’t want to come!

  • Women who do paid work whilst married are not obliged at all to contribute to the family; the money she earns is all hers. The responsibility is on the husband to provide!
  • It obligatory on men when they come home from work to get involved in house duties! No excuses guys!
  • Husbands are supposed to freshen up before they greet their wives after coming home from work, to look nice for her!
  • Men are to lower their gaze, from women who aren’t in their family so to protect the womens modesty :) !

Here is a link to a Guardian newspaper article shedding light on a womens path to Islam.

http://www.guardian.co.uk/religion/Story/0,,740616,00.html

Islam in five minutes

Friday, December 14th, 2007

For anyone whos not sure what Islam is, or really means, or is just interested, heres a little five minute clip which should fill some gaps in your knowledge. Of course, this is by no means a comprehensive intro, but for those of us who are impatient it should do just fine :)

a new kind of extreme programming

Sunday, December 9th, 2007

XP is regarded as a good technique for producing clean effective code. I however think that pulling yet another all nighter is also extreme. I guess the logical conclusion would be to code with a laptop whilst skydiving from a plane……a bit like extreme ironing

Once this coursework is handed in, my house mate Darren will have been  awake, coding, for 51 hours including doing a  part time job. 51 hours!!!!! Thats got to be the new definition of XP!

The upside is that in that time, I managed to implement SMTP in a Java using sockets. nice.

A word of warning: eating chicken korma during a code marathon is likely to knock you out for two hours……

The Climate change investment. Its really not a hard choice.

Saturday, December 8th, 2007

When the effects of tackling the perceived effects of climate change are considered, its clearly not a hard choice to make.

For anyone sound of mind, heres a little video that will explain why we should act on climate change, whether it exists or not (even if you really do think that the icebergs aren’t melting…..)

The library being used for what it was made for!

Wednesday, December 5th, 2007

Put simply, the library is under exceptional use, especially given that its twenty past eleven in the evening. You can tell its coming up to exam time!

This is probably the best time to be in the Library. Usually everyone is chatting and fighting, and overall not observing the “Shut up in this area!” signs. It makes a nice change to see people actually working :)

To anyone who has exams coming up, and for anyone stuck trying to send a file down a Java TCP socket, all the best with your studies!

Netbeans 6.0 rc2 - What a joy to use!

Monday, December 3rd, 2007

This post is for the benefit of anyone who had the displeasure of using Netbeans 5.0 that came with OpenSuse 10.3 .

The first thing to say is that netbeans does take a little while to load, which is a shame really because it looks like they missed the opportunity to show off javas threading abilities. The other downer is that it eats alot of ram :( you’ll want at least a gig to run netbeans and happily get on with your other desktop tasks (music, word processing etc)

After the load, the fun stuff!

The best thing to say is that the web container integration works really well. It comes with glassfish as a standard, but you can add many different different verions of tomcat ontop if you prefer that. It makes deploying your servlets or jsps as easy as hiting F6 (which runs you main project, remember to select your project as main first!) . You can change where netbeans deploys the servlet by right clicking on the project and going to properties. Once in properties you can go down to run and select your server :) Of course, you will need to have the server running first!

IMO the best update for the editor is the code highlighting, particularly the instant rename. You can basically out the caret in the middle of a word and hit <ctrl> + R The editor then selects every other instance of that word in the file and changes it as you change the currently selected one accordingly.