Category: Informative
-
Dashcode, part II
After using Dashcode for almost a year now, this is the bottom line: “Don’t make any big projects with it.” – A random Dashcode user After a while, when the project gets bigger, you’ll have some 20+ Javascript files, thousands of lines of code, several data sources (which are great, btw), it gets really slow.…
-
Wonderful null character
I recently programmed a lengthy piece of online software with PHP and JavaScript, utilizing server-side PHP/MySQL queries. But there was a problem that just popped out of nowhere – all but one data entry worked perfectly. This one row, when observed from the SQL server side (with a great tool called Sequel Pro), looked perfectly…
-
MacRuby and (too) persistent objects
If you’re starting with MacRuby and Xcode, you might stumble upon the same problem I did: If you deploy the project even once, those precompiled ruby object files (.rbo) stick to the deployment directory and you have to clean it up each time before testing any new code. Here’s a simple script you can put…
-
Amplify multiple mp3s from command line
This is quite easy to do, actually, just another case of bad (or missing) documentation. First, get an ffmpeg binary. This can be done by either compiling it by yourself or googling for a ready compiled binary. If you’re on a Mac, you probably have it already, as many of the video converters from Mac…
-
UBV Beach Volley 2011
I’m happy to announce the first version of UBV 2011 is now available for buying in the Mac App Store. Link to Mac App Store Here’s a short trailer:
-
Javascript, Base64, PHP, UTF-8
I’m working on a small application that communicates through JavaScript to a PHP script, and usually the data contains text in UTF-8 format to make everything as compatible as possible. The text in UTF-8 format doesn’t go too well into an AJAX call GET URL. So it has to be further encoded with an encoding…
-
Xcode 4.0.2 and 4.1 distributed building
For some reason, the distributed building system in Xcode 4.x seems to be broken. You can search for distcc servers in your network, define them, turn on distributed building, but still it does everything on localhost. If you take a closer look at the build log, it says: setenv DISTCC_HOSTS localhost ..so can’t expect much…
-
OSX Wine Keyboard layout
This one applies at least to the OSX version of WINE. One good frontend is PlayOnMac, which, despite the name, also runs other software than just games. It is similar to WineBottler in many ways. Now on a Mac, usually your locale is an UTF-8 one. This doesn’t go well with Windows software. So here’s…