Facebook App sourcecode
April 28th, 2010 • app, facebook, flash, general • No comments
After beeing asked to publish my sourcecode for the ImageViewer app – here it is:
Notes:
- free to use
- no warranty
- no documentation
- osx zip (might cause package problems on win)
Adobe vs Apple – my opinion
April 14th, 2010 • advertising, offTopic • 2 comments
You should give a f*** about my opinion, but i just need to say that. Every dev has heard about the new license agreement of apple affecting iPhone development. Joa (laugheed / cried a lot) and Lee (talking straight) already made a point.
But, consider being an apple executive:
- We already have a lot of great apps
- Almost no end-customer will be affected by “our” policy change
- Every Company desperately wants to build an iPhone App. Mainly caused by spread of iPhones. An iPhone app simply reaches more customers then any other app (right now) would do.
- We can have the app exclusive (rollout on android is doable but difficult), if we want to.
- Allowing to write apps in CS5 would invite a lot of low skilled developers (not every flash coder is a good coder) to write Apps in no time. Apples QA would have a lot of work caused by Adobe. And apple would have to pay for that overhead.
- We earn money with the “big or creative” apps. Like apps from newspapers, shazam and so on. The little flash game will possibly never create that income.
- Implementing iAd in CS5 might cause a lot of trouble.
- Crashing apps will put Apple in a bad light, not adobe.
To make that clear
I don’t like apples move either, but guessing / knowing the reasons is a good way starting to solve a problem.
And in the end its all about markert power, collecting customer data and money. Sad but true.
Logging Php to Firebug
April 8th, 2010 • browser, debugging, snippet • No comments
Ever wanted to log php to firebug? There are a lot of reasons to do this. E.g. working on apps for a thrd party plattform like myspace.
The logger is a singleton. you can push any date type in it. the coolest part: it encodes the php class as json object.

i wrapped it in a simple dummy project with some “oop” javascript in it. give it a try and tell me what you think.
and yes, i know firephp ;)
iPhone objective-c and c++
April 4th, 2010 • iPhone • No comments
if you want to use c++ files in your iphone app do this:
- rename the FILE.m in FILE.mm
- import the .cpp class
Sample
#import "Foo.cpp" - (void)aFunction:() { Foo foo = *(new Foo(123)); NSString *objcString = [NSString stringWithUTF8String:foo.testStr.c_str()]; NSLog(@"string test: %@", objcString); NSLog(@"foo id start: %i", foo.myId); foo.setId(30303); NSLog(@"foo id: %i", foo.myId); }
foo class
#include <string> class Foo { public : int myId; public : std::string testStr; public : Foo(int startVal) { testStr = "Hallo Welt21212! äöü ß"; myId = startVal; }; public : void setId(int newId) { myId = newId; }; public : void test() { } };
thejohnnycashproject
März 31st, 2010 • art, creative, music • No comments
awesome project. redraw a johnny cash video. great idea (aaron koblin, chris milk) – awesome executed (mr doob).
http://www.thejohnnycashproject.com
make shure you watch this drawing
nerd girl – rubics cube – pi – books
März 26th, 2010 • hot, video, wtf • No comments
snip:
“balancing 15 books on my head, reciting pi to the 100th digit, and solving a rubik’s cube”
via nerdcore