Monday, March 17, 2008
How long until our robot overlords control us?
(via Gizmodo)
iPhone SDK Thoughts
It's been a little over a week since the iPhone SDK announcement on March 6, and of course I downloaded the SDK. For a good general overview, I recommend reading Kevin Hoffman's take. I have started development on something I have wanted for the iPhone pretty much since it came out. With the economics of iPhone development and distribution through the App Store pretty good, if you have any idea, why wouldn't you?
As with all iPhone SDK developers, we are under NDA and not at liberty to discuss anything we know because of having the SDK. I want to address though once part of the conversation, that moving from .NET and Visual Studio to Ojective-C and Xcode hurts...bad. First, you can't go from a class library/runtime (.NET) to a language (Objective-C). You go from .NET to Cocoa. The language analogy is closest between C# and Objective-C, though of course you can be using any number of languages in .NET, you really only have Objective-C for OS X development in general (though there are some choices), and specifically on the iPhone that's all there is. But language syntax isn't that much of a switch right, the real pain is learning a new framework. That all said, does moving from .NET/C# to Cocoa/Objective-C hurt? Only a little bit, and I believe starting with the iPhone SDK actually makes it easier. How? Because by necessity Cocoa Touch has to be a subset of Cocoa for Mac OS X (Cocoa Click?). The footprint on what you have to know to get work done is greatly diminished. But it's more than that. Interface Builder for Cocoa Touch isn't available yet, so you have to wire up Views to Controllers completely manually. This sounds like a chore, but what I had previously found dabbling with Cocoa on Mac OS X and the whole Xcode tool chain was hooking up views to controllers was the possibly least intuitive bit of the whole experience. That's because with .NET and Visual Studio, you just double-click on a visual control and you end up with an event handler somewhere, no matter what. With Cocoa, nearly all frameworks, project templates, and the tools are built around the Model-View-Controller (MVC) pattern. This is a pretty decent mental departure for .NET developers because with either ASP.NET or WinForms to date (ASP.NET MVC is in beta), neither use a any kind of pattern other than "drop your controls on forms and handle events". Anything past that is really up to the developer to implement. With Cocoa, you really have to understand how the pieces work together before you can build even a crappy app :-).
So if you are a .NET developer and are interested in iPhone development (or Mac development for that matter), don't listen to the fear mongering and dive in. Even with someone that says they "tried OS X development, it was scary", they may not have looking at Leopard, Xcode 3.0, and Objective-C 2.0, when the whole stack saw monumental revisions. One word of caution though, on Mac OS X 10.5 with Objective-C 2.0 you get garbage collection for memory management, on the iPhone, it's the old style release/retain mechanism.
Sunday, March 16, 2008
Another Monetary Experiment: I added a Tip Jar/Donation button
- Domain Registration for 3 years - innerexception.com and innerexception.net
- Blogging software - The excellent MarsEdit
I did some analysis of the posts vs. revenue from 2007, and the one interesting thing I found was that the # of posts did not necessarily correlate to ad revenue:
So it it was more scientific curiosity on blog monetization that I add a Tip Jar via PayPal Donation:
If you would like to give me a, well, tip because you liked what I wrote or it helped you in some way, that would be fantastic. I'll share how that goes at some point in the future.
Thursday, March 13, 2008
Amusing anneceote
slide on MIX '08. We got to the point when PowePoint is supposed to
show an example of silverlight's adaptive video steaming, and is just
doesn't work. Presenter blames it on PowerPoint, not confidence
inspiring...
Wednesday, March 05, 2008
Annoyance: Windows SharePoint Services 3.0 doesn't uninstall SQL Server 2005 Embedded Edition, and how to remove it
msiexec /x {CEB5780F-1A70-44A9-850F-DE6C4F6AA8FB} callerid=ocsetup.exe. Jérémie says that was simple, yeah real simple ;-).
Tip: Upgrade to Safari 3.1 Beta to fix NTLM issue
Safari 3.0.4, the latest stable release for OS X 10.4 and 10.5, has a very annoying bug when asked for NTLM credentials. Basically, it sits in a loop and either hangs the browser, or eventually times out with an (I think) 401.1 error. I could reproduce this on 10.5.0, 10.5.1, and 10.5.2. I can't reproduce this now though since I just upgraded to the Safari 3.1 Beta (Seed 9B4021), and the issue has been solved. This has been causing me pain at work because the SharePoint and LiveMeeting sites uses NTLM by default with my Active Directory credentials.
I have no problems with it so far with the beta, actually one less problem than the stable release, and the browser is smoking fast. The WebKit team (rendering engine in Safari on both Mac OS X and iPhone OS X) have been doing an amazing job. The only way I know to get the beta is to signup for an Apple Developer account (entry level is free) and download the bits.
Update:
I spoke too soon. This must be a timing component to the NTLM bug I haven't figured out yet because I saw the issue again today on 3.1 Beta.
Updatex2
The NTLM issue was fixed in either the Mac OS X 10.5.3 or Mac OS X 10.5.4 software update, I can't remember which for sure, but i definitely don't have the issue on 10.5.4.
Tuesday, March 04, 2008
Got AN Xbox 360 back
Nine Inch Nails releases Ghosts I-IV on web, experiment in direct sales doesn't go so well at first
I have made it through one listen to Ghosts I-IV, the new album from Nine Inch Nails. This release is noteworthy for a number of reasons:
- The first fully instrumental release from the band
- Their first release without a record label
- Their first release made available nearly exclusively through their web site (though Trent Reznor has dabbled with direct content releases before
- Each album is 9 tracks long, so the full release is 4 albums, 36 tracks, for just $5.00 if you want to pay, because...
- It's also officially available on BitTorrent (at least the first 9 tracks, though it's only a matter of time before the whole thing is up anyway) and the Amazon MP3 Store (though you don't get the extras from Amazon that you do from the band's site for the same $5.00, it's just the music and only 256 kbps MP3s, not even the 320 kbps on the band's site)
- Ghosts I-IV is not available on iTunes
That said, yesterday when I went to download Ghosts from NIN's site, which was released on March 2nd, the site was crushed. It took a long time to complete the order and checkout process, then when I went to download the album at 8 PM March 3, this is what I saw:
Later, about 9 PM, the server error was replaced with a more friendly message (which I forgot to screenshot), and finally this morning I was able to download the release and the NIN homepage has the following message from Trent Reznor:
Choose your format, and why not on iTunes?
Ghosts is offered in a number of formats:
I really don't understand why anyone would choose the MP3 option here, other than possibly convenience, even that I think is kinda silly. If you get Apple Lossless, you get audio mathematically identical to a CD with no DRM. Once you add the songs to iTunes, you can convert them to either AAC or MP3 by right-clicking on the songs and picking convert, its like 2 clicks to get to either of the lossy formats. Pictured left is the AAC option, the convert choice is dictated by the format you have set to Import music as in iTunes (Preferences -> Advanced -> Importing). Apple Lossless (ALAC for Apple Lossless Audio Codec) is the best possible format to buy in since the tool to convert, iTunes, is so easy to use and a lot of people have it installed. I am sure people could make freedom arguments for FLAC, since ALAC is an Apple proprietary format even though Apple is using the MP4 container format, just not a licensable codec like AAC. But ALAC is the right mix of features/convenience, and since ALAC is DRM free lossless, you can even get the tools to convert to FLAC if you really wanted to. I actually just loaded the ALAC files onto the iPhone, the total was 582 MB and I had the space.
So why not on iTunes? There is literally no music label involved, is Apple holding Trent Reznor and company back from releasing Ghosts I-IV + extras on iTunes for $5.00? Did Apple want more of a cut than Amazon? Did Reznor want to release first on his site before giving iTunes the goods, like Radiohead did with In Rainbows? Would Apple only allowed release in 256 kbps MP4 AAC branded as iTunes Plus? Would Apple offer ALAC too? NIN sure could have used the iTunes distribution network yesterday...
Monday, March 03, 2008
If I were going to buy a gaming PC, this might be the one...
Courtesy of Engadget