<< >>
justin = { main feed , music , code , askjf , pubkey };
[ <<< last (older) article | view in index | next (newer) article >>> ]

October 17, 2009
what's the point?

I usually just complain here, which isn't really good for me, or the 5 people who read it. Here is the first (of hopefully a few) somewhat constructive update:

October 17, 2009
OS X: If you use NSMenu and NSMenuItem...


This one took a bit to track down. Here is a crash trace, so that if anybody out there googles for it, they will find this post:

    0   com.apple.CoreFoundation      	0x94563084 CFRetain + 36
    1   com.apple.HIToolbox           	0x90e99438 RetainEventParamData + 90
    2   com.apple.HIToolbox           	0x90e991cb SetEventParameter + 233
    3   com.apple.HIToolbox           	0x90edff75 SendMenuPopulate + 189
    4   com.apple.HIToolbox           	0x90edfe73 PopulateMenu + 63
    5   com.apple.HIToolbox           	0x90eebcd6 SearchCacheEntries + 348
    6   com.apple.HIToolbox           	0x90eeb86c SearchCache + 316
    

If you use NSMenuItem directly and assign a submenu to it using [parentMenu setSubmenu:forItem:], be sure to use [parentMenu setSubmenu:nil forItem:...] before releasing the NSMenuItem or parentMenu.

It appears that there's some internal system cache of NSMenuItems (for keyboard shortcuts etc), and simply removing the menu item doesnt invalidate that cache, which can cause random crashes on some systems, though it might be fixed for 10.6.

October 17, 2009
OS X, continued.


I know I said I wasn't going to complain, and it's moot anyway since we use ICC on OS X now, but why can't you target 10.4 with GCC-LLVM? *cry*.

I've spent so much time on getting everything nice on OS X, for REAPER v3.13. I think it's paying off. Schwa says "it is like walking through mud." I tend to agree -- it's 95% "ugh" and 5% "woot". To be fair I'm sure Win32 was similar for me, back in the day, but I guess I didn't have much of an alternative (before that I had done some Xlib stuff that was not particularly enjoyable).

October 17, 2009
Windows 7


I'm not one to shill, I try to avoid wearing t-shirts with logos on them (except maybe when patching my roof).. And I know Microsoft is doing some strange things in marketing, but I have to say that Windows 7 is really awesome. On newer, decent multicore systems, I am finding it vastly superior to XP. Congrats, MS. I found installing it on the my eeepc (upgraded ram to 2gb) worked. Only (?) took about 10gb of disk.

If you have a ReadyNAS, you might need to set HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa LmCompatibilityLevel = 2 to let you access it via SMB.








6 Comments:
Posted by Juan Diego on Sun 18 Oct 2009 at 01:02 from 79.146.187.x
Hello, Justin. I read you mainly through Google Reader. Could you make the whole post available in RSS? Only the first line of this one was published.

Thanks!


Posted by AF on Sun 18 Oct 2009 at 04:46 from 78.53.42.x
what juan said :)


Posted by Justin on Sun 18 Oct 2009 at 13:50 from 64.81.54.x
Got it, I think it should be good, although google is likely caching the post so it won't work. :/


Posted by Dan on Mon 19 Oct 2009 at 21:21 from 208.87.217.x
I agree about Windows 7. It was a really smooth, nice upgrade from XP.


Posted by Cindy on Tue 20 Oct 2009 at 15:37 from 68.108.243.x
I have been thinking lately about spinner.com. I discovered its usefulness when I was in China in 1998. I thought it was just about the greatest thing that ever happened to music... At the time, I was working for Warner Bros. - it was just at the time when AOL bought Time Warner (what a sorry story.) I loved that you could listen, buy, make a play list etc... but I suppose once AOL got a hold of it, they didn't quite know what they had. Pandora is the season I sought you out. If I am talking to the genius that created Spinner or if you are in contact with that person, I would just like to thank you for your ingenuity. If you ever want someone to work for you in a marketing sense, please let me know. I will check back here.


Posted by SALAMANDER on Thu 21 Jan 2010 at 06:06 from 195.149.90.x
Hi. Basically I could agree with you. Some facts in the book on this topic which i found at the picktorrent.comtorrents search engine can appear useful in solving this issue.


Add comment:
Name:
Human?: (no or yes, patented anti crap stuff here)
Comment:
search : rss : recent comments : Copyright © 2024 Justin Frankel