The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 4,182 other subscribers

Archive for March 20th, 2013

eLoket (Profiel)

Posted by jpluimers on 2013/03/20

Fijne foutmelding:

Uw formulier voldoet niet aan de volgende controles:

!

U heeft geen correct telefoonnummer ingevoerd. Een telefoonnummer moet beginnen met een 0 of + , bestaat uit minimaal 10 cijfers en mag geen leestekens bevatten

U heeft geen correct telefoonnummer ingevoerd. Een telefoonnummer moet beginnen met een 0 of + , bestaat uit minimaal 10 cijfers en mag geen leestekens bevatten

Inderdaad twee velden: telefoon en mobiel.

Noem ze dan niet beide “telefoonnummer!”.

En hou je gewoon aan de ITU-T E.123 standaard waar spaties, haakjes en plus gewoon zijn toegestaan.

Het vervolg is nog meer bizar:

Let op: een aantal gegevens kunt u niet meer wijzigen nadat ze zijn opgeslagen.

Zijn uw gegevens correct ingevuld?

Uiteraard staat nergens aangegeven WELKE gegevens niet meer te wijzigen zijn.

Stel je voor!

–jeroen

via: eLoket (Profiel).

Posted in Development, Software Development, Usability, User Experience (ux) | Leave a Comment »

xkcd: Bonding

Posted by jpluimers on 2013/03/20

Another great one from xkcd: Bonding.

–jeroen

Posted in Comics | Leave a Comment »

Confusing Delphi message: [DCC Error] E2201 Need imported data reference ($G) to access ‘VarCopyProc’ from unit ‘XXX’

Posted by jpluimers on 2013/03/20

I recently had an error like this when building with packages:

[DCC Error] E2201 Need imported data reference ($G) to access 'VarCopyProc' from unit 'SynCommons'

It was a bit hard to find good information about this error, mainly because of two reasons:

  1. the documentation on E2201 Need imported data reference ($G) to access ‘%s’ from unit ‘%s’ isn’t very well written
  2. [dcc error] e2201 need imported data reference ($g) to access ‘varcopyproc’ from unit – Google Search doesn’t yield very good answers

Finally, it was the FastMM and D2007 – Delphi Language BASM – BorlandTalk.com thread pointing me to Hallvard’s Blog: Hack#13: Access globals faster ($ImportedData).

That explained the error was caused by:

  • VarCopyProc being a variable in one package
  • VarCopyProc access being needed from the package that failed to compile
  • Not having {$G+} or {$IMPORTEDDATA ON} in the failing package would prevent that access

Somehow that does not work for all cases. Apparently, the VarCopyProc isn’t exported from the Delphi RTL as that package is compiled in the $G- state.

So I had to add the USEPACKAGES define to the conditional defines list, which forces the SynCommons to use the standard version of the RecordCopy method in stead of a highly optimized one that calls VarCopyProc.

–jeroen

Posted in Delphi, Delphi XE2, Delphi XE3, Development, Software Development | 2 Comments »

OWC OWCSSDEX3G960 960GB Mercury Electra MAX 3G SSD… in stock at OWC

Posted by jpluimers on 2013/03/20

Awesome write speed while mirroring from my old Intel 320 600GB SSD (SATA) to the new OWC Mercury Electra MAX 3G 960GB SSD (USB3) on my ThinkPad W701.

On average more than 2GB per minute.

                Total    Copied   Skipped  Mismatch    FAILED    Extras
     Dirs :     27029     27028         1         0         0         0
    Files :    160965    160965         0         0         0         0
    Bytes : 546.499 g 546.499 g         0         0         0         0
    Times :   4:17:38   4:15:16                       0:00:00   0:02:22

    Speed :            38311787 Bytes/sec.
    Speed :            2192.218 MegaBytes/min.

    Ended : Mon Mar 18 22:16:36 2013

–jeroen

via: OWC OWCSSDEX3G960 960GB Mercury Electra MAX 3G SSD.

Posted in Hardware, Power User, SSD | Tagged: , , , , , | 3 Comments »

Absolutely awesome MacBook sticker! 

Posted by jpluimers on 2013/03/20

(19) Jeroen Pluimers – Google+ – Absolutely awesome MacBook sticker! .

Posted in About, Personal | Leave a Comment »

 
%d bloggers like this: