Wednesday, 3 December 2008
C, C++, Objective C, where will it end ?
Generally I find c++ fine, I did do some utility apps on KDE a long time ago, so it's not a big jump to use it again. C is hmm, well like anyone else I get confused with my pointers.
What is interesting, is reading Unix Network Programming and Advanced Unix Programming, it's funny how much of the unix noise you blot out in the terminal without really wondering what it means..
I'm writing pThreads at the moment, for some background processing, I'm finding it more challenging to think outside the Cocoa Framework that has become home. I must buy Programing with Posix Threads when I can afford it, a page turner.
Saturday, 8 November 2008
xBox and iPlayer
The best new feature is the plugin layouts. I've added bbc iPlayer ( from google code ) and ITV catchup.
Such an amazingly useful piece of hardware now, I can watch my torrents, dvd's, play music, a/v streams and even my photos.
Haven't figured out the connection to iTunes yet.
It was a bit confusing, and here's how I needed to do it, just in case I break it again.
Boot up Splinter Cell and select the saved linux game.
Boot into linux
Copy over xbmc into E:/xbmc
reboot
Election
Major disappointment, the passing of Proposition 8 in California. What a terrible thing to do. Maybe the solution needs to be different but a great slap in the face when the Obama result represents the next page in the Civil Rights movement. How ironic.
Hopefully change is coming.....
Monday, 27 October 2008
MacBookPro Matte Display Petition
Probably won't have any effect but give it a go.
Sunday, 12 October 2008
Ftp Server / Servlet for cocoa
I've decided that lighttpd is to complex for me to incorporate at the moment, so I'm releasing my source code to my server and hope that people might find it useful.
I'd also be very glad if people help make it better.
You can find it at http://code.google.com/p/diddyftpserver/
upload/download works from filezilla and transmit. i havent implemented all of ftp's commands yet
I've opened a google group for discussing the server code you can find it here
http://groups.google.com/group/diddyftpserver
Saturday, 11 October 2008
Finding Shared libraries
I found the information here and its been a great help Al Hoangs blog
Friday, 10 October 2008
Compiling lighttpd for iphone
/bzlib.h and crt_externs.h
If anyone has some advice how I could incorporate this into an app, do let me know.
cheers
#/bin/bash
export DEVROOT=/Developer/Platforms/iPhoneOS.platform/Developer
export SDKROOT=$DEVROOT/SDKs/iPhoneOS2.1.sdk
export SIMROOT=/Developer/Platforms/iPhoneSimulator.platform
# Save relevant environment
U_CC=$CC
U_CFLAGS=$CFLAGS
U_LD=$LD
U_LDFLAGS=$LDFLAGS
U_CPP=$CPP
U_CPPFLAGS=$CPPFLAGS
export CPPFLAGS="-I$SDKROOT/usr/lib/gcc/arm-apple-darwin9/4.0.1/include/ -I$SDKROOT/usr/include/"
# -I$SIMROOT/Developer/SDKs/iPhoneSimulator2.1.sdk/usr/include/"
export CFLAGS="$CPPFLAGS -arch armv6 -pipe -no-cpp-precomp -isysroot $SDKROOT"
export CPP="/usr/bin/cpp $CPPFLAGS"
# dynamic library location generated by the Unix package
#LIBPATH=src/.libs/
#LIBNAME=`basename $LIBPATH`
#,-dylib_install_name,@executable_path/$LIBNAME"
export LDFLAGS="-L$SDKROOT/usr/lib/ -Wl,-dylib_install_name,@executable_path/$LIBNAME"
echo $CPPFLAGS
echo $LDFLAGS
read -p "Press a key"
# static library that will be generated
LIBPATH_static=src/.libs/lighttpd.a
LIBNAME_static=`basename $LIBPATH_static`
./configure CC=$DEVROOT/usr/bin/arm-apple-darwin9-gcc-4.0.1 LD=$DEVROOT/usr/bin/ld --host=arm-apple-darwin -without-pcre
# --libdir=$SDKROOT/usr/lib/ --includedir=$SDKROOTk/usr/include/
make
#mkdir -p lnsout
#cp $LIBPATH_static lnsout/$LIBNAME_static.arm
exit
Saturday, 27 September 2008
Finder open Terminal Here
Tuesday, 19 August 2008
Stupid VPS
Linux, TV & The XBox
iPhone Dev
Thursday, 22 May 2008
Deprecated Functions
Wednesday, 21 May 2008
Plesk virtual hosts
Tuesday, 20 May 2008
I have seen the future
VPS & Dist CC
Thursday, 8 May 2008
Plesk. Ubuntu & Rails
DNS and Plesk
Thursday, 1 May 2008
DNS Plesk and my domain provider
Wednesday, 30 April 2008
Plesk Installing Components - fastcgi
Wednesday, 19 March 2008
iphone innoyance
Well, I think like a lot of people, the initial burst of excitement ran into some hidden limits to the sdk.
I think an issue for many people is going to be the sandboxing, its not that I want to access every last file throughout the device.
Do we all have to write sync solutions to get our own data back and forth? Thats a bit annoying, apple must have a better way we could do this.
I dont mind the background app thingy, tho I think there is a case for a background stack that calls every n minutes to service low level info. But I think we all know why its not allowed... but hey, some of us keep our devices plugged in all the time. Couldnt u give us the option of when powered allowing apps to tap into a background cycle stack. hmm. Its not holding me up personally tho.
I guess apple will do their own ichat thingy or aim thingy, that will solve that issue for many.
Perhaps a mechanism to deliver info in via the email could solve some problems for people. or is that a security hole waiting to happen.
Has anyone been accepted as an official beta developer, noone seems to know.
oh well. lots of reading to do.
seems funny being encouraged to use the UIViewController to contain the view as well as the controller code. Roll on the interface builder update asap.
Saturday, 8 March 2008
iphone SDK
Well, I can barely contain my excitement, and wrote the obligatory hello world/rich app.
But have you tried registering as a full developer, im still waiting to put it on the real device. I wonder if its not quite finished, that part. surely not.
anyway. my biggest hurdle is nothing to do with iphone dev, its looking for the correct framework and technique for my app. no im not saying what.
having a ball. wish id been able to start with the jailbroken one earlier but at least its not our properly til June. im glad i'm busy, but i wish i had more time.
Friday, 1 February 2008
Ecto or Mars Edit
I haven't posted anything for a little while because my trial on marsedit ran out.
I had found it was a really useful little app except for one thing. When you go to edit a post, its all just plain old html all over again. This seems so retro. I don't get it. Was I doing something wrong ?? Is there a setting?
Anyway by chance I found this Ecto app and although its not as pretty as Mars Edit, it does seem to be more like a notepad/text editor than a html editor, so I'm giving this a whirl.
Maybe this is the one and maybe it will get me updating my blog again.
If so, I'll pay the fee