The
Ultimate
Business Machine

Technology, business
and innovation.

And, not least, about
the Mac.

Weblog Archive Cutedge

by: Bernard Teo








Creative Commons License

Copyright © 2003-2012
Bernard Teo
Some Rights Reserved.

Sat 03 Sep 2005

DNS Enabler will work on OS X Server

Category : Technology/DNSEnablerForOSXServer.txt

Just a note about DNS Enabler and OS X Server. Yes it will work on Server.

This is not like Postfix Enabler, which couldn't work on Server because Server is wired to Cyrus for IMAP and POP while Postfix Enabler uses UW/IMAP and I'm afraid (no, I'm sure) I will mess things up for a Server mail user.

OS X Server is short of a good DNS set-up tool. So I'll be happy if DNS Enabler proves to be useful to all those Xserve administrators out there.

I'll have a new release of DNS Enabler with support for setting up slave backup name servers by tomorrow. It's almost done.

Posted at 4:43AM UTC | permalink

Wed 31 Aug 2005

"Now, sir, this register makes the entries."

Category : Technology/LucaObjC.txt

"This, Mr. Merchant, is a National Cash Register of the most approved pattern.

"To appreciate what a help it would be to you, we must see what things you do in your store of which you keep a record. I think the ordinary daily transactions with your customers may be arranged in five classes, thus:

1. You sell goods for cash.
2. You sell goods for credit.
3. You receive cash on account.
4. You pay out cash.
5. You change a coin or bill.

"Am I right?

"Now, sir, this register makes the entries. The indication of the transaction shows through this glass. The amount of the last recorded transaction is always visible, and the records are made by pressing the keys."

- "The Birth of a Salesman" - Walter A. Friedman

A National Cash Register nowadays is hard to find. You can use Luca instead to make all the entries. Luca 2.0 is out. It's totally rewritten in Objective-C and uses an embedded SQLite database. No more messing around with MySQL and Java. Download and use the trial version today.

Posted at 7:33AM UTC | permalink

Sun 28 Aug 2005

DNS Enabler and Slave Name Servers

Category : Technology/slaveNameServer.txt

I'm almost done with this. This is DNS Enabler setting up a slave (secondary) name server :

Everything works exactly the same as before except that the radio button allows you to indicate that this is going to be a back-up (slave) name server that reads its zone data from a primary (master) name server.

Hit the Run DNS button and this slave will keep itself synchronised with the master, updating its zone data files whenever the master changes.

Neat. If your primary name server goes down, there's still this backup.

Except that the slave saves the zone data in the "shortened" $ORIGIN format, below, and I've been using the "long" (probably archaic) format up to now.

So I've had to re-write a large chunk of code to parse the data in this $ORIGIN alternate format. I decided I might as well as standardise on this one format when I'm writing out the zone files for the primary name server. That's why it's taking a little bit longer than I thought. But it's better for the long run.

I can't wait to get this over with to get back to Postfix Enabler Part 2 (or whatever it's going to be called).

Next week, we'll also have the SQLite/Objective-C version of Luca ready. (Luca rhymes with lucre. Apt for an accounting system? Hopefully not in a pejorative way.)

It's only 1/8th the size of the current Java/MySQL-based version, yet with all of the same features. In fact, it may work even better. Is Objective-C more productive than Java? I'm starting to believe this is so.

DNS, Web, Mail, and an accounting/financial management system that integrates with all these. They form the foundation of every modern-day business system. We're going to make the Mac the ultimate business machine by the time we're through. Or die trying? In any case, it won't be for want of trying.

Posted at 2:14PM UTC | permalink

Sat 27 Aug 2005

Immortality

Category : Commentary/immortality.txt

I was returning the car so my wife could use it. I was listening to Jim Croce ("I've Got A Name", "Lover's Cross", "Operator" from the Photographs and Memories album,

Photographs and memories
Christmas cards you sent to me
All that I have are these
To remember you

and also John Denver ("Sunshine on My Shoulders"), Minnie Riperton ("Lovin' you"), and Andy Gibb ("Our Love - Don't throw it all away")

This happy room
Would be a lonely place when you are gone
And I won't even have your shoulders for the crying on

- from my iTunes collection.

One short trip. So much great music. All these people are gone. But their music lives on. Fresh, like when I was sixteen. (Am I growing old or what?)

Like the pine trees lining the winding road
I've got a name, I've got a name
Like the singing bird and the croaking toad
I've got a name, I've got a name
And I carry it with me like my daddy did
But I'm living the dream that he kept hid

Posted at 6:24AM UTC | permalink

My New iBook G4

Category : Commentary/iBookG4.txt

This is my new iBook. You can be sure that iTunes was the first thing that went over - even before the project files, DNS Enabler and all that. Shows what is more important ;-)

But seriously, with WebMon, DNS Enabler, and Postfix Enabler, I've got my complete development environment set up in five minutes. Mail server, PHP, SSL, remote access to my main server - they all work, fresh out of the box. I used to email Hai Hwee (what're those Unix commands needed to set up auto-login in SSH?) because I never bothered to remember them. Not any more.

Posted at 6:23AM UTC | permalink

Wed 24 Aug 2005

Work in Progress

Category : Commentary/wip.txt

For DNS Enabler, I'm going to include the ability to set up a secondary (slave) DNS Server.

I was going to add to DNS Enabler the ability to notify slave name servers (when something changed on the master server) when I realised that BIND 9 (that OS X uses) does that automatically. So the time would be better spent doing something that sets up those secondary name servers themselves.

For Postfix Enabler, I'm going to do these : mail queue management, RBL sites (though I hate it when they block mail from dynamically assigned IP addresses so I won't suggest those that do), SMTP authentication over SSL between mail servers, enforce SSL for SMTP authentication, alternate port numbers to contact the mail server, default mynetworks_style to "host" (i.e., allow mail to be relayed only if it originated from the server or if it has been smtp-authenticated) and let the user choose to relax that restriction to include mail from any machine on the same subnet, and also support for Fetchmail.

Posted at 2:57AM UTC | permalink

PFE works in Bangalore

Category : Commentary/bangalore.txt

I got this mail from Tom Gilb. "Thank you it works right away here in bangalore at Sheraton hotel and they could not figure out how to get my mail out after 3 days!"

It feels good to get stuff like that.

Bangalore. I'd like to go where all those Postfix Enabler bits are going. One day soon, when the kid's able to take all the walking, we'll get on the road again.

Posted at 2:24AM UTC | permalink

Thu 18 Aug 2005

The Chocolate Factory

Category : Commentary/wonka.txt

Well, what do you get when you cross Steve Jobs with Michael Jackson? Willy Wonka, as played by Johnny Depp.

Posted at 4:24PM UTC | permalink

Tue 16 Aug 2005

Drag and Drop

Category : Technology/draganddrop.txt

I've released new versions of DNS Enabler (1.1.6) and WebMon (1.1.5) with drag and drop support. This will allow a DNS Enabler user, for example, to re-arrange the DNS entries in any order that he wants.

I've also figured out how to add a toolbar to our applications. And to start working with icons.

In a couple of weeks, I think we would be ready to release Luca with an embedded SQLite database so that it'll be really easy to set up and run an accounting system. Hopefully we can evolve it into something more like a financial management tool.

And I'm working on a new version of Postfix Enabler (which won't be called Postfix Enabler). So things are moving.

The whole point of going through this litany of works-in-progress is to reflect on how very productive the Cocoa development environment is. If you've gone through the dark ages when one vendor after another abandoned the Mac platform, you may have a sense of how liberating all this feels to me.

I used to work with an EIS/data mining tool called GQL and also something called Data Prism. They were a revelation because they were so much cheaper than the incumbent host-based systems. Data Prism and GQL cost hundreds or, at most, thousands of dollars but not the hundreds of thousands that the IT industry, then, assumed that decision-support tools have to be.

And they ran on the Mac. At first, only on the Mac. And they were a revelation because they showed how a GUI could help you visualise the relationships among the data. Remember then that the host-based systems (by that I mean those running on DEC and HP minicomputers, etc) were all character-based. So, for a while, people saw the Mac in a different light.

Then we went into a tailspin (Sculley, Spindler, Amelio) when one product after another dropped support for the Mac and became Windows-only. When GQL became Hummingbird, that was the end of the Mac version.

Nowadays, I feel we can build all these ourselves. The drag and drop needed to implement a data mining GUI - one that will allow you to pull the pieces together to construct a database query - that's there. The access to a wide range of databases - Oracle, MySQL, and SQLite. That's also there. The ability to work with tables, sorting them, rearranging column order, hiding and showing columns on the fly. These are also there in the Cocoa toolset. The ability to simply drag and drop the result into a spreadsheet, a presentation tool, or a publication tool - they're already there.

It's a waste to use all these capabilities just to build graphic tools or Final Cut Pro, etc. There's a wealth of business tools waiting to be built. So we can drag and drop them into our businesses.

Posted at 3:04PM UTC | permalink

Thu 11 Aug 2005

WebMon 1.1.4

Category : Technology/WebMon114.txt

This is WebMon 1.1.4.

I've re-arranged the workflow so that WebMon works like Postfix Enabler and DNS Enabler, at least initially, where you work locally on the server.

It takes only a couple of minutes to turn on PHP, WebDAV, and SSL on the server. And to check that WebMon's web server monitor feature works.

But unlike the current versions of Postfix Enabler and DNS Enabler, WebMon works across a network.

This is potentially very powerful but it may not work for everyone because many things could go wrong while setting up the remote connection.

Re-arranging the work flow this way allows me to unveil the remote admin capability in a couple of steps, and hopefully I can take the user across safely, while offering him or her useful things that work at each step of the way.

It may need a little bit more work and the interface needs to be a little bit less harsh but I think I'm getting there.

A lot of Cocoa's appeal as a development platform is the way you can use Interface Builder like a storyboard without worrying about program code, i.e., you can keep on arranging and re-arranging the pieces of the interface and concentrate on telling the story without the technology getting in the way. In other words, you can be the artist when you want to be and the geek at other times, depending on the task at hand. Art and Technology - a new unity. Now where have we heard that before? Right, the Bauhaus.

Posted at 12:45PM UTC | permalink

Sat 06 Aug 2005

WebMon 1.1.3 Released

Category : Technology/WebMon113.txt

Of the three - Postfix Enabler, DNS Enabler and WebMon - WebMon is probably the most buggy of the lot. That's because it's the first one where I'm building in remote configuration, right from the start.

I could make WebMon work in standalone mode, where you do the configuration locally on the server (for WebDAV, PHP, SSL, etc) and that would improve its stability no end.

But when it comes to monitoring the web server activity, it's really more convenient to do it remotely. Who wants to walk to the server just to see what's going on in the web server log?

So, what I've done in WebMon 1.1.3 is to add the ability to work directly on the server, while keeping the option to work remotely.

A good strategy to use with WebMon is to start working at the server. In the WebMon setup panel (accessed from either the Help or Preferences menu), you enter the server name as "localhost", first line below :

And then you turn on WebDAV, PHP or SSL. And test that all these things work, including the ability to publish iCal calendars in the WebDAV folder (which you could also use as a backup store, like .Mac's iDisk folder).

If these are OK, you could start preparing to use WebMon for what it was originally intended to do - as a Web Server Log Monitor.

You could enter a line like the second line in the screen shot above, where you call the Web Server, userName@localhost, where userName has administrative rights to the machine. The "@localhost" notation signals that, although you're working locally at the server, you will be "pretending" to connect remotely. WebMon will try to set up a remote login connection while you're still working locally at the server machine.

This is useful because you can ignore issues like network speed and timeouts, for now, while testing conceptually that your machine has been set up properly to support remote login connections through SSH. If you're using an unmodified, garden-variety OS X machine, you should have no problems getting this set up through WebMon. But some systems have custom modifications that WebMon can't find its way around.

If Step 2 is OK, you can now run WebMon from another machine and get it to connect to your server, using the userName@domainName notation, like in line 3 in the screen shot above. If you get to Step 3, and you can find a reasonably fast connection to your server over the network, you should be able to monitor the server's log file and change your server's configuration, all from a remote machine. And the whole idea with WebMon is that you can monitor and configure any number of server machines from this single control machine.

If Step 3 doesn't work, because of connection issues, etc., at least WebMon would have been useful in Step 1, where you limit yourself to doing things locally on the server machine. I hope WebMon works for more people now.

Posted at 4:21PM UTC | permalink

Thu 04 Aug 2005

DNS Enabler 1.1.5 and other things

Category : Technology/DNSEnabler115Released.txt

DNS Enabler 1.1.5 is out. I've also added a new item in the Help menu to allow the user to de-install DNS Enabler completely, stop the name server, and restore eveything that DNS Enabler touched to its pristine state.

I've put an expiry date to this version because I do intend to sell it as a commercially supported product - when I'm sure that it's totally bug-free and really useful. But it's going to be priced like Postfix Enabler. Hopefully it will be deemed low enough to escape the radar of the pirates but I doubt it.

But pricing Postfix Enabler super low at 9.99 didn't save me from being called "stupid and greedy" at MacUpdate.

Makes you wonder about the phrase "nothing more to lose".

But let me tell you about the book I've just read and enjoyed. It's "Juice - The Creative Fuel that Drives World Class Inventors" by Evan I. Schwartz. That's the third (okay somewhat) good book I've read from him (the others being Webonomics and Digital Darwinism). But there's this recurring theme in Juice that says that, with every new invention or product, you've got to work out who wins and who loses with the introduction of the product. Because the ones who think they're going to lose are going to counter-attack. So you see these comments at MacUpdate and Version Tracker? They may not be just from the users.

Posted at 4:08PM UTC | permalink

Read more ...

Mac@Work
Put your Mac to Work

Sivasothi.com? Now how would you do something like that?

Weblogs. Download and start a weblog of your own.

A Mac Business Toolbox
A survey of the possibilities

A Business Scenario
How we could use Macs in businesses

VPN Enabler for Mavericks

MailServe for Mavericks

DNS Enabler for Mavericks

DNS Agent for Mavericks

WebMon for Mavericks

Luca for Mavericks

Liya for Mountain Lion & Mavericks

Postfix Enabler for Tiger and Panther

Sendmail Enabler for Jaguar

Services running on this server, a Mac Mini running Mac OS X 10.9.2 Mavericks:

  • Apache 2 Web Server
  • Postfix Mail Server
  • Dovecot IMAP Server
  • Fetchmail
  • SpamBayes Spam Filter
  • Procmail
  • BIND DNS Server
  • DNS Agent
  • WebDAV Server
  • VPN Server
  • PHP-based weblog
  • MySQL database
  • PostgreSQL database

all set up using MailServe, WebMon, DNS Enabler, DNS Agent, VPN Enabler, Liya and our SQL installers, all on Mavericks.