Slashdot Mirror


Working With Tiger Technologies

Juanvaldes writes "Apple has put online more developer-oriented information about Tiger. There are also detailed articles about Spotlight, Dashboard, 64-bit apps and Automator."

22 of 133 comments (clear)

  1. New Apple User by rokzy · · Score: 5, Interesting

    I just got my first Mac, an iBook G4, and have been amazed by it so far. the level of integration is astounding. everything Just Works(tm) and also Plays Nice(tm). for example, everything can be voice-controlled, and the voice control actually works and doesn't need training, and when I install a new app ("Firefox") it automagically understand that app.

    Having seen the Macworld Keynote, Tiger looks very good. I'm mostly interested in Dashboard. Seems like a good step forward (I love Expose). Spotlight also seems great, though the number of times I actually use a local search is tiny.

    Apple keeps getting better and genuinely innovating, whereas MS seems to just buy, rebrand, then move on when it's Good Enough(tm). I'm sorry if that sounds flamebait, but it's The Truth(tm).

    1. Re:New Apple User by rritterson · · Score: 4, Interesting

      I use a Mac, so don't take me as a MS Fanboy, but:

      WindowsXP has a built in speech engine. It doesn't need training to understand commands, but you do have to train it to do dictation. I assume any program can use the API, but I only know of one set of programs that do: MS Office.

      Dashboard is almost a direct rip off of a third party app, but I forget what it's called.

      Desktop search was supposed to be part of WinFS, which MS announced about a year ago. You can't call apple the innovator here, just the fastest-to-market.

      I think the true advatages of going with Apple are:

      -that OSX gets faster with each version, *on the same hardware*. Think Longhorn will run faster than XP on my P3 machine?

      -expose. It works just like you'd expect it to. It's faster to pick out a safari window on a collage of thumbnailed windows than it is from a vertical text list of the window titles (a la XP).

      -the .app packaging format. The icon is the entire app. Just drag it to the trash to uninstall it. No registry fragments left behind.

      -ability to run as unprivledged. If i need to change a system setting, it will automatically prompt for the admin password. I can also use su and sudo when I need to. (Linux has this too)

      -the BSD underbelly. I can use the great GUI to do what I need with a few clicks, but there are some things i just can't do without a terminal. Having rsync, ssh, sftp, cron, etc available to me is great. Unlike Linux, I don't feel like I have to use the terminal unless I want to.

      --
      -Ryan
      AUWYHSTOT (Acronyms are Useless When You Have to Spell Them Out Too)
    2. Re:New Apple User by rritterson · · Score: 4, Insightful

      You just don't get the point do you?

      Apple's business model isn't built on driving up the highest market share possible. If they wanted to do that, they would have switched to x86 long ago.

      They aren't trying to sell the most computer at the lowest price- they are trying to sell the best computers at a reasonable price.

      --
      -Ryan
      AUWYHSTOT (Acronyms are Useless When You Have to Spell Them Out Too)
    3. Re:New Apple User by WMD_88 · · Score: 4, Interesting
      Desktop search was supposed to be part of WinFS, which MS announced about a year ago. You can't call apple the innovator here, just the fastest-to-market.

      Spotlight has been in developement a few years. Well before the MS announcement. In fact, fragments of it were in OS 9.

      You are, however, correct about Dashboard and the speech thing.

    4. Re:New Apple User by larkost · · Score: 4, Insightful

      Just a couple of comments:

      Apple first showed Spotlight last June, and if you look at it you will see that it is really an extension of an old Copland technology (the project that was started to originally replace System 7.5) that came out in System 8.6 under the TwinTurbo codename (text summarizing and indexing of the hard drive). And if you are really stretching you can find glimmers of this in the marketing buzz for Microsofts Cairo (large parts of which made it into Win95 and Win98). In other words, this is not a new idea... so making it work (and well) is the only thing that counts. We are way beyond the point where anyone can claim that they thought of it first.

      I don't think that Microsoft's speech recognition does dictation. I think it is just like the speech recognition that has also been built into MacOS since either MacOS 7.5 or 8: very limited commands that are a big drain on the processor, and you have to repeat yourself a lot. Nothing to see here...

      And on the Dashboard comment... You are thinking of Konfabulator, and that borrowed its idea from Apple's desk accessories, which borrowed its idea from a demo at Xerox PARC (the one Apple paid for the ideas with stock). And the more you compare how the two system work, the less they look like each other. Dashboard widgets are a special form of html page with a few extra javascript hooks that live in a special environment. Konfabulator scripts are another (heavyweight) program that runs in its own special interpreter with its own language. Konfabulator was a neat idea, but the implementation sucked. Apple just extended the browser and came up with their own twists on the idea. The truth be told, Dashboard has more in common with Mozilla/Firefox's XUL than Konfabulator (and it should, since Dave Hyatt was a major mover behind both).

    5. Re:New Apple User by JQuick · · Score: 3, Insightful

      Actually desktop widgets were part of the old MacOS. They were not re-implemented in earlier Macos X implementations.

      A third party developer wrote Konfabulator which enabled users create and run JavaScript applets. He called them widgets too.

      Is Dashboard a knock-off? Apple did introduce desktop widgets first. And their re-introduction and design makes sense. With WebKit and Java as integral parts of the base OS: css, html, and javascript make the most sense, and of course they will still call them widgets.

      The fact that Konfabulator called them widgets is a knock-off of Apple's original widgets. The fact that the widgets in javascript makes some people suspicious that Apple stole the idea.

      I don't know the principles on either side, so cannot say definitively what happened. I just think bald claims that Apple stole the idea are perhaps overstated.

    6. Re:New Apple User by MattHaffner · · Score: 4, Insightful
      You're right, I don't get it - I don't get why declining market share is a good thing for a company you want to survive or how it maintains its relevance?

      World dominance is not required for a company to make money. And that's all a company exists to do, really, in the purest sense, and certainly at this size or larger: make money for the owner/shareholders. The market has grown by leaps and bounds while the market "share" may have been declining. That means Apple still is selling more units year-over-year. And the market as a whole may be misleading. Apple from time to time focuses on certain sectors of the market. Are they really declining in every sector? I'm not so sure. In my little market space of academic science, I can tell you without even doing a head count that they have made a serious rebound in the last few years. Windows here has become a platform only of personal choice, not of need. OS X and Linux dominate our department (and I dare say our field).

      IANAFA, but the 90's did serious harm to Apple. It's taken a long times for things to stabilize and turn around. But. They did so even before the iPod took off with OS X, the Ti PowerBook, and the seamless G5 migration (at least).

      It doesn't take a BS in business to BS to figure out that after the last year or so of financials, Apple is not going to have problems surviving in the short term or being relevant.

      It doesn't take a BS in marketing to BS that when Apple's "competitors" are much more frequently talking about Apple technologies more and more in their own talking points and press responses to know that those with big shares are taking serious notice, if only behind closed doors--even if it's blowing off the relevance, saying there's nothing new, or giving us a load of BS about "choice".

      You keep focusing on that market share. Someone's been concerned for the last 10 years about it. In the meantime, "the rest of us" will go about our business enjoying a kick-ass platform. And I do mean enjoy.
    7. Re:New Apple User by quasipunk+guy · · Score: 3, Informative

      They date back to the original development of the Macintosh. That is, they predate everything outside of Xerox PARC.

    8. Re:New Apple User by reynhout · · Score: 5, Insightful

      Apple introduced Desktop Accessories in 1984. At the time, MacOS (then just called the "System") wasn't multitasking, so DAs were a way to run "something else" without closing your running application.

      Some examples: Calculator, Alarm Clock (later, the clock moved to the menu bar), Key Caps (so you could find all the non-standard keyboard characters like the Yen symbol, etc), Puzzle, Scrapbook (like multiple, persistent copy buffers), Notepad (like Stickies), Chooser (to select printers and networks), etc. Yup, 1984.

      They all lived under the Apple menu, and could be used at any time. They required some unusual constraints to WRITE, however...but Apple provided some decent sample code and shareware developers wrote hundreds more of them.

      After MacOS became preemptively multitasking, the only reason DAs stuck around is that users expected them. There was no longer a good reason to code within the DA frameworks, (and by then you could put any app you wanted into the Apple menu, so that was no longer unique..)

      Dashboard is not a knock-off. It's a reintroduction of Apple's own good idea from twenty years ago. As for the naming choice -- well, I think it's dumb...but it doesn't make sense to claim that that's stolen either. There is no more generic term for a small, useful thing. Widgets will be more powerful than DAs and easier to write, but that's a function of the intervening time, not stolen inspiration.

      Dashboard is also interesting because the applets (see?) are like Desk Accessories, but the use model appears to be Apple's first admission that virtual desktops might be a GOOD IDEA that users are capable of understanding (when presented in a very animated-so-you-know-whats-happening-at-all-times kind of way). That's a big step for Apple HIG!

      Next stop, multi-button mouses, STANDARD!

      I only worry that with Expose and Dashboard, Apple might decide that users are all tapped out in the weird-things-that-happen-to-my-desktop department and never implement virtual desktops themselves.

      (Though I'm pretty happy with Virtue. Look it up on version tracker.)

    9. Re:New Apple User by SteeldrivingJon · · Score: 3, Insightful


      You need up to date information.

      "Note the trend in Mac shipments, particularly the big increase in the most recent quarter."

      Mac shipments have been trending upwards over the last 8 quarters. From 711,000 in Q12003, to 1,046,000 Macs sold in Q4 2004. A sizable jump there in Q4, from 836,000 in Q304.

      Market share is not all its cracked up to be.

      IBM has about 8.6% market share. Unfortunately, even that wasn't enough - they lost money on their PC business for the last three years, so they bailed out and sold it to Lenovo.

      I'd much rather have Apple at 1.9% market share, profitable, growing, and influential, than at 8.6% market share, losing money, and bailing out.

      As a NeXT/Cocoa programmer, I'm quite happy to see that Apple has sold about 6.6 million Macs (fast, OS X-running Macs) in the last two years, and even more happy that that figure will likely grow even faster in 2005.

      --
      September 2011: Looking for Cocoa/iOS work in Boston area Cocoa Programmer Quincy, MA
    10. Re:New Apple User by MattHaffner · · Score: 4, Insightful

      No, it's a difference between Q1-2005 and Q1-2000 of 24%. Look at the data for the last 10 years. It's all over the place. You can't just pick out one pair of years and say "look a huge decline!". Q1-2005 over Q1-2004 is up 26%. A lot of year-to-year variation is based on product cycle. You have to look at the whole trend over a longer span of time.

      And, the original argument was about market share. That's a hard thing to compute just based on raw sales. How many sales are new to the platform? How many are just upgrading old machines? How do homes with one of each major platform get counted? How does a business with a variety of machines get counted?

      If I'm an application developer, I'd be concerned these days with whether the fraction of users are using or have access to a given platform, not just how many raw units are floating around. Here's a pretty unsubstantiated statement, but one I believe is true: the user contact/availability with Macs is growing and has grown in the last few years. Whether those users are migrating or supplementing their current hardware is a curiosity, but not particularly important if you are primarily interested in how many potential buyers of your software/device/etc. there are available.

  2. Automater shows promise by samdu · · Score: 4, Insightful

    Of the apps listed in the FA, Automater appears to be the only one that's really interesting. The Widget thing is already available with Konfabulator and Desktop search is also available from a number of sources. This isn't to say that Apple won't make each of these better. However, I think the breakthrough, killer app is Automater. Sure, you can script events to some extent or another either with the limited capabilities of operating systems or to a greater extent with 3rd party apps, but the ability to build event scripts with XML and/or HTML sounds freakin' awesome.

    1. Re:Automater shows promise by dr.badass · · Score: 3, Informative

      the ability to build event scripts with XML and/or HTML sounds freakin' awesome.

      I think you're mistaken. Dashboard widgets are written in HTML+JavaScript. Automator actions are written in AppleScript or Objective-C.

      It's basically built on top of AppleScript, so you won't be able to do anything that can't already be done with AppleScript. Apps or functions that aren't scriptable will be inaccessable to Automator.

      On the other hand, I think developers will be more prone to add scripting support now that scripting is more accessable to users, and not the pain in the ass that AppleScript typically is.

      --
      Don't become a regular here -- you will become retarded.
  3. Core Data is my favorite new Tiger feature. by JQuick · · Score: 4, Interesting

    It is an addition to the Cocoa framework and to Xcode which supports a very nice object persistence layer. In a nutshell Cocoa uses the MVC (Model View Controller) design pattern. TO develop an app, one defines ones application data as model objects, build an interface of windows, widgets, etc, and provide controllers which mediate communication between the user and the data model.

    In Panther, Apple introduced "Bindings" which obviated the need to actually write most controller objects. Using bindings, the developer can associate object relationships (targets, and actions) between the View and Model layers by essentially using path names. This still enables a clean isolation between the interface and the application data layers, but requires little code (or sometimes none).

    In Tiger they added "Core Data". This allows the developer to describe their model data objects, and the object relationships. At run time, using this model description, the model objects are associated with serialized objects on disk in:
    XML file format
    binary file format
    SQLite-based database format

    This repository of frozen objects is lazily loaded, and only those objects which are actually required are unarchived and made live. Think NeXT EOF redux, but easier and not tied to WebObjects.

    XCode is integrated with a graphical display that lets you explore the object model graph, and also graph the layout of your source code.

    This stuff is very sweet. I've been playing with it off and on, and definitely miss Tiger whenever I need to boot back into Panther. (Yes, it's a legal copy. No I won't break my NDA.)

  4. Re:it gets worse by Bastian · · Score: 4, Interesting

    I was similarly converted to Apple, but I keep a linux box around and use it quite frequently. But thanks to the Mac, I now do everything in GNUStep.

    I'm actually amazed that OS X hasn't spurred a renaissance for GNUStep. I figured all the "I like MacOS, but I don't want to pay for Apple hardware" weenies would be hard at work getting around this by using GNUStep as a basis for their Free take-off of OS X instead of sticking with Gnome and KDE (both of which are just Free take-off of Windows in my book).

  5. Re:SQLite part of OS... by ZackSchil · · Score: 4, Interesting

    SQLite isn't just there for spotlight. CoreData is an interesting set of tools that Apple never really publicized much. Basically, it looks like an API for storing cocoa and carbon data structures into files such that there are two copies (a la the iTunes database). One copy is XML and the other is in SQLite format. The two copies of data are kept synced by CoreData. The purpose behind this is to make an application's files extremely easy to read and manipulate from 3rd party apps but also not have to deal with the overhead of an XML file with 20,000 dictionaries.

    It seems like a really cool idea and it has been working great in the iTunes codebase for some time now. Does any OS do something like this already? It seems to me like an obvious solution to a very common development problem. Should really cut down on development time.

  6. Re:SQLite part of OS... by Per+Wigren · · Score: 3, Insightful

    I find it interesting that SQLite is part of Tiger. I'm curious as to how useful it will be. I'm sure I'd want to keep OS info away from Dev info, but I'm curious as to whether it'll replace mySQL at all.

    Does BDB or GDBM replace MySQL? Does XML-files replace MySQL?
    SQLite is only a tiny embeddable library providing a fast SQL-interface to your data-files. It is not meant to be used as a RDBMS replacement.
    In contrast to MySQL it actually does support procedures and triggers though. :)

    --
    My other account has a 3-digit UID.
  7. I think people are underestimating spotlight... by GrahamCox · · Score: 3, Interesting

    Many comments seem to think that Spotlight is "just another desktop search". Ho-hum. Of course it is that, but I think what will be killer is its integration into the system. The Steve Jobs demos are cool, but they are not very focused on what I think is the real wow - Smart Folders in the Finder. I truly believe these will revolutionise the way people manage files. If you've used iTunes for any length of time you'll find the smart playlists absolutely invaluable. Having that at the Finder level will be incredible. It'll make the "recent documents" and "recent applications" menu look pretty lame. I think after a while no-one will be able to understand how the hell we managed with only fixed folders all these years.

  8. Re:I'd be more inclined to call you an Apple fan b by JQuick · · Score: 4, Insightful
    I would count this as a disadvantage - they release stuff before it's finished, and force you to upgrade by making most of the libraries marginally incompatible so that oops, this only runs on 10.2 and up - soon 10.3 will be the price of entry. They keep trying to scuttle security patches for "old" versions (AKA less than a year old) to force people to upgrade too.


    Your statements are patently false.

    Situations where X only runs on 10.2 and up, or Y only runs on 10.3 and up result from adding new functionality, not from breaking old functionality. Frameworks in Macos X support multiple simultaneous versions without conflict.

    The reason that so many new packages require new versions of the OS is that the development tools and libraries are improving. Targeting 10.1 or 10.2 requires that developers forgo functionality which can dramatically reduce their effort. For instance using Cocoa Bindings (introduced in Panther) a developer can avoid writing much common code. The authors of Delicious Library say that when they first read about Cocoa Bindings they decided to give it a try:

    "We rewrote everything in a day or two--I think we deleted over a thousand lines of code that just wasn't needed any more.


    WebKit, Array Controllers, and scores of other new objects have been introduced over the past few years. In each case the general result is deriving more functionality out of far less code.

    This is not the result of Apple un-fucking things. This is the result of Apple producing software that improves the system by adding new functionality that is easier for both developers and end-users.

    Apple typically releases free updates and security patches for several years. Jaguar (10.2) came out in 2002, the last major upgrade 10.2.8 was released in mid 2003, I see that 10.2.8 was still covered by the security update several weeks ago.

    It is clear that you don't know what you are talking about.
  9. Autovectorization? by Paladeen · · Score: 3, Informative

    This stuff looks pretty nifty:

    Along with improvements to the GUI, Xcode 2.0 will ship with GCC 4.0 which features a new C++ Parser and several code generation improvements including auto-vectorization. While hand-tuning Velocity Engine code can get you the maximum performance from the G4 and G5 processors, now you can have GCC do the heavy lifting for you. You'll benefit from this without any extra effort, with auto-vectorization in GCC bringing anywhere between a 4X and 14X performance improvement to code that works with arrays of data.

    AltiVec support without having to write any optimized code...sounds like a winner to me.

    1. Re:Autovectorization? by TomorrowPlusX · · Score: 3, Interesting

      That's what has me tingling!

      I do a lot of work requiring realistic physics simulation ( using the Open Dynamics Engine ) -- I don't have the expertise or knowledge to attempt to vectorize ODE, nor do I have the time ( since my work is *using* the engine, not writing it. ). What I *do* know is that ODE, internally, does massive vector operations on float arrays ( float[4] vectors/quaternions, float[16] matices, etc etc ) and it clearly would benefit from SIMD optimizations. The trouble is, all the people who do know how to write such optimizations are on the x86 platform...

      Anyway, my simulations are heavily CPU bound, and any improvements that can be had for "free" will make me happy as a clam.

      --

      lorem ipsum, dolor sit amet
  10. Re:No Python with Dashboard? by sylencer · · Score: 3, Informative

    The important part is Any UNIX command or script, the remainder are just examples. Look at the code snippet right below it, there is a standard system call, executing a command.

    No problem with calling a Python script from that.