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 August, 2022

Eff-Uno Racer v1 by chrisbensen – Thingiverse: Open Wheel Race Car from LEGO© and 3D printed bricks, with RC motors controlled by a Raspberry Pi and Arduino

Posted by jpluimers on 2022/08/17

This is so cool!

[Wayback/Archive.is] Eff-Uno Racer v1 by chrisbensen – Thingiverse

Welcome to the home for the things to print for the Eff-Uno Racer project ([Wayback/Archive.is] github.com/oracle-devrel/eff-uno-racer). Eff-Uno Racer is a LEGO© Open Wheel Race Car that you can build and remotely control. Most of it is made with LEGO© bricks but the motors are regular RC motors controlled by a Raspberry Pi and Arduino. Below are the extra parts needed.

The videos are via these three tweets:

List is at: [Wayback/Archive.is] Cool DevRebel Projects – YouTube

Videos when writing (by now there should be more):

  1. [Wayback/Archive.is] Cloud Car Episode 1 — Custom Breadboard for Pi Zero – YouTube
  2. [Wayback/Archive.is] Cloud Car Episode 2 — Pi Controlled Motors – YouTube
  3. [Wayback/Archive.is] Cloud Car Episode 3 — Shoving a Pi & RC Motor into a Toy Car – YouTube
  4. [Wayback/Archive.is] Episode 4: Shoving a Motor and Speed Controller into a Toy Car – YouTube
  5. [Wayback/Archive.is] Episode 5 — Next Stage: 3D Printed RC Servo Motor Adapters – YouTube

Via [Archive.is] Chris Bensen on Twitter: “If you want to build your own open source cloud connected toy race car follow this thing”

–jeroen

Read the rest of this entry »

Posted in 3D printing, Arduino, Development, Hardware Development, LifeHacker, Power User, Raspberry Pi | Leave a Comment »

Don’t fall for the golden hammer: avoid git empty commits, especially for kicking off parts of your CI/CD

Posted by jpluimers on 2022/08/16

A while back Kristian Köhntopp (isotopp) wrote a blog post after quite a Twitter argument where he poses against using git empty commits. I’m with Kris: don’t use them for anything, especially not for kicking off your CI/CD.

Basically his blog post is all about avoiding to think you have a golden hammer, and avoid falling for the Law of the instrument – Wikipedia.

Originally, Abraham Maslow said in 1966:

“I suppose it is tempting, if the only tool you have is a hammer, to treat everything as if it were a nail.”

For me this has all to do with preventing technical debt: find the right tool to kick your CI/CD pipeline after part of that chain somehow malfunctioned is way better than polluting the commit history with empty commits.

His blog post: [Wayback/Archive.is] Empty commits and other wrong tools for the job | Die wunderbare Welt von Isotopp

The most important bit in it:

And since we are talking about CI/CD pipelines: Don’t YAML them. Don’t JSON them. Don’t XML them.

Programming in any of these three is wrong use of tooling, and you should not do it.

  • YAML, JSON and XML are for declarative things.
  • Python, Go and Rust are for procedural things.
  • Bash is for interactive use only.

Use the proper tooling for the job. Be an engineer.

This very much reminds me of an Entwickler Konferenz keynote a long time ago, where Neal Ford made the point that most software engineers act very much unlike what is expected from traditional engineering way of operating where the engineer is both responsible and liable for his actions.

The start of the Twitter thread: [Archive.is] Kristian Köhntopp on Twitter: “A lot of people right now that git is an API and triggering CI/CD pipelines with empty commits replaces the equivalent of a Kubernetes controller for their fragile pile of bash in git triggers. This is broken and begets more brokenness. Evidence:… “

The tweet that started the subtweet: [Archive.is] Florian Haas on Twitter: “(For anyone wondering, what’s nice about this one is it works in any CI. So you don’t have to remember how to manually kick off a GitLab CI pipeline or GitHub Action or Zuul job, you just push an empty commit and off you go.)”

Other relevant tweets:

Yes, you want to avoid shell too (anything like for instance sh, ash, dash, bash or zsh), but you have to know it (and understand why to avoid it) as often it is the only interactive way to access systems from the console.

And of course Kris also wrote a big document on that too, which is available as full PDF (Wayback), full HTML (Wayback) and chaptered HTML Die UNIX Shell /bin/sh.

But more importantly, Kris wrote [Wayback/Archive.is] Using Python to bash | Die wunderbare Welt von Isotopp which is about using Python to do things you might be tempted to do in the shell. It quotes

Shell is a thing you want to understand and then not use, because you learned to understand it.

which is from the German post in thread [Wayback/Archive.is] Bashprogrammierung, wo gehts am besten los which quotes Kris’ 1998 message:

From kris Tue Sep 1 11:26:12 1998
From: kris
Newsgroups: de.comp.os.unix.misc
Subject: Re: Shell-Frage, find, xargs, kopieren von vielen Dateien
References: <6seh24$q9a$2...@nz12.rz.uni-karlsruhe.de>
From: kr...@koehntopp.de (Kristian Koehntopp)
Alignment: chaotic/neutral
X-Copyright: (C) Copyright 1987-1998 Kristian Koehntopp -- All rights
reserved.
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Marc.Hab...@gmx.de (Marc Haber) writes:
>mir ist das ganze Zeug mit der Shell, find, xargs und Konsorten noch
>reichlich verschlüsselt.

http://www.koehntopp.de/kris/artikel/unix/shellprogrammierung/

>xargs hin oder sollte ich besser ein Perlskript schreiben?

Verwende Perl. Shell will man koennen, dann aber nicht verwenden.

Kristian

–jeroen

Posted in *nix, *nix-tools, ash/dash, ash/dash development, bash, bash, Conference Topics, Conferences, Continuous Integration, Development, DVCS - Distributed Version Control, Event, git, Power User, Scripting, sh, Sh Shell, Software Development, Source Code Management, Technical Debt | Leave a Comment »

Legacy Windows: Why are console windows limited to Lucida Console and raster fonts? – The Old New Thing

Posted by jpluimers on 2022/08/15

I think this holds to or maybe even including Windows Vista: [Wayback] Why are console windows limited to Lucida Console and raster fonts? – The Old New Thing

The workaround is in KB247815.

Luckily, many old KB articles are still in the BetaArchive (see the blog post Source: Missing a KB article? Try the Microsoft KB Archive – BetaArchive Wiki last month), including [Wayback/Archive.is] Microsoft KB Archive/247815 – BetaArchive Wiki

Windows NT 4 / Windows 2000: Necessary criteria for fonts to be available in a command window

An unsupported work around is available by adding the following font specific entry:

Add a String Value
Name=00
Data=Font Name” (without “”)

Into the following registry:

HKLM\Software\Microsoft\WindowsNT\CurrentVersion\Console\TrueTypeFont

The name needs to be incrimented with “0” for each additional font. The Data entry needs to match the font’s entry in the following registry location:

HKLM\Software\Microsoft\WindowsNT\CurrentVersion\Fonts

Via: [Wayback/Archive.is] Hack does not show up in the font list for Windows command-prompt · Issue #147 · source-foundry/Hack

–jeroen

Posted in Font, Lucida Console, Power User, Programmers Font, Windows | Leave a Comment »

FRITZ!Box 7490/7390 comparisions (via: Vergleich AVM FRITZ!Box 7490 und FRITZ!Box 7390 – YouTube)

Posted by jpluimers on 2022/08/12

Not sure why WordPress.com failed to post this on 20140525, so I put it in the scheduler again. In the end I got a Fritz!Box 7490 and though the 

In 2013, [Wayback] Fritz!Box replaced the 7390 top model with the 7490 and I [Wayback] might get get soon when ADSL (which still has a Fritz!Box 7240 attached) is upgraded to fiber.

So here are some differences partially from the English FRITZ!Box and German FRITZ!Box Wikipedia page between the [Wayback] Fritz!Box 7390 and [Wayback] Fritz!Box 7490, partially from the below video:

About cooling: according to the video both run the same temperature, either because the air cooling of the 7490 is better. I’m wondering if that is the same when running inside a closet.

[Wayback/Archive.is] HardwareInfo.nl has a Fritz!Box 7490 review that indicates 802.11ac and USB3 might not be as fast as you’d hope.

Reading the [Wayback/Archive.is] Amazon.de 7490 reviews, I might just ask xs4all to get me a 7390, not a 7490.

–jeroen

via: Vergleich AVM FRITZ!Box 7490 und FRITZ!Box 7390 – YouTube.

PS: I need to research [WaybackUSB over LAN in more detail, especially the [Waybackopen source project USB IP.

Posted in Fritz!, Fritz!Box, Hardware, Network-and-equipment, Power User | Leave a Comment »

In some countries @archiveis redirect their domains using http-302 which can have trouble with multi-WAN

Posted by jpluimers on 2022/08/12

From [Wayback Archive.is blog — Why has the URL “archive-li” changed to…:

Why has the URL “archive-li” changed to “archive-ph”, and will this affect saved bookmarks at any time in the future?

Anonymous

This is temporary and only for some countries. All 7 domains work, so you do not need to change the bookmarks.

In The Netherlands all Archive Today domains redirect to archive.ph using a HTTP 302 redirect.

This caused trouble at my home location, but not at my brother, so I searched for local issues.

In the end, it was because I have dual WAN as network load balancing at home.

TL;DR

Modifying the routing table so traffic for 54.37.18.234 goes to WAN1 was my solution.

Finding the destination address

Read the rest of this entry »

Posted in .NET, Development, Hardware, Network-and-equipment, Power User, PowerShell, routers, Scripting, Software Development | Leave a Comment »

Some links on FM antennas to be used with 75 Ohm inputs

Posted by jpluimers on 2022/08/11

As l likely need these:

Read the rest of this entry »

Posted in Development, Hardware Development, LifeHacker, Power User | Leave a Comment »

T-Shirt song: “🎶 Never gonna <div> you up … 🎶” / Twitter

Posted by jpluimers on 2022/08/10

I want this on a T-Shirt:

[Archive.is] Tatiana Mac on Twitter: “🎶 Never gonna <div> you, up Never gonna ‘let’ you down, Never gonna pun around and dessert you [sic], Never gonna make you DRY, Never gonna say goodbye, Never gonna tell a <li> and hurt you 🎶” / Twitter.

–jeroen

Read the rest of this entry »

Posted in Development, Fun, HTML, Quotes, Software Development, T-Shirt quotes, Web Development | Leave a Comment »

Signal app

Posted by jpluimers on 2022/08/09

I totally forgot I had not mentioned Signal on my blog, so here it goes:

–jeroen

Posted in Power User, Security | Leave a Comment »

Fritzbox 7490 ISDN landline and intenral ISDN S0 bus links

Posted by jpluimers on 2022/08/08

Somehow WordPress.com failed to post it on the scheduled date 20150331, not sure why.

Though ISDN has been phased out in The Netherlands as and almost phased out in Germany, you can still use end user Terminal Equipment on the internal S-bus.

Since scheduling the post for 2015, the same information as the original diagram below appeared in text form on Wikipedia and there it also adds TAE connector information: Fritz!Box: Belegung der kombinierten DSL-Telefon-Buchse – Wikipedia

Die Anschlussbelegung der Kombibuchse ist wie folgt:[44]

  • Pin 1: ISDN 1a
  • Pin 2: ISDN 1b
  • Pin 3: analog La
  • Pin 4: DSL
  • Pin 5: DSL
  • Pin 6: analog Lb
  • Pin 7: ISDN 2a
  • Pin 8: ISDN 2b

Der RJ-45-Stecker am grauen DSL-Zweig des Y-Kombikabels zeigt folgende Belegung:[44]

  • Pin 4: DSL
  • Pin 5: DSL

Die übrigen Pins sind unbenutzt.

Am schwarzen Telefonzweig ist der RJ-45-Stecker folgendermaßen belegt:

  • Pin 1: analog La
  • Pin 2: frei
  • Pin 3: ISDN 2a
  • Pin 4: ISDN 1a
  • Pin 5: ISDN 1b
  • Pin 6: ISDN 2b
  • Pin 7: frei
  • Pin 8: analog Lb

Somit ist ein direkter Anschluss an ISDN möglich, für analoge Anschlüsse liegt für Deutschland ein Adapter auf TAE bei:

  • Pin 1 RJ-Buchse auf Pin 1 TAE
  • Pin 8 RJ-Buchse auf Pin 2 TAE

Ein normales Kabel mit TAE-Stecker und sechspoligem RJ-Stecker, wie es für den Anschluss analoger Telefone an eine TAE-Dose verwendet wird, funktioniert nicht.

Bei entbündelten Anschlüssen (ohne analoges oder ISDN-Telefon) kann ein direktes Kabel verwendet werden.

Das Kabel für deutsche Anschlüsse:

  • Pin 4 RJ-Stecker auf Pin 1 TAE
  • Pin 5 RJ-Stecker auf Pin 2 TAE

Original article

Some links:

–jeroen

FritzBox-7490-Y-Cable-DSL-ISDN-Fritz.33

Posted in DECT, Fritz!, Fritz!Box, Hardware, ISDN, Network-and-equipment, Power User, PSTN, Telephony | Leave a Comment »

Fritz!box 7590 interface extremely slow : fritzbox

Posted by jpluimers on 2022/08/05

I tried the solution in [Wayback/Archive.is] Fritz!box 7590 interface extremely slow : fritzbox (remove the some 30-40 unused machines from the network overview), but it didn’t matter: since Fritz!OS 7.x, the Fritz!Box 7490 UI is just very very slow: each page takes 10+ seconds to load.

Hopefully I can get rid of these and move to pfSense based hardware eventually.

–jeroen

Posted in Fritz!, Fritz!Box, Hardware, Network-and-equipment, pfSense, Power User, routers | Leave a Comment »