Object Pascal to Javascript

Paraphrasing from the Optimale Systemer AS website, Smart Mobile Studio brings the power of pascal to the browser and RAD to javascript.  While in beta, the promise is appealing for old-time Delphi developers.

ExtensionMethod.Net

ExtensionMethod.Net has over 300 C#  extension methods (over 100 are on the string class).  For an overview on extension methods visit this MSDN page or see my old post.

How to prevent a Silverlight .XAP from being cached…

To be safe one should add (and change) a query parameter after their Silverlight application to prevent the file from being cached. The HTML would look something like: <param name="source" value="ClientBin/MySilverlightApplication.xap?revision=2012011801"/> And the revision needs to be changed after every new build that is published.

Skype was written in Delphi

Wikipedia credits Skype as being written in Delphi.  For a good list of other applications written in Delphi, visit delphi.wikia.com.  Plus Embarcadero has  a dizzying showcase here.  The list of software built with Delphi includes Ad-Aware (which I recommend/install on all relatives machines), Beyond Compare (used at work), Adobe Captivate, FinalBuilder, Help and Manual, Macromedia […]

MS SQL backup and restore commands (utilizing with move)

While I usually like to detach, copy/rename, then reattach development databases, for online databases I often need to refer to these SQL commands: BACKUP DATABASE MY_DATABASE TO DISK=‘C:\SQLBACKUPS\MY_DATABASE_BACKUP20111117a.BACKUP’ RESTORE FILELISTONLY FROM DISK=‘C:\SQLBACKUPS\MY_DATABASE_BACKUP20111117a.BACKUP’ RESTORE DATABASE MY_DATABASE_NEW FROM DISK=‘C:\SQLBACKUPS\MY_DATABASE_BACKUP20111117a.BACKUP’ WITH   MOVE ‘MY_DATABASE_Data’ TO ‘C:\PRODUCTION_DATA\MY_DATABASE.MDF’,   MOVE ‘MY_DATABASE_Log’ TO ‘C:\PRODUCTION_DATA\MY_DATABASE.LDF’

Delphi IDE Fix Pack from Andy’s Blog and Tools is amazing!

The Delphi IDE Fix Pack from Andy Hausladen in truly incredible.  At work we have a very large Delphi project (core application has about 3.9 million lines of code) and using the Delphi IDE was painfully slow—doing a ‘Find Declaration’ would lock the IDE for minutes.  After installing the IDE Fix Pack the IDE is […]