Users and testers will find bugs you are sure you have already fixed. Sometimes they use the wrong version, sometimes your fix is not as good as you thought. Either way a tiny unique version number visible in the app can save you hours of work. Incrementing the version number of your project for every [...]
Auto-incrementing Build Numbers in Xcode
May 31st, 2011 by Fredrik Olsson — Cocoa, Testing, Tips & Tricks
Tags: iphone, objective-c, scripting, tools, tutorial
Scripting in Ruby
January 16th, 2010 by Anders Janmyr — Tips & Tricks
I just read, or rather skimmed, the book, called Everyday Scripting with Ruby and it is awful. I had high expectations. I was expecting something like Perl for System Administration, where you right away get into hard core Perl scripting. This book is nothing like that! It is a really basic introduction to Ruby, and [...]
Tags: email, gmail, growl, perl, python, ruby, scripting
The Golden Ratio
October 24th, 2009 by Ulrik Sandberg — Tips & Tricks
Also known as the “Divine Quotient”, the Golden Ratio was given an almost magical meaning during the renaissance, but it’s actually much older than that. Leonardo DaVinci used it. Euclid used it. It was supposedly discovered by Pythagoras. So, what is it? It’s very simple. Take a length and divide it into two parts: a [...]
Tags: goldenratio, mathematics, programming, scala, scripting
Creating a TinyMce plugin for a Wicket application
October 7th, 2009 by Rickard Nilsson — Java
I’m currently working on a web project based on Wicket. In this web project there was a request for a web based word processor. TinyMce fits the bill perfectly and as it happens is also integrated in Wicket. Lucky me! Another request required me to make my own plugin for TinyMce. Only, it turned out [...]
Tags: frameworks, javascript, plugin, programming, scripting, tinymce, web, wicket
Transparent bind of JavaFX and POJOs
May 12th, 2009 by Magnus Robertsson — Java, Tips & Tricks
When I started coding JavaFX I quickly found that the great bind mechanism doesn’t work together very well with my legacy Java code. In fact, it doesn’t work at all. In my case I wanted to reuse my domain objects and just add a fancy user interface on top of it. This happen to be [...]
Tags: aop, javafx, programming, scripting, tools
Blogging Among the Clouds
May 7th, 2009 by Henrik Bernström — Cloud, Tips & Tricks
Up until now this WordPress blog has been hosted by DreamHost, a company with a good reputation and a solid knowledge in hosting. Unfortunately, the server we’ve been located on, Trafficante, have lately had some problems with stability and performance and DreamHost have also had some MySQL stability issues. This, plus the fact that we’ve [...]
Tags: amazon, dreamhost, ebs, ec2, linux, mysql, open source, php, s3, scripting, ssl, tools, web, wordpress
Upgrading Groovy to 1.6.2 Fails on Mac
April 29th, 2009 by Ulrik Sandberg — Tips & Tricks
When I tried to upgrade Groovy from 1.6.1 to 1.6.2 using MacPorts, it failed with an OutOfMemoryError. I managed to get it to build using some manual fixing in the build file. I’ll explain what I did in this blog. This was the result that I got: $ sudo port upgrade groovy —> Building groovy [...]
Tags: groovy, macosx, macports, problem, scripting, upgrade
Always Use Parenthesis in Groovy Builders
April 24th, 2009 by Ulrik Sandberg — Tips & Tricks
I recently ran into an interesting Groovy feature when demonstrating the strengths of the MarkupBuilder. As you probably know, parenthesis in a Groovy method call are optional, unless it’s a no-args call. In that case the parenthesis are needed in order to distinguish the call from a property. However, leaving out parenthesis in a Builder is asking for trouble. I’ll show you why.
Tags: builder, gotcha, groovy, parenthesis, programming, scripting
