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

Archive for September 24th, 2019

SchipholWatch op Twitter: “Met app Explane uw klacht naar BAS sturen? https://t.co/i2P5qfVFZN”

Posted by jpluimers on 2019/09/24

[WayBack] SchipholWatch op Twitter: “Met app Explane uw klacht naar BAS sturen?”

–jeroen

Posted in LifeHacker, Power User | Leave a Comment »

Convert an object instance into a JSON string and making use of custom attributes – Flix Engineering

Posted by jpluimers on 2019/09/24

For my link archive, [WayBack] Convert an object instance into a JSON string and making use of custom attributes – Flix Engineering:

JSON, JSONMarshalled, JSONName Delphi Convert an object instance into a JSON string and making use of custom attributes

This is a welcome explanation as in [WayBack] REST.Json.Types – RAD Studio API Documentation, these attributes have very shallow documentation:

Via: [WayBack] Is there any documentation for attribute and Json? uses Rest.Json, Rest.Json.Types; [JSONName(‘TokenName’)] – Thomas Bornhaupt – Google+

–jeroen

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

Kornelia Esser : Traueranzeige

Posted by jpluimers on 2019/09/24

For my memory; I hope to contemplate more about this later. But right now, with 10 medically related appointments in 2 weeks time, my head is too full.

Today I found out that earlier this year, one of my parents really good friends has passed away earlier this year: [WayBack/Archive.is] Kornelia Esser : Traueranzeige : Super Sonntag / Super Mittwoch.

Kornelia Esser

Text:

Der Tod kann auch freundlich kommen zu Menschen, die alt sind,
deren Hände nicht mehr festhalten wollen,
deren Augen müde wurden,
deren Stimme nur noch sagt:
„Es ist genug. nas Leben war schön.”

Kornelia Esser
* 28. August 1930    † 30. Juni 2019

Wenn ihr an mich denkt, seid nicht traurig, erzählt lieber von mir und traut euch ruhig
zu lachen.
Lasst einen Platz zwischen euch, in eurer Mitte, so, wie ich ihn im Leben hatte.

Du bleibst immer in unseren Herzen
Ernst und Sibille Esser
Anita und Achim Halkour
mit Arne und Pia
Uschi und Jürgen Ulrichs
mit Lisa und Lars
Norbert und Beate Esser
mit Lukas und Jana
sowie alle Verwandten

Kondolenzanschrift:
Kornelia Esser c/o Markus Forg Bestattungen, Roermonder Straße 24, 41812 Erkelenz

Die Exequien finden am Montag, dem 8. Juli 2019, um 14.30 Uhr in der Kirche St. Stephanus zu
Golkrath statt. Anschließend erfolgt die Beerdigung von der Kirche aus.
Von Kranz- und Blumenspenden sowie Trauerkleidung bitten wir abzusehen
Sollte jemand aus Versehen keine persönliche Anzeige erhalten haben, so diene diese als solche.

She was leading the household (kitchen, cleaning and medical departments) of the [WayBack] Collegium Josephinum – Konvikt Bad Münstereifel and a special person to us: see my below German Twitter thread.

Read the rest of this entry »

Posted in About, History, Personal | Leave a Comment »

Fork – a fast and friendly git client for Mac

Posted by jpluimers on 2019/09/24

Works for Windows too: [WayBack] Fork – a fast and friendly git client for Mac.

Via [WayBack] Weekend Reader 2017.46 – reality-loop(who switched away from SourceTree, because, well, that was ahead of it’s time but in the end couldn’t keep up with reality)

–jeroen

Posted in Development, DVCS - Distributed Version Control, git, git-fork, Software Development, Source Code Management, SourceTree | Leave a Comment »

Research list: haproxy and Connection: close

Posted by jpluimers on 2019/09/24

At a site, haproxy was configured like this for a particular back-end:

backend http_FUNCTIONALITY_cluster
    log global
    mode http
# default httpchk checks / which for our functionality intentionally returns 500 causing haproxy to think it's down
#   option httpchk
# FUNCTIONALITY has a /FUNCTIONALITY which returns a 200 OK
    option httpchk get /FUNCTIONALITY
    http-check expect ! rstatus ^5
    option http-keep-alive
    option forwardfor
    server w7connexxion 192.168.178.42:8181 cookie FUNCTIONALITYA check

The /FUNCTIONALITY would return a multi-kilobyte result.

The HAproxy would send the request with this body:

Connection: close

In the midst of the server returning an http request of more than one TCP frame:

Connection: close
Content-Type: text/html; charset=utf-8
Content-Length: 4068
Date: Mon, 20 Nov 2017 08:17:02 GMT

<html><head><META ...

, the HAproxy would kill the connection, resulting in a 10054 error on Windows, which [WayBack] Windows Sockets Error Codes indicates it is this:

WSAECONNRESET
10054
Connection reset by peer.

An existing connection was forcibly closed by the remote host. This normally results if the peer application on the remote host is suddenly stopped, the host is rebooted, the host or remote network interface is disabled, or the remote host uses a hard close (see setsockopt for more information on the SO_LINGER option on the remote socket). This error may also result if a connection was broken due to keep-alive activity detecting a failure while one or more operations are in progress. Operations that were in progress fail with WSAENETRESET. Subsequent operations fail with WSAECONNRESET.

So both sides are right in that they will close the connection (despite the HTTP keep alive): [WayBack] What does “Connection: close” means when used in the response message?

Howver, I think HAproxy is way too soon closing the connection, especially as it does not use the configured keep alive ([WayBack] How to make HA Proxy keepalive and [WayBack] Hypertext Transfer Protocol — HTTP/1.1 RFC 2616 = 14 Header Field Definitions – 14.10 Connection).

The 10054 would end up in the Windows Event Log for Applications like this:

The description for Event ID 0 from source MyFunctionality.exe cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event: 

Socket Error # 10054
Connection reset by peer.

In the mean time, we shortened the result, so it does not fail any more.

Later I hope to find some time to do more research on this, for which I hope [WayBack] Health checking – HAProxy Technologies is a base.

–jeroen

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