Sample Spring3 / Hibernate3 / TestNG app on GitHub
In case anyone’s interested I posted a sample Spring 3 / Hibernate / TestNG project on GitHub today. My motivation for doing so is to have a code base a project can start from, and a starting point for discussions on StackOverflow and such.
Canon Pixma Pro9000 MkII on Snow Leopard
Recently I bought a Canon Pro9000 MkII printer. About a week later, Snow Leopard was released. I decided I wasn’t too fond of the drivers that came with Snow Leopard and wanted the “official” ones. However, they won’t install on anything beyond Leopard, unless you do some tweaking. If tweaking is what you’d like, you’ve [...]
Clang for iPhone
Jeff wrote a nice Clang introduction on Clang that I ran on my Well Tempered code to check out what bugs I could find. I had some convention breaches and a couple of minor leaks that would turn up when the program was closed and its state was saved, so while not beating me up, [...]
lasttweet.py
I thought I’d share this little piece of code. Nothing revolutionary, but all right for Twitter maintenance. I didn’t want to be following lots of people that don’t post, so I wrote this little utillity that lists when people posted last time. It requires python-twitter. To get a nice list of who hasn’t posted in [...]
launchd problems?
Does your console log look much like
Oct 8 22:23:56 MyComputer com.apple.launchd[210] (com.company.app.task): Throttling respawn: Will start in 10 seconds
Oct 8 22:24:02 MyComputer com.apple.launchd[1] (com.company.app.task)[39664]): posix_spawnp(”/Library/Vendor/Folder/task”, …): No such file or directory
Oct 8 22:24:02 MyComputer com.apple.launchd[1] (com.company.app.task)[39664]): Exited with exit code: 1
Oct 8 22:24:02 Halloumi com.apple.launchd[1] (com.company.app.task): Throttling respawn: Will start in [...]
Cocoa and SOAP tutorial
Having dumped WSMakeStubs, I’m looking at the WebServices Core again, and this time I found that Todd Ditchendorf has written a nice tutorial about it. I’m working my way through it and it looks promising
3 broke my network
I bought a 3 EazyInternet mobile broadband modem and subscription this week, thinking it would be sweet with 7,2Mbit on the go. And it works fine, cool thing having on my mac. But, alas, when installing it, the installer disabled my Airport WLAN and wired Ethernet interfaces, so currently I’m locked to using *ONLY* 3 [...]
WSMakeStubs, a nightmare?
I’m not quite sure of the state of things, but fact is I’ve had lots of problems with WSMakeStubs, and I’m looking for alternatives. WSMakeStubs makes stubs for webservices in Objective C (and C++, but I haven’t used that). WikiBooks have an excelent article on what to watch out for and tips when using WSMakeStubs, [...]
Objective C for Max 5
I bought my upgrade of Max 5 yesterday, and I’m of course eagerly waiting for my license code. Trying to put Objective-C and Cocoa into all that I do, I found Rémy Muller’s blogpost about writing Objective-C externals for Max. Also, Electrotap has posted ObjectiveMax on Google Code. It’s dual-licensed GPL/Commercial which of [...]
DashBoard
It’s been a while since I wrote about what I’m doing, but nothing much has changed: I’m working with the iPhone SDK making different applications. Today I’d like to demo the application that made me start working with the iPhone: DashBoard. I first got interested with dashboards when I tried to make something userfriendly with [...]
Debugging Cocoa
Debugging Autorelease is a great wiki entry at CocoaDev. EXC_BAD_ACCESS, meaning accessing an object you’ve already released (most likely) or have not yet instantiated (it happens) isn’t that fun to debug. Luckily, the NSZombie environment variable works when developing for iPhone as well, and I could find the error that had cost me most of [...]
The iPhone shortage
The mac world is high on expectations because of what is apparently a shortage of iPhones. New version coming up soon? Yes, probably. People hope for a 3G version. I hope for one too. I expect it to be announced in June and available end August. People think of a 32gb version. Sounds logical. But [...]
NASA cuts Spirit
It’s all over the news: due to budget problems, NASA puts Spirit into hibernation and cuts back on the activity for Opportunity. Where do I sign the protest list?!
No atos(1) in the iPhone dev kit?
One thing I love about Java development is the ease of finding bugs through stack traces. Unfortunately, it doesn’t seem that Cocoa likes being so verbose about it, it prefers just giving memory addresses to the function. CocoaDev has a nice article about how to add this that’s based on Apple’s documentation, but it requires [...]
Exception handling in Cocoa
Being fairly new to Cocoa I enjoyed reading O’Reilly’s MacDevCenter’s article on exception handling with Cocoa.
Getting info on private Cocoa frameworks
class-dump is a great tool for getting information about how private frameworks work that you may want to use. For example, iPhotoAccess.framework gave among other classes the following:
@interface Base64 : NSObject
{
}
+ (id)stringForBase64:(id)fp8;
+ (id)base64ForString:(id)fp8;
@end
iPhone dev continues
My work with the iPhone SDK continues, working on three clients to our backend services at the moment. I’m very much looking forward to blogging about this as it’s cleared at work. But as you probably have noticed from my posts, working locally and synchronizing with the back-end is what I believe most iPhone applications [...]
Google Data for Cocoa/iPhone
According to iPhone Atlas, Google has pushed out a new release of its GData Objective-C Client Library that can be used with the iPhone SDK. Yay for Google! Check it out! For my last job I used Google Spreadsheets and Google Documents quite a bit, and it’s great being able to integrate it. [...]
SQLite for iPhone SDK
After asking on the MacRumors forums I was pointed back to FMDB that I had looked at a couple of days ago. FMDB is a Cocoa wrapper for SQLite3. I had a look at it, and after my initial difficulties, I found that I was trying a way to complicated way to use it for [...]
Mono on iPhone
Way cool, a composer/musician/LDAP-developer has made Mono run on iPhone. Jailbreaked, by the look of it, looking forward to seeing it compile with the official iPhone SDK as well and a Mono Touch library.