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 1,860 other subscribers

Archive for 2017

The ÜberPDF™ SDK is done! – complete build system – 100% open source – all platforms…

Posted by jpluimers on 2017/12/25

Merry Christmas:

Joe C. Hecht of Code4Sale, LLC is very proud to announce that the ÜberPDF™ SDK version 1.0 is now complete, is ready for public distribution, and will be made available for download in the next few days.

More details at [WayBack] The ÜberPDF™ SDK is DONE! – COMPLETE BUILD SYSTEM – 100% OPEN SOURCE – ALL PLATFORMS – ALL DEVELOPMENT TOOLS… – Joe C. Hecht – Google+

Posted in C, Delphi, Development, Software Development | Leave a Comment »

hardware rec – When to stop using a hard drive? What rules/software apply? – Super User

Posted by jpluimers on 2017/12/22

A kind of repeat of a 6 year old post, as by now this has much more information: [WayBackhardware rec – When to stop using a hard drive? What rules/software apply? – Super User.

It is a continuation for another drive of my 2011 post hard drive – When to stop using a HDD? What rules/software apply?.

Basically I was unlucky receiving a brand new drive that appeared exceptionally slow and doing some ticking.

So I ran these on it:

–jeroen

Sorry for the “missed schedule”, but WordPress.com is acting up again:

Since I ran this machine on Windows and I didn’t have time to run locally, these are the tools I used:

Read the rest of this entry »

Posted in Hardware, LifeHacker, Missed Schedule, Power User, SocialMedia, WordPress | Leave a Comment »

CPU FAN header is called FANA on SuperMicro X10SRI-F and X10SL7-F – Onboard LSI

Posted by jpluimers on 2017/12/22

The SuperMicro X10SRI-F and X10SL7-F boards are very similar, so I was happy that [WayBackSuperMicro X10SL7-F – Onboard LSI pointed out where the CPU fan was: it’s header FANA which isn’t exactly clear form the X10SRI-F motherboard PDF manual [WayBack]:

FANA is the CPU fan connector

 I never realized that. What is this based on? The manual seemed to be silent about this.

(I connected my CPU fan to the closest fan connector and everything works like a charm, but I’m still curious).

 The manual is indeed pretty much silent, although it does IMPLY that FanA is for the CPU.   It shows “FAN1-FAN4,FANA” and then says “System/CPU fan headers”.   You can read this as 5 fan headers that are the system and CPU fan headers; or as 4 headers and one more that are the system fan headers and the CPU fan header.

–jeroen

 

Posted in Hardware, Mainboards, Power User | Leave a Comment »

WayBack throwing “Wayback Exception An unknown exception has occurred. Unexpected Error” usually indicates a cookie problem

Posted by jpluimers on 2017/12/22

If saving a web-page on the WayBack machine throws you this error on any site:

Wayback Exception

 

An unknown exception has occurred. Unexpected Error

Then usually the cause is having too many cookies.

Clean your cookies for web.archive.org, then try again.

–jeroen

Posted in Internet, InternetArchive, Power User, WayBack machine | 2 Comments »

QCScraper ClientDataSet XML dump results – archive of qc.embarcadero.com

Posted by jpluimers on 2017/12/21

Since I’m pressed for time, but didn’t want to wait until putting the dumps on-line, below is a rendering of my gist QCScaper ClientDataSet XML dump results – README.md.

Wishing everybody a great holiday season!

This gist contains two QCScaper XML dumps of the http://qc.embarcadero.com content taken a few days after it came up.

There are four files: two files per dump (both in plain downloaded format as well as formatted with tidy -xml -utf8 for easier comparison, for instance with Beyond Compare).

Each file is compressed uzing 7-zip as the original files would each exceed the 100 megabyte gist size limit; please see https://developer.github.com/v3/gists/#truncation

There are slight differences because of the internal QC architecture, which you can for instance see in issue #7788

Hopefully I will find some time later to blog about this in a better way.

Related links:

Entries I still need to look at:

–jeroen

Related:

Posted in Delphi, Development, QC, Software Development | Leave a Comment »

Reminder to self – proposals for Delphi Language Enhancements, a year later

Posted by jpluimers on 2017/12/21

About a year ago, Vincent Parret proposed many [WayBackDelphi Language Enhancements that a lot of developers feel long overdue.

It sprouted a nice G+ discussion at [WayBack] Blogged – Delphi Language Enhancements – Vincent Parrett – Google+

Now this post is a reminder for myself to check out how Idera lived up to the promises they made in that thread.

Evaluation time…

I just found out that Vincent beat me a few days before I scheduled my post (I wrote my post about a year ago): [WayBackJust over a year ago, I wrote a blog post where I listed some ideas for enhancing the Delphi language… – Vincent Parrett – Google+

Recommended reading.

Oh BTW: in that thread there was a cool way simulating interface helpers by hardcasting an interface to a record having only one field typed as the interface:

[WayBack[Delphi] Interface helper proposal – Pastebin.com. By Stefan Glienke. Who else (:

In addition, Allen Bauer chimed in with some great insights.

Finally Document Insight author [WayBack] Baoquan Zuo – G+ posted with more suggestions:

I would suggest Embt consider introducing standard function NameOf and interface helper. These two features will fundamentally changes a lot of things with “minimum” cost.

His thread too has some really nice comments.

–jeroen

Posted in Delphi, Development, Software Development | 10 Comments »

Another case against FreeAndNil

Posted by jpluimers on 2017/12/21

I started this post as “A case against FreeAndNil” but soon found out about [WayBack/Archive.isA case against FreeAndNil – Community Blogs – Embarcadero Community.

Recently I was refactoring a bunch of code that was classed based to become interface based.

The old code had a lot of references to classes like this:

FMyField: TMyClass;

The compiler had detected those as compiler errors so now they were like this:

FMyField: IMyInterface;

But the compiler would still happily compile code (for instance in destructors) containing:

FreeAndNil(FMyField);

The only way that FreeAndNil can be implemented is with an untyped var parameter:

Read the rest of this entry »

Posted in Conference Topics, Conferences, Delphi, Development, Event, Software Development | 14 Comments »

QualityCentral Report 95543: An overloaded routine cannot be assigned to the method reference

Posted by jpluimers on 2017/12/20

Since I bumped into this while qc.embarcadero.com was down, and quality.embarcadero.com is not publicly indexed and requires an account to be able to manually search:

I’m not sure how long qc.embarcadero.com will be up again, so if people can help archiving these entries in the WayBack machine: please indicate how you can help.

Thanks a lot!

I bumped into [Archive.is] QualityCentral Report 110364: Open Interface methods are not assignable to anonymous method variable which is related to [WayBack/Archive.isQualityCentral Report 95543: An overloaded routine cannot be assigned to the method reference.

The former is now tracked as RSP-13007, but I could not find back the latter (JIRA search keeps insisting it cannot find 95543).

The latter is the actual problem I was having: this is code that does not work:

{ Expected: the test case gets compiled.
  Actual: E2010 is issued.
}

procedure foo; overload;
begin

writeln('FAIL')
end;

procedure foo(const c: char); overload;
begin

writeln('PASS')
end;

var f: procedure (const c: char);
type T = reference to procedure (const c: char);
var r: T;
begin
{$apptype console}

f := foo;
// correctly picks the proper version

f('1');


r := foo;
// E2010 Incompatible types: 'T' and 'Procedure'

r('2')
end.

–jeroen

 

 

 

Posted in Delphi, Development, QC, Software Development | 1 Comment »

IDE Fix Pack 6.1.2 (supports Delphi 10.2.2) | Andy’s Blog and Tools

Posted by jpluimers on 2017/12/20

Reminder to self to install this soon: [Archive.isIDE Fix Pack 6.1.2 (supports Delphi 10.2.2) | Andy’s Blog and Tools

via: [WayBack] IDE Fix Pack 6.1.2 for Delphi 2009-10.2.2 released. – Andreas Hausladen – Google+

–jeroen

Posted in Delphi, Development, Software Development | Leave a Comment »

How to make an iframe fit or fill 100% of its container’s remaining height – Sikwati

Posted by jpluimers on 2017/12/20

There are a lot of suggested solutions out there: mostly not working when I tried them, and some required several lines of code which seems unnecessary for such a simple issue.

[WayBackHow to make an iframe fit or fill 100% of its container’s remaining height – Sikwati

He made a lot of effort to get to this simple construct:


<iframe src="/sample.pdf" width="100%" style="height: 100vh;"></iframe>

I tried it at the [WayBackSpring4d generated documentation and it seems to work fine:

Read the rest of this entry »

Posted in Development, HTML, HTML5, Software Development, Web Development | Leave a Comment »