November 2011 Entries

Android: debug certificate expired error

I started up Eclipse today, created a new project, and immediately had an error before I had changed a single line: Error generating final archive: Debug Certificate expired on 11/12/11 When installed, the Android SDK generates a "debug" signing certificate for you in a file called "debug.keystore". Eclipse uses this certificate rather than forcing you to create a new one for every project. In older versions of Eclipse, the certificate was only valid for 365 days, but as I understand it the default ......

Windows Phone Camp Hands On Accelerator Lab in Dallas

Microsoft is hosting another Windows Phone Accelerator lab this December 13-15 in Dallas: Do you have the next million dollar idea that you just can’t find the time to finish? Do you already have an app for Android and iPhone that you want to expand into new markets? It’s time to turn your napkin sketches and leverage your hard work into real, sellable apps for Windows Phone in ONE WEEK! Join us for a special Windows Phone event you don’t want to miss - Windows Phone Accelerator! In this 3-day developer ......

Converting Julian date to calendar date (Astronomy With Your Personal Computer)

Part 3 of converting the code in Astronomy With Your Personal Computer Last time we had a method for converting a calendar date to Julian, so here's the reverse. Notice that it calls the previous MinSec.DecimalToDegMinSec() method to convert the decimal portion to hours/minutes/seconds: public static DateTime ConvertDay(double DJ) { double D = DJ + 0.5; int I = (int)Math.Floor(D); double FD = D - I; if (FD == 1) { FD = 0; I += 1; } if (I > -115860) { int A = (int)Math.Floor((I / 36524.25) + .99835726) ......