The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • 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 the ‘Development’ Category

Five Geek Social Fallacies – Plausibly Deniable

Posted by jpluimers on 2024/10/16

So relatable: [Wayback/Archive] Five Geek Social Fallacies – Plausibly Deniable

Via: [Wayback/Archive] Ian Coldwater 📦💥 on X: “It has come to my attention that there are younger folks who haven’t heard of Five Geek Social Fallacies. It was written in 2003 and the social dynamics stay real. Once you read it, you’ll see them everywhere.”

--jeroen

Posted in Awareness, Conference Topics, Conferences, Development, Event, Geeky, Inclusion / inclusive society | Leave a Comment »

Need to check out the Windows AutoLogonSID registry value and other autologon security features in Windows

Posted by jpluimers on 2024/10/16

On my list of things to look at via [Wayback/Archive] “AutoLogonSID” – Google Search:

Read the rest of this entry »

Posted in Conference Topics, Conferences, Development, Event, Power User, Security, Software Development, Windows, Windows 10, Windows 11, Windows 7, Windows 8, Windows 8.1, Windows Development | Leave a Comment »

Accessibility Myths – debunked

Posted by jpluimers on 2024/10/15

[Wayback/Archive] Accessibility Myths has great debunks.

Quite a few of them are phrased with a web perspective in mind. That’s just because of prevalence. These myths are there on native platforms (mobile, Windows, MacOS and Linux) as well and can be debunked in the same way.

Similar myths are even there for real life: accessibility of buildings, signage, streets, you name it are just that and can be debunked with common sense.

An inclusive society actually is cheaper than a exclusive one, as it benefits everyone. The same holds for your software.

Related: [Wayback/Archive] Learn Accessibility  |  web.dev

Via:

  1. [Wayback/Archive] Accessibility Awareness on X: “When you make the pitch for accessibility, be prepared for pushback. There are several myths and misconceptions, so it’s good to be aware of what they are and how to dispel them.”
  2. [Wayback/Archive] Accessibility Awareness on X: “”Learn Accessibility” is a course that takes you through the essentials for building accessible websites and web apps. Created for both beginners and advanced users, this course can be taken beginning to end, or used as a reference for specific topics.”

--jeroen

Posted in accessibility (a11y), Awareness, Development, Hardware Development, Inclusion / inclusive society, Power User, Software Development | Leave a Comment »

Some winget packages that will get you x86 or x64 versions of vcredist140

Posted by jpluimers on 2024/10/15

A while ago I downloaded some internal tooling that required vcredist140.dll (and related DLLs).

From the name you cannot see if that is a 32-bit (x86) or 64-bit (x64) dependency so you often have to trial and error to figure out which one you need.

I adopted some winget package install command-lines with package IDs current at the time of writing this blog post; similar should be available at the time of publication:

Read the rest of this entry »

Posted in .NET, C++, Development, Software Development, Visual Studio 2015, Visual Studio 2017, Visual Studio 2019, Visual Studio 2022, Visual Studio and tools, Visual Studio C++ | Leave a Comment »

The state of malware today: From Highly Obfuscated Batch File to XWorm and Redline – SANS Internet Storm Center

Posted by jpluimers on 2024/10/10

A very interesting read, where it keeps me wondering how batch files like these are being generated (making them by hand feels very surreal): [Wayback/Archive] From Highly Obfuscated Batch File to XWorm and Redline – SANS Internet Storm Center

VirusTotal entry: [Wayback/Archive] VirusTotal – File – 453c017e02e6ce747d605081ad78bf210b3d0004a056d1f65dd1f21c9bf13a9a

The day after the article was written, only Kaspersky and ZoneAlarm detected it; in the past ZoneAlarm used the Kaspersky engine, but that stopped a while ago: [Wayback/Archive] ZoneAlarm Free Antivirus Review | PCMag.

The malware uses at least these technologies:

Read the rest of this entry »

Posted in Antivirus, Batch-Files, Development, Power User, PowerShell, Python, Scripting, Security, Software Development, Windows Development | Leave a Comment »

Documentation should be easily searchable (No documentation | CommitStrip)

Posted by jpluimers on 2024/10/10

Nowadays software development documentation is usually sparse and distributed, which means it should be well searchable.

[Wayback/Archive] No documentation | CommitStrip

Read the rest of this entry »

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

Downloading a file from the Windows console without first installing a command-line tool

Posted by jpluimers on 2024/10/09

Note that the below methods likely will cause security warnings if a Windows machine has been properly configured, but in most cases at least one of them works.

  1. using cURL (Widows 10 and up)
    curl --url https://speed.hetzner.de/100MB.bin --output %TEMP%\100MB.bin
  2. using [Wayback/Archive] certutil | Microsoft Docs (at least Windows 7 and up; needs UAC elevation)
    certutil.exe -urlcache -split -f https://speed.hetzner.de/100MB.bin %TEMP%\100MB.bin
  3. using PowerShell (at least Windows Vista and up)
    powershell.exe -Command (New-Object System.Net.WebClient).DownloadFile('https://speed.hetzner.de/100MB.bin','%TEMP%\100MB.bin')

I think it works for all versions of curl, certutil, and PowerShell though I did not have anything older than up-to-date Windows 7 (having PowerShell version 3) and recent to test on.

Read the rest of this entry »

Posted in *nix, *nix-tools, .NET, Batch-Files, CommandLine, cURL, Development, Power User, PowerShell, PowerShell, Scripting, Software Development, Windows, Windows 10, Windows 11, Windows 7, Windows 8, Windows 8.1, Windows Development, Windows Vista | Leave a Comment »

Online Paste to Markdown (in JavaScript + HTML)

Posted by jpluimers on 2024/10/08

Apparently I was living under a stone since the 2015 introduction of [Wayback/Archive] Paste to Markdown:

Paste to Markdown

Instructions

  1. Find the text to convert to Markdown (e.g., in another browser tab)
  2. Copy it to the clipboard (Ctrl+C, or ⌘+C on Mac)
  3. Paste it into this window (Ctrl+V, or ⌘+V on Mac)
  4. The converted Markdown will appear!

The conversion is carried out by to-markdown, a Markdown converter written in JavaScript and running locally in the browser.

The “to-markdown” I did already know (see A few HTML to Markdown converters written in javascript, Python, Ruby, PHP and C#) but has been renamed from [Wayback/Archive] GitHub – domchristie/to-markdown: An HTML to Markdown converter written in JavaScript into then “turndown” repository below.

More links:

Read the rest of this entry »

Posted in Development, HTML, JavaScript/ECMAScript, Lightweight markup language, MarkDown, Scripting, Software Development, Web Development | Leave a Comment »

Fixing the Google Calendar item editor CSS so the title 40% of my window width

Posted by jpluimers on 2024/10/08

When working on larger screens, I am always amazed at how little window estate most web sites actually use.

For sites that just try to look nice that is not so much or a problem, but for productivity sites it is.

The go-to solution for this is to manually modify the CSS. This can often be a pain because the CSS is either deeply nested or – even worse – uses semi-random HTML class attribute values.

This post is a reminder to myself to check if the below CSS modification in my Stylus library still works (gist link is at the bottom of this post):

Read the rest of this entry »

Posted in CSS, HTML, HTML5, Software Development, Web Development | Leave a Comment »

One cautionary thing with C programming: the cost of macro expansion

Posted by jpluimers on 2024/10/03

The result C macros having become more lenient on the types they expect, is that they can become very large expansions. This not only causes long expanded code lines, but also

This shows you some examples:

[Wayback/Archive] Lorenzo Stoakes on social.kernel.org: For those interested in the ‘combinatorial explosion of min()/max() macro’ thing slowing down kernel builds, witness the horrors :))

[Wayback/Archive] Re: [PATCH 0/7] minmax: reduce compilation time – Linus Torvalds

Read the rest of this entry »

Posted in C, Development, Software Development | Leave a Comment »