difference

PHP get days between start-date and end-date

Hello! If I have two variables $startDate="YYYYmmdd" and $endDate="YYYYmmdd", how can I get the number of days between them please? Thank you. ...

How do I implement high performance 3D graphics w/ WPF?

Hi, I have to develop a CAD application and I am planing to use WPF with C#. Earlier I had used GDI+ with C# to write similar application. How can I perform the graphics operation in WPF similar to GDI+? I want to set the pixel color with pencil (similar to MS Paint), draw some basic shapes such as circles, lines, rectangles etc etc. ...

Problem subclassing UIAlertView in an InputAlertView different sizes and position between iOS4 e iOS3

I've got a problem understanding why a subclass of UIAlertView seems to be drawn in different ways in iOS3 and iOS4. My project must work under iOS4 (base sdk) and iOS3.1.3(deployment target). In that project I subclass a UIAlertView for creating an InputAlertView that is similar to the one that ask you pwd when you buy on the AppStore ...

Android difference between two dates in seconds

I've tried different methods around the web but couldn't make it work. Cursor cursor = sqlite.myDataBase.rawQuery("SELECT StartDate, EndDate FROM Tracks Where Id="+'"'+trackId+'"',null); SimpleDateFormat outputFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); Date startDate = outputFormat.parse(cursor.getString(cursor.getCol...

Flash VS Flex application

What are the main features that distinguish Flash from Flex? When you have to create a web application, what do you look for select between Flash, Flex or using all two? ...

What's the comparison difference?

Possible Duplicate: Null check in Java I'm just wondering what's the difference between if (null == something) {...} and if (something == null) {...} assuming that in both cases something is the same object. Presumably, there should be non, except for readability of the code. ...

@font-face anti-aliasing on windows and mac

I've used http://www.fontsquirrel.com/ to create a @font-face kit. It works fine, but the result on windows is different from the result on mac. On windows the font seems to have a wrong anti-aliasing: this is the result on Mac with FF, Chrome or Safari (all updated to last version). this is the result on Windows with FF or Chrome. ...