Archive for August, 2014
Posted by jpluimers on 2014/08/29
Wow. Just wow:
“Those natural-looking photographs in the IKEA catalogues are amazing. I can’t believe they’re mostly CG. It’s incredible.”
--jeroen
via CGSociety – Building 3D with Ikea.
Posted in About, IKEA hacks, LifeHacker, Personal, Power User | Leave a Comment »
Posted by jpluimers on 2014/08/29
Thanks Asbjørn Heid for sharing this:
I made this! –
So this week I’ve been mostly trying to add some GMail integration to our app. Google now requires OAuth2 authentication when using IMAP, unless you turn off some scary-sounding security setting on your account.
While Indy‘s IMAP component supports SASL authentication, there was no XOAuth2 SASL component out of the box. Thanks to the new REST stuff in Delphi, the OAuth2 basics where there so just had to tie them together.
In case others might find it fruitful, I’ve shared my results here: https://github.com/lordcrc/IndySASLOAuth2
notes:
–jeroen
via: So this week I’ve been mostly trying to add some GMail integration to our app.….
Posted in Delphi, Delphi XE5, Delphi XE6, Delphi XE7, Development, Software Development | 1 Comment »
Posted by jpluimers on 2014/08/29
Had a funny error on one of my Windows 7 development VMs today: “Unknown Bugcheck: Bugcheck 50”
I hadn’t used the VM for about 2 months, and left it in a suspended state. After resuming it got into a BSOD, booting would hang at the Windows logo, and a second boot would get into the Windows Startup Repair.
Startup Repair indicated it could not resolve the issue, offered a “Restore” (which I declined) then told me something like
Root cause found:
Unknown Bugcheck: Bugcheck 50. Parameters = 0xfffff880009aafb8, 0x0, 0xfffff8000347bc60, 0x0.
The solution was very simple: Read the rest of this entry »
Posted in Power User, Windows, Windows 7 | Leave a Comment »
Posted by jpluimers on 2014/08/28
Often the git command-line is easier to than merge a combination of changes, moves and deletions using SourceTree.
If you know how to read the git status output, and to act accordingly.
This tells you how: Git: how to resolve merge conflicts | softwarecave.
–jeroen
Posted in Development, DVCS - Distributed Version Control, git, Power User, Source Code Management | Leave a Comment »
Posted by jpluimers on 2014/08/28
Quiz questions:
- Does the below unit test succeed or fail?
- Why?
procedure TestHResult.Test_EOleException;
var
OleException: EOleException;
IResult: LongInt; // == HResult
UResult: Cardinal; // == DWord
begin
IResult := $800A11FD;
UResult := $800A11FD;
try
OleException := EOleException.Create('message', $800A11FD, 'source', 'helpfile', -1);
raise OleException;
except
on E: EOleException do
begin
if E.ErrorCode = $800A11FD then
Exit;
Self.CheckEquals(E.ErrorCode, $800A11FD, 'E.ErrorCode should equal $800A11FD');
end; // E: EOleException
end;
end;
Read the rest of this entry »
Posted in Conference Topics, Conferences, Delphi, Delphi 4, Delphi 5, Delphi 6, Delphi 7, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Development, Event, Software Development | 2 Comments »
Posted by jpluimers on 2014/08/27
Not sure why, but this article that I write 4 years ago suddenly got 2300 hits from Google Search in a few hours time: Solution for “Error Code: 0x80246002″ on Microsoft Update when installing “Microsoft .NET Framework 4 for Windows Server 2003 x86 KB982671”.
Microsoft just got some 300 extra .NET 4.0 installer downlaods through it too (:
–jeroen
Posted in About, Personal | 5 Comments »
Posted by jpluimers on 2014/08/27
Interesting, as I didn’t think this was possible. Thanks Oliver Funcke!
Notification when a `TFrame` becomes visible.
TMyCommonFrame = class(TFrame)
private
FOnShow: TNotifyEvent;
procedure CMShowingChanged(var M: TMessage); message CM_SHOWINGCHANGED;
public
property OnShow : TNotifyEvent read FOnShow write FOnShow;
end;
...
procedure TMyCommonFrame.CMShowingChanged(var M: TMessage);
begin
inherited;
if Showing and Assigned(FOnShow) then
FOnShow(Self);
end;
–jeroen
via Is there any way for a VCL TFrame to be notified when it is actually shown to….
Posted in Delphi, Delphi 2007, Delphi 2009, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Development, Software Development | Leave a Comment »