(Michael Chinen)

Author: mchinen

SoundCloud iOS integration gotchas

Last year when I was living in Berlin I had the opportunity to visit the SoundCloud campus where Henrik Lenberg and Eric Wahlforss were nice enough to talk to me about a range of things from Audacity to how SoundCloud functions as a development team. I’ve been to quite a few coorporate campuses and a […]

Return of the unsigned int gotcha for the unary ‘-‘ operator

I came across another unsigned int issue today. If you have an unsigned int and you negate it with the unary ‘-‘ operator, you will just get a really large unsigned integer value, and not a negative value. From my last post about unsigned int, you can’t do smallInt – unsignedInt and expect a negative […]

The Class Class as an argument in objective C++

When you say the same word over and over it starts to become meaningless. Mix this together with metaclasses and reflection. Then take objective-C and add it to C++. You then have an objective-C @Class construct for forward declaration, the Class object, the NSObject class method, and the C++ class keyword. It was only a […]

std::vector size() method and gotcha with unsigned vs signed

Guess who wins in signed vs unsigned integer conversion? I guessed wrong today, or rather, I’ve been assuming wrong for quite a while. consider this example: std::vector<SomeClass*> myVec; int countdown = -1; // … (fill the vector) if (countdown < myVec.size()) countdown++; // this will never get hit myVec.size() returns size_t, which is an unsigned […]

Asia Computer Music Project

This conference, organized by the Asia Computer Music Project, which has the aim to bring the communities of computer music from Asian countries, was held on Dec 16-18, 2010, making this post exactly a month tardy. The conference was held by Tokyo Denki University, organized by Naotoshi Osaka, under whom I studied in 2006. I […]

Back to top