Too Cool for Internet Explorer

Tuesday, May 31, 2005


Cocoalicious Update

Cocoalicious has been released in version 1.0b35 1.0b36.

Cocoalicious is a del.icio.us client for Mac OS X. Written in Cocoa. It's a very nice tool I don't use often enough. You can browse by tags or search for everything and get the results within the included browser or in the external browser of your choice.
Just take a look.

Technorati Tags: , ,

Bookmark this on Del.icio.us
[ 0 comments ]
posted by madhatter @ 2:27 PM


Sunday, May 29, 2005


Rexx: IBMs old scripting language

Here's a quick quiz. Which scripting language ...

1. Runs on virtually all platforms and operating systems?
2. Enjoys a strong standard to which all implementations adhere?
3. Comes in object-oriented versions that are upwardly compatible with the standard procedural language?
4. Is known for combining ease of use with power?




The answer is Rexx. IBM's 25 years old scripting language. I just came across this article at O'Reilly's ONLamp. It gives a good overview about the functionality of Rexx. And author Howard Fosdick is right: you can read Rexx scripts without ever read or heard something about Rexx or it's coding conventions.

There are some things you should now about Rexx and that is what I already got from the article. So I think I will get a bit more documentation in the next free time I can afford and script for fun. Just because I already like it. And I just got me Regina Rexx and installed it on Mac OS X.

(This happens when I surf at ONLamp. I just wanted to read something else there. Maybe I will write about that later then ;))

Technorati Tags: , ,

Bookmark this on Del.icio.us
[ 0 comments ]
posted by madhatter @ 9:37 PM


Friday, May 27, 2005


Install Oracle 10g on Mac OS X 10.4 ("Tiger")

The last two evenings I spent on installing Oracle 10g on my iBook. Don't ask why I have to have Oracle on an iBook, I just wanted to play around with it. Problem was that I haven't read somewhere before that right now no Oracle database seems to run on Apple's Tiger yet but only on 10.3 ("Panther").
When I realized that, I already had tried to solve the problem a few hours. So I wasn't in the mood to let it go. There had to be a way and I think - a few minutes ago - I found it.

But I will start from the beginning. I'd like to have a manual for myself, too, because I forget stuff like that when I haven't done it for some weeks or months...


1. System Requirements

Mac OS X 10.4 Tiger
to be precise it was

$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.4.1
BuildVersion: 8B15


Developer Tools (Xcode) 2.0 installed


2. Create Required User and Groups

I used the command line instructions from the Database Installation Guide 10g for Mac OS X.

As root create the oinstall group with an unused group ID. I chose 600.

# nicl . -create /groups/oinstall
# nicl . -append /groups/oinstall gid 600
# nicl . -append /groups/oinstall passwd "*"


Next do the same for the dba group. I chose 601 here.

# nicl . -create /groups/dba
# nicl . -append /groups/dba gid 601
# nicl . -append /groups/dba passwd "*"


Then create the user oracle with an unused user ID. I chose 601 here again.

# nicl . -create /users/oracle
# nicl . -append /users/oracle uid 601
# nicl . -append /users/oracle gid 600
# nicl . -append /users/oracle shell /bin/bash
# nicl . -append /users/oracle home /Users/oracle
# nicl . -append /users/oracle realname "Oracle Owner"


Now add the oracle user to the dba group.

# nicl . -append /groups/dba users oracle


Create a home directory and change the owner and group:

# mkdir /Users/oracle
# chown oracle:oinstall /Users/oracle


Finally, set the password for the oracle user:

# passwd oracle


3. Create Directories

I created two directories, one for the Oracle software and one for the data files. This is a suggestion in the Quick Installation Guide and is not needed. Right now it does not even make sense because both directory are on the same volume. So, don't care and handle the following section as you want.

Create the Oracle software directory as follows:

# mkdir -p /Volumes/OSX/Applications/oracle


Create the directory for datafile as follows:

# mkdir -p /Volumes/OSX/oradata


Change the groups and permissions for the directories you just created by executing these commands:

# chown -R oracle:oinstall /Volumes/OSX/Applications/oracle
# chown -R oracle:oinstall /Volumes/OSX/oradata

then

# chmod -R 775 /Volumes/OSX/Applications/oracle
# chmod -R 775 /Volumes/OSX/oradata


4. Configure Kernel Parameters

When installing Oracle on Linux or other flavors or UNIX, certain kernel parameters will have to be adjusted for Oracle to run properly. The Quick Installation Guide specifies the proper minimum values.

To verify the kernel parameter values, execute:

# /usr/sbin/sysctl -a | grep corefile
# /usr/sbin/sysctl -a | grep sem
# /usr/sbin/sysctl -a | grep maxproc


I got the following output:

# /usr/sbin/sysctl -a | grep corefile
kern.corefile = /cores/core.%P

# /usr/sbin/sysctl -a | grep sem
kern.sysv.semmni: 87381
kern.sysv.semmns: 87381
kern.sysv.semmnu: 87381
kern.sysv.semmsl: 87381
kern.sysv.semume: 10
kern.posix.sem.max: 10000

# /usr/sbin/sysctl -a | grep maxproc
kern.maxproc = 532
kern.maxprocperuid = 100


So I only had to adjust the last two values by executing:

/usr/sbin/sysctl -w kern.maxproc=2068
/usr/sbin/sysctl -w kern.maxprocperuid=2068


To make these values stick, that is, presist after a reboot, edit /etc/sysctl.conf and add lines for values that need changing. I used vi to edit the file, but you can use any text editor.

kern.maxproc=2068
kern.maxprocperuid=2068


5. Set Shell Limits

For performance reasons, shell limits need to be adjusted. Begin by navigating to the directory that contains the IPServices script.

# cd /System/Library/StartupItems/IPServices

Using any text editor, edit the file IPServices and add the following ulimit commands inside the StartService() function:

ulimit -Hu 2068
ulimit -Su 2068
ulimit -Hn 65536
ulimit -Sn 65536


It should then look like this:

StartService ()
{
if [ -a /etc/com.apple.named.conf.proxy ]
then
echo "Starting Internet address sharing"
/usr/libexec/InternetSharing
fi
ulimit -Hu 2068
ulimit -Su 2068
ulimit -Hn 65536
ulimit -Sn 65536
}


6. Configure User Environment

The installer will be run from the oracle user. But before you can run the installer, however, the environment for oracle has to be set properly.

While logged in as oracle, I created the .bash_profile for the user which contains the following:

umask 022
ORACLE_BASE="/Applications/oracle"
ORACLE_SID=AW01
ORACLE_HOME="/Applications/oracle/product/10.1.0/db_1"
export ORACLE_BASE ORACLE_SID ORACLE_HOME
export PATH=$PATH:$ORACLE_HOME/bin

Actually I added the ORACLE_HOME much later, so this is the result from the later installation.

Then I sourced the .bash_profile by exectuing

oracle$ source ~/.bash_profile


7. Add Hostname to /etc/hosts

Because I get the IP address through DHCP from a wireless router, I had to make sure the installer could find this IP address by adding it to my /etc/hosts file. You may not need to do this, depending on how your machine is networked. If, during the install process, you see an error related to the installer not being able to determine the IP address, stop the installer, perform these steps and launch the installer again. As Root, edit the file /etc/hosts and add an entry with your hostname and IP address. I determined my IP address by executing the following commands as root:

root# hostname
root# ifconfig -a


The first command returned iBook.local. The second returned configuration details for each network device. The IP address for en0 is 192.168.0.133. So, I added a line to my /etc/hosts file.

It was interesting that I had to log off from the system to make these changes be recognized by the oracle installer while it was immediately available in the shell.

8. Installing Oracle

First you have to download the necessary files from OTN. To install the database, you'll need the file ship_mac_db.cpio.gz
You have to download them either as user oracle or copy them to /tmp and then get them as oracle and move them to /Volumes/Application/oracle/stage. I created the stage directory there first.

In the stage directory you have to umcompress the file:

oracle$ gunzip ship_mac_db.cpio.gz
oracle$ cpio -idm <>

Now start the installer and hold ya horses:

oracle$ cd Disk1
oracle$ ./runInstaller


If you don't know what to do in the installer take a look at the Quick Installation Guide, because I don't want to write that down now.

And now comes the tricky part, because the installer will not finish successfully, but break while trying to start some assistant at the end of installation.


9. Fixing the Oracle Installation

When the installer breaks just finish the installation as possible. We now will relink the complete libraries. I don't know why I have to do that but maybe it would have helped to set the gcc version before installing oracle. I will try to that next time.
But now we change the default gcc version:

gcc_select 3.3


Change directory to $ORACLE_HOME/lib and

mv libnnz10.dylib libnnz10.dylib.ori


Now make sure that you have added $ORACLE_HOME/bin to your path. If not do so and then

relink all


When everything has been relinked you only have to move that file back

mv libnnz10.dylib.ori libnnz10.dylib


Now you will be able to run dbca and create your database.


Was a tricky one, but Google knew a few links that solved the problem, after reading through a bunch of useless ones.

Update: Just a small note. Please read the comments below for additional information. Matthew has also been able to install Oracle on Leopard already. Thanks again.

Technorati Tags: , , , ,

Bookmark this on Del.icio.us
posted by madhatter @ 11:54 PM


Wednesday, May 25, 2005


Mallrats X

The most anticipated Viewaskew DVD ever will appear in fall 2005 as "Mallrats X". Matt Potter did a great job on creating a trailer. It's mixed with sound from "Batman Begins" trailer which gives "Mallrats" a more dramatic node that it had before.
Take a look at the trailer.
I am really looking forward to it, because I still like "Mallrats" and "Chasing Amy" the best. ...has anybody seen "Jersey Girl"?

Technorati Tags: , ,

Bookmark this on Del.icio.us
posted by madhatter @ 7:05 PM


Monday, May 23, 2005


iTunes 4.9 goes Podcasting

Podcasting. Sounds to me a bit like iPodmodding or crap like that. And in my opinion it is crap.
Podcasts are some kind of radio shows you can legaly download and listen to whenever you want. Instant radio shows.
That is not really a bad idea, but after searching some podcast applications for interesting shows I am quite sure, that I don't need that. (Hint: found nothing I am interested in or care about)

Now iTunes will focus on Podcasting in upcoming version 4.9. I haven't tested the video functionality in iTunes 4.8 yet...

Technorati Tags: , , ,

Bookmark this on Del.icio.us
posted by madhatter @ 2:54 PM



Jason Lee's new name will be Earl




Jason Lee - "My Name is Earl"




As I read at newsaskew a minute ago, Jason Lee will appear in his own sitcom debuting this fall on NBC. Title of that show will be "My name is Earl". Lee plays a criminal who wins the lottery and now has more money he ever could have stolen. That is why he now tracks down his past victims and makes amends.


Lee is well known in the askewniverse as he played in five of Kevin Smith's movies. Which is mentioned in this article, too.
Newsaskew also has two (1, 2) scans available with an interesting interview with Jason Lee.


Technorati Tags: , ,

Bookmark this on Del.icio.us
posted by madhatter @ 12:04 PM



640K ought to be enough for anybody...

... Bill Gates said once and we all believed him.

This quote is already a few years old and 640K of RAM are not enough for anybody since a while. But it is not too lang ago that we had less than 640Kb/s bandwidth available for anybody.
Today you can have up to 5 Mbit/s (in Germany) as private DSL customer. But only the downstream is that fast (on good days) and the upstream is just half a kilobit fast or even less than that.

Bandwidth still is expensive and rare or even shoud be. I don't want to have 5 Mbit/s downstream, just a few more Ks upstream would be great. So, go and download pr0n from the net as fast as you want, I just want to be able read my email on my BSD box when I am not at home without waiting too long for mutt's interface via ssh...

Technorati Tags: ,

Bookmark this on Del.icio.us
posted by madhatter @ 12:14 AM


Sunday, May 22, 2005


Flickr. May offend?

Have you had time to browse "Everyone's" pictures at flickr lately?
While I was bored by learning for tests, I surfed around at flickr for a few hours. It's kinda interesting who is contact of whom and how people at flickr are connected with each other... (I already mentioned that.)

Girl pees at flickr

But I was a bit surprised that there are lots of pictures which "may offend" but actually don't seem to.
For example there is a 23 year old girl from Ottawa, Canada, who seems to get drunk with her friends every day or is peeing all over the place every single moment. Oh, and of course taking pictures while doing so.

I don't care. I will not press the "may offend" button and delete people's photos from flickr. Why should I? I don't have to browse through everybody's pictures and doing it makes me to some kind of voyeur, because I should not be interested in photos of people I don't know, never met and never talked to anyways. On the other hand I get the feeling, that some people want me to look at them.

But it's fun. There are lots of great photos out there, which make me jealous that my photos rarely look that fascinating. And if that means I have to watch people pull down there pants in public I don't care about it. Right now I haven't stumbled about any picture that gave me a real heart-attack.

Technorati Tags: , ,

Bookmark this on Del.icio.us
posted by madhatter @ 8:40 PM



Mail Stamps - Redesign Mail for OS X

Since Mac OS X 10.4 ("Tiger") the application Mail looks awful. Apple was able to ignore all there guidelines and create a really unusual looking graphical user interface that does not fit into the rest of Tiger.

Now with Mail Stamps you are able to get the old familiar look of Mail back. It comes with a handy installer (and also an uninstaller) and within two minutes you're done.

I just changed some icons in the toolbar, because those combined versions seemed to have small design-bugs. But now Mail looks a bit more like the old one again.

Technorati Tags: , ,

Bookmark this on Del.icio.us
posted by madhatter @ 5:44 PM



What is RSS good for?

I just read a very well written article over at Schockwellenreiter's about RSS and what it is good for anyways. The article is written in german language...

Technorati Tags: ,

Bookmark this on Del.icio.us
posted by madhatter @ 5:19 PM



Bloglines Weather Forecast

Already forgot that: bloglines has now a new feature of it's own: weather forecasts.

Forecast
Just click at "add" in your "my Blogs" view and then select "weather". They even have weather forecasts for german cities.

Technorati Tags: ,

Bookmark this on Del.icio.us
posted by madhatter @ 12:58 AM



Softwareupdates


Baywatch 1.0beta3
The little applescript tool Baywatch has been released as 1.0beta3 version. If you haven't heard about it, it's a very nice tool to put eBay auctions in iCal to keep an eye on them. This is very useful because eBay's notifications are often out of time. When I get the mail the auctions is often already over or I have three more hours to forget about it.

So, what is new in this version?

  • supports partial hours for the ebay time preference

  • browser support for Safari, Firefox, OmniWeb, Internet Explorer

  • Tiger ready

  • minor bugfixes


Is there no copyright on the name "Baywatch"?




MplayerOSX B8r5
The useful everything-player has been recompiled for Mac OS X 10.4 ("Tiger") and is available here. But it seems "there are problems with some audio files".

Update: I hope there will be a new release of MplayerOSX soon. Some of the keybindings don't seem to work in the movie window, but only in the main application. And I could not recognize a better performance than in the old version of MplayerOSX.

Technorati Tags: , , ,

Bookmark this on Del.icio.us
posted by madhatter @ 12:42 AM


Saturday, May 21, 2005


Knowledge is not wisdom. Wisdom is not truth.


"Information is not knowledge. Knowledge is not wisdom. Wisdom is not truth. Truth is not beauty. Beauty is not love. Love is not music. Music is the best." -- Frank Zappa



Just read the results of an intelligence test here and thought "why not take the test myself". I've never done that before and always wanted to know, how high - or even low - it might be. Sorry, the result is in german only, but the determined quotient is 129. But how representatively is that?


Arvid, Ihr Intelligenzquotient ist 129

Arvid, Ihr Ergebnis liegt deutlich über dem Durchschnitt! Herzlichen Glückwunsch! Sie verfügen über eine große Anzahl an Talenten, und diese sind besser ausgeprägt als bei den meisten Menschen. Sie haben darüber hinaus bewiesen, dass Sie besonders gut sind, Fragen wie die im Test gestellten beantworten können. Der klassische Intelligenztest analysiert Ihre persönlichen Stärken und Schwächen in den Bereichen Mathematik, Sprache, visuell-räumliches Denken, und Logik. Anhand der Auswertung Ihrer Antworten können wir ableiten, in welchem dieser Bereiche Sie am besten abschneiden.

Zu Ihrem Ergebnis: Sie sind hoch intelligent und verfügen über eine außergewöhnliche Redegabe. Dabei vereinen Sie die Wortgewandtheit eines Schriftstellers mit der Fantasie eines Künstlers. Ihr kreativer Geist ist immer wach und strebt danach, sich auszudrücken und seine neuesten Ideen zu präsentieren. Sie sind außergewöhnlich sprachbegabt und sehr einfühlsam. Nicht zuletzt deshalb können Sie Menschen selbst komplexeste Zusammenhänge spielend leicht verständlich machen. Dies macht Sie zu einem Klugen Philologen.



Last sentence says "That makes you a smart philologist". Philologist? Really? But I like my job...

Technorati Tags: , ,

Bookmark this on Del.icio.us
posted by madhatter @ 9:54 PM



Unhappy Hacking Keyboard

What is this keyboard good for?



DasKeyboard



Come and type on my iBook. I hacked so much on it in the last few months that almost four keys are blank, too, right now. And it seems its getting worse.
If I ever buy a keyboard again, it will probably be one of those Happy Hacking keyboards. But only, if my good old IBM keyboard (1391401) breaks. And I really can't imagine why that should happen. Best keyboard ever.

Technorati Tags: ,

Bookmark this on Del.icio.us
posted by madhatter @ 6:16 PM



Troublemaker Technorati

Since I am using the technorati tags here, I am keeping an eye on the activities at technorati.
Now I read here that Moe's Updates are not recognized by technorati. Taking a look at my own blog there tells me, that it hasn't been updated for over 21 days. Why that?
I've read all of the few sites at technorati, claimed my blog a few times and I don't get it. Did I understand the whole process wrong or is there just an error at technorati?
If somebody has an idea, please tell me.

Technorati Tags: ,

Bookmark this on Del.icio.us
posted by madhatter @ 4:16 PM


Friday, May 20, 2005


A not so greasy monkeywrench?!

I've been quite sure that I mentioned greasemonkey here already. - Doesn't seem so.
But I often planned to do so. And today is the day, because I mentioned it in the comments of my yesterday's post.


Greasemonkey is a very powerful Firefox extension which gives the possibility to change the design and even the functionality of websites. First time I stumbled over greasemonkey has been over at persistent info a few months ago. I found a greasmonkey script to add some permanent searches to the GMail site. (A feature I never really used, but still cool, when you never heard of greasemonkey before.)

Today I have about 15 greasemonkey scripts installed and I hope that it will be more and more in the future. For example, I use a script to delete those annoying ad banner in bloglines or have a nice "delete"-button in my gmail menu.

There are so many useful scripts around. The only problem you might have is that you don't read all those websites you can get scripts for...

Technorati Tags: , ,

Bookmark this on Del.icio.us
posted by madhatter @ 6:02 PM



ecto wins

I have been blogging with the interface at blogger.com since I began writing here. I've always been looking for a better way to do so, because I got tired of hacking every single link or something like that by myself.
While blogging is so famous now most tools to handle your writing activities are very expensive. The only application that seems to make a difference has been ecto. And I tested it a few times, because I still miss something. I really can't say what it is, but I am not really happy with it.
But it is much better than writing online. Now I will be able to write some entries even if I am not connected to the net. And the integration of technorati tags is very neat.
And why not support a nice software project, even if it is not perfect yet? - So I got myself a license for OS X today.

Technorati Tags: , ,

Bookmark this on Del.icio.us
posted by madhatter @ 3:38 PM


Thursday, May 19, 2005


Why do we need ads in RSS feeds?

Already recognized that there appear more and more ads in your RSS feeds?
Right now I am lucky to have just a handful feeds with those annoying ads in my Bloglines account, but I am pretty sure that there will be more and more in the next weeks and months, because Google has announced the official beta state two days ago.
As I read in Moe's blog the RSS-Blogger wrote down a nice ranking (link to a german article) for feeds, I totally agree with. It's worse enough that you have often only previews of the articles and not the complete blog entry. But ads in it make it not better. And I don't get it, why I have to visit the website to read the whole article. I don't follow ads there either.

Technorati Tags: , ,

Bookmark this on Del.icio.us
posted by madhatter @ 11:51 PM


Wednesday, May 18, 2005


Farin Urlaub in Hamburg

On monday evening I went to the first concert of Farin Urlaub's Racing Team in Hamburg. It took place in "Große Freiheit", Reeperbahn.
We hit the road at quarter past 7 in Lübeck downtown and arrived near the Reeperbahn at almost 8 o'clock. Even if we were not one of the first who got into the hall, we found a nice place near the stage, where we had a great view and did not have to stand all the time. (Until a big fat long haired jerk joined us and tried to fit between us and the stage. *gnarf*)
It was really a great concert. Nice background singers made a lot of fun-dancing and had some hilarious word-battles with Farin. If you get the chance to get a ticket to one of the shows get there and have a great evening.



Furt Hh



Not easy taking pictures with a mobile.


Technorati Tags: ,

Bookmark this on Del.icio.us
posted by madhatter @ 9:00 PM


Tuesday, May 10, 2005


DON'T !! Get emacs for Mac

I just read it at Powerbook_blog that a native emacs version hit OS X. Just 32 MB of download and an installation of less than 110 MB (108 actually) and you can enjoy editing text files on your mac.
I haven't tested it, but I hope the implementation is as good as the original unix one, so it is as slow as that one.
Sorry, could not resist.

Technorati Tags: ,

Bookmark this on Del.icio.us
posted by madhatter @ 10:56 PM