Thursday, March 30, 2017

Errors when you try to run more than one spark shell

If you have a spark shell running, and you forget it's there and start another one, you'll see errors like the ones below.

If you're like me, all the useful bits that point straight at the problem have scrolled off your screen, so you'll probably waste some time on google looking for other people having problems with error: not found: value spark. Hopefully that google search has lead you here, and you can now go kill all your extra spark shell sessions.

Tuesday, October 25, 2016

Good deal tomorrow on Alaska business class flight tomorrow with miles LAX -> LHR

Found this one browsing around Alaska's flights, figuring out a trip for next year - 50k miles for a business class ticket LAX -> LHR seems like a really good deal to me:




Tuesday, June 21, 2016

Xamarin Studio + Android Studio

If you have a Xamarin Studio project for an Android application, you'll probably want to use Android Studio to edit the resource files.
  • Create a new Android Studio project (I usually call it AndroidStudioHolder, but the name is unimportant)
  • cd AndroidStudioHolder/app/src/main
  • rm -rf res
  • ln -s ../../../../YourAndroidProject/Resources res
Unfortunately, you still have to deal with all the weird naming issues that Xamarin Studio creates.  You should fix them anyway, and it's easier to do it early in the project.  (Main.axml isn't a real layout file, for example, even though Xamarin Studio will create it for you by default.)