The Internet Archive Wayback Machine is incredible. These links bring back fond memories of past projects:
Momentum for Chrome
A happy doodle
HTTrack Website Copier
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
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 |
/command:revisiongraph /path:$EDNAME |
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 when you reap what you sow, what you reap will affect what you sow again. With this in mind, practicing Karma or the Golden (or even Silver) Rule would seem wise.