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

Archive for 2020

My other computer is a data center Stickers and T-shirts — DevStickers

Posted by jpluimers on 2020/03/30

Want : [WayBackMy other computer is a data center Stickers and T-shirts — DevStickers

Via: [WayBack] Ich trage schon seit dem Studium schon keine Uhr mehr, weil ich meine Existenz vor NTP-fähigen Geräten zubringe, von denen die meisten nebenbei bemerkt … – Kristian Köhntopp – Google+

Related: [WayBack] Urs Hölzle – Google+ My other computer is a data center

–jeroen

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

7 Practical Tips for Cheating at Design – Refactoring UI – Medium

Posted by jpluimers on 2020/03/30

Improving your designs with tactics instead of talent: weight and colour. But be careful with the variation in meanings of colours for different cultures and mind about colour-blind people. Also ensure information workers can optimise your UI for information density.

Source: [WayBack7 Practical Tips for Cheating at Design – Refactoring UI – Medium

Via: [WayBack] 7 Practical Tips for Cheating at Design #webdev – ThisIsWhyICode – Google+

–jeroen

Posted in Usability, User Experience (ux) | Leave a Comment »

No forwarding phone number – Google Product Forums

Posted by jpluimers on 2020/03/30

It seems Google Voice has gotten more restrictions over time that I was not aware of: [Archive.isNo forwarding phone number – Google Product Forums:

Bluescat said:
There is no bug involved here. And no, you haven’t stumbled on a way to game the system.

Two things have changed.

  1. With the introduction of Google Hangouts’ ability to place and receive calls via a Google Voice telephone number, the requirement to maintain a 10-digit forwarding phone number was removed. So yes, you can remove all forwarding phone numbers from your account if you wish. However, keep in mind that you have now made it more difficult to access your account from a telephone, to manage your voicemail greetings, listen to messages, set Do Not Disturb mode, etc. Without a forwarding phone number, you have no way to do that over the phone.
  2. In response to fraud and abuse of the service, Google now requires that users have a valid, working (paid-service) telephone number, which hasn’t been previously used to claim another Google Voice number, to be eligible to be issued a new Google Voice number. This is designed to deter people from collecting multiple Google Voice phone numbers to use for spam, robocalling, stalking, etc. Once that number has been used to claim a Google Voice number, it can’t be used to claim another Google Voice number. However, there’s no requirement that it be left on the account. Removing the forwarding phone from one Google Voice account will not enable that forwarding number to be used to claim a Google Voice number for another account.
    So, all you did was use up your husband’s entitlement to a Google Voice number.

Finally, a disclaimer: Google Voice cannot be used for emergency 911 calling. Not having some alternative telephone service available for that purpose is a very bad idea.

–jeroen

Posted in Google, GoogleVoice, Power User | Leave a Comment »

ODCB settings in the Windows registry on 32 and 64 bit windows

Posted by jpluimers on 2020/03/27

  • While 32-bit applications can run on 64-bit machines, they cannot use 64-bit ODBC drivers. A 64-bit application must use a 64-bit ODBC driver, and a 32-bit application must use a 32-bit ODBC driver.
  • ODBC.INI registry paths for the various permutations:
    • User DSNs for for 64-bit and 32-bit applications
      • HKEY_CURRENT_USER\Software\ODBC\ODBC.INI
    • System DSNs for 64-bit applications on 64-bit Windows and 32-bit applications on 32-bit Windows
      • HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI 
    • System DSNs for 32-bit applications on 64-bit Windows
      • HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\ODBC\ODBC.INI

Via: [WayBack] Windows registry on 32 and 64 bit windows, which also explains ODBCINST.INI to define drivers.

–jeroen

Posted in Database Development, Development, ODBC, Power User, Windows | Leave a Comment »

Workaround for “Nmap 7.8 Assertion failed: htn.toclock_running == true” · Issue #1764 · nmap/nmap · GitHub

Posted by jpluimers on 2020/03/27

I got this on Windows 10, 8.1 and 7, MacOS and Linux:

C:\bin>nmap -sn 192.168.71.0/24
Starting Nmap 7.80 ( https://nmap.org ) at 2020-03-24 13:44 W. Europe Standard Time
Assertion failed: htn.toclock_running == true, file ..\Target.cc, line 503

Luckily [WayBack] Nmap 7.8 Assertion failed: htn.toclock_running == true · Issue #1764 · nmap/nmap · GitHub has a solution: add the --max-parallelism 100 parameter:

C:\bin>nmap -sn --max-parallelism 100 192.168.71.0/24
Starting Nmap 7.80 ( https://nmap.org ) at 2020-03-24 13:48 W. Europe Standard Time
Nmap scan report for 192.168.71.1
...
Host is up.
Nmap done: 256 IP addresses (50 hosts up) scanned in 54.07 seconds

The other workaround is to have at least one ARP request succeed.

Via [WayBack] “Assertion failed: htn.toclock_running == true, file ..\Target.cc, line 503” – Google Search

–jeroen

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

Wanneer je TomTom XXL niet reageert op “Ga door”

Posted by jpluimers on 2020/03/27

Af en toe (met name als de batterij bijna leeg geweest is) heeft mijn TomTom XXL een probleem dat deze niet meer reageert op de “Ga door” knop in het scherm met de gegevens van de eigenaar.

Dit lost het op en meestal ben ik dan niet eens de tijdzone kwijt:

Probeer het navigatie systeem te resetten (30 sec. de “aan/uit” knop induwen). Het enige aan gegevens die u kwijt bent, is de tijdszone instelling en de klok.

Source: [WayBackMeest voorkomende problemen TomTom – TomTom Update

De TomTom XXL gebruik ik nog steeds af en toe: ooit gekocht in de USA had het “World Life-time Map-upgrades”. Dat bleek alleen voor de eerste kaart te zijn die ik had gedownload (USA dus) maar de updates komen nog steeds uit.

–jeroen

Posted in LifeHacker, Power User | Leave a Comment »

MacOS: starting Visual Studio Code from the finder

Posted by jpluimers on 2020/03/26

On MacOS, a long standing wish from many developers has been to open a folder with Visual Studio Code: [WayBack] Mac OS X :: “Open Folder With” VS Code · Issue #1223 · Microsoft/vscode · GitHub.

There are many reasons for wanting this, and other tools can do this too (like Terminal, TextWrangler, Source Tree, Beyond Compare), so I was a bit surprised Visual Studio Code does not have it by default.

After initially being closed, the issue has been open for a while, so I started digging a bit for solutions that are easy to configure or install.

The last one is currently on the top of my list, so I copied and installation instructions, and added a few screenshots to explain the already included video below.

Read the rest of this entry »

Posted in .NET, Development, Software Development, Visual Studio and tools, vscode Visual Studio Code | Leave a Comment »

Determine actual message size limit when you only get “552 5.3.4 Message size exceeds fixed limit”

Posted by jpluimers on 2020/03/26

Often when you send large emails the only  reply you get is a non-descriptive message like 552 5.3.4 Message size exceeds fixed limit from the SMTP server without an indication what the limit actually is.

Most SMTP servers however implement extensions in the EHLO greeting that returns a SIZE mail parameter. You can query it by hand using this:

telnet aspmx.l.google.com smtp
Trying 108.177.119.27...
Connected to aspmx.l.google.com.
Escape character is '^]'.
220 mx.google.com ESMTP 32si3005669edb.510 - gsmtp
EHLO example.org
250-mx.google.com at your service, [80.100.143.119]
250-SIZE 157286400
250-8BITMIME
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-CHUNKING
250 SMTPUTF8
QUIT
221 2.0.0 closing connection 32si3005669edb.510 - gsmtp
Connection closed by foreign host.

There you can see the maximum message size at the time of writing is 157286400 bytes which is about 150 megabytes.

There is a nice Python script showing how to obtain it at [WayBack] Getting Information from EHLO | Erle Robotics Python Networking Gitbook Free (note this one does send an email, so you might want to trim the example if you just want to see the size).

More background reading:

Trimming down the Python script so it queries message size for each mail server of a domain

This turns out to be a tad more complex, because DNS functionality isn’t part of core Python, and the rdata part of DNS records ends with a dot, which might not be usable with the SMTP library.

References for me when trimming down:

–jeroen

Posted in Communications Development, Conference Topics, Conferences, Development, Event, Internet protocol suite, Power User, SMTP | Leave a Comment »

GitHub – alexmojaki/birdseye: Quick, convenient, expression-centric, graphical Python debugger using the AST

Posted by jpluimers on 2020/03/26

This is soooo nice! [WayBackGitHub – alexmojaki/birdseye: Quick, convenient, expression-centric, graphical Python debugger using the AST

It runs on localhost:7777

Via: [WayBack] Birdseye ist eine interessante Lösung, um detailliert nachzuvollziehen, was beim Aufruf von Python-Funktionen und der Abarbeitung von Schleifen geschieh… – Martin Vogel – Google+

–jeroen

Read the rest of this entry »

Posted in Development, Python, Scripting, Software Development | Leave a Comment »

In case I need JSONPath functionality in Delphi: grijjy/GrijjyFoundation@4ce069a · GitHub

Posted by jpluimers on 2020/03/25

From a while back, but just in case I ever need JSONPath (for JSON, or BSON Path): [WayBack] Added JSONPath functionality · grijjy/GrijjyFoundation@4ce069a · GitHub.

Via: [WayBack] Search for and extract data from your JSON documents using an XPath-like query language. Now part of our JSON and BSON library. – Erik van Bilsen – Google+

It has a small glitch on non-USA systems, so I filed an issue and provided grijjy’s Erik van Bilsen with a pull request:

–jeroen

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