Fri 08 Jul 2005
WebMon 1.1
Category : Technology/WebMon1dot1.txt
WebMon can now monitor more than one web server. Actually, it's been able to do that for some time, but I've created an interface that will make this obvious and usable. In addition to showing only Page Views, you can now also filter out the robots. And, you can set whether the search starts immediately when the program launches. In order to incorporate per-server preference settings, WebMon 1.1 uses a new preferences file.
Posted at 11:49AM UTC | permalink
Fri 01 Jul 2005
Release Early, Release Often
Category : Technology/WebMon1010.txt
This is the mantra of business at the speed of the Internet. Here's WebMon 1.0.10. I'm really using all these stuff myself. I've now added the ability to show Page Views rather than page hits. It'll ignore hits on items with the following extensions : "jpg, gif, css, png, js". But you can change or add to these in the Preferences Panel. Turns out to be not too bad. It's better to log everything coming in, so you don't lose the ability to zoom into the little things. Then you can use the search functions to control the granularity with which you study the web server activity. I've also added a Tab Delimited option to the Export function. Double-click on the exported file and it'll launch Excel. And the Show/Hide Column Menu and Search Menu keep in sync with the order in which you re-arrange your table columns, no matter how often you switch them around.
Posted at 11:29AM UTC | permalink
Tue 28 Jun 2005
WebMon
Category : Technology/WebMon.txt
I'm tired of typing WebServer Monitor every time, so I'm shortening it to WebMon (as in Pokemon). I've just released 1.0.9. This release takes care of the slower servers that time-out while WebMon is trying to configure it. There was a bug whereby a hidden column disappears from the "Show or Hide Column" menu completely when the program is re-launched, so you can't ever show it again. So I fixed that. And I also fixed the "Export to CVS" function in the File menu so it works again. I'm trying to get it to work completely reliably. If I know that the connection has been set up properly and securely between a trusted mobile machine and the server, I can move on to the next phase, which is to allow the mobile machine to set up as many useful services on the server as possible, e.g., PHP, WebDav, and digital certificates for SSL, including the certificate request phase. That'll be WebMon 1.1.
Posted at 2:06AM UTC | permalink
Sat 25 Jun 2005
WebServer Monitor 1.0.8 Released
Category : Technology/WebMon108.txt
While WebServer Monitor itself will run on either Panther or Tiger, there is a bug when the web server is on Tiger. WebServer Monitor doesn't SSH (login) into the remote (Tiger) machine correctly and therefore cannot set up its server log format properly. This release fixes that bug. Also I've re-arranged the Navigation menu, changed its keyboard short-cuts, and added a menu item to revert to the last search done on the Search History List (in the Search Field). Hopefully, these will make it even easier to move around the log data. WebServer Monitor can be downloaded here.
Posted at 3:04PM UTC | permalink
Stay Foolish. Because God Rewards Fools.
Category : Commentary/stayFoolish.txt
The trio of Martin Hellman, Whitfield Diffie and Ralph Merkle had been the first to find an answer to the key distribution problem of cryptography (see previous post). Or, at least, a conceptual answer, because they were followed by another trio - whose initials made out R, S, and A - who actually supplied an implementable solution. That's why PKI encryption is also known as RSA encryption today. But, anyway, here's a quote from Martin Hellman, from Simon Singh's book : Remember the end of Steve Jobs' Stanford commencement speech where he said, "Stay Hungry. Stay Foolish"? Because God rewards fools.
Posted at 6:07AM UTC | permalink
Alice and Bob Go Public
Category : Commentary/PKI.txt
I was reading Simon Singh's "The Code Book - The Science of Secrecy from Ancient Egypt to Quantum Cryptography" and this is the first time I really understand this concept called the Public Key Infrastructure (PKI) which we use in mail and web servers when we "turn on SSL". This is the first time I've found someone who could draw a meaningful picture around PKI - i.e., the problem it was meant to solve, how it solved it, and why that's significant. And so I'll quote that part of the book that created that Eureka moment and encourage you to read it, too. If you're concerned about running a business on the 'Net, this will be a meaningful journey : And so the stage is set ... And now the denouement ... And so this is the start - having a clear mental model of the basic issues to make the mind more ready to consider a few other possibilities. It takes a couple more steps from here to reach how public key encryption actually works today in our systems. And then one more step to understandiing something called PGP - Pretty Good Privacy. I believe it's going to become very important to learn how to make these things work for us in our businesses. We've already got all these stuff built into our little Macs. All we need is to figure out how to turn them on. Right. The Mac Way.
Posted at 5:22AM UTC | permalink
Fri 24 Jun 2005
Singapore Map Plug-In for Address Book - works on Tiger
Category : Technology/addressBookMapPluginTiger.txt
I've finally found the time to fix this. The Address Book Map Plug-In works again for Tiger. And thanks to Ashwin Kumar's code snippet, it should continue to work on Panther.
You can download a Tiger-compatible installer for the plug-in from here. There's a short write-up on how to use it, here.
Posted at 2:32AM UTC | permalink
Perfect Enough?
Category : Commentary/PerfectEnough.txt
We know that Mac users love their Macs, while PC users... Well, how much do PC users care about the PC? Perhaps, this is in direct proportion (and response) to the care that had gone into building it.
I've finished reading "Perfect Enough - Carly Fiorina and the Reinvention of Hewlett-Packard" but there's this part I'd like to quote. It's the part where the McKinsey experts (!) were taking the HP directors through the merits buying Compaq :
You see those shiny HP and Compaq laptops in the computer superstores. Not a scrap of soul in them. They weren't built primarily to be used by people. They were built "to post a slim profit".
Windows is "open" and Unix is proprietary. Why are big corporate guys so smart? DEC, Tandem, Compaq, even the IBM PC - they're all gone. And we're still using Macs. For whom does the death knell toll?
Posted at 2:32AM UTC | permalink
Mon 20 Jun 2005
Fetchmail and other things
Category : Technology/fetchmailGUI.txt
I've created an interface to configure Fetchmail. It's going to be part of an "enhanced/improved" version of Postfix Enabler that I'm working on. It's also part of this whole idea that we could use the Mac to build a business on. For example, carrying forward the idea about "working without a safety net" (see previous post), imagine you're on your own now and you've decided that, instead of spending a couple of years applying for job after job, you would stop to think - about "what economic value could you contribute to the marketplace" and "what tools do you need to get on track again"? Over and above the technical details about doing "sudo" and launching Unix services, this is what I've always felt - that I should be spending a lot more time thinking about the real-world issues, like what assets do I have that people would be willing to pay to use, and how each could be made into a stream of income. That's why I built these tools - so that I won't have to spend any more time than I need to get these services turned on to help me be in business. So what do we need? For a start, I think, a mail server. Firstly, it's convenient to have this totally under your control and it's really the foundation for a lot of future automation. Then there's the web server, but you need to be able to turn on a few services to reap its full power (e.g., WebDav for sharing calendars, PHP for running a weblog), and, even more importantly, to be able to know what people are reading when they stop by your site. Do they stay, or do they move on? And, finally, you may or may not need a DNS server configurator yet, but it's important to have that handy when you need it. So there's this whole Internet-in-a-box idea. You could use an XServe and OS X Server. Or you could use an ordinary Mac and concentrate not on every conceivable Internet service, but only on those very focused activities that could help you get a business going. So, I'm working on this "iBox" idea that could help people run a business on a Mac. There's going to be a lot more changes to all the stuff that I'm working on by the time I'm done. For example, this is what the Fetchmail interface looks like now. But I'll need to move a lot of things around by the time I'm done. (So, I'm just sending this to a couple of people to try out, for a start. But I'm reviving a bulletin-board/forum idea that I had for the site so that people can chime in on what they want to see being built.) While on the topic of building systems, I don't think I would have spent as much time building all these applications if Cocoa hadn't been so much fun to use. For example I don't think I'd bother writing Mac applications if we're still on OS 9's programming APIs. I've had the five or so volumes of Inside Macintosh but I've never managed to build more than a couple of applications (in C) in a decade of use and, even then, these were of limited usefulness. (I've always had to use things like 4th Dimension or FileMaker Pro, instead). If you look at the interface above, I used Cocoa Bindings to create and populate that table and it was very fast. The only problem is that there seems to be a bug in Cocoa Bindings when it's handling a table column with a NSSecureTextField cell (the "password" column, above). It doesn't update correctly when a user edits the column. I've got a couple of other places in Postfix Enabler that handles passwords and I've always been concerned that these passwords were left in the clear. So I very much want to find a way around this. (While Googling for it, I found just one other guy who had reported this problem, but I'm sure it's a Cocoa Bindings bug because the NSSecureTextField cell works OK on a table that's been created the "traditional" way, without Cocoa Bindings). I've actually spent more time trying to make the password column work than I took to create the whole Fetchmail interface and I'm still looking for a solution. So it's still quite a bit of work.
Posted at 2:08PM UTC | permalink
Sun 19 Jun 2005
Working Without a Safety Net
Category : Commentary/safetynet.txt
Or is it, working without chains? We visited this cute little place called The Animal Resort somewhere in the north of Singapore, not too far from our home. The great thing about this life we've slipped into is that we can take time off whenever we want, and go wherever we want, without any guilt. Living without a safety net, I've learnt that I need to watch my health like a hawk. Any mishap in the form of a debilitating illness will throw even our most carefully wrought plans into disarray. I'm a borderline diabetic, having inherited this condition from my father and his parents before him. (My father had Alzheimer's - will I have it, too?) I've been watching my diet. Working from home, I get to eat good healthy food, bland though it may be. To think that I live barely 200 metres from a gastronomic paradise. But food I can resist. I've lost half of the ten kilograms that I'm supposed to lose. And I'll get the other half gone if I can make myself go running every day. If I go 200 metres in the opposite direction, I hit a trail into the Nature Reserve bounding MacRitchie Reservoir. I did a run the other Friday morning at about ten and passed quite a few people who looked like they didn't have to go to work. They looked pretty happy to me. I was looking at the latest issue of Fortune over the weekend - about people in their forties or fifties who've lost their jobs and not likely to find another one soon. I read about a guy who's been told by a recruiter that "he's got a lot of maturity". This is a terrible time, if you're not prepared. I think the forties is both the worst and yet the most likely time a person would lose a job. My cousin at Sun tells me that every time he survives a cut and moves up the hierarchy, there are seven less people around him who've been culled. Eventually, it'll be his turn. It's been eleven years now since I've had to learn to work without a safety net. It's not that I'm totally comfortable all the time. But I've at least made peace with the idea and learnt not to panic. There are levers and gears you can use to keep yourself afloat. And I've come to realise that the only person who can guarantee yourself a safety net, after all, is ... yourself.
Posted at 3:27PM UTC | permalink
Fri 10 Jun 2005
WebServer Monitor 1.0.7 Released
Category : Technology/WebServerMonitor107.txt
I've released WebServer Monitor version 1.0.7. I've needed a way to quickly filter the log records by a visitor's IP address so that I can see how he has traversed through the web site. In order to do this, I've added a Navigation menu so that if you do a Command-Option-C, you can copy the log record's IP address to the Search Field, at which point the log records instantly shrink to show only those from the same IP address. If you've sorted the columns by time, you can see how the visitor has come into the site, what pages he has looked at, for how long each page, and when did he leave. Other items in the Navigation menu clears the Search Field (Command-Option-X), scrolls back to the currently selected log record (Command-T), and launches the referrer's web page (Command-R), which can also be done by double-clicking on the log record. There's also the new "Check for Updates" menu item under the Help Menu that will bring you back to the WebServer Monitor web page, if I have a new release ready. Actually, I'm thinking I could use the WebServer Monitor to be an Apache configurator, e.g., to set up WebDav, PHP, etc. Together with a log analysis tool, that's probably going to be the next improvements.
Posted at 5:44PM UTC | permalink
DNS Enabler 1.1.3 Released
Category : Technology/DNSEnabler113.txt
The domain name server now listens correctly to all its network interfaces on re-boot, and this seems to work reliably (about a minute after reboot). You can find DNS Enabler here. The important thing is that the mail server gets its domain name correct when it refers to its name server, so that it can broadcast this correctly to other mail servers, rather than the xxx.local that it would otherwise report. This increases the chances that its mail will get delivered. (Except for those picky mail servers that check further about whether its IP address is coming from a dynamically allocated block - something that I feel is beyond the call of duty). Anyway, it's still an interim solution. It's neat because I avoided changing the system-supplied Launch Daemon plist, but it's at the expense of making the server check a lot more frequently for changes to its network interface. But, at least the system is now working like a name server should.
Posted at 10:50AM UTC | permalink Read more ...
|