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

Author Archive

Need to rethink which Windows package managers to use

Posted by jpluimers on 2023/04/24

Triggered by last week’s post Need to take a look a Scoop (as a long time Chocolatey user), I need to re-think which Windows package managers to use and in what order.

Basically there are two challenges:

  • User level (scoop) versus system level (winget and chocolatey) installations
  • Availability of packages in each package manager

Since I hardly used winget, I need to get started at Windows Package Manager – Wikipedia.

A good example of unavailability is at [Wayback/Archive] Scott’s Ultimate Tools via Winget – DVLUP (which has the ID values for winget or chocolatey of [Wayback/Archive] Scott Hanselman’s 2021 Ultimate Developer and Power Users Tool List for Windows – Scott Hanselman’s Blog)

–jeroen

Posted in Chocolatey, Power User, Scoop, Windows, winget | Leave a Comment »

Towards a work setup on a hardened host and doing everything in VMs

Posted by jpluimers on 2023/04/21

SwiftOnSecurity posted this interesting tweet in 2021: [Archive] SwiftOnSecurity on Twitter: “Lenovo P1 Gen3 with 12core Xeon, 64GB RAM, two 1TB M.2 SSDs. Running Windows Server 2022 with the Hyper-V role. All hardening applied to host OS, almost nothing happens here except managing guest VMs. On the second SSD I then have Win10 VMs joined to the corporate domain.” / Twitter.

I wonder if a similar setup can be done using an Apple M1 based machine as host and running all work in virtual machines.

Swift had some issues getting cameras and microphones to work: [Archive] SwiftOnSecurity on Twitter: “The problem here is Teams. If I want to pass through my webcam and microphone that could get a bit dicey, despite HyperV Enhanced Session being essentially an RDP session. For now I’m using my phone for Teams microphone. Also I’m not sure how well thermal management will work….” / Twitter

This resulted in some answers and interesting links:

Some more interesting tweets in that thread:

–jeroen

Posted in Apple, M1 Mac, Mac, Power User, Windows | Leave a Comment »

2023: Data kampen – Elisabeth Ruiterkampen

Posted by jpluimers on 2023/04/20

Voor mijn geheugen, de paardrijkampen in 2023: [Wayback/Archive] Data kampen – Elisabeth Ruiterkampen

–jeroen

Posted in Uncategorized | Leave a Comment »

The CPU load average metric often is not a good one to alert on

Posted by jpluimers on 2023/04/20

Boy I wish threads with more than one person could be saved by the ThreadReaderApp.

Anyway:

[WayBack] Thread by @mipsytipsy: oh boy.. i was just idly musing over how the single most ubiquitous/useless metric is “CPU load average”, lol i wonder if you could use CPU…

oh boy.. i was just idly musing over how the single most ubiquitous/useless metric is “CPU load average”, lol

i wonder if you could use CPU load alerts to score how modern and powerful a team’s toolchain is, like a Waffle House Index for tooling. 🤔

 

…oh oh! but i was gonna say, this thread between @drk and @shelbyspees is a killer nanotutorial in how to ask better questions about your code — where to start, how to drill down and dig in, how to instrument, and how to approach such an open-ended exploratory jaunt. 👏🐝❤️

it’s a really good illustration of this thing we end up saying all the time, which is “don’t fear the future, it is simpler and clearer and *easier* here! the way you are doing it NOW is the hard way!” 😖

time for cpu load average to go the way of the PC LOAD LETTER …

0:00
/ 0:01

 

 

Read the rest of this entry »

Posted in *nix, Cloud, Development, DevOps, Infrastructure, Power User, Software Development, Systems Architecture | Leave a Comment »

Some resources on CORS proxies

Posted by jpluimers on 2023/04/19

Having my background before the web-development era, and having lived mostly in back-ends or client-server front-ends, I sometimes need to really dig into things in order to understand them better.

CORS is such a thing, so below are some links to get started. My main interest is CORS proxies as they will force me do go deep and really get what is going on below the surface.

Defunct CORS proxy sites:

Used searches:

–jeroen

Posted in Communications Development, Development, HTTP, Internet protocol suite, REST, Software Development, TCP, Web Development | Leave a Comment »

xxd examples of big/little/middle endianness (thanks @jilles_com!)

Posted by jpluimers on 2023/04/18

Cool one-liner program via [Archive] Jilles🏳️‍🌈 (@jilles_com) / Twitter:

for s in 0123456789ABCDEF 172.16.0.254 Passwd:admin;do echo -en "Big    Endian: $s\nMiddle Endian: ";echo -n $s|xxd -e -g 4 | xxd -r;echo -en "\nLittle Endian: ";echo -n $s|xxd -e -g 2 | xxd -r;echo -en "\nReversed     : ";echo -n $s|xxd -p -c1 | tac | xxd -p -r;echo -e "\n";done

Note that the hex are bytes, not nibbles, so the endianness is OK:

Image

Big Endian: 0123456789ABCDEF
Middle Endian: 32107654BA98FEDC
Little Endian: 1032547698BADCFE
Reversed : FEDCBA9876543210

Big Endian: 172.16.0.254
Middle Endian: .2710.61452.
Little Endian: 71.2610.2.45
Reversed : 452.0.61.271

Big Endian: Passwd:admin
Middle Endian: ssaPa:dwnimd
Little Endian: aPssdwa:mdni
Reversed : nimda:dwssaP

That nibble/byte thing confused me at first (as I associate hexadecimal output with hex dumps, where each hexadecimal character represents a nibble)) so here are some interesting messages from the thread that Jilles_com started:

Some related man pages:

–jeroen

Posted in *nix, *nix-tools, bash, Development, Power User, Scripting, Software Development, xxd | Leave a Comment »

Berlin Typography on Twitter: “The best of #TypeInBerlin: The tʒ and ſʒ ligatures, together at last.” / Güntʒelstraſʒe == Güntzelstraße

Posted by jpluimers on 2023/04/17

Learned a new thing a while ago: I knew about the ſʒ ligature (that nowadays usually is written as ß), but the tʒ ligature was new to me.

So: Güntʒelstraſʒe == Güntzelstraße.

References:

Source: [Archive.is] Berlin Typography on Twitter: “The best of #TypeInBerlin: The tʒ and ſʒ ligatures, together at last. …” / Twitter

Read the rest of this entry »

Posted in Development, Encoding, LifeHacker, Power User, Software Development, Unicode | Leave a Comment »

Low power timers for 6 hour on / 18 hours off in 24 hours time

Posted by jpluimers on 2023/04/14

Some notes, as in 2021, I started to see a lot of LED lights (often even LED string lights) being able to automatically do 6 hour on and 18 hour off in a 24 hour cycle to conserve battery usage and improve convenience.

Below are some links, as I might want to create such a circuit myself, maybe even with some solar charging. I’m especially interested to power these off 18650 Li-Ion batteries of which I wrote before (especially as you can easily salvage them from laptop or even e-bike battery packs).

Links via [Wayback/Archive] chip timer 6 hour per 24 hours – Google Search and [Wayback/Archive] microcontroller 6 hour on 18 off timer – Google Search:

–jeroen

Read the rest of this entry »

Posted in 18650, Batteries, Hardware, Li-Ion, LifeHacker, Power User | Leave a Comment »

Some links on configuring MikroTik equipment as multiple switches (or even routers) using RouterOS

Posted by jpluimers on 2023/04/13

MikroTik switches and routers are very flexible to configure, as everything is done through [Wayback/Archive] RouterOS settings.

This means that given enough ports, you can split a physical switch into logical switches. This can be very convenient when you run multiple networks without VLAN.

Earlier this week, I already wrote about Torching a specific port on a MikroTik switch or router running RouterOS which involved turning off hardware acceleration off for specific ports in order to have the flow through the underlying switch chip prohibiting torch and filter features.

For splitting noticing which ports are connected to which switch chip is also important: splitting works best if you can configure each logical switch to exclusively use network ports on one switch chip.

This post was to both research how to configure this, and if my MikroTik devices would allow for hardware acelleration.

Here are some links that should help me with configuring (via [Wayback/Archive] mikrotik split switch in two – Google Search):

–jeroen

Read the rest of this entry »

Posted in Development, Hardware, MikroTik, Network-and-equipment, Power User, RouterOS, routers, Scripting, Software Development | Leave a Comment »

Awareness: FLICC – Disinformation 101 / PLURV – Grundkurs Desinformation / PLOKS – Basiscursus Desinformatie (thanks Klimafakten/SkepticalScience)

Posted by jpluimers on 2023/04/12

Based on my series of tweets about the below disinformation posters (unrolled via [Archive] Jeroen Wiert Pluimers on Twitter: “@threadreaderapp unroll @UnrollThread”).

At first, I got the order wrong, but I was quickly corrected:

I wrote that series because at 20210102, the Dutch version got reposted a lot without attribution, for instance by [Archive] Michiel Noordzij on Twitter: “…” / Twitter (via [Archive] Farmahond on Twitter: “Aanvulling: de verzonnen verhalen a.k.a. leugens. Kan onder kopje “Anekdote”. #2januariTwitterdemonstratie” / Twitter).

So here the posters go in the right chronological order:

  1. klimafakten.de/plurv; German translated PLURV poster “Grundkurs Desinformation” – [Wayback/Archive] P-L-U-R-V: Dies sind die häufigsten Desinformations-Tricks von Wissenschafts-Leugnern | klimafakten.de
    • Pseudo-Experten,
    • Logik-Fehler,
    • Unerfüllbare Erwartungen,
    • Rosinenpickerei,
    • Verschwörungsmythen.
  2. klimafakten.de/flicc; Original English FLICC poster “Disinformation 101” -[Wayback/Archive] F-L-I-C-C: The most common disinformation tricks of science deniers | klimafakten.de
    • Fake experts,
    • Logical fallacies,
    • Impossible expectations,
    • Cherry-picking,
    • Conspiracy theories.
  3. klimafakten.de/ploks; Dutch translated PLOKS poster “Basiscursus Desinformatie” at [Wayback/Archive] P-L-O-K-S: Unser Info-Poster zu Strategien der Desinformation jetzt auch auf Niederländisch | klimafakten.de
    • Pseudo experts,
    • Logische dwalingen,
    • Onmogelijke verwachtingen,
    • Krenten uit de pap halen,
    • Samenzweringstheorieën.

And the tweets from Klimafakten in the chronological order:

  1. [Archive] klimafakten.de. Sprechen wir darüber on Twitter: “Disinformation101 – How to distort scientific facts One of the main methods: presenting fake experts We explain this and the other four techniques of #FLICC in our brand-new info poster: … By the way, in German it’s #PLURV: …” / Twitter
  2. [Archive] klimafakten.de. Sprechen wir darüber on Twitter: “Be it #Corona, #ClimateChange or #Evolution – the science gets regularly distorted in political debates In a large-format infographic, we explain the five most common #disinformation ploys. Aka #FLICC (or #PLURV in German) … @johnfocook @skepticscience …” / Twitter
  3. [Archive] klimafakten.de. Sprechen wir darüber on Twitter: “Disinformation is a global plague. For those of you who might yet have missed out on it – here is our Dutch-language infographic explaining the five key disinformation techniques used in the climate debate 🧡🇳🇱#PLOKS … @peterteffer @whoebert @erikwesselius ….” / Twitter

The unrolls with the posters in the wrong chronological order:

–jeroen

Read the rest of this entry »

Posted in Awareness | Leave a Comment »