Archive for the ‘misc’ Category

Amazing filming by Red Bull

Wednesday, February 23rd, 2011

Watch this! http://www.artofflightmovie.com/

Jfokus 2011

Sunday, February 20th, 2011

A short list of the things and sessions that stand out in my memory after spending two days at Jfokus 2011 last week.

The venue was amazing. Ever since working at bwin, with offices in the house on the other side of the road from the new Waterfront building, and looking out over the construction site while having lunch on the balcony I’ve been skeptical to the construction of the Stockholm Waterfront building. But even though I might not like the exterior design, the venue worked great for the Jfokus conference. The rooms were great and the exhibition/lunch/coffee area was big enough to not get too crowded with over 1100 people moving around.

The WiFi worked now and then as expected. It’s amazing how hard it can be to provide a working wireless network for a tech conference. But when it worked the #jfokus hashtag on twitter was where the action was.

If I would select one session per day that I especially enjoyed it would be “Physics in Android games” by Pär Sikö and Martin Gunnarsson on day one.

Angry Birds VariousSee More Angry Birds Various at IGN.com

They showed how easy it is to integrate a physics engine with a 2D library on Android using the free AndEngine framework by creating a simple Angry Birds lookalike called “Angry Nerds” in like 100 lines of code. Very impressive.

On day two the “Future-proofing collections: from mutable to persistent to parallel” session by Martin Odersky naturally stood out from the rest as I’ve recently become a Scala fan-boy.

Martin Odersky

If you like Scala you just had to go to the session with the creator of the language and he didn’t fail to deliver. During the very interesting 50 minutes he told us how we will need to make use of parallel computing to use the full potential of the future processors, and how functional programming in Scala makes that easy.

I would also like to mention Neal Ford’s closing keynote “Abstraction Distractions” which was thoughtful and enjoyable even though I had to leave early. Hopefully I can watch the rest when the video recordings are released.

To summarize my first JFokus, I’m very satisfied. The organizers (and @matkar in particular) did a terrific job getting good speakers with interesting content. If you were not there you missed out!

Dark OS X desktop

Wednesday, February 9th, 2011

Yesterday I shamelessly “stole” Rasmus Andersson’s dark OS X desktop he describes in Why the OS X Menubar should be dark and not bright.

Love it! It’s wonderful!

A desktop cleaning later and I finally feel like I can get some serious work done.

Unable to login after unchecking Allow network users to login at login window

Wednesday, February 9th, 2011

If you accidentally uncheck the “Allow network users to login at login window” checkbox in the Accounts preference pane in the System Preferences on your Mac and then get a spinning ball of death and are forced to do ctrl-cmd-power to restart the machine, you might find that it is no longer possible to login.

This is luckily easy to solve if you know what to do. Start with entering >console as the username and press login. This will get you to the text based console login. If all you get is a black screen, press enter to get a login prompt.

Try to login with your username and password. Hopefully that works. If it does run the following command:

dseditgroup -o delete -T group com.apple.access_loginwindow

Now exit the console and when the login window appears you should be able to login again.

If you can’t login at the console login prompt, it might be because it’s a network user you are trying to login with. Try with a local user with admin privileges. If you by chance have disabled that user a few days earlier by setting the shell to /usr/bin/false that can be solved by booting the machine into single user mode.

Do that by pressing command-s at the chime during the startup procedure. You should then get a text display with text scrolling by and finally be presented with a prompt with admin privileges. Do this:

mount -uw /
launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist
dscl . -read /Users/<username> UserShell
dscl . -change /Users/<username> UserShell <old value> /bin/bash

If you have forgot the password you can change that with

dscl . -passwd /Users/<username> <new password>

Then exit single user mode to continue booting the machine and re-try the >console step above.

Stromae shows how he did Alors on Danse in Reason

Sunday, February 6th, 2011

Snowy

Saturday, January 29th, 2011

Snowy

Bad Ice

Saturday, January 29th, 2011

Bad ice

Windy

Saturday, January 29th, 2011

Windy

Sunset

Thursday, January 27th, 2011

Sunset

Tracks

Wednesday, January 26th, 2011

Tracks