Safe-casting Pointers in Object Pascal

The Delphi Geek offers this helpful pattern to catch casting issues when dealing with pointers: Deferred crash: TMyObject(aPtr) Immediate crash: TObject(aPtr) as TMyObject And it’s always best to crash sooner than later…

WordPress on HostGator

I moved this blog from dasBlog on WinHost and WordPress on HostGator today with the help of these sites: Bob Cravens, A Little Blog, Paul van Brenk, and DevelopDaly.

Uber is Excellent

I used the Uber black car service for the first time today.  The experience was fantastic.  After my first trip, I received this email: If you want a $20 Uber signup bonus, please use code 6a6zh.  You’ll get a $20 credit and I’ll get a $20 credit.  From their email “It’s the ultimate Uber win-win”.

Tortoise SVN and Delphi

In the Delphi IDE, from the menu select Tools > Configure Tools. The commands below will operate on the current file in the IDE editor. Title Program Parameters SVN Log TortoiseProc.exe /command:log /path:$EDNAME SVN Blame TortoiseProc.exe /command:blame /path:$EDNAME /line:$ROW /notempfile SVN Revert TortoiseProc.exe /command:revert /path:$EDNAME SVN Diff TortoiseProc.exe $SAVE /command:diff /path:$EDNAME SVN Revision Graph TortoiseProc.exe […]

Affects of Effects

According to Newton’s third law of motion “when one body exerts a force on a second body, the second body simultaneously exerts a force equal in magnitude and opposite in direction on the first body.” Based on this principle, one can conclude that for all cause and effects, every effect must affect the cause.  Therefore […]

Know thy self

According to Sun Tzu in The Art of War, “Know thy self, know thy enemy. A thousand battles, a thousand victories.”  However, I often find this advice more relevant “Know thy self and you know thy enemy. A thousand victories for the self-master.”

Windows 8 to Windows 8.1 WiFi Issues

I just upgraded my Samsung ATIV smart PC tablet from Windows 8 to Windows 8.1.  I should have checked the web before doing this.  The WiFi driver for the Intel Centrino Advance-N 6235 would no longer connect to any networks.  The after-upgrade installed driver is version 15.10.3.2 from Intel.  I found “version” 16.7.0 for Windows […]

Learning to Program

Below are some recommended online courses on programming: http://scratch.mit.edu/ While for kids, it gets one to think about programming control structures in a fun way. Basically drag and drop programming. http://www.codeavengers.com/#looking Again for a slightly younger audience, but the courses are good. http://www.codecademy.com/learn Another fun and free site. I’d probably take the Ruby class (assuming […]

Quicken Quality

When the in-app upgrade call to action looks like this: I have my concerns about the future quality of the software.

Quick and Dirty Software Technical Due Diligence Questions…

TEAM Was the technology built by employees or contractors? Which are the key resources? Are those resources still employees? Current team members and roles of each? OPERATIONS Where/how is the solution hosted/deployed? What internal security controls are in place? How does the software scale as new business is on-boarded? What is the on-boarding process? Is […]