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

Archive for October, 2018

A Key’s Odyssey – the path of a keystroke message through the VCL

Posted by jpluimers on 2018/10/09

Blast from the past, but still relevant, this article by Peter Below:

This article follows the path of a keystroke message through the VCL. You will learn how the key processing is implemented, how the OnKey events work and what intervention points for the programmer can be found in the whole process. In addition, things like message processing are explained, and you will learn how to trace messages in the debugger from the message loop to their eventual destination.

Source: [WayBackA Key’s Odyssey

Via: [WayBack] Vcl.Controls.pasprocedure TWinControl.CNKeyDown(var Message: TWMKeyDown);..if IsMenuKey(Message) then Exit; … – Attila Kovacs – Google+

-jeroen

Posted in Conference Topics, Conferences, Delphi, Development, Event, Software Development | Leave a Comment »

Check If A Linux System Is Physical Or Virtual Machine

Posted by jpluimers on 2018/10/08

One day I am going to try to extend this for a few other virtualisation environments and Linux distributions: [WayBack] Check If A Linux System Is Physical Or Virtual Machine

Via: [WayBack] Check If A Linux System Is Physical Or Virtual Machine #Linux – Joe C. Hecht – Google+

–jeroen

Posted in *nix, *nix-tools, Fusion, Hyper-V, KVM Kernel-based Virtual Machine, Power User, Proxmox, View, VirtualBox, Virtualization, VMware, VMware ESXi, VMware Workstation | Leave a Comment »

Video Conversion done right: Codecs and Software – Super User Blog

Posted by jpluimers on 2018/10/08

From a very long time ago, but still a great references: [WayBackVideo Conversion done right: Codecs and Software – Super User Blog.

Read the rest of this entry »

Posted in Audio, ffmpeg, Media, Power User, Video | Leave a Comment »

Seven Steps to the Diagnosis of NSAIDs Hypersensitivity: How to Apply a New Classification in Real Practice?

Posted by jpluimers on 2018/10/08

For Ibuprofen, I have type B, but need to figure out how severe and which subcategory then find out if I’m also affected by other NSAIDs.

[WayBackSeven Steps to the Diagnosis of NSAIDs Hypersensitivity: How to Apply a New Classification in Real Practice?

Tables and figures:

Via: [WayBack李麟 – Google+ commenting at [WayBack] This shirt on one of my fellow archers today… “Sons of Ibuprofen” – Lars Fosdal – Google+

–jeroen

Posted in About, LifeHacker, Personal, Power User | Leave a Comment »

Why Youtube’s algorithms push extreme content on every possible subject / Boing Boing

Posted by jpluimers on 2018/10/05

Food for thought: [WayBack] Why Youtube’s algorithms push extreme content on every possible subject / Boing Boing.

the problems of Youtube’s recommender algorithms might be that they overdistil your preferences. Since they’re aiming for “engagement” — a word I am beginning to loathe with an unsettling level of emotion — the real problem with these algorithms is they’re constantly aiming to create an epic sense of drama and newness

More in depth at [WayBackOpinion | YouTube, the Great Radicalizer – The New York Times

Via [WayBack] Kristian Köhntopp – Google+.

–jeroen

Posted in Power User, SocialMedia, YouTube | Leave a Comment »

macOS / OS X / Mac OS X: excessive sysmond or mds CPU usage – via Ask Different and osXdaily

Posted by jpluimers on 2018/10/05

If you suffer from [WayBack] macos – Excessive CPU usage from sysmond – Ask Different, then it could be Activity Monitor itself using that CPU.

If you suffer from high CPU usage in mds, then it is likely the Spotlight search indexer acting up: [WayBack] mds – what MDS process is and why it uses CPU on the Mac

–jeroen

Posted in Apple, Mac, Mac OS X / OS X / MacOS, Power User, SpotLight | Leave a Comment »

Raspberry Pi as CD changer in pre 09/2002 E46 BMW 320i touring

Posted by jpluimers on 2018/10/05

My pre 09/2002 E46 BMW 320i touring didn’t come with a CD-changer, and since the Business CD head-unit didn’t support the regular AUX mechanisms (see links further below), I’m researching how to add a Raspberry Pi as CD-changer.

A few things I want to accomplish:

  • Raspberry Pi powers up as it has ignition signal
  • Raspberry Pi powers down soon after it has lost ignition signal
  • Connected via the CD-changer connectors (iBus and audio) in the back

Some links:

Supplying power:

iBus/kBus/CanBUS:

If the model was more recent, it would at least support AUX, but it doesn’t by default and the work-arounds seem to emulate a CD-changer after all:

Read the rest of this entry »

Posted in cars, E46 320i touring, LifeHacker, Power User | Leave a Comment »

Syncthing – on my research list

Posted by jpluimers on 2018/10/05

On my research list:

Syncthing replaces proprietary sync and cloud services with something open, trustworthy and decentralized.

[WayBackSyncthing

Though it’s ont easy to get right: [WayBackSyncThing for Android – twm’s blog

which references:

Via: [WayBack] I blogged about SyncThing before, when BitTorrentSync started to annoy the hell out of me. SyncThing is an open source tool for synchronizing directory trees between different devices without requiring a cloud service (it needs a discovery server though… – Thomas Mueller (dummzeuch) – Google+

–jeroen

Read the rest of this entry »

Posted in Cloud, Infrastructure, Power User | Leave a Comment »

To help understanding combinations of boolean operators: Truth table – Wikipedia

Posted by jpluimers on 2018/10/04

Most software developers know they exist, but some (including me) find them hard to visualise, especially for combinations of operators, or for less common operators: the Truth table – Wikipedia.

The common operators that everyone seems to understand are these:

  • logical true
  • logical false
  • logical negation
  • logical and
  • logical or
  • logical xor

It becomes harder with a series of combinations, for instance series of and (not ...) and (not ...) and (not ...) – not to be confused with nand, similarly or (not ...) or (not ...) or (not ...) – not to be confused with nor, which both can be transformed according to the De Morgan’s laws – Wikipedia:

In set theory and Boolean algebra, these are written formally as

{\displaystyle {\begin{aligned}{\overline {A\cup B}}&={\overline {A}}\cap {\overline {B}},\\{\overline {A\cap B}}&={\overline {A}}\cup {\overline {B}},\end{aligned}}}

Using truth tables

Read the rest of this entry »

Posted in Algorithms, Conference Topics, Conferences, Development, Event, Software Development | 2 Comments »

What’s the point of having abstract classes in Delphi? 

Posted by jpluimers on 2018/10/04

There was an interesting thread a while ago: [WayBack] What’s the point of having abstract classes in Delphi? – Agustin Ortu – Google+

The answer is none (the documentation warns you against it – see Constructing instance of abstract class –  the compiler doesn’t), so Stefan Glienke submitted this bug: RSP-10235: No warning for .Create on class declared as TClass = class abstract

This post is a reminder to myself to see if any progress has been made by the compiler engineers.

–jeroen

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