inessential by Brent Simmons

09/23/2000

Question for Windows developers:

Radio UserLand has embedded the browser control. If we want the same Work Offline command that IE and Outlook Express have, how do we do it?

What I can't figure out is how to get and set the global offline status. If someone has chosen Work Offline in IE, Radio UserLand should respect that flag. And vice versa -- you should be able to choose the Work Offline menu item in RU and have it respected in other apps.

Things I've tried: IWebBrowser2 methods for getting and setting offline status, InetIsOffline, InternetQueryOption, and InternetGetConnectedState. I get different behavior from each -- some return inconsistent results, others are consistent but have no basis in reality.

I've been RTFMing like mad.

What would be extremely helpful is some sample code that showed how to get and set this flag. Or a simple explanation -- like "set the ___ key in the registry," for example.

Can you help? If so -- thanks!

Update: Matthew Barger sent me email -- there's a GlobalUserOffline registry key at HKey_Current_User/Software/Microsoft/Windows/CurrentVersion/Internet Settings/. So: I'll see if that works as expected.

This moody bastard installed Mac OS X last night. Here's my report.

Boring part

The first step in installing a new OS is the boring part -- backing up the hard drive. Bleh. It serves a purpose, though -- not just in protecting your data but in instilling a sense of scientific detachment.

I'm going to start with the bad news then move on to the good news.

Aqua

Before installing OS X, I thought that the people complaining about Aqua were just whining.

I was wrong. There's a lot to complain about.

My hope is that these and other issues are fixed before it ships. Most things I don't like could be fixed by giving me ways to turn them off or configure them.

Problems:

1. Window dragging and resizing is slow and jerky on my G4. Being able to turn off display of window contents while dragging would help tremendously. I've got that feature turned off on my 500 Mhz Pentium III because this feature is too slow there too.

2. Anti-aliasing is not appropriate at the size of most text that's displayed. It makes text seem blurry; it hurts my eyes. OS 9 allows you specify a minimum font size for anti-aliasing -- I want the same thing here. This is serious -- I can't even browse the web for more than a couple minutes because of this.

3. Drop shadows -- the whole 3D effect is cluttery. It's like a bad website from 1997. Let me turn 'em off.

4. Translucent menus -- let me make them opaque. It's a readability issue.

5. The blue Mac at the top of the screen -- I've said it before: it's the cyber equivalent of having a pimple on your nose, right between your eyes. It's the placement that stings -- please move it.

6. The dock -- where do I start? I want to move it. I want to make it vertical on the right side of the screen. I want to know why some apps that aren't currently running are in the doc. I want labels -- not on mouseover, but persistent labels. I need text. I want to turn off animations. (On Windows I get the choice -- and I use it.) I want to know why sometimes windows appear in the dock and sometimes don't. It's confusing. Major feature request: I want to click on an item in the dock and get a popup menu.

7. Resizing columns when in list view in the Finder is sloooow.

8. I couldn't figure out how to set the color of my desktop. I don't like the default picture that's there. I want a solid color.

9. Throbbing is another type of animation I want to turn off. Anything that catches my eye distracts me. It's like animated GIFs.

10. What happened to drag-and-drop text?

On the whole, it's better than Windows, but that's low praise coming from me. It's a long way from being as easy to use as Mac OS 9.

Good things

Apps crash but don't take down the system. At long last. This alone is worth the price of admission.

It really is UNIX(ish). I had to see this for myself. Here's what I found:

1. Terminal.app! My favorite app so far. It's the command line.

2. emacs, my preferred text editor, is here. The basics -- less, ping, df, telnet, etc. etc. -- seem to be here. (Python is missing, however. Sadly.)

3. Apache is installed. It's off by default.

In short, it has most of what I like about Linux. What it doesn't have -- Python, Samba, BIND, etc. -- I wouldn't be surprised if I could install before long.

More good things -- developer tools

I installed the Developer Tools CD, which I gather isn't included with every public beta, just with the Developer shipments.

Anyway, I did a quick run-through to see what's there, and missed most of it, I'm sure.

The first thing I tried -- could I create a simple command-line Hello World app? You know, the classic printf ("Hello, World! ");?

Yes, indeed, it worked.

Call me a geek, but at this point I'm pinching myself -- I'm doing this on a Macintosh OS. Not Linux.

Then I launched Project Builder and created a new project using their stationery. A Java app. (I don't ever want to learn Objective-C.)

Naturally, since I made no changes to the project, it built and ran the first time.

I launched Interface Builder and edited the menu for the project, then re-built it. It worked. Mind you, I've looked at no documentation; I just remembered from other reports that Project Builder and Interface Builder are the NeXT-derived tools for building apps.

At first glance they seem easy to use. How much power and flexibility there is I don't know. If you're the kind of person who likes using object-oriented frameworks and visual editors and inspectors and all that -- go to town. It may be that this shit is the bomb. (Me, I prefer C and text files to all that, but that's just me. I could probably learn to like Project Builder and Interface Builder.)

What I'm thinking is that Mac OS X is, if not a developer's dream, at least a hobbyist's dream. You've got all that UNIX stuff -- gcc, Perl, etc. -- and whatever you don't have yet I bet you will have soon. Then you've got the tools for building Cocoa apps, which seem like they give you lots of features for free, so you can get started pretty quickly.

And you've got a platform that needs more software. There are tons of holes -- small, medium, and huge -- to fill.

I can't wait to get Radio UserLand and Frontier running here.