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 July, 2019

Applesauce – Make exact images of copy-protected Apple II floppy disks | Hacker News

Posted by jpluimers on 2019/07/08

I might want to try and buy one of these: [WayBack] Applesauce – Make exact images of copy-protected Apple II floppy disks | Hacker News.

A truckload of information is at [WayBack] Applesauce – The ReActiveMicro Apple II Wiki

It is still being updated: [WayBack] applesauce – Apple II Floppy Drive Controller

Via [WayBack] This week, in 6502-related hardware, the Applesauce: a Disk II imaging kit for your Apple II disks. Thanks to the minimal nature of Woz’ disk interface,… – mos6502 – Google+

Related: [WayBack] Confessions of a Disk Cracker: The Secrets of 4am | Hacker News

Videos below the fold…

–jeroen

Read the rest of this entry »

Posted in //e, 6502, Apple, History, Power User | Leave a Comment »

Colored text output in PowerShell console using ANSI / VT100 codes – Stack Overflow

Posted by jpluimers on 2019/07/08

Cool: Windows 10 allows ANSI/VT100 terminal escape codes without extra tooling. [WayBack] Colored text output in PowerShell console using ANSI / VT100 codes – Stack Overflow.

It is off by default (can be modified through the registry), can be turned on by either using an API call, or by piping through PowerShell.

For older versions, read [WayBack] Windows console with ANSI colors handling – Super User, of which this is a small quote:

For Windows version below 10, the Windows command console doesn’t support output coloring by default. You could install either CmderConEmuANSICON or Mintty (used by default in GitBash and Cygwin) to add coloring support to your Windows command console.

Via [WayBack] Did you know that you can enable VT100 terminal emulation in PowerShell as well as the Cmd window? This will allow you to do adb shell to your Android … – Lars Fosdal – Google+

–jeroen

Posted in Color (software development), CommandLine, Development, Power User, PowerShell, PowerShell, Scripting, Software Development, Windows | Leave a Comment »

+Stefan Glienke​ at EKON21: I don’t count sheep, I count references.

Posted by jpluimers on 2019/07/08

+Stefan Glienke​ at EKON21:

I don’t count sheep, I count references.

Response from +Roald van Doorn​:

When you reach -1 you wake up from a nightmare.

Source: [WayBackJeroen Wiert Pluimers – G+

Posted in Conferences, EKON, Event, Fun, Quotes, T-Shirt quotes | Leave a Comment »

Adobe Acrobat Reader download locations: a quick note

Posted by jpluimers on 2019/07/05

You can the final download locations through files like https://platformdl.adobe.com/adm/smanifest/readerdc_en_1801120058.xml, which contains https://ardownload2.adobe.com/pub/adobe/reader/win/AcrobatDC/1801120058/AcroRdrDC1801120058_en_US.exe

Related: [WayBack] Unorthodoxer Weg um an einen Offline Installer für Adobe Flash zu kommen – Administrator

–jeroen

Posted in Adobe, Adobe Reader, Power User | Leave a Comment »

One of my better gadget purchases: The Fiio A1 portable headphone amp. I was…

Posted by jpluimers on 2019/07/05

In cast I need a headphone amp:[WayBack] FIIO A1 mini koptelefoonversterker

Via: [WayBack] One of my better gadget purchases: The Fiio A1 portable headphone amp. I was kinda underwhelmed by the quality and especially volume that my Pixel 2016… – Roderick Gadellaa – Google+

–jeroen

Posted in Gadget, Power User | Leave a Comment »

Yeller – The Worst Server Setup Mistake You Can Make

Posted by jpluimers on 2019/07/05

Always use UTC on your servers, as [WayBackYeller – The Worst Server Setup Mistake You Can Make: Setting the timezone to anything other than UTC.

Many many reasons. For me the number 1 is sanity.

–jeroen

Posted in Infrastructure, Power User | Leave a Comment »

A COM Object Collection (IEnumVARIANT) – Delphi Tips – CJC Delphi (Cool Delphi Tips)

Posted by jpluimers on 2019/07/04

Summary of [WayBack] A COM Object Collection (IEnumVARIANT) – Delphi Tips – CJC Delphi (Cool Delphi Tips)

Question: How to implements object collection that support Visual Basic’s For Each construct ?

Answer:
In order to implements an object collection your object has to return  IEnumVariant pointer from a special property named _NewEnum.

Via: [WayBack] What interface to I need to implement to allow ForEach in VBA on a COM object written in delphi? – Stack Overflow

–jeroen

Posted in COM/DCOM/COM+, Delphi, Development, Software Development, Windows Development | Leave a Comment »

Web Audio Modem

Posted by jpluimers on 2019/07/04

Geekpr0n: [WayBackWeb Audio Modem

What do you do when you cannot copy text between computers due to lack of internet connectivity? I built a modem using the Web Audio API, allowing data transfer via audio.

It is on github at martme/webaudio-modem: Encode and decode text using the Web Audio API to enable offline data transfer between devices.

There are three demo pages at [WayBackmartinmelhus.com – Web Audio Encoder too:

–jeroen

Via:

Read the rest of this entry »

Posted in Development, JavaScript/ECMAScript, Scripting, Software Development | Leave a Comment »

Delphi Galileo IDE (version 8 and up): Force files to be saved as UTF8 – The Oracle at Delphi

Posted by jpluimers on 2019/07/04

Though formatting mangled the registry key to add, the article is interesting: since 2003 (C# Builder 1), you can force the IDE to always save files as UTF8 which should alleviate a lot of encoding problems.

It beats me why this isn’t the default setting, but below is an example .reg file for Delphi 8 which should be easily transformed to more recent Delphi versions:


Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Borland\BDS\2.0\Editor]
"DefaultFileFilter"="Borland.FileFilter.UTF8ToUTF8"

So basically (if formatting is kept), you browse to this key (replace Borland with the company for your specific Delphi version, and replace 2.0 by your IDE version):

HKEY_CURRENT_USER\Software\Borland\BDS\16.0\Editor

Then you add a new string value named DefaultFileFilter with value Borland.FileFilter.UTF8ToUTF8

More background [WayBack] The Oracle at Delphi: More IDE secrets – UTF8 and the Editor

The unmangled registry key (and more tips) was from [WayBackBSC Polska: Hidden possibilities of Delphi 8.

Get the list of HKEY_CURRENT_USER paths for your Delphi version at Update to List-Delphi-Installed-Packages.ps1 shows HKCU/HKLM keys and doesn’t truncated fields any more.

–jeroen

Via: [WayBack] Is there any way (IDE expert?) to automatic set encoding of each PAS file in UTF-8 instead of ANSI? – Jacek Laskowski – Google+

Posted in Delphi, Development, Encoding, Software Development, UTF-8, UTF8 | 1 Comment »

[dcc32 Warning] “W1025 Unsupported language feature: ‘operator explicit'”

Posted by jpluimers on 2019/07/03

If the Delphi compiler throws a Source: "W1025 Unsupported language feature: 'operator explicit'" at you, then it is likely that you forgot this, as per Uwe Raabe:

In the project options set “C/C++ Output file generation” to “Generate DCUs only” to get rid of the warning.

Via: [WayBack] Delphi Community Edition Rant. Just installed Delphi CE from the 3rd attempt. Two times I tried to install all features – both times the installer fell… – Sergey Kasandrov – Google+

Note that the documentation still indicates that W1025 has been documented since at least Delphi 2007 ([WayBack] x1025: Unsupported language feature: ‘%s’) as a C++ header translation issue, and still is ([WayBack] X1025 Unsupported language feature: ‘%s’ (Delphi) – RAD Studio), despite other causes (like "W1025 Unsupported language feature: 'custom attribute'") fail if you have only installed the Delphi personality.

–jeroen

Posted in Delphi, Development, Software Development | 1 Comment »