stiefels.net Just another WordPress weblog

13Aug/076

Locating Memory Leaks with MallocDebug

I am currently working on a interesting project written in C (more about the project in a few days or weeks) which requires a very clean memory management. I decided to write it in C because it does pretty long and complex calculations and I wanted to do it fast. But using C also means to do the whole memory management by myself. This can be a very hard job especially if a program is very memory-intensive.

24Jun/070

Mac OS X Developer Bulletin Board Meeting

I am right back from Cologne where the german Mac OS X Developer Bulletin Board ([Mac OS X Entwicklerforum](http://www.osxentwicklerforum.de)) Meeting 2007 took place yesterday/this morning. Developers from all over the country came together to get to know each other in person.
It was really nice and I enjoyed to talk to them in person about their projects and interests and I am really looking forward to the meeting next year.

31May/070

STNPostgreSQL.framework Universal Binary and Examples

I updated the [STNPostgreSQL.framework project page](/projects/stnpostgresqlframework) with a download link to a Universal Binary of the framework and a few examples on how to use it.

24May/070

Preview: STNPostgreSQL.framework

I am very pleased to announce the public preview of STNPostgreSQL.framework.
STNPostgreSQL.framework is an open source Objective-C framework for accessing [PostgreSQL](http://www.postgresql.org) databases in a convenient object oriented way.

The current version is **pre-beta** so don't expect that much features or stability. The APIs are still subject to change!

I have a lot of ideas which will be released in future versions. If you have some questions, ideas for improvement or if you want to join me on this project please send me a [mail](/contact). Thanks!

More information and download instructions can be found on the [project page](/projects/stnpostgresqlframework).

1May/079

Unit Testing with Xcode

Unit testing is some kind of a controversial topic. There are many opinions by software developers whether to make unit tests and how frequently they should be used.
I don't want to start a preach here or discuss the pros and cons of unit tests in every little detail. It's just a little tutorial how Unit Testing works with Objective-C and Xcode.

Software needs to be tested, right? So, when is the right time to test your application?
Well, before I heard something about Unit Tests I did tests every time after I changed a function or added some functionality to my software and I think this is what most people do.
The problem is that mostly after these changes only a few parts of the application are tested. The application is/can never tested completely by the developer by hand and errors might occur when a end user uses it.
So the ideal test would be to go all through your software and test every little feature and functionality. I think that is not really possible. But this process can be automated. And at this point Unit Tests come into the play.

9Apr/070

Late Night Cocoa Podcast

Late Night Cocoa Logo

[Late Night Cocoa](http://www.latenightcocoa.com) is a great podcast about Cocoa and Mac OS X development and if you're interested in these topics and haven't heard about Late Night Cocoa yet, [fire up your iTunes](http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=213023580)
and give it a try.

4Apr/070

Monthly MacES Meeting This Friday

If you don't have anything to do this (Good) Friday it'd recommend you to come to this months MacES meeting in Esslingen-Zell.
Whether you are a Macintosh user or are just interested in it, this is the right place to find nice people to chat with.
For more details visit the [MacES website](http://www.maces.de).

3Apr/070

Over 200 Downloads of RegexTester

I must admit, I am a little surprised that my teeny tiny little software [RegexTester](/projects/regextester) was downloaded over 200 times in just five days (according to [macupdate.com](http://www.macupdate.com/info.php/id/24535)). I am very pleased and I'd like to get some reviews and opinions. :)

Tagged as: , No Comments
14Mar/070

New Little Helper: RegexTester

A few week ago I [wrote](/2007/01/24/regular-expressions-for-nsstring/) about how the regular expression mechanism in NSPredicate can be used to validate strings.
I created a small application which exactly does that - validating strings.

RegexTester Screenshot

It's called RegexTester (yeah, innovative name, I know) and is intended to be a help for developers who have to formulate regular expressions.
More information can be found [here](/projects/regextester).

Have fun!

Tagged as: , No Comments
26Feb/071

Mounting Remote Computers Using MacFUSE and sshfs

With the Linux kernel version 2.6.14 a technology called FUSE was merged into the mainstream Linux kernel. FUSE stands for *Filesystem in Userspace* and it allows normal, non-privileged users to create their own filesystems.

Amit Singh (author of the book [Mac OS X Internals](http://www.osxbook.com)) ported this great technology to the Mac: MacFUSE.