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.

Tue 22 Mar 2011

Why our server apps are not in The Mac App Store

Category : Technology/MacAppStore.txt

I've been asked, why are our apps like MailServe and DNS Enabler not in the Mac App Store?

There's this small matter of rule 2.27 in Apple's Mac App Store Review Guidelines:

It says, "Apps that request escalation to root privileges or use setuid attributes will be rejected". And that's that.

In order to configure the mail, web, or DNS server, my apps need to be granted superuser status by the user. There's no other way around it. Or is there? But I can't quite think how. At least for the moment.

Of course, there are the other apps that should probably be OK with the Apple Thought Police. Luca, Liya, etc. But one thing at a time. There's always so much to do and so little time.

Posted at 9:43AM UTC | permalink

Live Server is now on 10.6.7

Category : Technology/LiveServerOn10dot6dot7.txt

I've updated the cutedgesystems.com live server to 10.6.7. All the mail services, including Fetchmail and Dovecot, and DNS, web and the SSL stuff continue to work. So it's probably safe for all the people who're users of all our apps to update, too.

Posted at 8:18AM UTC | permalink

Narra

Category : Technology/Narra.txt

Here's the other tech update I have. I've finished a first, usable version of something I'm calling Narra - a tool for creating and editing iBooks. My friend, Hai Hwee, is already using it to create notes that her tuition kids can review on their iPhones or iPads.

This is how it looks like :

You can use it to create a new .epub iBook, drag and drop images into it, design the cover layout, and add and re-arrange pages. Right now, it only supports the placement of images (I haven't yet added tables or support for the other HTML elements), but it has support for drag and drop and unlimited undos. That should be enough to create a basic, yet good-looking .epub iBook.

To get the epub into the iPad or iPhone, just look for the saved .epub file, drag it into the Books section in iTunes and then sync the iPhone or iPad. The epub will appear in the iBooks app. It's that simple.

I haven't yet created a web page for Narra, but you can download Narra.zip from here. (I've only built it for Snow Leopard). Just use it and send me feedback. It was fun building this and there are even more things that I'm planning to do with it.

Posted at 8:17AM UTC | permalink

More Wireless Speed

Category : Technology/MoreWirelessSpeed.txt

While I'm waiting for the Macs to all get up to 10.6.7, a couple of tech updates that might help some people.

Here's one about getting the best speed out of your Airport Extreme wireless network.

All my Macs are now capable of operating at 802.11n speeds and so I should be able to switch my Airport Extreme Base Station to work exlusively on the less crowded and much faster 802.11n 5 GHz space, right? And get 300 Mbit/s Link Speed for all my Macs instead of the anaemic 120 Mbit/s at 802.11b/g/n mode. Right?

In practice, it's not so simple. It should be and one day it'll be but now it's not.

That's because, if you switch the Airport Extreme Base Station to the 802.11n 5 GHz range, you will find that some of the Macs will mysteriously lose contact with the base station's network when they come out of sleep or when they restart. All my Macs do that except, fortunately, the new Thunderbolt early 2011 MacBook Pro.

I spent a few days tracing this and found that it coincides with the Airport cards in the Macs thinking that they have a different country code from what they should be, e.g., DE or TW instead of SG in my case. When this happens, they can't find the Airport Base Station.

So this makes some sense, because my Airport Extreme Base Station's country is set to Singapore and this probably determines the range of frequencies or channels the base station would use. If the Airport card on the client Mac thinks it's operating in a different country, that will set that airport card's operating frequencies and these two - the range carried by the station and the one listened to by the client - may not coincide and that would explain why the client Mac can't find an obviously operating Airport base station.

So the question really boils down to, why does the Airport card randomly think it's operating in a different country (from what it should most obviously be) when the Mac comes out of sleep or when it's been rebooted?

The answer is, if you'll search the web, it's not random but it's definitely a bug. It's not random because the wireless cards of the world, and not just the Airport cards, determine the country code from the first operating beacon that they encounter and not just the base station that they're supposed to tune in to. So among the 2Wires and Linksys in my neighbourhood, there are many that still think that they're operating in Germany (DE) or Taiwan (TW), because their owners neglected to set the operatng country parameter correctly.

This is what happens when you give people too many buttons than they know how to press or too many options than they know how to fill in. This is the PC-everything-and-the-kitchen-sink mentality that is the blight in the neighbourhood.

The new MacBook Pro seems to have that bug fixed because it always (or maybe, mostly) gets the country code right when it comes out of sleep. But the other Macs need some help. I've determined empirically that the country most of the Airport cards think they are operating from, when they come out of sleep, is DE, probably because of the preponderance of PC-type wireless routers that have their operating country left as Germany in my neighbourhood.

In the Aiport Extreme Base Station, you can select a specifc channel to use in 802.11n 5 GHz mode, overriding the default choice ("Automatic"), if you hold down the option key while clicking on the pop-up menu. I've set the channel to 36, which is one that is used both by DE and SG.

And this has solved the problem. So I get all my Macs now operating at 300 Mbit/s over our Airport network. And things like file transfers feel that much zippier.

End of a happy story? Mostly. But occasionally, a rogue router that thinks it's in Taiwan will pipe in with TW please, before the DE's could respond and the Mac that is so stupid to listen to it will lose contact with the Airport base station (because TW doesn't operate with the channel 36, that DE and SG do). Usually for me, that Mac is an old MacBook that my kid uses and I've taught him to turn off and on Airport to get that out of the way because DE usually prevails here.

It's definitely a bug. It seems to have gone away with the new MacBook Pros. Apple should provide a firmware update to fix this for the older cards. Otherwise people will be operating far below the Nirvana they have the right to attain, just by being smart enough to use a Mac, or an iPhone or an iPad.

Posted at 8:17AM UTC | permalink

Mac OS X 10.6.7

Category : Technology/10dot6dot7.txt

The Mac OS X Snow Leopard 10.6.7 Software Update is out and I'm applying it to all my Macs. So far I've updated my iMac and the new Thunderbolt MacBook Pro, and they're both OK.

Doing the update now for two other MacBooks and, after that, it'll be the iMac that is the cutedgesystems.com live server. So you may see some minutes of downtime later on. If you do, don't worry. This site will come right back up after it.

P.S.: And I'll know if there are any problems with the mail, dns, web servers, etc., and if there is anything that will need to be fixed because of that software update.

Posted at 8:14AM UTC | permalink

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.