The Wiert Corner – irregular stream of stuff

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

  • My work

  • 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,308 other followers

Archive for April, 2017

Troy Hunt: Reckon you’ve seen some stupid security things? Here, hold my beer…

Posted by jpluimers on 2017/04/29

I’d laugh if it wasn’t so embarrassing: [Archive.isTroy Hunt: Reckon you’ve seen some stupid security things? Here, hold my beer….

It reminds me of a Dutch agency with > 1 million low income people paying for a service to be on a notification list for rental houses becoming available that was within their legal rental limits.

If you were not on the list, you’d never gain enough points to get a rental home at all.

If you were on the list, then they’d sent your credentials in plain text requiring very limited information.

Your credentials then would reveal name, date of birth, social security number, full address, bank account and some other personal information.

They never notified me if the security complaint I filed was ever addressed.

–jeroen

via:

[WayBack] Ready for some security nightmares? – This is why I Code – Google+

Posted in Power User, Security | Leave a Comment »

HowTo: Wget Command Examples

Posted by jpluimers on 2017/04/28

HowTo: Wget Command Examples – Wget is a free software package for retrieving files using HTTP, HTTPS and FTP, the most widely-used Internet protocols

Source: HowTo: Wget Command Examples [WayBack]

I totally forgot about

  • the -c switch that continues an aborted download.
  • the -r -A combination to only download certain file types.

–jeroen

Posted in *nix, *nix-tools, Power User, wget | Leave a Comment »

Remeha error code E5

Posted by jpluimers on 2017/04/28

Some notes as we got an error code 5 (the display showing E5) a while ago.

Our solution was to keep the reset button pressed for a few seconds, then wait for a “reboot” to happen.

Videos from someone else having searched for the E5 cause for 2 months:

  1. After 5 tries to fire up, it gives error E 5.
  2. For this particular device, the problem occurs multiple times a day with various intervals between ignitions.
  3. Rarely it generates error E6 in stead of E5.
  4. Most often it needs more than one but less than five ignition attempts, so then it does not generate an error.
  5. The actual cause is a too low ionisation current: the current needs to be between 3 and 9 microAmpere.

E6 was already hinting at a faulty transformer, but the ionisation current definitely confirms that.

Manuals (the first two are almost identical):

–jeroen

Need to contact these in case of trouble as they are experienced: loodgietersbedrijfjongen.nl

Later: we ran into the above problem as well; the problem was the ignition transformer that could not keep the gas ignition current between 3 and 9 µA. The solution was this Remeha part [WayBackRemeha ontstekingstrafo (incl. ionisatieelectrode) S100012 | Warmteservice. We got there after replacing the burner gasket ring [WayBackRemeha pakkingring voor brander S103172 | Warmteservice that often solves the problem, is much cheaper and should be replaced every 2 years anyway.

See also

 

Read the rest of this entry »

Posted in LifeHacker, Power User | 2 Comments »

The SSH Port 22 story

Posted by jpluimers on 2017/04/28

The story isn’t a catch-22, but it is still fun to read:

SSH port is 22. The history of how I (Tatu Ylonen) got it. How to configure it through firewalls and iptables.

It also shows how agile the Internet was back then.

Source: [Archive.isSSH Port

Via: [WayBack] “The SSH (Secure Shell) port is 22. It is not a co-incidence. This is a story I (Tatu Ylonen) haven’t told before.” https://www.ssh.com/ssh/port – This is why I Code – Google+

–jeroen

Posted in Development, History, Internet protocol suite, Software Development, SSH, TCP | Leave a Comment »

FMX.Dialogs basically blocks mixing VCL with FMX…

Posted by jpluimers on 2017/04/27

Nice find:

Stefan Glienke+4

Look into the initialization block of FMX.Dialogs. The call to ActivateClassGroup(TFmxObject); turns off all the TRegGroups that don’t contain at least one type that inherits from TFmxObject which also happens to be the group that you register your form class to. GetClass then ignores such groups.

I don’t have the slightest idea what the intention behind all that code is but it certainly is one of the reasons why you cannot mix FMX and VCL officially.

In response to:

I have an VCL application. I need to register some form classes at run time. This is done in the form’s unit implementation section :

Initialization

If GetClass(‘TfmConnectiondialog’) = Nil Then
Classes.RegisterClass(TfmConnectiondialog);

Suddenly my class wasn’t registered anymore. GetClass(‘TfmConnectiondialog’) was always nil and Classes.RegisterClass had no effects.

After some long search, I’ve found that I’ve inadvertently added an FMX.Forms in one of my unit. This was the culprit. Replacing FMX.Forms with VCL.Forms solved my problem.

Behaviour is really strange, why Classes.RegisterClass didn’t throw any exception ? Is this a “Bug” or is this “as expected” ?

–jeroen

Source: Hello, I have an VCL application. I need to register some form classes at ru… [WayBack]

Posted in Delphi, Delphi 10 Seattle, Delphi 10.1 Berlin (BigBen), Delphi XE7, Delphi XE8, Development, Software Development | 1 Comment »

 
%d bloggers like this: