ctions.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-
ange for dealloc to be called,
by making sure nothing (the timer) still retains you.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
> But when I drop the file into the table view, the app exited immediately.
Find the crash report and look at it; if you don't figure it out from that,
send another message here with the crash report.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-05
> If I set a particular background color for the view where I am drawing
> the image...
Sherm's suggestion does not involve drawing into a view at all...
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722
ractical.html>
Note that I'm assuming the simple case and most likely cause--if you're
doing anything like using threads then you'll need to say so ;-)
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
l ok, 44) files.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at c
> I just noticed that the object I allocate is not the one whose
> drawRect is being called ... I am confused ... what other object is
> there !
One defined in a nib file perhaps?
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0
> Isn't this an extremely expensive operation?
I strongly suspect that Apple's intent was to support infrequent operations,
such as non-iTunes software synching to non-iPod devices.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 7
en pass the addresses of those into routines that take
IOxxx*** and fill in your IOxxx** and then you do (*iovar)->Function
throughout the code.
Still though, Shawn's basic point is right: Ken is confused about memory
management *somewhere* in his code.
--
Scott Ribe
scott_r...@killerbyte
> I don't think this problem is down to confusion over memory management
> necessarily.
Poor choice of words on my part...
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-dev mailing
nt, it's an infinite series, and thus not representable in
any fixed number of binary digits.)
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please d
I think what you want to do is override +buttonWithType in your CustomButton
class, but it's not entirely clear from your message.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-dev mailing
> Anyone have any code I can use to do this?
*(char*)0 = 0;
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
> No, that's not how Method Replacement works.
Ah, sorry for the noise. I'm unable to move to Obj-C 2.0 yet, so haven't
started learning it yet, so spoke when I shouldn't have ;-)
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.co
do return 0 from
fcntl(desc, F_GETFD...). At least, when I try to write to one from the child
process, I get EBADF.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (
k to a closer to pure Cocoa implementation.
BTW, I tried a named pipe, works but it was surprisingly slow. Domain sockets
are next up. (Maybe after I try a couple of isolated tests of named pipes...)
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303
lower-end Macs.)
So that wasn't the problem, so I don't really need to share descriptors between
processes, nor use domain sockets, nor go off into the weeds experimenting with
mach ports or shared memory.
But interesting discussion anyway ;-)
--
Scott Ribe
scott_r...@elevated-dev
On Sep 14, 2010, at 10:30 AM, Ivan C Myrvold wrote:
> How can I increase the possible number of ports to be opened in my Cocoa
> application?
The question you should be asking is how you can make sure ports are closed
when you are done using them.
--
Scott Ribe
scott_r...@elevated-d
How about: just don't retain the timer? It is not the ordinary Cocoa memory
management pattern, but it works perfectly well.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list
ipts will take several times as long
to execute. And so on :-O
I never tried 2008, because I used a bit of VBA here and there. I am hopeful
that 2011 will be an actual improvement.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
On Oct 1, 2010, at 2:15 PM, Kevin Ross wrote:
> libsqlite3.dylib mallocs 35 objects that are still considered "live"
Sqlite manages its own cache.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 7
On Oct 5, 2010, at 8:51 AM, Shawn Bakhtiar wrote:
> Also if x is a float, make sure you use the proper type cast, or values, ie
> ( x = x + 120.00) or (x = y + (double)z , where x and y are double and z is
> an int).
That is *completely* unnecessary and pointless.
--
Scott Rib
t in Objective-C this may no longer be an issue, as
> the compiler does your work for you, but that was not an assumption I was
> making.
It's got nothing to do with Objective-C; C has always taken care of that case.
What exactly do you think is wrong with x = x + 100 where x is
27;s no
"should" about it.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the li
(And, if you care, you could instead just write 299.0, or 299f, or
299.0f.)
You could also just use if( x >= 300 ).
If you were using fractional pixels anywhere, you'd want x = 0 instead of x =
x-300, so that rounding errors would not accumulate.
--
Scott Ribe
scott_r...@elevate
of C++ types, so when you see
something that you can't understand, step 1 is nearly always to add some
logging so that you can see the real values. Although most of the time this is
not really a problem, since most of the time instead of displaying garbage, it
just refuses to display a
On Oct 27, 2010, at 3:51 PM, k...@highrolls.net wrote:
> then when I continue I get this crash which looks to me like NSApplication is
> invalid! Can that be?
NSApp has a pointer to an invalid object and tries to send it a message.
Classic symptom of an over-release.
--
Scott Ribe
s
hreads, figure out your bug with synchronization around
AppleScripts (there is no reason the library would run slower just because you
add a new thread).
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Coc
On Nov 7, 2010, at 3:02 PM, Tom Jones wrote:
> if(!port) {
> NSLog(@"Port is open...");
> } else {
> NSLog(@"Port is not open...");
> }
Isn't that backwards?
--
Scott Ribe
scott_r...@elevated-dev.com
http://ww
ead?
NSUInteger is 32-bit for 32-bit architecture, 64-bit for 64-bit architecture.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not
on being "lost", instead of
crashing. You can avoid that problem easily with @synchronized, or you can take
a peek at OSAtomic.h...
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev
ul. Granted, there might be some situation where you want to replace a
static pointer-to-object with a different pointer, so you'd need to release
before assigning in order to avoid a leak...
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
window's pos).
Extremely unlikely that MS Word uses anything at all like a modified Cocoa text
field.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.appl
On Nov 18, 2010, at 4:57 AM, Oleg Krupnov wrote:
> What are the possible
> scenarios when I may need to use another dialect?
If you have a lot of very very old code that depends on C99 quirks and not
enough time to fix it.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-d
e it's set by default in
> XCode and therefore probably is the newest. What is the newest
> preferable dialect in this case?
>
> Oleg.
>
> On Thu, Nov 18, 2010 at 5:16 PM, Scott Ribe
> wrote:
>> On Nov 18, 2010, at 4:57 AM, Oleg Krupnov wrote:
>>
>
the same interface as files.
But using NSFileHandle directly, you can use actual files, which in essence use
the disk as the "buffer"...
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev
x27;s not too hard to compress buffer to buffer.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator com
On Dec 1, 2010, at 7:26 AM, Devarshi Kulshreshtha wrote:
>
> The part of code which crashes is this-
The code you posted won't even compile. Try posting the real code, and the
stack trace.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722
o just flexibly parse a date in any common format for the current
locale.
I learned this last week, while expunging a last little bit of deprecated
code--the old International Utilities, which were in my opinion far superior
for parsing dates & times.
--
Scott Ribe
scott_r...@elevated-dev
f the members is the same on 32-bit and 64-bit. But the "not
found" values are different, so, you can't use any vile casting to reinterpret.
But a macro to convert is pretty simple:
#define NSMakeRangeFromCF(cfr) NSMakeRange( cfr.location == kCFNotFound ?
NSNotFound : cfr.location,
plain C
array as an attribute of your class, and set up its entries in awakeFromNib:
patterRateLabels[0] = numberLabel1;
patterRateLabels[1] = numberLabel2;
...
Or if it works for your spacing and so on, you could use an NSMatrix to set up
the text labels...
--
Scott Ribe
scott_r...@elevated-dev.co
'll have
to enumerate the directory and find files that you want to remove, then remove
each one explicitly.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists
missions you don't expect, the move will fail,
and all files will still be there, and you can put back everything you moved,
then provide an error message. If you do manage to move all files to the temp
dir, then you have write privs for them all, and should be able to delete them.
--
Sco
he .m extension? (Or .mm if you are using C++ code
from within it?) Third guess, are any C++ include files in your pch wrapped in
#ifdef __cplusplus?
If neither of the above is the problem, you may need to post a sampling of some
of the errors.
--
Scott Ribe
scott_r...@elevated-dev.com
http
your description of what you're doing, so I don't know.
You say the class is empty, do you include any headers?
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-de
as mistaken somewhere
along the line.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
swer.
Might be good, at least you'd figure out whether or not you've correctly
understood what we've been trying to say. After all, it's been kind of
abstract...
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevat
d on some of your prior
posts re pref panes, seems like it may not.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin re
it, so I don't
know what other issues there might be besides what I mentioned. As others
pointed out, if there's any way you could the checking from your app early in
its launch, that would avoid all such problems.
--
Scott Ribe
scott_r...@elevated-dev.com
yield...
Still not exactly something that feels like a real solution, but it would be a
clue...
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please
ain plenty of initWithString: (NSString*) declarations. You
might want to use a name that is more specific.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com
then
> either the main thread and the other thread can't progress.
Ouch. If you think that's a problem, then trust me, you would really make a
mess with multiple UI threads.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevat
not betrays a lack of
understanding of threading.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator co
out that someone who thinks he can solve a thread deadlock problem
by throwing more threads at it is really headed in the wrong direction.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Co
ith the domain and unprepared to deal
with a problem by pursuing a more complex solution.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
On Mar 14, 2012, at 11:23 AM, JongAm Park wrote:
> it didn't sound harsh in a jungle with full of male creatures.
LOL! And you said your English was not so good. That was great!
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-05
iest because of the coupling,
is to use performSelectorOnMainThreadWithObjectWaitForCompletion: NO (yeah, I
misspelled it, not looking at the reference right now), where the update can
just be an object that is passed from bg to fg, and *not* shared otherwise.
--
Scott Ribe
scott_r...@elevated-dev.com
http://ww
gs all over the place, regardless of whether or not an app is
actually accessing any particular data from multiple threads, because now the
framework has to assume that might happen.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567
const by many years.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the mode
cascading changes required. Objective-C now picks up C's support of const of
course, but Cocoa doesn't use it, so it's not really useful. (And const goes
nowhere near as deep as it does in C++, and so isn't useful for the same types
of optimization tricks.)
--
Scott Ribe
Allowing the user to move the original without disrupting references to it is
the point, not space savings.
On Apr 15, 2012, at 8:13 AM, Alex Zavatone wrote:
> What's the point of aliases if they are this fat?
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(
don't know why or even if, but maybe the Finder is stuffing a
512x512 preview in there?
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please
erence, which is
not in any way a substitute for a copy.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests o
> able to resolve the location of the icon and use the original, or use a
> default file type icon representation if that lookup fails.
>
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Co
WithObjectsAndKeys:
> kUnitsKey, [NSNumber numberWithDouble:units],
> kValueKey, [NSNumber numberWithDouble:value],
> kIsMetricKey, [NSNumber numberWithBool:isMetric],
> nil];
You've switch the order of objects & keys in the arguments.
--
Scott Ribe
scott_r...@eleva
pure C++, and
there's even pure C, as appropriate.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or mo
nt,
which you can find in Xcode documentation just by searching Objective-C++, then
choosing "Using C++ With Objective-C".
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev
On Apr 19, 2012, at 2:41 PM, koko wrote:
> Should not the outlets be connected when the nib loads?
No. What are you actually trying to do?
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-
s found here?
Are you sure you're drawing it? Are you sure you're drawing it at the right
location?
BTW, it is a horribly, horribly bad idea to use the "NS" prefix on your own
classes.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevat
way and difficult to access, than have the
typical conference: run mostly by presenters with a week of training, and maybe
the occasional engineering manager showing up for an hour to give a speech
before being whisked back to work.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.
On Apr 25, 2012, at 3:12 PM, Alex Kac wrote:
> And a reminder - the iTunes U videos/PDFs given to us who don't go is
> invaluable.
Yes, that's an area where Apple really got its act together in recent years.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com
ons of some sort to the main thread and alter the data
source there.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
sy-polling loop...
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact th
see abort() putting up the "The
application has unexpectedly quit" dialog.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not pos
want to change those class names and then have to re-do that
every time you update the library...
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
P
hat it is a header-only template library does not change the fact that
you can create wrapper classes to use from Objective-C++.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list
...
Suggestions?
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the
On May 14, 2012, at 8:32 AM, Chris Goedde wrote:
> This seems like a good place to start:
Yes indeed. That page itself is not up to date, but is a gold mine of project
names & search terms which has led me to some libraries that appear to be very
good fits for my requirements.
--
Sco
On May 14, 2012, at 9:03 AM, Sean McBride wrote:
> Maybe VTK:
Just found it a few minutes ago, based on searches inspired by the page Chris
found--appears to be an excellent fit.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 vo
On May 18, 2012, at 8:49 AM, Fritz Anderson wrote:
> Yes, it can link to (including loading) non-ARC code.
By which I assume you mean old-style retain/release code, not GC?
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 vo
n that a disk image is always removable. Or go to extreme
lengths to use lower-level calls to determine that the volume is a disk image,
then find out where it's located, then check the containing disk type.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-de
Should also have noted: I believe this problem started with 10.7.4.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
On Jun 15, 2012, at 7:19 AM, Scott Ribe wrote:
> On Jun 14, 2012, at 3:15 PM, Matthew Weinstein wrote:
>
>> Ideas? Anyone else having pdfview lion problems.
>
> Yes, the problem you described, plus also fairly frequently crashes on
> closing the window--looks like inval
sn't happen.
I'm building on 10.6.8, and I do not use PDFThumbnailView.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post
your app or not I don't know. The other approach
of course: use a single table view, and programmatically switch its contents by
switching out columns & bindings.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
> updated correctly, sometimes not. Are there any known issues with
> CFPreferences on Mountain Lion?
My problems with prefs started with Lion, FYI...
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
gt; memory before flushing them to disk.
Because they do not always get flushed to disk; sometimes they disappear.
Because it is completely random whether or not changes are visible to other
applications that share them--despite their having been sync'd.
--
Scott Ribe
scott_r...@elevated-dev.c
s is not something you can rely on in
> a sandboxed environment.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
gt; rendered until I scroll about some more. Did something change in PDFKit, or
> has anyone else seen this behaviour? I'm fairly certain that nothing has
> changed recently in that part of the code base.
It started with 10.7.4.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www
n making
> it possible to address arbitrary 32-bit slices of cache.
No. A cache line always maps to a contiguous slice of RAM the same size as the
line--to do otherwise would be an absolute nightmare of complexity.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(30
only read 32-bits at a time (or less) from the cache for opcodes
> that deal with 32-bits (or less) of data at a time.
I don't think so; I think Kyle was asserting that for a 32-bit integer on a
64-bit machine, the CPU would read 64 bits from the cache.
--
Scott Ribe
scott_r...@elevated
ld add huge complexity--and, actually, would
probably be impossible. How is the CPU to know before the memory is used, what
is 32-bit values vs what is 64 (16, 8)? What happens when memory is accessed in
one line of code as 2 32-bit values, and as 1 64-bit value in the next line.
--
Scott Ribe
s
On Jul 4, 2012, at 11:28 PM, Nathan Day wrote:
> You are saying that the CPU read two 32bit int from the cache at the same
> time, and then does some bit manipulation to get the high or low 32bit word
> into a 64bit register.
No, I'm not saying that at all.
--
Scott Ribe
scott
#x27;t
> know how intel does it), then to get 32 bit aligned words it must do some bit
> shift.
Why are you assuming 64 bits must be read from the cache?
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
__
x86-64
(more registers and so on).
(Not that it matters anymore, but this is different than the PPC case, where
there were not such instruction model differences between 32 & 64).
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
__
Sample the process; see "man sample".
On Jul 29, 2012, at 2:56 PM, John MacMullin wrote:
> How do I snapshot, debug or otherwise detect and obtain a stack trace of the
> code causing the hang?
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303
On Jul 29, 2012, at 4:49 PM, Scott Ribe wrote:
> Sample the process; see "man sample".
>
> On Jul 29, 2012, at 2:56 PM, John MacMullin wrote:
>
>> How do I snapshot, debug or otherwise detect and obtain a stack trace of the
>> code causing the hang?
I was
quire us to carry 7 figures' worth of insurance to cover
that liability. So yes, in some cases, the user (and insurer) absolutely
expects us to do the right thing.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303
C a macro like this cannot accept 0 varargs, this is a GCC extension.
Of course for this one you could let format be the first vararg, but that trick
is not always feasible.)
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
Reopen All Windows from Last Session.
Unless of course pages you're interested in include ones where you've had to
log in to the site...
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
301 - 400 of 793 matches
Mail list logo