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,862 other subscribers

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 »

R.I.P. Paweł Głowacki – you will be dearly missed, not just in the Delphi community

Posted by jpluimers on 2017/12/19

Last week, Paweł Głowacki passed away. A few words, probably incoherent, as I’m still flabbergasted by the news.

Originally from Poland he had moved to The Netherlands in 2001 (causing his son Mateusz to be far more fluent in Dutch than his dad) while starting to work for Borland, doing the full ride through CodeGear and Embarcadero to Idera as one of their enthousiastic Delphi evangelists.

Having already gone through a rough year myself, it took me some time to sit down and reflect a bit on his sudden passing away.

Most of the information around his passing has been on Facebook.

My current state of mind needs me to jot a few things down, and since Facebook keeps redacting away the information I really want to see (probably a chicken and egg problem, as it also insists showing me stuff I do NOT want to see, causing me to hardly look at Facebook any more, and likely having worsened the issue), below are some links and a screenshot.

Though we didn’t see each other much over the last few years, meeting up was always fun, especially talking about old shared activities (one project, don’t ask, many presentations on conferences and sessions) and his hobbies (for instance diving).

I found out about the latter by sheer coincidence. I’ve a mentally retarded brother for which I’m the curator ad litem. In practice this means not just legal guardian, but also coaching my brother with many events. About 15 years ago, over several years, my brother has stepped up from swimming via snorkeling to shallow water diving (always under supervision of a certified diving instructor).

About once a year, my brothers diving group goes to open water where I suddenly bumped into Paweł of which I knew he did sports (and music: he’s an excellent guitar player) but not exactly which ones.

Some of the coolest Delphi related events we did or attended together were the product launches for the BeNeLux in the early 2010s, ItDevCon conferences in Italy, SDN presentations in The Netherlands and EKON visits in Germany.

Knowing more of each others non-Delphi side, we had much more to talk about. So we mixed conversations about free time and Delphi topics enjoying an occasional drink or two.

I will remember those times. R.I.P. Paweł. All the best to his wife Barbara, son Mateusz, other family members, friends and colleagues.

This is the im memorian that Barnsten – the Benelux reseller for Embarcadero that organised a lot of the events:

This picture was taken by Danny Wind on our last event in Bussum

This picture is taken in May this year at the Accelerate Your Development event in Bussum by Danny Wind.


In Memoriam – Pawel Glowacki

It is with great sadness that we have to inform you about the sudden loss of Pawel Glowacki. He was only 47 years old. Pawel was employed by Embarcadero as Technical Lead but worked very closely with the Barnsten team because he lived in Amsterdam.

Pawel has had great influence on all the Barnsten events and webinars. He always knew flawlessly what was going on in the development tools market. Many new themes and programs have arisen from consultation with him. Most of you have been in direct or indirect contact with him at the live events or via his webinars, books, blogs, white papers etc.

His optimism, technical knowledge and positive attitude to life left a deep impression, but also a great emptiness at the loss of such a unique individual.

Pawel will be buried this Friday in his homeland Poland.

On behalf of the Barnsten team,

Raymond Horsten
Director

–jeroen

PS:

  1. Since many search indexes prefer l over ł: Pawel Glowacki.
  2. Forum thread: [WayBack] Embarcadero Discussion Forums: Paweł Głowacki passed away on Dec 13th …
  3. About 3 weeks late: [Archive.is / WayBack] Farewell Paweł Głowacki – Community Blogs – Embarcadero Community

Read the rest of this entry »

Posted in About, Delphi, Development, Personal, Software Development | 12 Comments »