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

Kmart 1974 Kmart in-store christmas (neeeee, holiday season) music

Posted by jpluimers on 2016/12/20

Wow: what a sound quality those reel to reel tapes had even at 3 3/4 inch per second!

Recorded using an Akai GX-4000D: excellent equipment which lasts forever.

The original has more background informatio. It’s at Kmart December 1974 Reel To Reel : Tape-A-Thon : Free Download & Streaming : Internet Archive

The youtube location has the full playlist. Enjoy! https://www.youtube.com/watch?v=cgnaWbPLAks

Posted in History | Leave a Comment »

shadow_cs / delphi-leakcheck — Bitbucket

Posted by jpluimers on 2016/12/20

On my research list, as it works on both Windows and Android:

shadow_cs / delphi-leakcheck — Bitbucket: Multi-platform leak checking library for Delphi

via:

I’ve created a multi-platform leak checking library with DUnit integration and per test memory leak details… – Honza Rameš – Google+

–jeroen

Posted in Delphi, Delphi 10 Seattle, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Delphi XE7, Delphi XE8, Development, DUnit, Software Development | Leave a Comment »

Dell Inspiron 17R/5737 with Windows 10 does not understand 802.11n

Posted by jpluimers on 2016/12/19

Learned the hard way that relatively recent equipment like a Dell Inspiron 17R/5737 with Windows 10 does not do 802.11n despite Dell claiming “Dell™ Wireless 1705 802.11b/g/n with Bluetooth v4.0”.

I discovered it while hooking it up to a Huawei E5577Cs which by default is configured for 5Ghz 802.11n and the Dell not seeing it at all despite up-to-date drivers.

Both an iPad and an LG Android phone would immediately see it.

Switching the Huawei to use 2.4Ghz WiFi immediately made the Dell see it.

Windows 10 installed an Intel® Wireless-N 7260 driver and I could not find any settings that make the 802.11n work.

–jeroen

 

Posted in Power User, WiFi, Windows, Windows 10 | Leave a Comment »

Ports – MemePix

Posted by jpluimers on 2016/12/19

Cool image of many ports found on Macs, PCs, peripherals, audio and video equipment, including:

Optical Audio “Toslink”, USB A 1.0/1.1/2.0, Firewire 4pin iLink, Firewire 400 1394a, Firewire 800/3200 1394b/c, Ethernet 8P8C/RJ-45, Modem/phone RT-11, Apple Desktop Bus – ADB, Mac Serial, PS/2 keyboard/mouse, USB A 3.0, DE-9F, DB-25  Serial/Com Port, DE-9 Serial RS-232, e-SATA, Centronics, Parallel 36pin, Centronics SCSI 50pin, AT Keyboard, 50 pin SCSI 2, Surround sound, stereo/headphones, line-in, Mic, Digital Audio RCA, AAUI, Composite Audio/Video, S-Video, Component Video, F-Connector RF/COAX, 25-pin Parallel Port/SCI 1/DB-25F, Mac Video/MIDI/gameport/AUI/DA-15, Mini DisplayPort, Mini-DVI, Mini-VGA, Apple Hi-Density Video HDI-45, Apple Display Connector – ADC, LFH60 (dual DVI-D), DMS59 (dual DVI-D), HDMI, Micro-DVI, DisplayPort, DVI Video, DE-15/HD-15/VGA/SVGA.

There are many many more (like micro HDMI, USB-C, various USB 3 forms), but these are the most common ones.

Source: [WayBackPorts – MemePix via See the different types of ports.

Read the rest of this entry »

Posted in Apple, Power User | Leave a Comment »

How to make an easy universal knife holder | DIY projects for everyone!

Posted by jpluimers on 2016/12/16

Cool: How to make an easy universal knife holder | DIY projects for everyone!

You only need the below materials and some tools:

  • 9mm thick Oak Wood
  • Bamboo Skewers
  • Wood Glue
  • Wood Oil

–jeroen

Posted in LifeHacker, Power User | Leave a Comment »

Shared Google Calendars not showing up on iPhone, iPad, and Mac? Here’s the fix! | iMore

Posted by jpluimers on 2016/12/16

If shared Google Calendars do not show on your iPad, iPod, iPhone or Mac, then go to https://www.google.com/calendar/syncselect (sometimes called https://www.google.com/calendar/iphoneselect) and set a tick mark in front of each calendar you want to appear there. Finally, refresh the calendar list on your iOS device and you are set.

–jeroen

Source: Shared Google Calendars not showing up on iPhone, iPad, and Mac? Here’s the fix! | iMore

Posted in Apple, GMail, Google, GoogleCalendar, iOS, iPad, iPhone, iPod, iPod touch, Power User | Leave a Comment »

Firebird [# CORE-3558] server reports that DB file is used by another application on secondary attachment attempt through a symlink

Posted by jpluimers on 2016/12/15

It took quite a while to find out what happened, but this is the underlying issue: [# CORE-3558] FB server reports that DB file is used by another application on secondary attachment attempt through a symlink – Firebird RDBMS Issue Tracker.

The error you get in Windows is this one: I/O error during “CreateFile (open)” “The process cannot access the file because it is being used by another process.”

When you look with Process Explorer or handle.exe (both from SysInternals) they will show exactly the same filename (the canonical name to which the SymLink points).

But when you look in the config files of the applications, the database connections point to different filenames. Either (or both) are a symlink themselves or have a directory in their path that is a symlink.

 

In my case it was the latter: one of the directories in the path had an mklink.exe created link to another directory that had a directory contained the final file. There is even an API function that gets the canonical file name: GetFinalPathNameByHandle function (Windows)

Firebird doesn’t use that API on Windows (probably because it’s only available as of Windows Vista and Windows Server 2008) but does use a similar POSIX function (so on Mac OS X and Linux you don’t get this error).

Note that the above error messages can also happen when you use an embedded connection to a database (i.e. a connection string without a network address). There it is normal you get an exclusive file lock.

–jeroen

via: ADO.NET – a problem with multiple connections to the database (Russian) with Google Translate

Posted in Database Development, Development, Firebird, Software Development | Leave a Comment »

.NET/C# some links on querying the ActiveDirectory

Posted by jpluimers on 2016/12/15

Without dsquery installable, I had to query an ActiveDirectory spanning two domains.

Here are some links that helped:

–jeroen

Posted in .NET, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, C#, C# 2.0, C# 3.0, C# 4.0, C# 5.0, C# 6 (Roslyn), Development, Software Development | Leave a Comment »

Delphi history – on the FINITEFLOAT compiler option that has no one-character shortcut

Posted by jpluimers on 2016/12/14

Back in the .NET days, Delphi had an FINITEFLOAT compile option that came without a single-character shortcut.

It was about the handling of infinite float and other special float values in cases like overflow and underflow (including +Inf, -Inf and  [Wayback] NaN).

At first – in the [Wayback] Delphi 8 (Octane) era of which few people want to be reminded off – it was the [Wayback] undocumented counterpart of the [Wayback] 8087 exception mask in x86 mode. Hallvard Vassbotn wrote an article about it and Chee Wee Chua documented it before it got documented in Delphi 2009 (that coincidentally dropped .NET support in the compiler – go figure):

Whereas the native Delphi compilers had exceptions turned on, Microsoft compilers (including .NET) had them turned off, hence the compiler option.

Like most new Delphi features in this century, FINITEFLOAT didn’t come without quirks. Often these are fleshed out in 2-3 product releases, but this one wasn’t:

The FINITEFLOAT compile option didn’t have a single-character shortcut. This made it impossible to use the {$IFOPT ...} construct as IFOPT only works for single-character compiler options.

Which means you get questions like [Wayback] Why doesn’t {$ifopt FINITEFLOAT ON} compile? – Stack Overflow (I actually got into writing this article because I found a {$DEFINE FINFINITEFLOAT_ENABLED} in some pretty old code) and compiler enhancement requests like [WayBackQualityCentral – Please enhance the IFOPT directive for long switch names. It’s easier to read (which will likely never bee fixed).

For completeness some more information about exception masks in the native compiler:

  1. In the past you could only set the exception mask as part of the full control word using [Wayback] Set8087CW, nowadays you can use [Wayback] SetExceptionMask.
  2. Next to a precision mask, there are five exception masks you can set, see for instance this table from the [Wayback] Simply FPU Chap.1 Control Word section:

PM (bit 5) or Precision Mask
UM (bit 4) or Underflow Mask
OM (bit 3) or Overflow Mask
ZM (bit 2) or Zero divide Mask
DM (bit 1) or Denormalized operand Mask
IM (bit 0) or Invalid operation Mask

–jeroen

Posted in 8087, Algorithms, Delphi, Delphi 2005, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 8, Development, Floating point handling, History, QC, Software Development | 1 Comment »

Some notes and links: when a filled ATOM table is not caused by your Delphi app

Posted by jpluimers on 2016/12/14

Some links; hopefully I can fill in more details later:

–jeroen

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