Friday 26 September 2008

Why Aaron Removes Admin Rights

Talk about kernel-mode rootkit phobia!

Aaron Margosis the "anti-admin" of Microsoft wants to take away the freedom of operating Windows with full admin rights. The core of Aaron's expurgation is that though we may feel we use our machines responsibly, "things happen". Stay away from me, kernel-mode rootkits!

(Kernel-mode rootkits ARE the root of evil though. Imagine being able to access any address and execute any instruction. Yikes!)

Recently Microsoft's remove-power-from-user attitude has been giving me UAC grief in Vista. Exhibit A: A referral was returned from the server" and application fails to start! (VISTA) This indicates a UAC denial. What was I trying to do? Hack my own mailbox p'raps? Well, if you want a program to run with elevated privileges in Vista, it must be marked as such in the application's manifest file. This applies to managed .NET code.

Read up on UAC in Vista here.

Saturday 13 September 2008

Do Androids Dream of Dalvik VM?

I can tell you categorically that Androids DON'T dream about Dalvik VM.

Android apps, however, are built to run on a Dalvik VM (named after a fishing village in Iceland) which implements most of core Java and runs on Linux kernel version 2.6 (currently the latest version). If you are still running 2.4 you need to upgrade ASAP to 2.6 (which includes NUMA enhancements for multiprocessor, hyperthreading support for intel P4 amongst other things) to run Dalvik VM. Don't delay.

For app developers use Eclipse or IDE of choice (e.g. NetBeans or IntelliJ) on Windows as your Java/Android devstudio.

A common question - what are the differences between Dalvik and "traditional" JVMs. For one thing, java.awt with its great AlphaComposite class is notably absent, instead there is some import android.graphics.*; business going on. java.applet is also absent. Have a look at this example of android-style Java.

Java for Androids.What's next?

What's next is Scandaldroid - in other words - Scala on Android. Scala, the functional, object-oriented hybrid can use all the libraries of Java and C#.http://groups.google.com/group/jvm-languages/browse_thread/thread/828d946b01a4e3f2

scalac android.scala, folks.

Also worth checking out is the Google Android blog and a WordPress blog on Android.

Thursday 11 September 2008

What is Android?

We all know Google and mobile are synonymous with Android, but what IS it? Find out here.

Thursday 4 September 2008

.NET Framework 3.5 SP1 is Released

SP1 makes it easier to build REST clients and services.
A .NET Service Pack upgrade a day helps you work, REST and play.