Apple Quietly Fixes DTrace 144
In January we discussed a blog entry revealing that Apple had "crippled" its DTrace port. As the author notes in a followup post, to say that DTrace had been "crippled" was at least overstated: "Unfortunately, most reactions seized on a headline paraphrasing a line of the post — albeit with the critical negation omitted." In an updated entry, the poster notes that Apple has made good (so we have too): "One issue was that timer based probes wouldn't fire if certain applications were actively executing (e.g. iTunes). This was evident both by counting periodic probe firings, and by the absence of certain applications when profiling. The good news is that Apple has (quietly) fixed the problem in Mac OS X 10.5.3."
Took them long enough (Score:2, Insightful)
This sort of issue wouldn't survive for a week on Linux.
Re:Took them long enough (Score:4, Insightful)
Re:Took them long enough (Score:5, Informative)
But that's exactly what Apple's done with their DTrace implementation. The notion of true systemic tracing was a bit too egalitarian for their classist sensibilities so they added this glob of lard into dtrace_probe() -- the heart of DTrace:
Re:Took them long enough (Score:5, Informative)
Most likely they are trying to prevent tracing/debugging/reverse engineering of apps like iTunes and QuickTime that host ITMS DRM content.
Re:Took them long enough (Score:5, Insightful)
Re:Took them long enough (Score:5, Funny)
Re: (Score:2)
Although I've no idea if this is the case, or what they've done, I suspect they simply fixed the underlying calls that dtrace uses to report on non-debuggable apps, wh
Re: (Score:2)
Re: (Score:2, Informative)
Re:Took them long enough (Score:5, Informative)
Re:Took them long enough (Score:5, Interesting)
Developer specific issues like this would certainly be fixed quickly under Linux, since it is a developer OS. On the other hand, usability issues that get fixed quickly under OS X, are often left to languor under Linux.
In both cases those features may never be fixed under Windows (or would be broken again after the next "Service Pack"
Re: (Score:2)
That's an ongoing problem with open source software, even on OS X. Camino, the "usability" oriented Gecko browser on OS X, has years-old issues.
On the gripping hand, Apple still hasn't cleaned up Finder, though I congratulate them for finally ditching Metal. The "Cocoa-ized" Leopard Finder has major regressions (for example, it no longer tracks different views of different folders).
Safari on Windows
Re: (Score:3, Informative)
Their passive-aggressive relationship with multiple mouse buttons is a crying shame.
To be honest, to me this seems like a thing of the past. Apple-critics tend to use it as an argument against Macs but really, that was fixed when the Mighty Mouse came out. I would argue even before that, since I was using out-of-the-box (as in drivers already installed) a Microsoft 5-button mouse on my first Powerbook, and could configure all the buttons. If you're working on a Macbook or Macbook pro, I find the "double-finger click" (whatever you want to call it) equally if not more convenient than havin
Re: (Score:2)
for desktops yes (and as you say you could use a third party multi button mouse before that) thier laptops still come with only one button below the touchpad though.
Re: (Score:2)
I've come to prefer this setup in laptops. Most clicking done is left clicking, when I switch to a windows laptop I find myself inadvertently hitting the right click constantly. I prefer the precise control offered by a ctrl+click which is (for me) less prone to accidental clicking. I'm not saying your preference is bad, or that mine is super
Re: (Score:2)
Being able to "tap" a right button with two fingers would be a valuable feature on PC laptops (I virtually never touch the trackpad button), but a right mouse button on the MacBook (Pro) would be of more value IMHO since they are hardware compatible with Windows and "ri
Re: (Score:2)
The mighty mouse is exactly the kind of passive-aggressive **** that I'm talking about. The Mighty Mouse does not allow chording, and to reliably get right clicking out of it I have to hold my hand in an uncomfortable position tat severly aggravates my RSI. I use a Microsoft wheel mouse, the two-button-plus-wheel cheap mouse, and it works
Re: (Score:2)
In this sense (using a 3rd party multi-mouse button with my desktop purchase), nothing has changed from windows to osx.
For my thoughts on the one button laptops, I prefer it. Some folks like one model of car, some like others. I wouldn't say it's because one car manufacturer has a hatred for features in the ot
Re: (Score:2)
When I can buy OS X retail and install it on a Thinkpad I'll be happy to agree with you.
Since that's not going to happen, where's the choice?
Re: (Score:2)
Since that's not going to happen, what the hell are you talking about?
Re: (Score:2)
The message I was responding to was talking about having different kinds of input devices on laptops being good because it gives you a choice.
An operating system is not just bucket seats and woodgrain steering wheels. Windows is not an option (don't even think about arguing with that one) and until I can get the same variety of commercial desktop software for Linux as I can for OS X then Linux is not an option (don't even start on running Windows in a VM
Re: (Score:2)
Re: (Score:2, Informative)
Re: (Score:2)
Re: (Score:2)
Yes. It "doesn't work for me" means "I do not find it an adequate replacement for a second button. I need to be able to activate the contextual menu without tapping the touchpad, because it's too easy for me to jiggle the mouse in the process whether I'm one- or two- finger tapping.
Re: (Score:2)
Re: (Score:2)
I don't rest my finger on the pad, because any subsequent motion of my hand causes small movements, and because I have to make muliple strokes on the pad to move the mouse any distance so I am in the habit of stroking the pointer around and only touching the pad when I'm actually moving the pointer.
Even if you don't have a finger on the pad, plonking two down at the same time shouldn't result in any pointer movement
I find that plonking down *one* at a time can cause mo
Re: (Score:2)
Ok. Though I would have thought that most of the times when you want to click, it would come immediately after movement, so your fingers would already be there. I can see how it would be an issue though if ther
Re: (Score:2)
Indeed, there isn't even a clue-anticlue explosion when it's plugged in. Though you couldn't under OS 9, and Apple still doesn't ship an actual two-button mouse, and application support for the right button is still not universal (which I elaborate on in another comment in this thread).
your Windows PC
You take that back!
have you activated multiple finger scrolling and clicking?
Yes, I have already explained this in far more detail in another f
Re: (Score:3, Informative)
Their passive-aggressive relationship with multiple mouse buttons is a crying shame.
I find their stance on mouse buttons to be ideal. As a usability expert, I can assure you misuse of secondary mouse buttons is one of the most common usability problems, even for more advanced users, although they often do not consciously note it. For novice users, a single mouse button is by far preferable. For trackpad users, both novice users and power users complete tasks faster using two-finger taps or chording... with only midrange users having issues. Standardizing one one button as the requirement
Re: (Score:3, Informative)
Argumentum ad verecundiam. I've been seeing people make claims like this for almost 25 years now, and I have yet to see a single credible study that supports it.
Single button mice are more "demo friendly". That's it.
* Applications are *not* as consistent as you claim. There are many actions even in Apple's apps that are only available through the contextual menu, or through magic chords.
* T
Re: (Score:3, Funny)
Anyone who has spent a day answering phones on a tech support line can confirm that mixing up mouse buttons is a common issue.
"right click on the icon"
"double click?"
"no, ma'am, click the right button on your mouse"
"how do I know which button is the right one?"
Re: (Score:2)
Argumentum ad verecundiam. I've been seeing people make claims like this for almost 25 years now, and I have yet to see a single credible study that supports it. Single button mice are more "demo friendly". That's it.
What are you talking about? Have you ever performed a usability study on a modern computer? There is always at least one person messing up and hitting the wrong button. I once thought I was going to get away without that problem when testing an interface for network security experts, but sure enough one of the top guys at AT&T (a really bright guy by the way) who was helping us test accidentally clicked the wrong button while trying to access a menu. This is an absurdly common issue. To claim it has n
Re: (Score:2)
No, but I've read as many of them as I can get my hands on, and have found none of them credible. It's easy to see the errors: you'll find them comparing mockups of user interfaces that never actually got implemented, or user interfaces that are clearly designed to make one or another operation work better, or have taken the interface the experimenter doesn't like to extremes (like the "five button mouse"). I have, for the past quarter of a cent
Re: (Score:2)
Have you ever performed a usability study on a modern computer?
No, but I've read as many of them as I can get my hands on, and have found none of them credible.
So you're claiming the entire field of scientific research into usability is not credible, and the alternative you're proffering, is your own personal opinion backed up by no data whatsoever? I've got to tell you, that's not very persuasive.
I have, for the past quarter of a century, rarely even had any user interface experts provide an example of a study other than Apple's original flawed work.
Have you considered actually going to HCI conferences, subscribing to the journals, or just reading the academic papers published online. There are a lot of rigorous usability studies, usually testing a particular interface and looking for problem tasks/workflows.
I'm an advanced user. I have decades of experience with Macs and just about every other user interface that uses a mouse and windows, including every version of Mac OS, the Lisa, and all three of the GUIs Xerox developed on the Dorado and Dolphin boxes. I am still discovering magic keys in Apple applications by means of word-of-mouth and google.
Re: (Score:2)
No, I'm claiming that I haven't had anyone provide a credible study. There may be some, but they all seem to be locked up somewhere.
Most people respond by asserting that I am rejecting an entire field of scientific research, but decline to actually provide a reference to a single study to support this assertion.
Have you considered [...] just reading the academic papers published online.
Well, hey, you want to be an excep
Re: (Score:2)
* Applications are *not* as consistent as you claim. There are many actions even in Apple's apps that are only available through the contextual menu, or through magic chords.
Really. Care to cite an example? I know of only two applications on OS X that are exceptions to this rule, one of which is an abysmal custom interface trying to exactly mimic the Windows version and the other is a high end graphics application that specifies users must have a multi-button mouse to use it. I'll give you a hint, look in the regular menus.
The menu bar can be up to 1,000 pixels away from the current position of the mouse. Sure, you can increase sensitivity, but then you lose pixel-level control of the mouse pointer due to your hand tremors.
Yeah, selecting things from the regular menus when you can use a right-click context menu can be slow, which is why it is nice to have both options. The point of standardizing on one button is it forces developers to put them in the regular menus, even if they also put them in the the right-click context menu as well.
The reason the above is advantageous is for all the novice user who don't properly use the second mouse button and for all the people using alternative interfaces that don't have a second
PROTIP: Press Shift+F10 for a context menu (Score:2)
Re: (Score:2)
The reason is because the Apple menu bar is flush with the top of the display, so it is effectively infinitely tall.
This is true if you have the menu bar on the top display.
You can slam the mouse over there at high speed with little need for precision.
Even if you have to move the mouse up, pick up the mouse from the mouse pad, move the mouse down, place the mouse on the mouse pad, and then move the mouse up again? Fitts's law [wikipedia.org] assumes O(log(d/w)) to move d pixels toward a target of size w pixels, but above some distance, this becomes O(d).
A Windows menu bar, on the other hand, is only a few pixels tall.
As is each menu item. Under Windows or many recent X11 environments, I can move the mouse in the general direction of the menus, press Alt+E to open the Edit me
Re: (Score:2)
Re: (Score:2)
One area where they haven't fixed serious usability issues is in Spaces. They updated the behavior in 10.5.3, but I wouldn't call that an improvement. Until they fix Spaces to work better, I'd consider it a case of shipping beta-quality software.
Re: (Score:2)
I have only one thing to say on that: FTFF.
Re: (Score:2)
Re:Took them long enough (Score:5, Informative)
Re: (Score:3, Informative)
These sort of concurrency issues are bad enough when they're bug in your *own* code. When it's stuff in other apps producing what appears to be strange behaviour in your own (perfectly fine) code, that's a BIG problem.
This sort of issue wouldn't survive for a week on Linux.
If you read the original story, which this one is an update to, then you'll see that there are no bugs - only features.
Apple intentionally disabled DTrace on some software.
You can actually take a look at Apple's DTrace source.
Re: (Score:2)
Yes, but did they intend to disable tracing of all applications running concurrently with a non-traceable application? Which is what they did.
Re: (Score:2)
Good news (Score:3, Interesting)
DTrace is used in all sorts of interesting ways. On the Belenix project, for e.g., we've sped up the LiveCD boot enormously, and this innovative use of DTrace is now part of the Distro Constructor Toolkit at opensolaris.org.
On my Dell D620, Belenix boots in about 3 and a half minutes (with KDE), while Ubuntu 7.10 boots up in about 8 minutes.
-- Sriram
http://www.belenix.org/
http://dynamicproxy.livejournal.com/
Re: (Score:2)
Re:Good news (Score:5, Funny)
Boot times... (Score:2)
What is this, 1980?
Re: (Score:2)
CD vs Floppy (Score:2)
Yes, I know they're doing a lot more than in 1980.
That's the problem. How much of what they're doing is necessary?
Re: (Score:2)
Re: (Score:2)
I don't think you're looking at the problem right.
"How big Gnome/KDE are" is part of it.
Re: (Score:2)
Well people expect different things from a live CD than an DOS boot floppy.
Now boot media has to support networking, and include as a full desktop environment. Imagine trying to boot dos + WFW 3.11 on floppy, plus a dialer and netscape. Not to mention people used to tweak boot floppies for their systems and not load extras.
Re: (Score:2)
What does a Live CD need to do *at boot* that an HP Integral or Amiga 1000 don't? They all boot to a GUI with windows, icons, a desktop, and so on.
Imagine trying to boot dos + WFW 3.11 on floppy, plus a dialer and netscape.
I don't have to imagine it, I've done it. Pointing to a REALLY bad implementation that (by the way) Gnome is doing a really BAD job of emulating is hardly the way to convince me that the bloat of Gnome and KDE is j
Re: (Score:2)
Most people do NOT tweak live CDs. So comparing them doesn't make sense.
Re: (Score:2)
And I'm not talking about "how much stuff do you put on the disk". It doesn't matter if the CD image is 2M, 20M, or 200M, that's not going to change how long it takes to boot!
I'm talking about "how long does it take to boot to the GUI".
As a baseline, let's say the windows 98 se boot floppy.
Let's not.
Windows is also too bloated.
I bet it's closer than you think.
The fact that your CD boots as slowly as a floppy means CD'
Re: (Score:2)
yeah. Well it's not a 1:1 relationship, but more on the disk does mean it takes longer. I don't see why you can't connect what I'm saying to what you're saying. It takes time to detect and setup hardware during boot. It takes time to init a display, setup a login or window manager, etc. If we're talking about boot to gui time, dos doesn't matter. Mac OS matters. NeXTSTEP matters. THings that existed during that time period which had gui
Re: (Score:2)
Who the hell is talking about DOS? I certainly aren't.
Amiga 1000: 1985
HP Integral: 1985
THings that existed during that time period which had guis.
Like the Amiga 1000 and HP Integral.
I have a NeXT, and I can tell you it doesn't boot all that fast, especially with OpenSTEP 4.2.
I had a NeXT, too. Gave it to someone who wanted one and whose wife didn't object to bringing it home, when I left ABB.
It was running Display Posts
Re: (Score:2)
HP Integral.
That takes time. Period.
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
You do need to load the GUI, yes.
If you cant boot to a GUI from a CD faster than an HP Integral (running System V UNIX on a 68000!) could from a floppy, there's something wrong with your GUI.
That's running UNIX, mind. I'm not expecting you to beat an Amiga 1000, though that *was* loading firmware as well from the kickstart, but you should at least be able to do better than a mid '80s UNIX box.
Good going apple! (Score:5, Funny)
Keep up the good work!
Re: (Score:2)
Re: (Score:2)
Microsoft, I would assume, is +INF. No matter what they do, they're pure evil personified, at least on /.
Quietly, quietly (Score:5, Insightful)
Re:Quietly, quietly (Score:5, Insightful)
Re:Quietly, quietly (Score:4, Informative)
From a developer standpoint, this is a very bad thing apple did. Understanding what's going on and getting stuff to work is hard enough without zombified debugging tools that lie to you.
Re: (Score:2)
Re: (Score:2)
Microsoft patches are almost always* accompanied with installation instructions, affection products and possible caveats. At no point do they market bug fixes. Service Packs are made up of hundreds of patches - not one.
*Slashdot has in the past been very keen to point out Microsoft patches ushered in without notifying users.
Get a grip.
"Quietly" (Score:5, Funny)
Jeez, give a fruit a break.
DTrace 2.0: Now 30% Less Crippled! (Score:2, Interesting)
It's a big step forward, because now at least developers can properly profile their own code. However, one of the purposes of DTrace is to profil
They haven't "fixed" it at all (Score:2)
The issue isn't (really) that timer counts are wrong, but instead, the far more interesting thing is that there are "special" processes that you can't touch and everyone is now suddenly OK with that because the timers count correctly.
Re: (Score:2)
Apple, I think, has had a relatively non-evil position on DRM: do what they have to do while gently pushing folks toward free formats.
They don't have to do anything to help DRM. Look at Linux: it works just fine without kernel support for DRM, doesn't it?
Further they've created a protection scheme that is as pro forma as you could imagine.
There's still no way to play a DRM'd Apple video file outside of iTunes/iPod/AppleTV. That's significantly more restrictive than, say, a DVD.
Re: (Score:2)
Right, that's why you see so much content available from record and movie companies available on Linux.
Yes, I hear Amazon and eMusic have plenty of MP3s for sale.
Totally. And there's absolutely no DRM on a DVD player
There basically isn't anymore, since CSS is such a joke. But in any case, it's undeniable that a DVD is less encumbered by DRM than an iTunes video.
But surely this was posted by a slashdot-focused eliza program -- no human is this naive.
Hmm, maybe. But it looks like your response was written by an Apple investor; no one else would be so eager to make excuses for them.
Good news doesn't sell (Score:3, Insightful)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Re: (Score:3, Insightful)
Seriously, unless you are developing Cocoa(or Carbon) apps, there is very little reason to use XCode. There are better free software programs out there for writing c++ code, not to mention you could always just call good ol' gcc on the command line....
Re:Mac's Suck (Score:4, Insightful)
$ make
Re: (Score:2)
Re: (Score:2)
If you like XCode, and don't see the need to ever not use it, then it's probably not an improvement. And the people using MSVS probably aren't building makefiles, either. So what? But it's an improvement over "manually invoking" gcc, which is what the AC was talking about. It's also not tied into a specific IDE, which may or may not be important to you.
In any case, it has nothing to do with the OP's issue...
Re: (Score:2)
Ahhh... make and makefile???? (Score:2)
$ make
does the trick at the top directory. Yes, that means you have to maintain the makefile but that's not that hard to do and is not done daily or even weekly.
Re:Mac's Suck (Score:5, Informative)
Q: I'm trying to link my binary statically, but it's failing to link because it can't find 'crt0.o.' Why?
A: Static linking of user binaries is not supported on Mac OS X. Tying user binaries to the internal implementation of Mac OS X libraries and interfaces would limit our ability to update and enhance Mac OS X. Instead, dynamic linking is supported (linking against crt1.o automatically instead of looking for crt0.o, for example).
We strongly recommend that you consider the limitations of statically linking very carefully, and consider your customer and their needs, plus the long-term support you will need to provide. Apple provides support and attempts to insure complete compatibility through the published APIs, but cannot insure that compatibility in a statically linked project. Any change to Mac OS X, in a system update, security update, or major revision, may break statically linked code.
If your project absolutely must link statically and need crt0.o, you can get the Csu module from Darwin and try building crt0.o statically. Please bear in mind that you must then clearly specify to your customers the compatibility risks involved in installing a product that relies on statically linked code.
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
And, to the extent that it's supported on Solaris, there's no guarantee that a binary statically linked in Solaris N will run correctly in Solaris N+1.
OS X's and Solaris's ABI's are defined in terms of calls to routines in dynamically-linked libraries, not in terms of system calls.
There may well be other UN*Xes that work the same way. I have the impression that's how Windows works, as well. This allows the implementation of routines in those
Re:Mac's Suck (Score:5, Informative)
There are of course system calls (both BSD-style and Mach-style ones), but they are undocumented and can change from one Mac OS X version to another (even between minor system updates). The reason is that Apple wants to have and keep full freedom in changing the systemuser space interface at any time it wants whenever that's convenient for whatever reason (performance, security, getting rid of legacy cruft,
So if you'd statically link a program, it would be linked to a particular libc version which in turn would use the system calls as they work on the particular version of Mac OS X this libc version was compiled for. The end result would be that your program would only be guaranteed to function correctly on that particular OS revision.
libc's interface on the other hand is kept backwards compatible between OS revisions, so as long as you dynamically link against it, your program will work fine on pretty much any OS version out there (except if you use APIs which didn't exist yet in older versions).
This is more or less the opposite case as on e.g. Linux, where glibc breaks binary compatibility every other full moon (so you need to distribute different binaries for different glibc versions if you want to link dynamically to it), but the kernel's system call interface is pretty much guaranteed to remain backwards compatible for a very long time (so statically linked binaries are generally much more portable across distributions â" the downside is that you then should link everything statically because installed dynamic libraries may rely on features provided by a newer glibc than the one you statically linked, and in case of e.g. a KDE or GNOME app you'd end up with immense binaries).
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
On the other hand, try this. Create a new project in Xcode. Open mainmenu.nib in Interface Builder. Drag an NSTextView to a window, save, compile, run. Result - a complete functional word processor. You can even type "hello world" into it if you want.
Fuckwit.
Re: (Score:2)
It could. Every mac has a TPM module. They just don't use it yet (and likely won't for a long time if ever)