boyfarrell.com

next page ·

3 September 2008

Making XCode Templates for GNU Scientific Library

In the last post about Xcode and GNU Scientific Library (GSL), we went through all the steps (search paths and linking) to get xcode to use the GSL library. This is unfortunately a tedious process! So to help you out I made a skeleton project that had all the correct information. However, if you used [...]

continue reading... » 4 Comments

2 September 2008

Duhmac err MobileMe

MobileMe sync failed today. I’m sure you’ll want to know why, well the reason was because there was an error. Phew I’m glad we got that one sorted.

continue reading... » 0 Comments

10 June 2008

NSOperation meets the graphics card?

Details released from the WWDC yesterday mention OpenCL (Open Compute Library) as a technology in Leopard: Another powerful Snow Leopard technology, OpenCL (Open Compute Library), makes it possible for developers to efficiently tap the vast gigaflops of computing power currently locked up in the graphics processing unit (GPU). With GPUs approaching processing speeds of a [...]

continue reading... » 0 Comments

4 April 2008

GNU Scientific Library and XCode 3.1

Update notice: 8th September 2008 This post has become quite popular with those using Xcode and GSL, so you might be interested in this other post, Making XCode Templates for GNU Scientific Library. Once you have a functioning project (once you have done this tutorial) that post will tell you how to add it to [...]

continue reading... » 39 Comments

17 February 2008

Gnuplot Blue-Green-Red PM3D Colourmap

set palette model RGB set palette rgbformulae 30,-13,-23 This code will produce a MATLAB like colormap with the default ‘jet’ setting.

continue reading... » 4 Comments

14 January 2008

ChocPlot: First Results

It has been quite slow going with the plotting framework as of late; the trouble with being in the fourth year of a three year PhD! I have decided to rely on Cocoa for as much as possible for the plot above (under the advice of Wil Shipley). I am using NSBezierPath to draw the [...]

continue reading... » 0 Comments

7 November 2007

Garbage collected buffers

Since the original post I realised there is a problem with the approach (thanks to Rick Hog). The garbage collector only collects objects! As such you must not dereference the pointer to the NSMutableData, you must assign it, and, on another line, make the method call to mutableBytes. Now that Cocoa as garbage collection there [...]

continue reading... » 0 Comments

29 October 2007

syntax error before ‘AT_NAME’ token

This means you have some junk in one of your header file that shouldn’t be there. Tip of the hat to Infurious Blog for pointing out one possible meaning of this error; a missing @end in an Objective-C class header file. Another possibility for this (this took me an hour to find!) is that you [...]

continue reading... » 4 Comments

19 October 2007

gracebat: quickly print a graph from Terminal

Later for that meeting with your supervisor, bashing the computer to hurry up and finished number crunching… the last thing you want to do it open Excel for Mac and make a crap looking graph of your results… enter gracebat… Print a graph from an X Y1 Y2 formatted data file straight from the command [...]

continue reading... » 0 Comments

4 September 2007

ChocPlot: Mutable Axis Model

The original AxisModel was quite limited in it’s abilities; it just did everything automatically. Here I introduce the mutable subclass of AxisModel; MutableAxisModel As this is a subclass it still responds to the same methods defined in AxisModel; -interval, -spacing, -start, -stop, -representation, -description MutableAxisModel adds additional methods designed to give the user some control [...]

continue reading... » One Comment

next page ·