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

Archive for July, 2020

Why Rubber Ducking is good

Posted by jpluimers on 2020/07/28

I like it when people find out that Rubber Ducking is a good thing.

Read the story at [WayBack] … I’ve read about ‘rubber ducking’ and thought of it as a good thing, but I never really use/did it. Also I knew that SO showed me the value of MCVE,… – Mike Torrettinni – Google+

–jeroen

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

Duh moment: when 69.162.119.78 is querying your DNS infrastructure and it appears to be uptimerobot

Posted by jpluimers on 2020/07/28

From the hindsight department [WayBack] Nice when someone in Dallas using 69.162.119.78 is querying your DNS infrastructure for many permutations of domains… https://gist.github.com/jpluimer… – Jeroen Wiert Pluimers – Google+.

Wolfgang Rupprecht gave me some hints on the cause, as the IP address 69.162.119.78 Google Search used to be of a gaming server: [WayBack] TwotailsTikat’s Profile – Member List – Minecraft Forum

After a good night sleep,

# nslookup 69.162.119.78
78.119.162.69.in-addr.arpa name = mail.uptimerobot.com

In retrospect: perfectly normal behaviour for monitoring machine “snip”.

Log by https://github.com/gamelinux/passivedns

–jeroen

Read the rest of this entry »

Posted in *nix, DNS, Internet, Monitoring, Power User, Uptimerobot | Leave a Comment »

Somfo Keygo RTS – Afstandsbediening 4 kanalen RTS

Posted by jpluimers on 2020/07/27

[WayBack] Keygo RTS – Afstandsbediening 4 kanalen RTS “De duurzame, stevige en spatwater bestendige afstandsbediening voor 4 kanalen”

Handleiding (ook voor integratie in bestaand RTS systeem): [WayBack] https://www.nijszonwering.nl/sites/default/files/downloads/Installatiehandleiding%20Somfy%20handzender%20KeyGo%20RTS.pdf

Bijbehorende video:

Read the rest of this entry »

Posted in LifeHacker, Power User | Leave a Comment »

Chromium/Chrome on opensuse Tumbleweed ARM notes

Posted by jpluimers on 2020/07/27

Somehow Firefox is available on ARM by default, but the crash recovery isn’t that awesome.

On my list of things to try is Chrome or Chromium. These links should help me find out if this is possible at all:

On Firefox crash recovery:

–jeroen

Posted in *nix, Chrome, Google, Linux, openSuSE, Power User, SuSE Linux, Tumbleweed | Leave a Comment »

How to Make File Explorer Open This PC By Default In Windows 10

Posted by jpluimers on 2020/07/27

When I first bumped into this around 2017, I found via [WayBack] How to Make File Explorer Open This PC By Default In Windows 10 that it was just a new “Folder Options” choice that by default pointed to “Quick Access” (Dutch “Snelle Toegang”) instead of prior Windows versions opening at “This PC” (Dutch “Deze PC”).

Only recently, I found out that Scott Hanselman already tweeted about this in August 2015:

[WayBack] Scott Hanselman on Twitter: “Windows 10 Tip: You can control where Windows Explorer opens (This PC vs Quick Access). Click View | Options http://t.co/mNi6K6tVIP”

–jeroen

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

Life is a state of mind.

Posted by jpluimers on 2020/07/26

https://twitter.com/_je_suis_John/status/1287261372959596544

Remembering Peter Sellers who passed away 40 years ago today ~ Being There (1979)

Posted in Uncategorized | Leave a Comment »

Verifying large sets of file hashes with md5sum

Posted by jpluimers on 2020/07/24

A few tips:

  1. Recursively getting all md5 sums from a source directory:

    cd /sourceDirectory
    find -type f \( -not -name "md5sum.txt" \) -exec md5sum '{}' \; > md5sum.txt

    .

  2. Checking the sums against a target directory

    cd /targetDirectory
    md5sum -c /sourceDirectory/md5sum.txt

    .

On some systems (this was an ESXi system which can’t run stuff from the console in parallel), you could optimise this using xargs for the generation and GNU parallel for the generation and checking. Both should be very similar:

GNU parallel is written to have the same options as xargs. If you write loops in shell, you will find GNU parallel may be able to replace most of the loops and make them run faster by running several jobs in parallel.

Via:

–jeroen

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

Science Fiction Writer Robert J. Sawyer: WordStar: A Writer’s Word Processor

Posted by jpluimers on 2020/07/24

20+ years old and still relevant: [WayBack] Science Fiction Writer Robert J. Sawyer: WordStar: A Writer’s Word Processor.

Besides doing a very quick and thorough introduction in the what and how of the WordStar keyboard shortcuts, he also explains a lot about the why.

Recommended reading, especially because of a user-experience perspective.

Markdown, Atom and Visual Studio code are not that different from WordStar.

Via:

–jeroen

Read the rest of this entry »

Posted in Development, History, Power User, Software Development | 2 Comments »

SharpLab

Posted by jpluimers on 2020/07/24

This is amazing stuff: it runs your C# code through a specific version (git branch) of the C# compiler!

C#/VB/F# compiler playground. Not a Shark lab.

Source: SharpLab

Example: https://sharplab.io/#v2:EYLgtghgzgLgpgJwD4AEAMACFBGA3AWACh0tsA6AGQEsA7ARzIFEAPABwTiiioHsaoCxAMxYATBgDCAHgAqAZR4BXBAGM4AGgwyAIpxgA+DAHcAFojhbdsDCAw04RgBQBKDAG8iGL1hEt2nbj4pFABWWQVlNU0dPX1DADEeHhdPbzSAXkMwHgATOAAbDEy7B0s9F0E0lF82Di5eGmCw+SVVDTLYOIwAIQgEFMI0jKzcgqLDeyMOmHcAX0FZoA===

Via:

–jeroen

Posted in .NET, C#, Development, Software Development | Leave a Comment »

Syncing GExperts svn to git

Posted by jpluimers on 2020/07/23

A while ago, I made a synced git repository and put it on [WayBack] GitHub – jpluimers/GExperts: Synced every now and then from git svn clone https://svn.code.sf.net/p/gexperts/code/trunk GExperts.

I forgot to save my initial notes, but they were based on what I did before with [WayBack] jeroenp / fastmm — Bitbucket**, so I resurrected my notes, after a chat with Graeme Geldenhuys on how he did a similar thing for Indy at

[WayBack] GitHub – graemeg/indy: Indy (Internet Direct) framework. This is an unofficial mirror repository which gets synced every 15 minutes. It contains the full history from the official Indy 10 SVN repository.

So here are my notes, as on GitHub they look odd:

[WayBack] GitHub – jpluimers/GExperts

Synced every now and then from git svn clone https://svn.code.sf.net/p/gexperts/code/trunk;

Syncing steps:

first time

git svn clone https://svn.code.sf.net/p/gexperts/code/trunk GExperts.git-svn
git remote add origin https://github.com/jpluimers/GExperts.git
git push origin master

each additional time from inside the GExperts.git-svn directory:

git svn fetch
git svn rebase
git push origin

It is very similar to what Graeme does for Indy in a cron job for each subsequent sync from https://svn.atozed.com:444/!/#Indy10/view/head/trunk/Lib to https://github.com/graemeg/indy:

#!/bin/sh
# Fetches latest revisions for Indy SubVersion repository
# and then pushes changes to GitHub.
# Created by Graeme Geldenhuys 

GIT="/usr/bin/git"

cd /data/git/indy.git/
$GIT checkout master
$GIT svn rebase
$GIT gc --auto
$GIT push github

And to my FastMM notes:

Getting the latest SVN changes:

git svn rebase

Initial repository creation and add to bitbucket (or github)

git svn clone http://svn.code.sf.net/p/fastmm/code/ FastMM.git

Notes (see [WayBack] Effectively Using Git With Subversion | Viget and [WayBack] Practical tips for using Git with large Subversion repositories for explanation):

  1. Do not include the -s option after git svn clone, as this SVN repository does not have the default trunk/branches/tags structure.
  2. There are no [WayBackSVN ignore entries in this repository, so this is not needed for git svn show-ignore > .gitignore

Add the repository to Bitbucket or GitHub:

Add either of these URLs to  [WayBack] Feedly for monitoring:

Some additional tidbits:

–jeroen

Posted in Development, DVCS - Distributed Version Control, git, Software Development, Source Code Management, Subversion/SVN | Leave a Comment »