Learning Clojure

About one year ago I wrote a multi-part tutorial on Clojure programming, describing how I wrote a small utility called ucdump (available on GitHub).

Here are links to all the parts:

However, Carin Meier’s Living Clojure is excellent in many ways. Get it from O’Reilly (we’re an affiliate):
Living Clojure

My little tutorial started with part zero, in which I lamented how functional programming is made to appear unlearnable by mere mortals, and it kind of snowballed from there. Hope you like it and/or find it useful!

 

Konesoitto – digitaalisen musiikkiteknologian opas netissä

Konesoitto on digitaalisen musiikkiteknologian opas netissä, selvällä suomen kielellä.

Jos teet musiikkia digitaalisilla välineillä – tietokoneohjelmilla, mobiililaitteilla, syntesoijilla, rumpukoneilla, grooveboxeilla – ja tarvitset johdatusta ykkösten ja nollien muuttamisessa musiikiksi, Konesoitto on sinulle.

IMG_0608

Löydät Konesoiton nettiosoitteesta http://konesoitto.com, ja Twitteristä nimellä @konesoitto. Siellä sekä Konesoiton Facebook-sivulla voit ehdottaa juttuaiheita ja kertoa mielipiteesi.

Konesoiton tuottaa Conifer Productions Oy, ja sen vastaava toimittaja on Jere Käpyaho. Sivusto on Musikhaus Thomannin linkkipartneri.

HipStyles 1.0.5 finds Oggl photos, adds posting to Instagram

HipStyles for iPhone, the friendly photo finder assistant for Hipstamatic enthusiasts, was recently updated to version 1.0.5, and is now available on the App Store.

Since the recent launch of Hipstamatic Oggl we have been busy bringing HipStyles up to date in finding also the great shots you took with Oggl that end up in your iPhone’s camera roll. The recently released São Paulo HipstaPak was also quickly examined, and HipStyles was updated to find photos that use the new Madalena lens and Robusta film.

Find Madelena + Robusta photos

Find photos taken with Madalena + Robusta from the latest HipstaPak

While we were at it, we added the possibility to post your own Hipstamatic photos to Instagram, with a pre-filled comment that contains the actual lens, film, and flash tags from the photo. Of course, HipStyles already makes it effortless to share your shots (and others’, too) on Twitter and Facebook. (Note, however, that HipStyles will not let you post an Instagram photo back to Instagram!)

Post your photo finds to Instagram from inside HipStyles

Post your photo finds to Instagram (or Twitter, or Facebook) from inside HipStyles

HipStyles was created to help you find your great Hipstamatic shots easily from inside your own phone, and also to bring you fresh samples of other iPhoneographers’ work posted to Instagram. As you know, when the number of HipstaPrints on your iPhone increases, it becomes very difficult to find the shots you need from inside Hipstamatic. With HipStyles, you can select any combo you like to filter the results to enjoy them, save the best shots to Favorites, and share them with your followers.

Tell us what you think of HipStyles! You can send us feedback from inside the application, or send e-mail to hipstyles (at) coniferproductions (dot) com. We also maintain a lively presence on Facebook, Twitter, Google+, and Instagram.

HipStyles was also recently reviewed by PhotoCruncher, and ThePhotoMomma had this to say:

“…I would recommend this app for Hipstamatic users who want to easily search and view other Hipstamatic photos.”

And if you know Italian, hop over to Italianeography.com and read their introduction to HipStyles.

HipStyles is currently available in English, Finnish, and Japanese, with a few additional languages planned.

Les Nombres for iPhone is all new

The little app for learning French numbers, Les Nombres for iPhone, has been updated to version 1.4!

This version brings you a revamped user interface, scoring and the possibility to tweet your high score. It looks like this:

It still speaks French to you and it still works hard to get those numbers into your head, but in a new, easier to use package. For all the juicy details, head for the Les Nombres for iPhone home page, or go straight to the App Store to get it!

The Magic of Replaceable Parameters

Apart from hard-coding “Hello, world!”, another bad habit you may have picked up when you learned programming is constructing user-visible messages from parts: strings, numbers and other data, concatenated together.

For example, say that you had to show the user how many unread messages there are in a given mailbox. Let’s assume that mailboxName contains the name of the mailbox, and messageCount holds the number of unread messages. In Java, you might be tempted to whip up a user-visible message like this:

String message = "There are " + messageCount + " unread messages in mailbox '" + mailboxName + "'";

This is not the way to do it in an international application. Let’s find out why, and have a look at a better and much more future-proof way of doing it.
Continue reading

Comments are closed

Aside

Please note that comments are closed on all the blog posts on this site. The reason for that is the overwhelming number of spam comments that appeared whenever a new entry was posted. After all the pointless drivel from made-up people in the style of “i am always learning new things with your blog this is very good”, complete with links to who knows what sort of websites, we have decided to turn comments off. Afterwards, reading Matt Gemmell’s post about turning comments off in his blog, we became convinced that we had made the right decision.