Compiling CuPP on Mac OS X
[CuPP](http://www.plm.eecs.uni-kassel.de/CuPP/) is a C++ framework to easily integrate [CUDA](http://www.nvidia.com/object/cuda_home.html) into existing C++ applications.
Unfortunately, CuPP doesn't compile on Mac OS X right out of the box. [Here is a patch](http://www.stiefels.net/~sst/files/cupp-macosx.patch) which modifies the CMakeLists.txt files of the project so that it can be compiled on OS X.
Starcraft and Mac OS X 10.5.3/4
[Starcraft 2](http://starcraft2.com/) has been announced for a while now and as I watched the in-game movies I got the urge to play the good old Starcraft again.
Starcraft is over 10 years old but Blizzard did a good job and released an installer for Mac OS X a long time ago.
The installation did not make any problems but the game didn't start. The app quit itself shortly after I started it.
After looking for a solution for this problem I found out that Apple removed the support for 256 color mode from the nVidia graphics drivers in 10.5.3. (Ok, its 2008 and who really needs a 256 color mode??).
Fortunately there is an easy way to get the [old 10.5.2 graphics drivers back](http://70.181.80.166:82/blog/archives/2008/07/mac-os-10531054-nvidia-256-colors.html).
Starcraft now runs without any problems and looks gorgeous even with only 256 colors.
Cocoa Dev House Munich
On March 8, 2008 the [Cocoa Dev House Munich](http://cocoadevhouse.org/wiki/index.php/Main/CocoaDevHouseMunich) will take place at [equinux AG](http://www.equinux.de/) in Munich. There are already nearly 30 attendees on the list and I hope that I can write my name on that list soon, too.
Syntax Highlighting for NSTextView with flex
Implementing syntax highlighting can be a painful task. Lots of regular expressions and thinking may be required to master this.
On the search for an easy way to implement a syntax highlighting mechanism for NSTextView I found an easy and fast (regarding runtime) way to do this. By using flex (a tool with its roots in the 1970's) defining the rules of what should be highlighted makes it a lot more easier and structured.
flex is the GNU version of lex, the lexical analyzer generator (Buzzword jackpot!) developed by Eric Schmidt and Mike Lesk in 1975. By defining some rules (mainly regular expressions) it generates a C program which allows us to scan through a text and do something with the text, e.g. divide it into tokens. Tokens are chunks of characters with a special meaning (as defined in our rules). Confused? Read on, this concept will become very clear soon.
In this article I want to show you how we can use this ancient but very powerful tool to implement a basic syntax highlighting within a NSTextView.
Leopard and Adobe Creative Suite 3
If you plan to use Adobe Creative Suite 3 on Mac OS X Leopard make sure that the filesystem Creative Suite is installed on is **Mac OS Extended (Journaling)**, and NOT Mac OS Extendend (case-sensitive, Journaling).
Otherwise, the Creative Suite installer ends with an error message which says that the filesystem is not supported, argh.
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.
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.
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).
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).
MacES Meeting at Friday
This Friday evening this months [MacES](http://www.maces.de) meeting will take place in Esslingen-Zell.
Macintosh users and interested people are invited to come.
Interesting discussions and the exchange of experiences, opinions and information all around the Macintosh and the iPhone are the topics of the meeting.
More information about MacES can be found on the [MacES website](http://www.maces.de).