Eclipse and Ubuntu 8.04

I was having some trouble running Eclipse 3.3 Europa on Hardy Heron.  It was unstable, crashing a lot, and hogging way more ram than it normally hogs.

Then I realized what I’d forgotten to do on this fresh install.  I forgot to simply ’sudo update-java-alternatives -s java-6-sun’ and voila, it works like a charm.

Eclipse doesn’t work well with the gjc java (the ‘free’ and default) Hopefully this little thing won’t be an issue in the future when sun java 7 (open java) is ready to rock the free world.

April 7th, 2008, posted by Darryl Clarke

Useless: 10 body parts with 3 letter names

eye, ear, lip, hip, toe, rib, jaw, arm, leg, gum

And now for slang, because it’s so much more fun…

tit, ass, bag, vag, nip, cap, rod, rim…

March 7th, 2008, posted by Darryl Clarke

Subversion on the Mac

Why does subversion on the Mac have to suck so bad?

Sure there’s apps, SvnX, SCPlugin for Finder, and a few others that typically suck — and unfortunately I always end up using Eclipse and it’s Subversion plugin.

But really, the user friendliness of it all is making my stomach turn.

March 5th, 2008, posted by Darryl Clarke

Installing PHP Java Bridge on Ubuntu

Source Install

First, make sure all php packages are updated — if you update PHP after installing this, it will likely segfault.

For the purpose of this, I’m using Ubuntu 7.10, and Java 6 (sun-java6)


First, get the build essential, as well as php5-dev, sun java and automake

# apt-get install build-essential php5-dev sun-java6-jre \
    sun-java6-jdk sun-java6-source automake

Second, get the PHP/Java bridge source.

# cd /usr/src
# wget http://internap.dl.sourceforge.net/sourceforge/php-java-bridge/php-java-bridge_5.2.0.tar.gz
# tar xzfv php-java-bridge_5.2.0.tar.gz

And, install.

# cd /usr/src/php-java-bridge-5.2.0
# phpize
# ./configure --with-java=/usr/lib/jvm/java-6-sun-1.6.0.03,/usr/lib/jvm/java-6-sun-1.6.0.03
# make
# chmod +x install.sh
# ./install.sh

Answering the questions for the install script is fairly simple. It looks for some tomcat stuff for the servlet portion of the Java Bridge, but we won’t be using it.

Copy *.inc to someplace it can be found.

# mkdir /usr/share/php/java
# cp *.inc /usr/share/php/java

Testing,

# php test.php

By default, java is only enabled in the command line php; to enable it in the global instances of php, edit the php.ini file and add the extension.

;; java.ini: Activate the PHP/Java extension

;; zend_extension = "/path/to/java.so"
extension = java.so

;; If you have installed the java-servlet.ini leave this file alone,
;; edit the servlet or standalone ini file.  Otherwise uncomment the
;; following java section and one of the following options:
[java]

There are no other options required. Make sure the java.hosts and java.servlet are disabled. If logging is desired, that’s another story.

March 4th, 2008, posted by Darryl Clarke

Installing Leopard on HFS+, Journalled, Case Sensitive

I’m a big geek, and I love case sensitive file systems. It means a file LikeThis.txt is not the same as a file likethis.txt and that really helps with consistency in a developers world.

Oops! What a horrible Idea. Well, not really - There’s only one thing wrong.

As it turns out 3rd party applications still live in the stone ages. Adobe CS3 will refuse to install. There are a few other apps that apparently go sour as well (popcap games). Of course because Adobe CS3 is a sack of shit - and you cannot install it to another volume (wtf is with that?) - I may just not bother installing it at all. At least the games will still run from their respective DMG files.

My only other real option is to format again and do a full restore of what I’ve got installed right now using Time Machine…

All I can say is lame lame lame. Get with it Adobe (and you few others, PopCap games for example)

February 20th, 2008, posted by Darryl Clarke

“Yes, There IS A Better Search Engine” - 10 Years Ago!

In an age where Go.com was new, and the Netscape and Yahoo Portals ruled the Web, one start-up company “with the unlikely name of Google.com” is showing the way. Salon.com in December of 1998 produced one of the first ever reviews or for that fact, mentions of Google.com still around on the internet today.

Some interesting shit about google, i guess.. and I’m just testing the digg to my blog feature. :P

read more | digg story

February 17th, 2008, posted by Darryl Clarke

Progress

Lots of my content is making its way in.. not like it’s really good content, but whatever. ;)

A lot of links on my content pages may be broken, feel free to comment if you see something that is in such a state. I’m sweeping up as fast as I can. Go team.

I’ve found a theme that I kinda like.. although I’ll probably have to fix up a few things that bug me.. but hey, they’re never perfect… right?

February 16th, 2008, posted by Darryl Clarke

A random first post.

Look, a first post!

I’m migrating my content and stuff from CMS Made Simple over to WordPress. I guess that’s all I have to report.

February 14th, 2008, posted by Darryl Clarke