quot

Intro to Darwinism

By
Jon
Gales

No,
this isn’t going to be a religious or scientific battle about the origin of
our universe. It’s going to be a first look at Darwin, the underlying level
of Mac OS X. Right now you are probably asking yourself why, how, or are confused
as to what Darwin really is. I can give a you a great nutshell answer for each.
Strap on your geek boots, here we go!

 

What:

Darwin
is FreeBSD for the PowerPC processor (G3 and up actually). It is open source
and can be downloaded free of charge from http://darwin.org/projects/Darwin/1.3/release.html
(an Apple site). The download is about 120 megs and the installation can’t
be easier. If you have ever tried to install Linux you will envy Darwin’s
install. It is truly drag and drop (and there’s not even any dragging!). Just
double click, select an empty partition and you are in UNIX. I said before
that Darwin is the underlying level of OS X. Here is what that means:

Aqua


Carbon Classic Cocoa

Open
GL
Quartz QuickTime


DARWIN

As you can
tell, Darwin is on the bottom of our chart; this means it controls all the
base level OS operations. You can access Darwin in the Terminal.app in OS
X (in the Utilities folder). That’s all good but we power users want more.
For that we move to why.

Why:

Why not? Well,
it isn’t user friendly, has no native GUI (X Windows can be installed but
isn’t part of Darwin), can’t run any of your applications, and the list gets
longer. What it does, it does well: all UNIX functions. Aqua is beautiful
but takes RAM and CPU cycles. That is a waste if you are using your box as
a server. OS X has real powerful server tools like Apache built-in, and MySQL
and PHP can be installed making OS X a powerful web server. The same server
can be run from Darwin without the wasted RAM and CPU cycles that Aqua brings.
In fact, Darwin can be your network’s NAT server (for sharing net access).
You can have an older G3 serve as your router/firewall/webserver all without
paying a dime. Even if you don’t want to use those features there is no easier
way to learn UNIX (except using it in the terminal).

How:

Once you run
the installer, go up to the startup disk control panel and select the disk
(or partition) with Darwin on it. If you don’t want to make it the default
disk, just hold Option at startup and select the boot disk at that point (instead
of using the startup disk control panel). After a few minutes you will have
a blinking cursor; type the following:

root

You will get
the following message: "Welcome to Darwin!". This signifies that
you are all logged in and are ready to do anything you choose. Here are the
commands I found most useful:

ls
= list files in current directory
cd
= change
directory (cd / takes you to the main directory)
mkdir
= make directory, creates folder

pico
= opens
up pico (a text editor). A file string followed by pico will open that file
in pico (Ex: pico /files/test.pl will open a file called test.pl located in
the /files directory)

All the OS
X directions in my Perl
tutorial
apply to Darwin (since it is OS X).

To connect
to the internet I edited the /etc/iftab file in pico to read:

en0
inet 192.168.1.102 netmask 255.255.255.0 up
en0 inet -DHCP-

The IP address
is specified by my router so that will change depending on your setup. If
you aren’t on DHCP try following the directions on this site: http://www.excel.net/~clobrien/darwin/Network.html

After I was
on the net I did an FTP transfer. To connect to an FTP server type:

ftp
ftp.servername.TLD
(replace TLD with the ending tld)

It will prompt
you for a username if necessary and then a password. You can use the cd and
ls commands to move around the file tree. Type: get FILENAME to download
files and: put PATH/TO/FILE.txt to upload files. Type ? for
a list of all commands.


That was my
experience with Darwin… I will write another article once I get PHP and
MySQL going (I am having some difficulties forwarding the right ports to my
computer at the moment).

 

If
you are having trouble or would like to ask me a question, please send me mail:
jonknee@macmerc.com

Extreme IE customization – Graphical Favorites

By: Jon Gales

Although very few people will admit to being a fan of Internet Explorer,
most Mac users will come in contact with it quite frequently. Although OmniWeb
and Chimera are good
browsers, IE still has more compatibility. I recently found a way to make Explorer
a little nicer ñ graphical
favorites:

ie gfx only Extreme IE customization   Graphical Favorites

The trick makes your "must have" sites more visible
while giving them a nicer appearance.

The first step is to make the graphic. Go to the site that you want to have
the graphical link to and look for a logo. In my case I went to MacMerc (big
surprise!) and found our logo. To save this to your desktop you can either click
on it and drag it to your desktop or control-click on it and choose "Download
Image To Disk"
. It’s your call but control clicking might be a little
easier if you’ve never dragged an image to the desktop before.

Once you have it saved to your computer you need to resize it. Although IE will
try to automatically resize it, the result will look like trash. I used Photoshop
[screen
shot]
but any basic image editor with resizing capability will work –
even iPhoto! If you
are using Photoshop and the logo is a gif (like it is in MacMerc’s case) the
mode needs to be switched to RGB [screen
shot]
Once the image has been resized it needs to be cropped [screen
shot]
. I saved off my image as ‘logo.gif’ and put it on my desktop.

Now open up a text editor and type
in the following code. If you are using TextEdit type Command-
shift-T before starting to type anything (switches to text mode). To save some
typing download (control-click and choose Download Link To Disk) this
file and open it in TextEdit (no preference hacking needed). Whichever way you
chose your file should be as follows [screen
shot]
:


<a href="http://www.macmerc.com"><img
src="logo.gif" alt="MacMerc"></a>


The image (logo.gif)
will link to http://www.macmerc.com
and it’s title (underneath the image) will be "MacMerc". You
can obviously change these if you are doing another site. If you want to do
several sites at once feel free to keep adding code – you don’t have to
delete the first line before adding a second. Download a transparent gif of
the logo if you can. Otherwise it may look a little funny on your tool bar!
You can always make a logo transparent in Photoshop if need be but most of the
times you should be able to find one. If you can’t make out the logo at the
small size either make up a new one in Photoshop or find a new site! Not all
sites have logos that fit well in the little space.

Put the text file, and image in a
folder (you can call it anything you like). Place this folder someplace that
it won’t be moved (/Users/username/Documents is a good place). If it does get
moved your bookmark will bust! Open the text file in Internet Explorer
by dragging in into a blank browser window, dragging it to the Dock icon or
choosing open in IE. Once the file is open you should see the logo you lovingly
prepared. If not go over what you did… If you’re still having trouble email
or IM [AIM: jonknee41] me and I’ll walk you through it. If you want to add MacMerc
I have posted the graphic I used here.

Once you have the logo just
drag it to the top tool bar [screen
shot]
, the logo should "stick" afterwards. If you need to delete
it or just want to see the text/image control-click in the top menu bar [screen
shot
] and choose the appropriate option. [screen
shot of graphics only]
[screen
shot of text only]

Most people will want to add Google
(as well as MacMerc…) and I have one more trick that will save you even
MORE time. Instead of linking to http://www.google.com
use this URL:

javascript:void(q=prompt(”,”));if(q)void(location.href=’http://www.google.com/search?q=’+escape(q))

The code for the page will look like
this:

<a
href="
javascript:void(q=prompt(”,”));if(q)void(location.href=’http://www.google.com/search?q=’+escape(q))">
<img src="logo.gif" alt="Google!"></a>

What it will do is pop up a box in
IE that you type your query into. Hit return and you’re taken to the results
page of Google! No need to hit the front page! You can easily customize this
javascript to work with a bunch of search sites like dictionaries, and image
search engines. It’s quite a time saver!

If you find any cool tricks that stem from this idea please send
them to me and I’ll let the rest of the world know (and also credit your name
of course). Also, if you go wild with this and want to send me a screen shot of your tool bar go ahead! I’d love to see/post what everyone has done.



macmerc Extreme IE customization   Graphical Favorites
MacMerc

joyoftech Extreme IE customization   Graphical Favorites
The Joy of Tech

ay2k Extreme IE customization   Graphical Favorites
After Y2K

apple Extreme IE customization   Graphical Favorites
Apple

macdesign Extreme IE customization   Graphical Favorites
MacDesign

macupdate Extreme IE customization   Graphical Favorites
MacUpdate

macsurfer Extreme IE customization   Graphical Favorites
MacSurfer

powerpage Extreme IE customization   Graphical Favorites
O’Grady’s
Powerpage

macminute Extreme IE customization   Graphical Favorites
MacMinute

macaddict Extreme IE customization   Graphical Favorites
MacAddict

macfans Extreme IE customization   Graphical Favorites
MacFans

unsanity Extreme IE customization   Graphical Favorites
Unsantity

iconfactory Extreme IE customization   Graphical Favorites
IconFactory

googlepopup Extreme IE customization   Graphical Favorites
Google
(Pop-up)

google Extreme IE customization   Graphical Favorites
Google

macmusic Extreme IE customization   Graphical Favorites
MacMusic

hsx Extreme IE customization   Graphical Favorites
Hollywood Stock
Exchange

imdb Extreme IE customization   Graphical Favorites
IMDb

audible Extreme IE customization   Graphical Favorites
Audible.com

amazon Extreme IE customization   Graphical Favorites
Amazon

thescreensavers Extreme IE customization   Graphical Favorites
The Screen Savers

techtv Extreme IE customization   Graphical Favorites
TechTV

What’s Realô really doing ó Part 3– Realô Replies

By: Jon Gales

A MacMerc reader sent me
a reply he got from Real concerning
the lack
of RealPlayer for OS X
. It’s the first reply I’ve gotten. If you have any
replies please send them in so I can post them! If you click on the [comment] links throughout the email you will get my take. Feel free to send in any rebuttals
you have.

LETTER FROM REAL:

Hello
**NAME OF SENDER**. Actually you are about the 50th person who has stated
this question to us today via the sales email alias. If you could please sent
this response back to all of the other people that have emailed this same
response. Real appreciates all of your input and understands your dying need
to have RealOnePlayer compatible with OSX. I personally am glad that so many
of you are enthusiastic about getting it.
I work in server sales and will pass on your messages. The thing is this.
Real is in deed working on a version compatible with OSX due to be out by
no later than the end of this year [comment]. Unfortunately
Mac versions although very important just make up such a small amount of the
computer universe that they are often the last to be focused on.[comment]
Real makes their technology compatible with over 10 different Operating Systems
and the other platforms are in much higher demand [comment]
unfortunately so we have to get to them first. The OSX version will be out
towards the end of the year. Unfortunately that is all the give me as far
as a date goes.
I will definitely forward all of this response to our product development
department in hopes that this will spur them on to expedite this process [comment].
Thanks again for your input and please  inform the others that emailed
me as well. Thanks. -Chris

My Take:

1) "To
be out by no later than the end of this year"

This is what I was going for. We have at least a target. A development time
of 20 months is a little lengthy but I’ll take it. At least we got a time frame
(something that wasn’t posted on their site). [top]

2) "Mac
versions although very important just make up such a small amount of the computer
universe that they are often the last to be focused on"

Wow. That makes me very angry. Here’s an analagy: I tend to focus my eyes on
Lexus vehicles rather than on Ford’s. Lexus has a very small market share but
they sure get respect. Imagine if no tires were being made for all of the new
model Lexus’! The stores just say "Sorry Mr. Gales there just isn’t enough
market share to fund making a tire just for your type of car. We’ll have one
out by the end of the year.". You can read the Naked
Truth
to continue this analogy but I don’t think you need to. Any rabid
Mac fan will be angered by the above kill statement. Good thing I’m not militant.
icon razz Whats Realô really doing ó Part 3   Realô Replies [top]

3) "Real
makes their technology compatible with over 10 different Operating Systems and
the other platforms are in much higher demand"

Name them. Go ahead, try
it. This is what I came up with:

  1. Windows XP
  2. Windows 2000
  3. Windows ME
  4. Windows 98
  5. Windows 95
  6. Windows 3.1
  7. DOS
  8. Linux
  9. Unix (non OS X )
  10. BeOS

On Real.com you can download
their player for 8 OS’s, not 10:

  1. Windows 98
  2. Windows ME
  3. Windows 2000
  4. Windows NT 4.0
  5. Windows XP
  6. Mac OS 8.1
  7. Mac OS 8.5 or higher
  8. UNIX

The one’s in bold have no
chance of being in higher demand than OS X. Already OS X has a larger user base
than all GUI based Linux distributions so cancel out Unix. How many people do
you know run OS 8? I don’t know anyone. But, it runs RealPlayer. Nice. This
"fact" in the letter was complete BS, plain and simple. [top]

4) "I
will definitely forward all of this response to our product development department
in hopes that this will spur them on to expedite this process"

Good. I thank you for your
support in this effort. Hopefully we can all have a smug grin on our face when
RealX comes out a few months early. I congratulate you all. We did something
that one person couldn’t – get a reply out of the monster. Give yourself
a pat on the back! [top]

 

If you get any replies from
Real please forward them to jon@macmerc.com.
Thanks! – Jon