Domain: macdevcenter.com
Stories and comments across the archive that link to macdevcenter.com.
Comments · 127
-
for all you mac server people....
you may also want to check out Setting up a Site Server with Jaguar
-
Re:DNS queries are for lamersrather than using
/etc/hosts you might consider running your own DNS/bind/named on your local box. granted it's prolly not an ideal solution to cache *the entire internet*, but as someone mentioned, the number of entries is far greater than the number of IPs as many, many, MANY host names are often associated to a single IP address. So extend that 260Gig figure to the terabytes.Anyway, if you run your own name server on your local box, you'll get more control over how long you'll cache hosts for and most likely greatly reduce the number of outbound queries.
It's easy to do if you're on OS X, and most likely just as easy on linux. Sux to be windowz users tho. HEH. unless they hack something thru cygwin? heh.
-
Re:Unfortunately still no tabsSkimming your linked post (sorry, will read it in more detail after this), I don't think we're describing quite the same thing here. What I'm referring to as trays should more accurately have been referred to as drawers, as that's the term that the Apple documentation seems to use. Out of habit, I use the terms 'tray' and 'drawer' more or less interchangeably, but I'm realizing now that searching for 'tray' interface elements isn't turning up many hits, so maybe this usage isn't as standard or common as I thought.
In any case, in the Aqua interface, trays are a specific & unambiguous interface style that for whatever reason hasn't been used very often so far. The best example I can think of from one of the "core" applications is Mail.app, for which there is a screenshot at Apple's site. The other big application I can think of right now is Omniweb, which uses a drawer to organize bookmarks. (I'm not an Omniweb user, so I wasn't aware of that until searching for this post
:). Of freeware apps that I use regularly, the best example I can think of is (the very slick) MacJournal, which uses two trays -- one to present a list of journals, the other to present entries within a particular journal (for example).Now that I poke around a bit, the best critical reviews of the tray interface I can find so far are this MacEdition review and this Oreillynet tutorial. (John Siracusa also wrote some excellent OSX reviews for Ars Technica, but I can't find a section that focuses on drawers in particular.)
But the authoritative reference -- which unfortunately doesn't seem to have screenshots to go along with the prose -- is the Apple MacOS X Human Interface Guidelines:
Drawers are a special window type, found only in Mac OS X. They are child windows--which slide out from a parent window--that users can open or close (show or hide) while the parent window is open. These windows should be used for tools or controls that are closely associated with the parent window and frequently accessed, but do not need to be visible all the time. For example, Mail uses a drawer to provide access to the user's mailboxes.
So while this isn't incompatible with what you're asking for, it looks to me like it's not quite the same thing. This is an existing toolkit that could be called on by any Cocoa or Carbon application, and it seems to me like this is a perfect example of where best to apply it.
-
Re:Rendezvous developer question
Over at O'Reilly's there's a 2 part article about incorporating Rendezvous in Cocoa apps:
Incorporating Rendezvous into Your Cocoa Applications, Part 1 -
Re:Innovation...
Oh, my spalling does suck, but nevermind about that
You won't have to worry about that much longer. Spell-checking is pervasive on Mac OS X. You'll be able to spell check in the textareas you type into on Slashdot. :)But if anyone wants to throw links to great places new Mac ownsers can go to (such as http://fink.sourceforge.net/ ) I'd LOVE to see your thoughts, links, suggestions, etc.
Mac DevCenter and VersionTracker. -
Re:Oreilly & OSX
The Mac dev center has been around longer.
:) -
Re:"Switching" to the Mac?I find it ironic that as much as folks complain about MS' monopolistic practices, look at how much more difficult it is to piece together your own Mac
microsoft is not a hardware company. they make software which is closed, proprietary and holds a monopoly position. apple makes both hardware (mostly closed, although in many places standards-compliant) and software (much closed, but much open).
Apple wouldn't have had to create a "switch" campaign if they hadn't reversed their decision to license out their OS.
why not? they still would have a different hardware architecture (whether it was made by umax or apple) and a different os.
As I recall, Power Computing at one point sold more Mac-OS running computers than Apple did!
which is why the macsimilies were cancelled. apple is primarily a hardware company and uses the hardware profits to subsidize the r&d costs of the os. if hardware profits are cut, the os suffers, thus decreasing the attractiveness of the entire platform and further eating marketshare.
Their market share keeps declining, even as the quality and innovation of their products is on the upswing. How strange.
this statement could be interpreted as meaning that market share and quality/innovation of product are somehow causally related. if this were true we'd have been watching betamax tapes and driving bmw's for the last ten years. don't trust me... trust derrick from o'reilley.
It's eerily similar to watching socialist command economies flounder and fall, while free-market ones thrive and give consumers more choices at better prices.
no... it's earily familiar to watching monarchies flounder and fail while revolutionaries thrive. my analogy is no better or worse than yours. both are unsubstantiated and ubsubstantiatable and serve to do little other than inflame.
-
Only marginally on-topicSo I'm experimenting with documenting the paths I take on the web over my morning cup(s) of coffee. I think I found a lot of stuff that
/. readers of Tim's openp2p piece would also be interested in. Hope you enjoy my morning...
Started, predictably enough, at slashdot. Found the article Tim O'Reilly Says Piracy is Progressive Taxation. Well, I had to check that out.
After Lesson 1: Obscurity is a far greater threat to authors and creative artists than piracy. he goes on to Lesson 2:For all of these creative artists, most laboring in obscurity, being well-enough known to be pirated would be a crowning achievement. Piracy is a kind of progressive taxation, which may shave a few percentage points off the sales of well-known artists (and I say "may" because even that point is not proven), in exchange for massive benefits to the far greater number for whom exposure may lead to increased revenues.
Tim O'Reilly is a great example of a guy who doesn't go on the record until he's got it right. Maybe he's always right, or maybe he doesn't open his mouth if he's wrong. I respect that a lot.
So I tried to find more of his pieces online. First, went to his oreillynet author page. The next piece I hadn't read was the Switcher Stories Follow-Up, but as I had not yet read the original, I thought I'd do that first.A few weeks ago, I wrote Microsoft Mac FUD, Phooey, complaining about Microsoft Macintosh Business Unit head Kevin Browne's comments on the eve of Macworld.
At this point, it became obvious that I was going to have to dig up to get anywhere. So, I read that one. It's about a comment attributed to Kevin Browne, along the lines of "Apple - Work harder to accelerate Mac OS X sales or Microsoft will exit the Mac market forever." Tim's take:This is such a despicable tactic. Microsoft embraced Apple and gave them funding at the height of the antitrust investigation, as a way of sustaining the idea that there was still competition in the market. Now that Apple's back on their feet, and OS X is giving them a run for the money, they pull out of the market. This decision may end up as badly for Microsoft's Office division as Lotus' decision to skip Windows.
So when Tim was in Seattle, he was invited to sit down with Tim McDonough, the Director of Marketing for the MBU. He was able to clarify Kevin's comments a bit. Tim: "And he was intrigued by my report that my customers (Unix power users, Java developers, perl hackers, wireless community activists, and other "alpha geeks" of all stripes) are adopting OS X in droves."
I've heard rumors about OS X on x86, and if I find it, I'll definitely give it a whirl. Hearing about it a lot on slashdot, and having a real purty layer on top of BSD could be slightly more useful than cygwin, a slightly-useful Linux layer on top of XP. So let's see what Tim says about these alpha geeks.Hackers and "alpha geeks" push the envelope, start to use the new technology, and get more out of their systems long before ordinary users even know what's possible.
Well, duh. But the rest of it is slightly more informative.A good example that's still a bit far out, but that I'm confident is significant. I held a summit of peer-to-peer networking developers, and when we were sitting around having a beer afterwards, a young FreeNet developer said to Kevin Lenzo (who was there because of his early work on IRC infobots): "You sound familiar."
Ok that's too cool to pass up. Definitely rigging this up on my system, and finally I'll be able to have my technical documentation read to me in a Sean Connery accent. So, finally, on to Switcher Stories Follow Up.
Kevin mentioned that he was the developer of festvox, an open source speech synthesis package, and that he was the source of one of the voices distributed with the package. "Oh, that's why. I listen to you all the time. I pipe IRC to festival so I can listen to it in the background when I'm coding."
Now I'll guarantee that lots of people will routinely be converting text to speech in a few years, and I know it because the hackers are already doing it. It's been possible for a long time, but now it's ripening toward the mainstream."
Aha! More evidence of this Mac-on-x86 conspiracy. ... I know several who have started using Darwin on Intel hardware as there[sic] Unix underpinnings of choice ... "Todd Hoff writes:
That link is "What Hollywood can learn from Microsoft", by Paul Boutin
I'm a Windows-only user and I plan to switch to the Mac on my next purchase because of XP's DRM approach. Using XP would be like voluntarily entering a jail cell and closing the door.
From an interface perspective, I don't find the Mac superior.
Amen to your DRM concerns. Apple has been relatively more enlightened on the subject of DRM, recognizing that most users are fundamentally honest, and unwilling to support the extreme position of fear-mongering media executives.When industry gets handed lemons on this scale, it has no choice but to turn them into marketing. A common reckoning is that one-third of software is used illegally, but not every theft represents a lost sale. If economic theory has any claim on the real world, Microsoft's pricing should naturally gravitate toward producing an optimum amount of theft. That is, thieves who wouldn't use the product if they had to pay for it, but who might become future customers or who become part of a network of users that makes the software more valuable to legitimate buyers.
I assure you, the rest of the piece is just as insightful. ...
A sore subject at its antitrust trial, for instance, was Microsoft's practice of awarding large discounts to computer makers who bought a Windows license for every machine they shipped, whether or not Windows was actually loaded. This was supposed to be proof of monopolistic intent, but the only real competitor for Windows is a Windows bootleg. Microsoft's pricing strategy was designed to induce customers not to steal. ...
The entertainment industry is still getting used to the idea that anybody who wants to take the trouble can get its products for free. But as Microsoft has been showing for years, that's no excuse for not making bundles of money. -
Only marginally on-topicSo I'm experimenting with documenting the paths I take on the web over my morning cup(s) of coffee. I think I found a lot of stuff that
/. readers of Tim's openp2p piece would also be interested in. Hope you enjoy my morning...
Started, predictably enough, at slashdot. Found the article Tim O'Reilly Says Piracy is Progressive Taxation. Well, I had to check that out.
After Lesson 1: Obscurity is a far greater threat to authors and creative artists than piracy. he goes on to Lesson 2:For all of these creative artists, most laboring in obscurity, being well-enough known to be pirated would be a crowning achievement. Piracy is a kind of progressive taxation, which may shave a few percentage points off the sales of well-known artists (and I say "may" because even that point is not proven), in exchange for massive benefits to the far greater number for whom exposure may lead to increased revenues.
Tim O'Reilly is a great example of a guy who doesn't go on the record until he's got it right. Maybe he's always right, or maybe he doesn't open his mouth if he's wrong. I respect that a lot.
So I tried to find more of his pieces online. First, went to his oreillynet author page. The next piece I hadn't read was the Switcher Stories Follow-Up, but as I had not yet read the original, I thought I'd do that first.A few weeks ago, I wrote Microsoft Mac FUD, Phooey, complaining about Microsoft Macintosh Business Unit head Kevin Browne's comments on the eve of Macworld.
At this point, it became obvious that I was going to have to dig up to get anywhere. So, I read that one. It's about a comment attributed to Kevin Browne, along the lines of "Apple - Work harder to accelerate Mac OS X sales or Microsoft will exit the Mac market forever." Tim's take:This is such a despicable tactic. Microsoft embraced Apple and gave them funding at the height of the antitrust investigation, as a way of sustaining the idea that there was still competition in the market. Now that Apple's back on their feet, and OS X is giving them a run for the money, they pull out of the market. This decision may end up as badly for Microsoft's Office division as Lotus' decision to skip Windows.
So when Tim was in Seattle, he was invited to sit down with Tim McDonough, the Director of Marketing for the MBU. He was able to clarify Kevin's comments a bit. Tim: "And he was intrigued by my report that my customers (Unix power users, Java developers, perl hackers, wireless community activists, and other "alpha geeks" of all stripes) are adopting OS X in droves."
I've heard rumors about OS X on x86, and if I find it, I'll definitely give it a whirl. Hearing about it a lot on slashdot, and having a real purty layer on top of BSD could be slightly more useful than cygwin, a slightly-useful Linux layer on top of XP. So let's see what Tim says about these alpha geeks.Hackers and "alpha geeks" push the envelope, start to use the new technology, and get more out of their systems long before ordinary users even know what's possible.
Well, duh. But the rest of it is slightly more informative.A good example that's still a bit far out, but that I'm confident is significant. I held a summit of peer-to-peer networking developers, and when we were sitting around having a beer afterwards, a young FreeNet developer said to Kevin Lenzo (who was there because of his early work on IRC infobots): "You sound familiar."
Ok that's too cool to pass up. Definitely rigging this up on my system, and finally I'll be able to have my technical documentation read to me in a Sean Connery accent. So, finally, on to Switcher Stories Follow Up.
Kevin mentioned that he was the developer of festvox, an open source speech synthesis package, and that he was the source of one of the voices distributed with the package. "Oh, that's why. I listen to you all the time. I pipe IRC to festival so I can listen to it in the background when I'm coding."
Now I'll guarantee that lots of people will routinely be converting text to speech in a few years, and I know it because the hackers are already doing it. It's been possible for a long time, but now it's ripening toward the mainstream."
Aha! More evidence of this Mac-on-x86 conspiracy. ... I know several who have started using Darwin on Intel hardware as there[sic] Unix underpinnings of choice ... "Todd Hoff writes:
That link is "What Hollywood can learn from Microsoft", by Paul Boutin
I'm a Windows-only user and I plan to switch to the Mac on my next purchase because of XP's DRM approach. Using XP would be like voluntarily entering a jail cell and closing the door.
From an interface perspective, I don't find the Mac superior.
Amen to your DRM concerns. Apple has been relatively more enlightened on the subject of DRM, recognizing that most users are fundamentally honest, and unwilling to support the extreme position of fear-mongering media executives.When industry gets handed lemons on this scale, it has no choice but to turn them into marketing. A common reckoning is that one-third of software is used illegally, but not every theft represents a lost sale. If economic theory has any claim on the real world, Microsoft's pricing should naturally gravitate toward producing an optimum amount of theft. That is, thieves who wouldn't use the product if they had to pay for it, but who might become future customers or who become part of a network of users that makes the software more valuable to legitimate buyers.
I assure you, the rest of the piece is just as insightful. ...
A sore subject at its antitrust trial, for instance, was Microsoft's practice of awarding large discounts to computer makers who bought a Windows license for every machine they shipped, whether or not Windows was actually loaded. This was supposed to be proof of monopolistic intent, but the only real competitor for Windows is a Windows bootleg. Microsoft's pricing strategy was designed to induce customers not to steal. ...
The entertainment industry is still getting used to the idea that anybody who wants to take the trouble can get its products for free. But as Microsoft has been showing for years, that's no excuse for not making bundles of money. -
Re:With a little help from AppleScript, I might adJust out of curiousity, how do these Perl scripts work if there is no user currently logged into OSX? After all iTunes works in a user mode. If you call the Perl script and no user is logged in, will it work?
If this is the same code that was discussed over at O'Reilly you need to start tweaking how Apache or other things run.
There was a discussion of this over at MacNN Forums as well.
-
Re:Answer to title. (Actual experience)
I'm pretty fast in Windows explorer, I have to be navigating between hundreds of source files. I've learned just about all the shortcut keys and my hands move to wherever is fastest to accomplish a given task, mouse or keyboard. When I started working on the mac I was frustrated by the amount of mouse effort I had to expend. If my hands are on the keyboard and I need to do some UI navigation I don't want to have to use the mouse. I call that poor UI. I know there are probably keys there I don't know about, but they certainly aren't readily apparent in the help files. The tab between controls functionality windows has seems to be largely missing. I'm not incapable of learning new shortcut commands, I just need to be able to find out what they are without installing 4 third party applications that add them.
You can use the Command key with all of the arrows to do just about anything you should need to do via the keyboard in Finder. I hated the fact that in Finder hitting enter renames the file instead of opening it like Windows does when I first got my Mac. Now I love it and wish Windows did the same thing. Command+o opens a folder or file. I believe Command+down does the same thing. Command+n opens a new Finder window and Command+Shift+n creates a new folder.
Read this article for more pointers.
Don't talk smack about Finder until you've spent more time with Finder in 10.2. It's largely been re-written AFAIK. It is far faster than previous versions and has a few new features as well. -
Don't forget to shut it down before you reboot
-
Re:The Master Of Cyes, the basic *concept* of pointers is easy and the implimentation as outlined in the hello world calibre demo code that comes with most tutorials is simple... but the reality of memory management in non-trivial apps is quite different. why do you think there are so many memory profilers and leak-detectors on the market?
in obj-c memory mgmt is much better handled. when you make an object a "reserve" is put on it. when yr done with the object, you "release" it. you can add as many reserves as you want and release them when you wish. when the reserve count finally reaches zero, the object is deallocated. brilliant!
the skinny on obj-c and memory is here
if you find you have objects deallocating prematurely and are losing track of yr reference counting, get the object meter from omni group (makers of omniweb). there's a free demo license that works quite well for the budget-challenged.
-
Re:Cocoa / Obj-C
Also, O'Reilly's Building Cocoa Applications is excellent for the beginner, although I wish they would publish AppKit & Foundation in a Nutshell for a good off-line reference.
Some other good references:
-
Re:HEHE! maybe xian should use APACHE! ?
Hey little girl,
Hope over the this mac site, and read all the material on Apple-Apache.
I think the site is written with an audience of 6+ in mind, you shouldn't have any problems with it, if you do, come over to AOL, type keyword Apple. -
Re:hmm
-
Re:Dread of Mac
Um, correct me if I'm wrong, but can't you already run the X server under OS X? I could swear you can Unless of course I'm misinterpreting what you said.As for the mouse, as has been said over and over and over and over, PLUG THE DAMN 12 BUTTON MOUSE INTO THE MAC
-
Re:Personal Web Sharing -- WebDav
Didn't MacDevcenter do something on that a few weeks ago?
-
Re:Someone please convince me
I am not the right person for this, but maybe you should check out Tim O'Reilly's piece on switchers today some interesting perspectives there.
-
Re:Why Java? an intriguing possibilityThe whole idea (yellow box, etc) was Steve's technology. He was CEO when Apple was talking it up.
To Quote O'Rielly.com's MacDev Center:
Of course "Yellow Box" was Steve's technology from NeXT but it was Gil Amelio's business strategy. Once Gil was ousted Steve started working on and pushing Carbon becuase ithe big software developers were never going to completely rewrite their apps in OpenStep/Cocoa. Rhapsody for Intel and Windows was never mentioned again. ...Rhapsody was actually Gil Amelio's strategy where all applications would need to be rewritten as "yellow box" applications. "Yellow box" referred to the combination of OpenStep with Apple technologies and allowed applications to run under Rhapsody (which ran on both Apple and Intel hardware) as well as allowing applications to run under Windows(!) using libraries to be available licence free to developers.
That was just good business at the time. Gil Amelio's plan was overambitious, vague and confusing. Job's believed that Apple needed M$ good will so he wasn't going to challenge them in their own market & he dropped the patent infringement lawsuit with that patent cross licensing agreement and stock sale.
I'm just intrigued about the possibiilty that part of Gil's original business plan might be plausible now that the situation has changed. Apple is profitable even in a tech sector downturn. Their OS strategy is solid and finally bearing fruit. Apple seems less overeager to stay in Bill Gates good graces (witness the quiet dropping of the patent swapping deal, the griping over Office v.X sales and the slap-in-the-face "Switch" ad campaign). Now might be the time to revive Rhapsody for Windows. It would increase the number of apps available for the Mac because by writing for the Mac in Cocoa a developer gets Windows and Unix for free. Apple could possibly make money from selling the IDE for windows or if their greedy a licensing fee for Cocoa on other platforms (have to be careful with that, don't want to kill it by being too greedy). And if it is successful it undermines Microsofts monopoly in the same way that java threatened to by making the OS irrelevant and having someone else own a layer between the OS and the application.
Of course if Apple pursues a plan that is so potentially threatening to M$ they will need to prepare to lose Office on the Mac in retaliation. Hmm... Maybe working with Sun to develop StarOffice using Cocoa (for windows & UNIX?) is a good first project! -
Missing O'Reilly Link
-
Re:Community of MAC experimenters!.I appreciated you comments. As far as my "bias" (or should it be called experience), besides super/hypercomputers, I use a Red Hat Linux PC (dual 1GHz processors), and 2 Wndows PCs at the Office and a Linux/Windows Laptop and 3 OS/X Macs (2 G3s plus a recently-purchased G4) at Home. All are connected via at least 2.5 Million bits/sec cable. My Applications include Scientific Computing (see free OS/X C, FORTRAN), plus Photoshop, Office (I've also used Star Office), Web access, email etc. My O/S preference: OS/X first, then Linux and lastly Windows. As far as Hardware: G4, G3 then my dual 1GHz Pentiums.
One item I'd like to add is that there are many Mac "hobbyists out there that like to tinker and experiment with their systems, and an array of web sites supporting them. I put myself in that category, as in addition to knowing I have reliable Mac system that'll last 3 years or more, I also like to keep them up-to-date without buying a new system. My G3s occurred by purchasing and installing (1 minute) G3 upgrades to surplus 8600 systems I bought for $150 long ago. The upgrade was $200 and I overclocked it to 333 MHz. and if had 1MB cache so the slower disk and bus speeds were hidden. Photoshop on my G3s and G4 runs better than on any of my PCs, and exploiting ALTIVEC for scientific floating point calculations, as per NASA Engineer, Craig Hunter can reach 681 MFLOPS
My 1.6GB G4 cost $700 (eBay helped). I plan to update my Linux/Windows laptop next week to a G4 Powerbook for many of the same reasons you cite. Thus, although I don't consider myself a "guru", I feel confident that anyone with a Mac and the plethora of web info can experiment and "tinker" to upgrade CPUs, CDRW, video, SDRAM, and even run OS/X on 8600s upgraded to G3s, just as I have done.
Thus, even in the 5%, there's a large community of MAC "tinkerers" who can probably hold their own (and find much in common) with their PC comrades who like to "mess with their system" and not just fix power supplies.
-
Re:Not likely...OS X has actually been a 10 year project. This article talks about how the main goal of one of OS X's first initiatives was to run on Intel-based hardware.
-
Re:Linux on MacsPersonally, I love running linux on everything from Macs to X86 boxes to my old NeXT cube and slab to my SGI Indy. As far as the mac goes, here are some very nice distros:
- Yellow Dog
- Linux PPC
- Mac On Linux
- 68k Linux
- MkLinux -the original Mac distro
-
Article about Geek Cruises
I came across an O'Reilly article today that discusses this. It's titled "Wireless at Sea: A Report from the MacMania Alaska Cruise".
An excerpt:
The connection speed was, as expected, both slow and highly latent because of the satellite relay, but it was effective enough to handle email and limited Web browsing, as well as an upload of my dog mushing pictures.
--Bruce
-
Re:Mac OS X version
- Why would you delete an app because it's built with the Carbon API? This O'Reilly article puts things in perspective. Other commonly used Carbon apps: IE and Finder.
- I can understand your "looks awful" point.
- See a post above for editing your prefs to block pop-up adds.
- OmniWeb has poor support for standards.
-
Part Two is now available.
Part Two of the original article is now available. I submitted a story on this, but who knows if it is going to be accepted.