Re: Do Debug Apps Expire on iOS?

2016-07-22 Thread Michael David Crawford
Debug it some other way than with Xcode. Possibly you have a serious bug, but running under the debugger alters something so that the bug isn't stimulated. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or mode

Re: Prioritize my own app's disk access

2016-07-05 Thread Michael David Crawford
If it's a dedicated workstation, it should be OK to require a RAID 0. That won't affect anyone's priority, but all disk I/O will be divided among two or more disks. Alternatively, dedicate a single drive only to video, with your other drive being for everything else. Michael

Re: Simplest way to generate audio tones?

2016-06-03 Thread Michael David Crawford
_10-Dec-2006/oggfrog/BirthCry.cpp Michael David Crawford, Baritone mdcrawf...@gmail.com One Must Not Trifle With Wizards For It Makes Us Soggy And Hard To Light. On Sun, May 29, 2016 at 10:10 AM, Jens Alfke wrote: > >> On May 28, 2016, at 8:24 PM, Graham Cox wrote: >> >>

Re: Apple Bug no response

2016-03-09 Thread Michael David Crawford
I have a bug in Apple's sample code that would be a trivial fix, that has been open for eight years. By contrast I've reported a few kernel bugs. Each was fixed in the very next build. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do n

Re: [OT] Forums for Web Development?

2016-02-15 Thread Michael David Crawford
Soylent News, http://soylentnews.org/ Submit an "Ask Soylent News" story. If you ask your questions intelligently they'll run your story. Many Soylentils are web app coders. Michael David Crawford, Baritone mdcrawf...@gmail.com One Must Not Trifle With Wizards For It Mak

Re: mmap quiet failure - all reads are 0x00

2016-02-05 Thread Michael David Crawford
don't just focus narrowly on the mmap itself. Michael David Crawford, Baritone mdcrawf...@gmail.com One Must Not Trifle With Wizards For It Makes Us Soggy And Hard To Light. On Fri, Feb 5, 2016 at 4:36 PM, Jens Alfke wrote: > >> On Feb 5, 2016, at 10:09 AM, Trygve Inda wrote:

Re: catching statuses of lights

2016-01-29 Thread Michael David Crawford
color filters might simplify the problem. Also are the lights in a fixed location? Do you plan to let your iDevice do the driving? ;-D Michael David Crawford, Baritone mdcrawf...@gmail.com One Must Not Trifle With Wizards For It Makes Us Soggy And Hard To Light. On Fri, Jan 29, 2016 at

Re: OpenGL Vertical Syncing effect on run loops

2015-09-23 Thread Michael David Crawford
U was devoted to back and forth context switches that did no other work of any sort. My current use of the display link resulted in a tenfold increase in performance. Michael David Crawford P.E., Consulting Process Architect mdcrawf...@gmail.com http://mike.soggywizard.com/ One Must Not Trifle

Re: iOS 9 or Watch App

2015-09-21 Thread Michael David Crawford
For me, it works OK to put the Xcode app bundles in folders: /Applications/Xcode_5/Xcode.app /Applications/Xcode_6/Xcode.app however you may only have one version of the command line tools installed in /usr/bin and the like. Michael David Crawford P.E., Consulting Process Architect mdcrawf

Re: Is it possible to transfer data by using light

2015-09-18 Thread Michael David Crawford
your personal phone. Modern Macs - to the best of my knowledge - provide trusted computing chips, on can access them from userspace with a modest bit of code. Michael David Crawford P.E., Consulting Process Architect mdcrawf...@gmail.com http://mike.soggywizard.com/ One Must Not Trifle

Re: Is it possible to transfer data by using light

2015-09-17 Thread Michael David Crawford
shades of grey could transmit more data while avoiding the stimulation of seizures. Michael David Crawford P.E., Consulting Process Architect mdcrawf...@gmail.com http://mike.soggywizard.com/ One Must Not Trifle With Wizards For It Makes Us Soggy And Hard To Light. On Thu, Sep 17, 2015 at 9

Re: Is it possible to transfer data by using light

2015-09-17 Thread Michael David Crawford
trongly suspect that modern computer user interfaces caused my seizure disorder as well as that of my cousin. Seizures are not otherwise found among any of our blood relatives. Have A Nice Day. Mike Michael David Crawford P.E., Consulting Process Architect mdcrawf...@gmail.com http://mike.soggywizard.

Re: Progress Bar Gripe

2015-09-08 Thread Michael David Crawford
ource Manager code. That the bug reports I file don't get fixed is what led me to abandon the Apple platform for Linux. I invite you to continue our friendly debate. Mike Michael David Crawford P.E., Consulting Process Architect mdcrawf...@gmail.com http://mike.soggywizard.com/ One

Progress Bar Gripe

2015-09-08 Thread Michael David Crawford
tolerate is _constant_ aggravation. Curmudgeonly Yours, Mike Michael David Crawford P.E., Consulting Process Architect mdcrawf...@gmail.com http://mike.soggywizard.com/ One Must Not Trifle With Wizards For It Makes Us Soggy And Hard To Light. ___ Coc

Re: Puzzling memory creep

2015-09-04 Thread Michael David Crawford
ctors. Michael David Crawford P.E., Consulting Process Architect mdcrawf...@gmail.com http://mike.soggywizard.com/ One Must Not Trifle With Wizards For It Makes Us Soggy And Hard To Light. On Fri, Sep 4, 2015 at 9:13 AM, wrote: > So don't create a new for matter every time. >

Re: How to terminate an NSTask whenever my app terminates?

2015-08-31 Thread Michael David Crawford
On the UNIX command line "nohup" prevents children from being killed when the parent exits. If you want to manually start a daemon: $ nohup mydaemon & Then you can log out and it keeps running. -- Michael David Crawford P.E., Consulting Process Architect mdcrawf...@

Re: Crash help?

2015-08-20 Thread Michael David Crawford
urn; } This might not have found the crash we're discussing but it will find many others by the time you ship. Also assertions are more effective than comments for documenting APIs because one is forced to maintain them along with the rest of the code. - Mike -- Michael David Crawfo

Re: Completely baffled by NSTabViewController + Autolayout

2015-08-17 Thread Michael David Crawford
operating system offerings of Apple's friendly competitors. (Soggy Wizard is a brand-new domain however I expect to start my web server by tomorrow afternoon or so.) Have A Nice Day. Michael David Crawford P.E., Consulting Process Architect http://mike.soggywizards.com/ mdcrawf...@gmail.com On

Request iOS setting to disable ALL UI animation.

2015-08-11 Thread Michael David Crawford
o Don Miguel de la Chula Vista http://www.warplife.com/mdc/ mdcrawf...@gmail.com 53n7 fr0m my 1P4d. -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Every Deity Hath the Insight to Foretell the Future Yet G-d Almighty Hi

Re: Regarding these Olivia messages. Can we do something about the list security?

2015-07-31 Thread Michael David Crawford
(Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/mdcrawford%40gmail.

Re: Regarding these Olivia messages. Can we do something about the list security?

2015-07-30 Thread Michael David Crawford
Chris, Your old homey Mike suggests that cocoa-dev could use a little TLC. Mike On Thursday, July 30, 2015, Michael David Crawford wrote: > Internet Crime Complaint Center > >http://www.ic3.gov/complaint/default.aspx > > The CERT Division > > http://www.cert.org/

Re: Regarding these Olivia messages. Can we do something about the list security?

2015-07-30 Thread Michael David Crawford
rop this domain's emails into a bunch of "newsletter" subscription forms. I'll Send You My Bill In The Mail. Mike mdcrawf...@gmail.com -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Every Deity Hath the Insight to Foretel

Re: Cocoa Error Domain code symbols in Swift

2015-07-24 Thread Michael David Crawford
n they are good ones. -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Every Deity Hath the Insight to Foretell the Future Yet G-d Almighty Himself Possesseth Not the Power to Undo the Past.

Re: MODERATOR: End of Thread (was Re: I am reluctant to file any more bugs until those already reported are fixed)

2015-07-21 Thread Michael David Crawford
sts.apple.com > > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/mdcrawford%40gmail.com > > This email sent to mdcrawf...@gmail.com -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.co

Re: C Sharp?

2015-07-16 Thread Michael David Crawford
code with gcj. This would be too much work for just one use but could be a market opportunity. Knock yourself out. -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Every Deity Hath the Insight to Foretell the Future Yet G-

Re: I am reluctant to file any more bugs until those already reported are fixed

2015-07-15 Thread Michael David Crawford
On 7/15/15, Raglan T. Tiger wrote: > Take it to Reddit and leave us alone. Thanks for setting me straight. I didn't realize that Apple's engineers hang out at Reddit. Mike -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/

Re: I am reluctant to file any more bugs until those already reported are fixed

2015-07-15 Thread Michael David Crawford
ncil meetings, register voters, make Get Out The Vote phone calls and transcribe hardcopy campaign finance disclosure statements onto the Web. Thanks for letting me clear all that up. Mike -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/

I am reluctant to file any more bugs until those already reported are fixed

2015-07-15 Thread Michael David Crawford
lamp down on all the hookers and blow that are readily available within Infinite Loop. Again: these are widespread problems. I find examples almost everywhere I look. Free Software is no exception. However: My satirical writing and my harsh, confrontive criticism in meatspace aren't doing t

Re: Translate curl command to NSURLRequest

2015-07-04 Thread Michael David Crawford
Would it work to use libcurl instead? I dont know but would be unsurprised were that to be what NSURLRequest actually does. -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon

Would you pay for a better table view?

2015-06-30 Thread Michael David Crawford
what appeared to be a Mac OS List Manager list work with three billion items. Mike -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan

Re: Cheating a synchronous call on the main thread

2015-06-29 Thread Michael David Crawford
Use a background task to do the real work then deliver the result on a queue. mUseba synchronous call to fetch the result from the queue or return an error result if the queue is empty. -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc

Why do so many iOS apps have such poor quality?

2015-06-23 Thread Michael David Crawford
y lost the contract. How hard can it be to add assertions to your source? -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area. _

Re: Scary Stuff!

2015-06-17 Thread Michael David Crawford
I was a "Debug Meister" for Apple in the mid-90s. It was fascinating work but I applied for an internal transfer because I had the sense that my work would never be finished. That is, we will never run out of bugs. It gets me down sometimes. Michael David Crawford, Consulting Softwar

Re: Most People Still Use Dialup

2015-06-16 Thread Michael David Crawford
right offensive, to hook up my printer at Starbucks. On 6/16/15, Alex Zavatone wrote: > > On Jun 16, 2015, at 6:34 AM, Michael David Crawford wrote: > >> I was finally able to download that 1 GB printer driver assortment, >> but only by wandering around trying different wifi spots.

Re: Most People Still Use Dialup

2015-06-16 Thread Michael David Crawford
Northern China has to talk to Southern China via Japan. This because some party official gave his son the gift of what at one time was the northern part of the state telecommunications monopoly. On 6/16/15, Michael David Crawford wrote: > I was finally able to download that 1 GB printer dri

Re: Most People Still Use Dialup

2015-06-16 Thread Michael David Crawford
e.com $ sudo ping -c 100 -f berkeley.edu $ sudo ping -c 100 -f www.vatican.va By tracerouting before and after that flushing, I can see that my packets traverse far fewer routers. -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available f

Re: Goodbye and Thanks for All The Code

2015-06-16 Thread Michael David Crawford
hortly after which I learned that everyone in the entire country who wore eyeglasses disappeared virtually overnight. Computers are cool and all that, I really _do_ enjoy writing code but some things are really more important than how many mice one's app scores in a trade rag product

Most People Still Use Dialup

2015-06-15 Thread Michael David Crawford
documents they download. When I was the Product Development Manager for Working Software I kept twelve people employed despite that I only had a 40 MB hard drive. Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Developm

Goodbye and Thanks for All The Code

2015-06-15 Thread Michael David Crawford
o perfect my craft as a writer, I too might get a price put on my own head. One Can Only Hope. == Ever Faithful, Mike Crawford Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portla

Re: Language options: Objective-C, Swift, C or C++?

2015-06-13 Thread Michael David Crawford
fault Apple, given that it is Apple's written policy to reject crashy apps from the app store. Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area. On Sat, Jun 13,

Re: Language options: Objective-C, Swift, C or C++?

2015-06-13 Thread Michael David Crawford
Engineer's Solemn Duty http://www.warplife.com/ethics/duty.html Thanks for letting me clear all that up. Mike Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan

Re: Language options: Objective-C, Swift, C or C++?

2015-06-13 Thread Michael David Crawford
it. There's really nothing that Cocoa or Cocoa touch can do that ZooLib couldn't do better in ISO C++. Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area.

Re: Language options: Objective-C, Swift, C or C++?

2015-06-13 Thread Michael David Crawford
-C and Assembly Code is that I can do tweaky little optimizations like reordering data accesses so as to reduce cache misses. Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolita

Re: Language options: Objective-C, Swift, C or C++?

2015-06-13 Thread Michael David Crawford
t leads to my extensive C++ experience being of absolutely no use when I apply for such coding gigs - this despite that I've used C++ on the Mac since 1990, while working for Apple. Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Availab

[OT] correcting mistaken identity

2015-06-12 Thread Michael David Crawford
u for contacting me; I will reply to your inquiry as promptly as I can. Please permit me to avail myself of this opportunity to point out that I am a Physicist and a Software Engineer, and am very much alive. The tattoo artist also named Michael David Crawford who did time in Walla Walla commenci

Re: Wanted: Elegant way to manage this task

2015-06-08 Thread Michael David Crawford
_ > > 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-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscr

Re: Looking at self = [super init].

2015-06-02 Thread Michael David Crawford
y plant worker. While the overall architecture had all manner of fault-tolerance engineered in, that fault-tolerance depended on correct C++ code. Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portlan

Re: Looking at self = [super init].

2015-06-02 Thread Michael David Crawford
ly are. If they're picky about their comments I withdraw my application. If their coding conventions are the sort that are likely to lead to correct code then I pursue the job with enthusiasm. Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/m

Re: Looking at self = [super init].

2015-06-02 Thread Michael David Crawford
k, when potential clients look over my source and don't find any comments in it. Mike Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area. On Tue, Jun 2, 2015 a

Re: Looking at self = [super init].

2015-06-01 Thread Michael David Crawford
eason that I adopted someone else's practice of putting spaces inside of parentheses: void foo( int x, char y ) I've done that for decades but I've never seen anyone else do it. On 6/1/15, Britt Durbrow wrote: > In no particular order: > >> On Jun 1, 2015, at 7:27 PM,

Re: Looking at self = [super init].

2015-06-01 Thread Michael David Crawford
ate your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/mdcrawford%40gmail.com > > This email sent to mdcrawf...@gmail.com -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the

Re: Looking at self = [super init].

2015-06-01 Thread Michael David Crawford
Steve - are you saying that C++ destructors aren't called if you use a goto? It was my understanding that the destructor is called if you go out of scope for any reason, even if it's a goto. Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warpli

Re: Looking at self = [super init].

2015-06-01 Thread Michael David Crawford
o the language. Despite that it is commonly asserted that if you use goto, then you are clueless. That's just wrong. Assembly code doesn't really have control flow constructs. You make them out of gotos - condition or unconditional branches. Michael David Crawford, Consulting Soft

Re: Looking at self = [super init].

2015-06-01 Thread Michael David Crawford
I've always used "m" to prefix ivars: mSpeed, mDistance. I use "s" for statics and "k" for constants. I'd like to find a good convention for distinguishing properties but haven't really found one that is appealing to me. Michael David Crawford, Cons

[OT] Computer Employer Index

2015-05-30 Thread Michael David Crawford
I generally post a page for a new location once I have enough links that I can make a splash by announcing that specific page. You could help a lot of people out were you to pass the URL onto those who you genuinely feel would be interested in or would benefit from it. Yours, Mike Michael David Cra

Re: [PSA] OSStatus.com -- Error code lookup

2015-05-30 Thread Michael David Crawford
May I Bear Your Firstborn? Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area. On Sat, May 30, 2015 at 9:38 PM, Seth Willits wrote: > > I can't tell y

Re: Looking at self = [super init].

2015-05-30 Thread Michael David Crawford
goto epilog; } // lots of code goes here result = self; epilog: return result; } Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area. On Fri,

Re: Copy test docs to Simulator App's Documents folder?

2015-05-25 Thread Michael David Crawford
7;t happen. Google yields no > joy. > > Possibly the settings in my plist aren't consistent with the rest of > the project I will check that. > > Someone already filed a radar in which he request that we be able to > set up Application Data for the Simulato

Re: Stupid Cocoa question. How can you tell if the object you are looking at is a property or an ivar?

2015-05-20 Thread Michael David Crawford
duces the numbers of lines of code. Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area. On Wed, May 20, 2015 at 4:17 PM, Jens Alfke wrote: > >> On May 20

Re: Stupid Cocoa question. How can you tell if the object you are looking at is a property or an ivar?

2015-05-20 Thread Michael David Crawford
You could comment off their declarations in your header files, then have a look at which uses of them in your sources result in fatal compiler errors. (Comment off just one at a time.) Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc

Re: Stupid Cocoa question. How can you tell if the object you are looking at is a property or an ivar?

2015-05-20 Thread Michael David Crawford
rties while neglecting to remove the original ivar. This leaves me somewhat in the same situation as you. As I refactor my own code I keep in mind each of the above three situations. Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Availabl

Re: How to draw a NSView on top of a WebView and don't get overriden trying

2015-05-13 Thread Michael David Crawford
gt; compliance with our internal policies and to protect our business. Emails > are not secure and cannot be guaranteed to be error free. Anyone who > communicates with us by email is taken to accept these risks. > ___ > > Cocoa-dev mailing li

Re: IB_DESIGNABLE - anyone got it to work?

2015-05-12 Thread Michael David Crawford
until it worked. > ___ > > 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-admins(at)lists.apple.com > > Help/Unsubscribe/U

Re: Outlets are nil after awakeFromNib call

2015-05-10 Thread Michael David Crawford
pple.com/mailman/options/cocoa-dev/mdcrawford%40gmail.com > > This email sent to mdcrawf...@gmail.com -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Ar

Drawing many thin vertical lines is very slow

2015-05-07 Thread Michael David Crawford
even CoreGraphics. I've done lots of direct memory pixel manipulations over the years, that wouldn't be a problem for me to implement but before I do, do you think it would be a good idea? -- Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.

Re: Rotate a standard Cocoa control?

2015-05-07 Thread Michael David Crawford
Thanks! Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area. On Thu, May 7, 2015 at 4:24 PM, Graham Cox wrote: > >> On 8 May 2015, at 9:04 am, Mich

Re: Rotate a standard Cocoa control?

2015-05-07 Thread Michael David Crawford
the indicator with an image from a PNG. At the very end have a designer do nice graphics. Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area. On Thu, May 7, 2015 at 3

Re: Rotate a standard Cocoa control?

2015-05-07 Thread Michael David Crawford
You could do what Apple's UIKit engineers do: implement your own subclass of UIView, with your own drawing and hit testing. Then you could put your radio in a wooden cabinet, maybe model some of the warm distortion that vacuum tubes yield Michael David Crawford, Consulting Software Eng

Re: static analyzers says I'm leaking, I _think_ I'm not

2015-05-06 Thread Michael David Crawford
enemy setUpTheBomb]; } Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area. On Wed, May 6, 2015 at 2:54 PM, Ken Thomases wrote: > On May 6, 2015, at 4:40 PM, Aaron Mo

Re: static analyzers says I'm leaking, I _think_ I'm not

2015-05-06 Thread Michael David Crawford
cycler object, client code turns the cycler on and off, adjusts its speed and so on. My code might be easier to maintain if the grid exposed an interface to do all that. Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for So

Re: static analyzers says I'm leaking, I _think_ I'm not

2015-05-06 Thread Michael David Crawford
This is 6.2. I speculated a different diagnostic was a bug; were it correct, I would have seen that same diagnostic on some other code. I'll file a radar with a minimal test case if you'd like me to. I'll download 6.3.1 right now. Michael David Crawford, Consulting Software E

static analyzers says I'm leaking, I _think_ I'm not

2015-05-06 Thread Michael David Crawford
is not references later in this execution path and has a retain count of +1. Isn't that what I want? I should be taking ownership of it with "alloc/initWithGrid". (initWithGrid doesn't do a cyclic retain.) Thanks, Mike Michael David Crawford, Consulting Software E

malloc(0) returns a pointer, not NULL

2015-05-05 Thread Michael David Crawford
tes ); ptr = malloc( bytes ); Just thought you'd like to know, Mike Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area. ___