April 18, 2008

Radiohead, Am I Behind The Times?

So, Radiohead released “In Rainbows” just after christmas. I waited till I could actually buy the CD and have now listened to it a few (sic) times. And you know what… I don’t think its that good…
I’m currently listening to “Hail To The Thief”, which is absolutely amazing. Of course when it was released I didn’t think it was that good. Well not as good as “Amnesiac”, which I then thourght was absolutely amazing…
I have noticed a pattern.
I am always an album behind…

November 14, 2007

Glassfish on Ubuntu.. howto

EDIT: It has come to my attention that this starts glassfish with root privileges which wouldn’t be good if this wasn’t a test server! A alternative (and better method) can be found at link cheers Jasper.

One of my colleagues has a java based webpage that he is developing and we have been testing different hosting software… finally settling on Glassfish. I was searching the web for an easy howto and there doesn’t seem to be one so I have written my findings here.
  • Next you need to decide where you want to install it… Personally, I like programs to be installed into /usr/local/appname. So you will need to copy the install.jar to /usr/local (the jar will extract files into a glassfish folder).
  • Next you follow the steps on the webpage above… so basically…

sudo -s
java -Xmx256m -jar glassfish-installer-v2-b58g.jar
cd glassfish
chmod -R +x lib/ant/bin
lib/ant/bin/ant -f setup.xml

  • Next you can either start it with the command

/usr/local/glassfish/bin/asadmin start-domain domain1

  • Or better create a init.d file to start and stop it…

gedit /etc/init.d/glassfish

case ”$1” in
${GLASSFISHPATH}/asadmin start-domain domain1
${GLASSFISHPATH}/asadmin stop-domain domain1
${GLASSFISHPATH}/asadmin stop-domain domain1
${GLASSFISHPATH}/asadmin start-domain domain1
echo $”usage: $0 {start|stop|restart}”
exit 1

  • save and exit
  • chmod a+x /etc/init.d/glassfish
  • to have glassfish start during boot (and stop during halt)

ln -s /etc/init.d/glassfish /etc/rc1.d/K99glassfish
ln -s /etc/init.d/glassfish /etc/rc2.d/S99glassfish

Well, its not a great howto but then the install was pretty simple

October 15, 2007

Radio 1 Established 1967

Warning Random!
I have been listing to this album recently and the Girls Aloud track made me laugh! They have tried to be clever by changing all the boy/girl references around in there cover of “Teenage Dirtbag”. Whilst this firstly appears like a clever thing to do…they fail when the do the impression of the girl speaking at then end. In the Wheatus original he puts his voice upwards. The girls do the same (apparently 16-18 year old guys asking a girl to a concert would have higher voices than the girls…. doh.
End of random!

June 15, 2007

CPU Scaling in Ubuntu

I noticed that the cpu scaling was a little slow (well programs were crashing before ubuntu increased the Mz) so tried to use the cpu-freq applet but they somehow the big wigs have decided that this is a bad idea! So to re-enable it use the command
“sudo chmod +s /usr/bin/cpufreq-selector”

June 07, 2007

Ubuntu 7.04 Install Problems

OK, so my laptop has been playing up recently (due to the age of the Ubuntu install and the number of times that it has been upgraded/changed/modified). So I decided to put the old HD in an do an fresh install. However, it seems that the new live disk is more demanding on system resources and I could no get it to install on my P3 850Mhz laptop. So I tried the alternate install and although text based it work a treat. Just took a little longer as there are a lot more chooses to be made. So no more graphical installs for me… we until I manage to save up enough money to get a shiny new laptop anyway.

June 06, 2007

Amazing Lyrics

I thought that I need to keep a list of lyrics that make me smile every time that I hear them. So from now on when ever I hear a good lyric I’m going to add it to this post.

“It’s you that I adore;
you’ll always be my whore..” – Smashing Pumpkins

May 25, 2007

Car problems

My car has started spaffing water everywhere when it is switched off after a long run. Its like as soon as the engine is switched of a big puddle of water appears. Grrr… hoping its just the radiator cap!

April 27, 2007

Ubuntu Feisty Fawn – Initial opinions

So another Ubuntu has been released and so far my opinions have been OK. This release doesn’t feel a big change from edgy. Stability is has been quite good and the new artwork makes it appear more professional.
The upgrade on my laptop (Xubuntu) went flawlessly and even managed to fix Alsa which I had broke recently. It did however, break the 3D direct rendering of my Rage Mobility graphics card, but then this is only important for hardcore gaming and I wouldn’t attempt this with an 8Mb graphics card. Annoying but not worth trying to fix.
I did a complete re-install of my work desktop. I had broke the exchange back-end of evolution, screwed up the Apache install and free-nx was playing up so I decided to cut my losses and install from fresh. The first annoyance was that my graphics card has two outputs; a DVI and a VGA which I am running two LCD monitors off; didn’t work with the live CD. Unplugging the VGA had no effect but unplugging the DVI and it was fine (just meant crawling around under the desk). After this hitch the install went fine. Playing around with my desktop and the desktop effects is kinda cool. They are however very buggy. Windows don’t go back to where they came from on rotation of the cube and somehow have multiple desktop has got confused. Also Matlab (the program I generally use most) doesn’t display when the effect are turned on. This is probably down to some JAVA flaw but it means no fancy effects at work.
My home desktop has an ATI graphics card (booo!!!) instead of a nVidia so the desktop effect wont work without 3D acceleration and installing the drivers fixes this but breaks the composite extensions which the effects need so no wobbly window here either. Bummer!
E’s laptop upgrade (again Xubuntu) went flawlessly, the new version boots without a huge list of errors, the sound card finally works and the wireless card switch now works which means that if someone has turned it off I don’t have to boot into XP to turn it back on! Very well done here.
So, a lot of minor problems have been solved. ATI graphics cards are still a major headache as the main improvement has been the 3D desktop effect which are buggy (which is too be expected as they are still experimental) but as the ATI Linux drivers are so bad don’t allow you to use.

November 22, 2006

NME Quote

This popped into my email in-box and it made me smile…

Muse’s stadium-flattening tour from the future, a show packed with so many lasers that it can be viewed in crystal clarity with your eyes shut, closed in a box, on the moon.
- Alex Miller, NME.

Utter, genius.

October 18, 2006

Winamp Features

Recently, the Winamp team have added a load of new features.

First is a ReplayGain plug-in. Don’t bother, it takes far to long to analyse your music to bother with it. Its a good idea in principle and would be great if it worked in the background slowly analysing your music whilst it played for the first time so on the second time through it played at a sensible volume and storing the information in the Meta data tag. It would also be good if it was hooked up to the shuffle/random button and knew when to change from track normalisation to album normalisation. Or that it had its own button so you don’t have to go traipsing through the preferences. But it doesn’t so forget about it. Also, it takes ages to process your music but once it is processed there is no easy way to see which have been processed, not useful if you cancel halfway through or add extra music to your collection.

Second is Predixis MusicMagic. This has changed its name since being incorporated into Winamp. There is almost no help. And the plug-in doesn’t work with Vorbis… which is my codex of choice so forget it as well. I did download the MusicIP software standalone which works with Vorbis. It is supposed to scan through all your music and then create play list that don’t have style discontinuities but this doesn’t work very well until it has thoroughly analysed your music which takes forever, then it still is crap. Very disappointing. Not even worth wanting Vorbis support adding to the Winamp plug-in.

Finally, Autofill. Winamp is now able to automatically fill your portable media player. It randomly chooses songs from your collection and adds them to your player until it is n% full (with n being a variable you can set slight sarcasm). It is more likely to pick songs that are played more often or have high recommendation ratings. This is great for making a mix of songs from my laptop. My media player uses .ogg (and you can tell Winamp what files your player supports) which is great for reasonable quality music with small file sizes. As my laptop has a reasonably small hard drive all the music is in q1. This quality is OK for playing through tinny laptop speakers and through the cassette adaptor in my car. And its is small in size which is great for my player as it is only 512Mb. There is also a transcode feature but as Vorbis is not supported this limits me to using the files on my laptop and not from my main music repository which are at q6 which is transparent (lossless to your ears). I have far too much music for a large player and hence knew that I would need to change the music on my player often so didn’t bother with getting a bigger one. I also like quality sounds and hence chose the a Samsung player as they support Vorbis, have long battery lives, are drag-n-droppable in Window & Linux.

So, one of the new-ish features of Winamp are OK but the others are crap…

November 2017

Mo Tu We Th Fr Sa Su
Oct |  Today  |
      1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30         

Search this blog



Most recent comments

  • Thanks for the tutorial. It was very helpful. I made some improvements and additions and wrote about… by Jasper on this entry
  • Oh, and to check that your init.d script works you can just try: – sudo /etc/init.d/glassfish stop T… by on this entry
  • A quickway to find out if it was running would be to use your web browser and locate the home page w… by on this entry
  • Andrew, I worked it out. I did not have the JDK 6 installed (I only installed J2EE 5 w/o the JDK). B… by Chris on this entry
  • Andrew, A great article and right on time! I recently installed Glassfish v2 on Ubuntu 7.10 but when… by Chris on this entry

Blog archive

RSS2.0 Atom
Not signed in
Sign in

Powered by BlogBuilder