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 2017

Bug: Initialisation of Delphi Record containing a dynamic array with ‘Implicit’ class operator – Stack Overflow

Posted by jpluimers on 2017/06/28

Bug: Initialisation of Delphi Record containing a dynamic array with ‘Implicit’ class operator – Stack Overflow [WayBack]

Filed as [RSP-16084] Compiler produces wrong code: Initialisation of Delphi Record containing a dynamic array with ‘Implicit’ class operator – Embarcadero Technologies

Analysed in Source: Initialisation of Delphi Record containing a dynamic array with ‘Implicit’ class operator – Stack Overflow [WayBack]

Posted in Delphi, Delphi 10.1 Berlin (BigBen), Development, Software Development | 2 Comments »

Some more bash links

Posted by jpluimers on 2017/06/28

Gosh, bash can be a pain. So here are some more links that proved to be useful in the past:

–jeroen

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

The Cryptowars, twenty years ago – The Isoblog.

Posted by jpluimers on 2017/06/27

Interesting read with lots of references: [WayBackThe Cryptowars, twenty years ago – The Isoblog.

My TL;DR:

  • the current cryptowar is very similar to 20 years ago
  • back then it was won by the people
  • current outcome is unclear (but the rules of math cannot be changed)
  • Laws/Rules/Postulates:
    • John Gilmore
      • »The Net interprets censorship as damage and routes around it.«
    • Shoshana Zuboff
      • »Everything that can be automated will be automated.«
      • »Everything that can be informated will be informated.«
      • »Every digital application that can be used for surveillance and control will be used for surveillance and control.«
  • Kristian:
    • »20 years later, the Cryptowar is still a thing. It will never be over.«

–jeroen

via: [WayBack] So as a society, we are having the same conversation for 20 years now, and we won’t really make progress here because of Zuboff’s law.  – Kristian Köhntopp – Google+

Posted in Encryption, History, Opinions, Power User, Security | Leave a Comment »

For – Loop through a range of numbers | Windows CMD | SS64.com

Posted by jpluimers on 2017/06/27

Since I always forget:

for /l %1 in (1,2,200) do echo %1 >> text-%1.txt

This creates files with incremental filenames like this:

text-1.txt
text-3.txt
...
text-199.txt

–jeroen

via: For – Loop through a range of numbers | Windows CMD | SS64.com [WayBack]

Posted in Batch-Files, Development, Scripting, Software Development | 4 Comments »

The Bézier Game

Posted by jpluimers on 2017/06/27

It’s a while ago I saw this first, but recently I bumped into it again and found out I never posted a link, so here it goes:

A game to help you master the pen tool

Source: The Bézier Game

–jeroen

Posted in Development, EPS/PostScript, Font, Power User, Software Development | Leave a Comment »

Recent bitsaver entries on Z80 assembly, CPM and concurrent Pascal

Posted by jpluimers on 2017/06/26

–jeroen

Posted in Assembly Language, CP/M, Development, History, Software Development, Z80 | Leave a Comment »

middelink/mikrotik-fwban: Use your Mikrotik firewall to do fail2ban like blocking of unwanted IPs. Written in Go

Posted by jpluimers on 2017/06/26

Interesting: middelink/mikrotik-fwban: Use your Mikrotik firewall to do fail2ban like blocking of unwanted IPs. Written in Go.

It might beat these (that just count SSH connections, not failed connection attempts):

Another alternative is to parse one of the logs:

Of course you should have this installed by default as part of your hardening process:

–jeroen

Posted in Development, Internet, MikroTik, Power User, RouterOS, routers, Scripting, Software Development | Leave a Comment »

[WARNING] Intel Skylake/Kaby Lake processors: broken hyper-threading

Posted by jpluimers on 2017/06/26

[WayBack[WARNING] Intel Skylake/Kaby Lake processors: broken hyper-threading via [WayBack] Affects all oses. Updated can be applied by updating your UEFI/BIOS microcode update for CPU. Make sure you apply those fixes. – nixCraft – Google+:

This warning advisory is relevant for users of systems with the Intel
processors code-named "Skylake" and "Kaby Lake".  These are: the 6th and
7th generation Intel Core processors (desktop, embedded, mobile and
HEDT), their related server processors (such as Xeon v5 and Xeon v6), as
well as select Intel Pentium processor models.

My own actions for now are below.

Find out which machines use CPUs on these lists:

Use these Linux commands to find out the model and hyperthreading support:

grep -E 'model|stepping' /proc/cpuinfo | sort -u
grep -qE '^flags.*[[:space:]]ht[[:space:]]' /proc/cpuinfo && \
echo "Hyper‐threading is supported"

Use this Windows command to find out the model:

wmic cpu get caption

Use this command on Mac OS X:

sysctl -n machdep.cpu.brand_string

If it’s on the list and supports hyperthreading, then disable hyperthreading.

–jeroen

Posted in Power User | Leave a Comment »

The Most Common VPN Error Codes Explained

Posted by jpluimers on 2017/06/26

Source: The Most Common VPN Error Codes Explained

  1. VPN Error 800 “Unable to establish connection”
  2. VPN Error 619 “A connection to the remote computer could not be established”
  3. VPN Error 51 “Unable to communicate with the VPN subsystem”
  4. VPN Error 412 “The remote peer is no longer responding”
  5. VPN Error 721 “The remote computer did not respond”
  6. VPN Error 720 “No PPP control protocols configured”
  7. VPN Error 691 “Access denied because username and/or password is invalid on the domain”
  8. VPN Errors 812, 732 and 734 “The connection was prevented because of a policy configured on your RAS/VPN server”
  9. VPN Error 806 “A connection between your computer and the VPN server has been established but the VPN connection cannot be completed.”

–jeroen

via: Could be useful. – Joe C. Hecht – Google+

Posted in Power User, Windows, Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista, Windows XP | Leave a Comment »

How to turn on your lights the Philips way

Posted by jpluimers on 2017/06/23

This was too funny to let go unnoticed: [WayBack] How to turn on the light at home, Philips Version – Kristian Köhntopp – Google+.

It was shown during [Archive.isGoogle Cloud Next 2017 in Amsterdam and immediately reminded me of The Big Bang Theory – How to turn on a lamp below.

A few notable entries from the comments:

  • Wie viele Server braucht man bei Philips, um eine Glühbirne zu wechseln?
  • Apple macht das wohl ähnlich, hier dient ein AppleTV oder ein iPad als “Bridge zur Bridge”.
  • They’re at least honest — the icon of the cloud in the upper left prominently displays a “waiting” circle animation. I also notice the use of the word “looks” rather than “works” in the title, which is probably also accurate.

–jeroen

Read the rest of this entry »

Posted in Cloud, Fun, Infrastructure, IoT Internet of Things, Network-and-equipment, Power User | Leave a Comment »