Monthly Archives: September 2015

Sometime I hate Computers

so a nice chap on the cocos2d-x site has written a nce utility function to take a string like


and return 10 filenames from 0 to 9.

Handy for places where I have animations, for example.

So I implemented it, but it didn’t handle [9-0] (i.e. down from 9 to 0)

So I fixed that & tried to do a pull request

had a few problems – but got there. Then turned out my code was crap.

Made the change.

Pushed again.

During this process, XCode seemed to get its knickers in a knot.

Long and short – every single project in my Projects folder was deleted!

All of them!

Holy hell!