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

Make your Pi Zero into an OTG USB stick: Pi Zero USB Stem – KIT-14526 – SparkFun Electronics

Posted by jpluimers on 2022/08/24

Cool: [Wayback/Archive.is] Pi Zero USB Stem – KIT-14526 – SparkFun Electronics

The Pi Zero USB Stem is a PCB kit that turns a Raspberry Pi Zero into a USB dongle. Once the Stem is installed, your Raspberry Pi can be plugged directly into a computer or USB hub without any additional cables or power supplies. The Raspberry Pi then acts as a USB device using its own Linux kernel gadget drivers to get started.

The Zero Stem is designed to be soldered directly to the USB SMD test pads on the bottom of the Raspberry Pi Zero, needing no wires or pogo pins at all, just solder and a soldering iron! Attaching the stem to your Pi also allows you to create a portable VNC server, or even cluster several Raspberry Pi Zeros with just a USB hub.

The Zero Stem is compatible with the Raspberry Pi Zero v1.3 and the Raspberry Pi Zero W v1.1, but unfortunately it is not compatible with the Raspberry Pi Zero v1.2 or any full-size Raspberry Pi due to their shapes and sizes.

Note: In order for your Pi Zero to function as a USB device with this Stem, you will need to configure it to act as one. You will be able to find these instructions in the Documentations tab under “How to OTG Fast“.

Related:

Video below the signature or at [Wayback/Archive.is] Product Showcase: Pi Zero USB Stem – YouTube.

Via [Archive.is] Chris Bensen on Twitter: “Oh this is cool!”.

Related: RPIZ USB OTG Raspberry Pi Zero – Hi-Speed OTG-adapter and RPIZ USB ADAPTER Raspberry Pi Zero – Adapter van contact naar USB

Pictures:

Read the rest of this entry »

Posted in Development, Hardware Development, Raspberry Pi, Soldering | Leave a Comment »

For my link archive: Facebook banned me for life because I created the tool Unfollow Everything.

Posted by jpluimers on 2022/08/23

For my link archive: [Wayback/Archive.is] Facebook banned me for life because I created the tool Unfollow Everything.

Via:

Related:

Read the rest of this entry »

Posted in Development, Facebook, Instagram, SocialMedia, Software Development, Web Development | Leave a Comment »

How To Fix “Google Photos Not Uploading” On Android & iPhone

Posted by jpluimers on 2022/08/22

For my link archive, as sometimes uploading does not proceed, and I want to figure out the cause: [Wayback/Archive.is] How To Fix “Google Photos Not Uploading” On Android & iPhone

Before you start: Check your Back up Status

  1. Diagnose your Internet Connection
  2. Ensure you’re using the right backup settings
  3. Enable Backup Device Folders
  4. Disable Battery Optimization for Google Photos
  5. Enable Background Data Usage
  6. Keep Google Photos updated
  7. Reset/Reinstall the Google Photos app

I had to revert to 7. as 5. was already set, and 4. was not available in the settings.

That solved my issues.

–jeroen

Posted in Android Devices, Google, Google Photos, OnePlus Six, Power User | Leave a Comment »

Mijn nummervermelding

Posted by jpluimers on 2022/08/19

[Wayback/Archive.is] Mijn nummervermelding

Via mijnnummervermelding.nl kunt u inzien of uw gegevens door uw telecomaanbieder worden verstrekt aan telefoongidsen en nummerinformatiediensten. U kunt ook uw voorkeuren wijzigen.

Via: [Wayback/Archive.is] S07E23 – Hoe je VoIP stuk maakt met pebkac en waarom telefonie nog zo gaar klinkt met Nick Bouwhuis – Met Nerds om Tafel

Regelateerd:

–jeroen

Read the rest of this entry »

Posted in LifeHacker, Power User | Leave a Comment »

STM32 Simulator Early Access by Wikwi Makes: sign up through this Google docs form

Posted by jpluimers on 2022/08/18

If you like working with STM32 and want to try out a new simulator for it (by [Wayback/Archive] Wokwi (@WokwiMakes)), then sign up at
[Wayback/Archive] https://docs.google.com/forms/d/e/1FAIpQLSfpuGcUI1YdsX6o5lBhit14GPBEh6L7MVTSSDEk_HJFvBgjUQ/viewform

Via [Wayback/Archive] Wokwi on Twitter: “Want to try out the new STM32 simulator? Sign-up for early access: link.wokwi.com/stm32-simulator 🤓” and [Wayback/Archive] tnt (@tnt).

–jeroen

Read the rest of this entry »

Posted in ARM, ARM Cortex-M, Assembly Language, Development, Go (golang), Hardware Development, Software Development, STM32 | Leave a Comment »

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 »