Android isn’t open source, what now?

So Google’s admitted that Android is not open source. Some parts are, some parts are not. That’s the same with iOS. Many parts of iOS are from open source projects (I’ll mention cups, the printer stack on many Linux systems, that is very much supported by Apple, even though it’s GPL). Heck, even Microsoft Windows has components from open source projects (the ftp client being my favourite example). To me, it’s not so much about these projects being open source, as what do they give back to the open source projects.

The kernel and userland of both OS X and iOS is based on various BSD systems, I believe for the most part FreeBSD, and put into their own BSD system called Darwin. Darwin is open source and under the BSD license. Now, I’m sure Apple makes many changes that are so specific for their use and their scenarios that you don’t necessarily want these changes committed back as they may be a diversion from the project rather than something that’s good for the project. However, I’m sure they make great improvements to the OS, and for me the real benchmark of their openness is how fast these changes flow back to the originating changes and thus become a benefit for all parts. Unlike cups which is under GPL, Apple isn’t required to send this code back. I don’t mind that at all, but I still hold that my benchmark for their openness is how much useful code they volunteer back to the originating project.

I’d love to hear how many changes made by the Android development have benefitted the originating open source projects. I have an idea about how much Apple has committed back to the FreeBSD project, but I don’t have any solid facts at the moment, so if anyone does, that’d be great to hear. :-) Hey, even hearing how much Microsoft’s mobile offering has led to improved code being committed back to open source projects not originating at Microsoft would be great hearing about. I’m looking forward to reading your comments

Share and Enjoy:
  • Print
  • del.icio.us
  • Facebook
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Twitter
Posted in FreeBSD, iOS, Rant | Tagged | Leave a comment

Extending iMessage

I hate instant messaging. Not because I don’t like talking to people, but because there are so many networks I have to be part of, and once I’m signed up I have to use this program or that program, which means I have to have a ton of programs running, or I can wait a while and get a program that does a half decent job at implementing many different networks and then have a few more programs running to open what that program doesn’t support. So I log off, and never log back in again. I would really like to use IM, I would really like to be more available that way, but it’s such a hassle.

That’s why I have big hopes for iMessage. If Apple were to open iMessage for extension, the providers of the IM networks themselves could extend it to support their network. Then I could have all the chats in one place, and be signed in to these different networks so that if there’s an incoming Skype call, I’m available on Skype, without having the app open (or knowing that I do), and if I get an instant message from something as ancient as ICQ, it gets into the message list. Grouping accounts together on one contact would be nice also. No more logging in and out of IMs, just always on, and perhaps set a do-not-disturb mode for whenever I go to sleep. :-) Man I hope they open up iMessage for extension, that would be awesome! :-)

Share and Enjoy:
  • Print
  • del.icio.us
  • Facebook
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Twitter
Posted in iOS | Tagged | Leave a comment

Tapptics

I thought I’d give Tapptics a little plug. I love writing nice applications for the iPhone, but taking on a graphics artist for pet projects is sometimes a bit hard to justify. But a while ago I read about Tapptics and saw their site and bookmarked the article so I could come back to it when I had a project where I needed some graphics. That time has come, so I signed up and it’s just a bucket full of resources, both nice tutorials and guides, and a lot of excellent graphics to use in my app. There were, however, two glyphs that I wanted that weren’t there, but no sooner had I enquired about them, had Jen whipped them up: two gorgeous glyphs that will have a prominent position in my app. The price is well worth it, so go check Jen’s site out today. If you’re an app developer and need nice graphics, you’ll love it! :-)

Share and Enjoy:
  • Print
  • del.icio.us
  • Facebook
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Twitter
Posted in iOS | Leave a comment

The state of iOS Open Source

I just quickly want to plug The state of iOS Open Source – and what to do about it! by Fredrik Olsson. It’s a great little piece of advice for all us iOS developers

Share and Enjoy:
  • Print
  • del.icio.us
  • Facebook
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Twitter
Posted in iOS | Leave a comment

Converting OCUnit output to something Jenkins can understand

I’m working on setting up my continuous integration system to work with Xcode. I’m using Jenkins on a separate Mac Mini, and I found this great article by Christian Hedin where he introduces his ocunit2junit.rb utility that converts the output of OCUnit to something looking like JUnit, thus making it easier for Jenkins to pick integrate with the build.

Share and Enjoy:
  • Print
  • del.icio.us
  • Facebook
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Twitter
Posted in iOS | Leave a comment

The Sims 3 in Lion

I don’t play that many games, but one that I’ve enjoyed for a number of years has been The Sims. Now that Lion is out and we can talk about it, I found the answer about what to do when it fails with an Unknown Error: Go to ~/Library/Preferences and delete the com.transgaming.* files and the “The Sims 3 Preferences” directory. This will make the game run again.

Share and Enjoy:
  • Print
  • del.icio.us
  • Facebook
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Twitter
Posted in Technology | Leave a comment

Minus points for the 2011 iMac

Some of you might have thought that I’m perhaps a bit too happy about the iMac, and of course too cheap to get a Mac Pro. (Yes, I’m just as excited as anyone to see what the new Pro will be like now that Thunderbolt is a great bus-alternative, but that’s for another topic) Let me dedicate this post to the minus points for the iMac.

To be clear, my complaints are with the top-of-the-line 27″ i7 3.4 Ghz iMac with 16GB of RAM and SSD disk. Yes, my delivery agent messed up and it’s “only” 1GB of VRAM instead of two, but if you wanted to know what’s the trouble with the top-of-the-line iMac, this is it:

Heat, heat, heat…. yes, every computer I’ve had has been pushed to its limits, and this one will be no exception. But heat isn’t bad while running doing some crazy 8-virtual-core video-encoding with Handbrake, heat is a problem when the monitor is turned on! Try holding your hand on top of it after having used it for a couple of hours: I dare you! It’ll be scorched in no time!

The top of the monitor is where the heat vents are, and it gets crazy hot. My office is on the first floor, so it’s the hottest place in our house to start with, having a couple of other hot-running macs there to begin with doesn’t help, and my 24″ Dell really knows how to warm up a room. But this iMac has really added a couple of centigrades to the room temperature. To make it short: I’m adding some vents to the room!

Next up: reflections, reflections, reflections…. man do I look good! I get to look at myself the entire day if I want to!! If I don’t want to, I need to look away, because the iMac is a 27″ mirror! I’ve always gone with the matte / anti-glare options, except for the iPhone and iPad where it wasn’t available. I love using my iPad, and it doesn’t reflect THAT much, so I didn’t think much about it, until I packed the iMac out and turned it on! Crazy! I need to go shave!!!! A quick shave later, what I see on the screen looks way better, but it’s still me. I’ve got my Dell 24″ matte display next to the iMac, and it takes the full blow of the window and the window-lit me, but still I see no reflection. On the iMac, though, did I mention I use it as a mirror, without turning the camera on?

But these, and the lack of a thunderbolt/USB KVM, are really the only objections I have. Throw in a 24″ Dell in 90 degrees rotation, one of the upcoming MacBook Airs for using XCode on the road and a Mini and one of those nice HP airprint printers, and you have yourself a great both home and office setup!

So expecting the upcoming Mini and Air soon, and already knowing Lion and iOS 5, there is really no reason not to work with this and enjoy its benefits full time. This is an awesome setup for developers, media producers and probably your average Mac gamer alike.

Share and Enjoy:
  • Print
  • del.icio.us
  • Facebook
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Twitter
Posted in Technology | 1 Comment

Replacing iMac 2011 memory

Back when the new iMacs were released in may 2011 I ordered one with 4GB RAM, expecting to replace them with 32GB. However, getting four 8GB blocks turned out to be incredibly hard, and very expensive, so I settled for 4x4GB blocks for a total of 16GB RAM 1333Mhz SO-DIMM RAM. Two sets of 2x4GB from Crucial was very inexpensive (about 800 DKK plus tax), and they arrived a couple of days before the iMac.

While almost all servicing of parts for the iMac starts with having to remove the display and risk getting dust stuck under the glass, replacing the memory was very easy. Remove three screws on the bottom of the screen (surprisingly not Philips 1 screws, something a bit wider), take out some easy-to-use handles and pull. I was surprised at how hard I had to pull, I was afraid I’d break the handles, but no problem there, they didn’t even seem the least bit strained when the old memory came out with a pop. Gently take out the old memory, replace it with the new memory (again, push a bit harder than what I expected), screw it together again and voila, one memory maxed iMac. :-) Very easy, and very cheap.

So what is performance like with this memory? Well, I’m not a good case for comparing with as I run too much early-stage pre-release software, too much software at all and generally abuse my computer. And since I transferred my MacBook Pro setup to the iMac (after first deactivating Adobe’s CS5 suite) it’s just as messy as my setup always is. But it works beautifully. No lock-ups, and all the memory is in use! Perhaps a bit surprisingly, but I had 14GB of inactive memory before I started writing this post. That is, it’s loaded and ready to go, but not in use as I’ve quit whatever was using it. ;-) So a waste perhaps? No way…

Using the computer like this has been a breeze so far, but let’s see. Custom is that I’ll max out the memory within three months of using the computer. Yes, 16MB RAM in a 486DX was great, can’t remember what my Pentium 90 had, nor many of the AMD machines. The “lamp” iMac was also filled as much as it could (that was good fun servicing), as were my Powerbooks and subsequent MacBooks and Minis. That’s why I always wanted a Pro, but always opted for something else. Cheapskate me ;-)

Share and Enjoy:
  • Print
  • del.icio.us
  • Facebook
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Twitter
Posted in Technology | Leave a comment

Relocating your svn repository in-flight

Once upon a time I used a beanstalk repository in http mode. By that I mean I had it checked out from a http:// address, rather than the usual svn+ssh:// because Beanstalk didn’t support svn+ssh:// . Since then, no-one had touched the project, but today I wanted to do some changes. I went ahead to make them, and before committing I did a “svn up” just in case. It told me:

svn: Repository moved permanently to 'https://xxx.svn.beanstalkapp.com/project'; please relocate

Beanstalk had deprecated http-mode. Sounds like a good idea, really, I don’t remember why I was using http in the first place. But, if you, like me, have used SVN for a long time without really learning it, and get into the same pickle, this’ll be for you. To relocate, simply run

svn switch --relocate http://xxx.svn.beanstalkapp.com/project https://xxx.svn.beanstalkapp.com/project

That’s it. A “svn up” and “svn commit” later, the new changes are checked in.

Share and Enjoy:
  • Print
  • del.icio.us
  • Facebook
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Twitter
Posted in Technology | Leave a comment

32GB RAM for new Mid-2011 iMacs

So today they released the new iMac. Still no reviews so I have no clue whether I was right or wrong about the chipset. So I’ve started looking into another pet topic of mine: RAM. I really would like these machines to take a bucket-load of RAM, but Apple still limits themselves to 16GB.

OWC shipped 32GB kits for the last version, and in this blog comment they confirm they expect it to work well on the current iMac as well. In fact, they already sell 32GB kits for the 27″ iMacs, but at almost $3000!

So far I haven’t seen people report on the previous generation iMac any brand of RAM that would supposedly work but didn’t, and Amazon has a kit for $817 that I would expect to work. But no reports yet, so this’ll have to be investigated.

Update: Disregard the amazon-link, the iMacs need 204-pin SO-DIMM DDR3 RAM running at 1333 Mhz. The Amazon link was 240-pin

Share and Enjoy:
  • Print
  • del.icio.us
  • Facebook
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Twitter
Posted in Technology | 3 Comments

vmc push’ing Java/Maven/Spring projects

I’m just getting started with Cloud Foundry. So I grabbed Springs samples and compiled hello-spring-mongodb doing “mvn package” and then “vmc push –no-start”. That got me:

Would you like to deploy from the current directory? [Yn]: The input stream is exhausted.
/Library/Ruby/Gems/1.8/gems/highline-1.6.1/lib/highline.rb:601:in `get_line'
/Library/Ruby/Gems/1.8/gems/highline-1.6.1/lib/highline.rb:622:in `get_response'
/Library/Ruby/Gems/1.8/gems/highline-1.6.1/lib/highline.rb:216:in `ask'
/Library/Ruby/Gems/1.8/gems/vmc-0.3.10/lib/cli/commands/apps.rb:369:in `push'
/Library/Ruby/Gems/1.8/gems/vmc-0.3.10/lib/cli/runner.rb:426:in `send'
/Library/Ruby/Gems/1.8/gems/vmc-0.3.10/lib/cli/runner.rb:426:in `run'
/Library/Ruby/Gems/1.8/gems/vmc-0.3.10/lib/cli/runner.rb:14:in `run'
/Library/Ruby/Gems/1.8/gems/vmc-0.3.10/bin/vmc:5
/usr/bin/vmc:19:in `load'
/usr/bin/vmc:19

Probably that’s not what it should look like on a Mac, so I’m investigating the cause. Do shout out if you have an idea. I’ll update with my progress.

Update, question posted at http://support.cloudfoundry.com/entries/20072196-beginner-question

Share and Enjoy:
  • Print
  • del.icio.us
  • Facebook
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Twitter
Posted in Technology | 2 Comments

Digital film

Wow, I remember back in 1998, me and another photo enthusiast were discussing DSLRs vs digital film. I was holding out on DSLRs until there was a camera that could fit my lenses and was as good as the Canon 500N I had at the time. Turned out I’d be waiting a while, the first one I got (matched the requirements!) was the Canon 20D. Anyway, my friend showed a links on Slashdot and a few papers on “Digital Film”, and I had to agree: that was probably a much better fit for the time.

Well, digital film didn’t materialize, until now (or rather, soon) hopefully: Tom’s guide has an article where they describe Park Hyun Jin’s concept:

Digital film

While in my mind the right time was 1998 and the wrong time is 2011, I would still love a “roll” for my analogue camera, and I might even get a few more old systems for the pure joy of using them :-)

Share and Enjoy:
  • Print
  • del.icio.us
  • Facebook
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Twitter
Posted in Photography, Technology | 1 Comment

Intel Z68 chipset for the iMac that’ll be released tuesday May 3rd?

Fair warning: This is speculation on my part

Fact 1: The Intel desktop chipset Z68 will be released in a week or two to the general public.
Fact 2: Apple cares about user experience
Fact 3: Intel has given Apple preferred access to its components before

The iMac, Apple’s Desktop offering, is long overdue. I had my bets for a refresh in February, that never happened. In March it would be logical to release an update with Sandy Bridge and Thunderbolt. That in itself would he a huge gain.

The Intel Z68 chipset will allow Apple to let the user have a small SSD drive for caching, so that all frequently run program data will be there. That’s not that different from what Samsung (and I’m sure others) already do on regular hard drives: keep a small bit of SSD for caching so that data that is frequently accessed is faster available than it would be reading from a drive. Except for this: the SSD drives used with the Z68 would typically be 64GB or around there.

Toms Hardware has a nice benchmark of using this chipset with SSD drives and whether larger drives make a substantial difference: http://www.tomshardware.com/reviews/z68-express-lucidlogix-virtu-ssd-caching,2888-4.html

Adding this would make the iMac the fastest Mac there is, at least when it comes to user experience, another blow to the Mac Pro for sure. It should also have a refresh, poor thing.

So while this is just speculation on my part, I think it makes sence, timing wise and logically. And, I really need a new Mac, so with the speculation about a special happening on May 3rd, with Apple Store employees being required to be present there, an iMac happening after “let’s get back to the Mac” makes very much sense to me.

PS, Apple, please allow me to add 64GB of RAM this time :-)

Update: Yes, I was right on this one! :-)

Share and Enjoy:
  • Print
  • del.icio.us
  • Facebook
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Twitter
Posted in Technology | 2 Comments

The setup of a Spring project

One thing that I seem to forget from project to project (after all, you only need to take care of this once pr project) is that a deployed Spring project is two parts: model, business and controllers is one part, views are another.

This means that in your web.xml you’re likely to have two parts defined, the org.springframework.web.context.ContextLoaderListener servlet which contains model, business and controllers, and the org.springframework.web.servlet.DispatcherServlet that contains your view resolvers and views.

This distinction is important, if nothing else than because it’s easy to set the url-pattern for the view servlet too broad, for instance to /*, and this will surely mingle your requests so that you don’t really know if it goes to the controller or to the view resolver.

Share and Enjoy:
  • Print
  • del.icio.us
  • Facebook
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Twitter
Posted in Technology | Leave a comment

The identity ‘iPhone Distribution’ doesn’t match any identity in any profile

Today was the time for my yearly developer certificate renewal. After invalidating my old certificate and making a new one, removing all old profiles, I got the error above. It took me a little while to figure it out, but while I had generated my Ad Hoc distribution profile, I hadn’t actually installed it, so I had my certificate set up for distribution but no mobile provision profile. Just my little d’oh moment, I hope it helps you figure out yours :-)

Share and Enjoy:
  • Print
  • del.icio.us
  • Facebook
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Twitter
Posted in Technology | Leave a comment

NoQL space

These days I’m heavily looking into the NoSQL space, and I’ve currently limited my learning to the document space of CouchDB, MongoDB, key/value space of AWS SimpleDB and Cassandra, and the Neo4J graph space. For the projects I’m involved in I’m most excited about Couch & Mongo, even though I’d love to host it in the AWS space and therefore should be looking at SimpleDB.

If you’re exploring this space as well, I’d love to hear from you and your thoughts. Many more posts are bound to come :-)

Share and Enjoy:
  • Print
  • del.icio.us
  • Facebook
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Twitter
Posted in Technology | Leave a comment

Finally iPad 2

When the iPad was announced, we got to hear we had to wait until the international launch date. So before it was even morning on the date of the international launch I ordered mine online, black 64Gb with 3G. I expected Apple to prioritize their own sales channel, but it turned out I had to wait 33 days from I ordered it until Apple expected me to have it!

To reduce the wait, I went by many stores, and finally I came by a Virgin Megastore in Nice, and the salesman there said unfortunately, they only had one model, and it was exactly the one I wanted, so I quickly bought it, set it to update and sync and went about my day.

Later that evening I got to play with it, but the home button really needed to be pushed very hard to work, and that really affected the pleasure of using it. After much thought, I decided to return it. The day after, I went back, and of course the man talking to me was strong and had a habit of pushing buttons hard, so while I reproduced the problem all the time, he managed only once. But he saw the problem, and would love to exchange it for me, but by then they were sold out. So I got a refund.

Luckily, the day before I had tried to cancel my original order, but they were about to ship it that day, so they couldn’t cancel it but asked me to send it back when I got it. So now I’ll have to wait patiently for it, and then hopefully it will have no issues, just like my last iPad had no issues.

Written, unexpectantly, on my iPad 1 ;-)

Share and Enjoy:
  • Print
  • del.icio.us
  • Facebook
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Twitter
Posted in iOS | Leave a comment

Willemoes Påske Ale

I’m a big fan of Willemoes which is Coop’s brand by Bryggeriet Vestfyen, so when they had an offer too choose three for a reasonable price, I got two of Willemoes Påske Ale and a Påskebryg that will be reviewed another day.

Willemoes is funny as it’s called after Peter Willemoes, a Danish naval hero who captured Nelson and his ship in the war with England in 1801.

As with so many of Willemoes beers, this was an instant hit. It is nice and dark, but transparent. Its nicely filled with spice, it’s sweet yet still fresh, and has a moderate amount of gas, yet very little foam. As with Ørbæk’s Påskeale, it could just as well be a christmas ale, and works fine by itself. It goes well with food as well, especially heavy food. Only negative is that it has a hint of metal taste. All in all I think it’s a good alternative to for instance a Leffe Brune

Share and Enjoy:
  • Print
  • del.icio.us
  • Facebook
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Twitter
Posted in Easter Ales 2011 | Leave a comment

Solution for “com.apple.transporter.util.StreamUtil.readBytes(Ljava/io/InputStream;)[B”

March 27th I had this problem that whenever I submitted an app to the app store with the App Loader or Xcode, that would pass verification mind you, I got an error: “com.apple.transporter.util.StreamUtil.readBytes(Ljava/io/InputStream;)[B” I wrote Apple to tell them about it, but I got an error due to a disk being full, so I figured nobody’s perfect, it’s probably a disk-full error, and tried the next day. The 28th, no luck either. Wrote them a mail. Didn’t hear from them by the 31st, so wrote another mail. But by now, results had began to come up on my radar via Google, so I thought I’d share what I found.

With Xcode 4 it seems many people are having this problem. The advice I found first was to downgrade to Xcode 3.x or Application Loader 1.3, but by this time Xcode 4.0.1 was out, and for some reason I’d missed installing it on my dev box.

After installing XCode 4.0.1, this problem was solved and an updated version of Well Tempered is now awaiting approval. :-)

Share and Enjoy:
  • Print
  • del.icio.us
  • Facebook
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Twitter
Posted in iOS | Leave a comment

Påskebryg by Ørbæk

Påskebryg by Ørbæk bryggeri was an instant hit. It has quite a strong taste, with a surprisingly lack of after-taste. It has a very nice foam, has lots of spice and hop, and is moderately sweet.

In color its dark, and you can’t see trough the glass, it’s too misty / unfiltered for that. It has an average amount of gas, and will go well with most kinds of food. This beer is an excellent replacement for a good glass of wine, and can be had by itself. Only weird thing is that if you served this to me as a christmas beer, in my ignorance I wouldn’t know better than to call it an excellent christmas beer as well. ;-)

All in all, a great beer that I’ll definitely have another of. And many bonus points for the nice hare on the label ;-)

Share and Enjoy:
  • Print
  • del.icio.us
  • Facebook
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Twitter
Posted in Easter Ales 2011 | Leave a comment