Archive for the ‘Development’ Category
Posted by jpluimers on 2026/02/04
Via [Wayback/Archive] Crowbarring Windows 95 into Windows NT with CAPITALS โข The Register refers a nice trick that I have used in various case-codebases as well.
On case sensitive environments the casing method is easy no matter if you use macros or just regular identifiers.
On case insensitive environments, prepending or appending soemthing like an underscore (_) works just as well.
The trick referred to is in a section of [Wayback/Archive] How did the Windows 95 user interface code get brought to the Windows NT code base? – The Old New Thing:
Read the rest of this entry »
Posted in Development, Software Development | Tagged: define | 1 Comment »
Posted by jpluimers on 2026/02/04
Posted in .NET, Delphi, Development, History, Power User, Software Development, Windows, Windows 7, Windows Development, Windows XP, XML, XML/XSD | Leave a Comment »
Posted by jpluimers on 2026/02/03
[Wayback/Archive] From Meh to WOW – With 1 “Tiny” Hack! – YouTube shows an interesting but convoluted solution to solve temperature drift on a cheap Tuya WT410-BH-3A-W thermostat (there are similar models, see below) based on the replacement sensor [Wayback/Archive] WSEN-TIDS Temperature Sensor IC & EV-Kits | Sensors | Wรผrth Elektronik Product Catalog.
Luckily the commenters stepped in and suggest better and easier ways.
On the other hand, the solution is nice to know as it allows plugging in a remote thermostat that sits in a better place to read the temperature while the control bits stay in a place where it is easier to manually adjust.
Chapters:
Read the rest of this entry »
Posted in ARM Cortex-M, Development, Domotics/Smarthome, ESP32, ESPHome, Hardware, Hardware Development, Hardware Interfacing, Home Assistant, Homey, IoT Internet of Things, Network-and-equipment, Power User, STM32 | Leave a Comment »
Posted by jpluimers on 2026/02/03
This method sparked a lot of discussion on social media:
private static string GetPercentageRounds(double percentage)
It is part of [Wayback/Archive] woo-besluit-broncode-digid-app/NFCService.cs at master ยท MinBZK/woo-besluit-broncode-digid-app which was published after a request according to the Dutch Open Government Act (WOO: Wet Open Overheid).
Even though it services the iOS app, it is written in C# not Swift despite it being client-side code, but that’s not why it sparked a lot of discussion costing more man-hours than the code is worth.
This is the code:
Read the rest of this entry »
Posted in .NET, C#, Development, Software Development, Swift, xCode/Mac/iPad/iPhone/iOS/cocoa | Leave a Comment »
Posted by jpluimers on 2026/01/29
I totally agree with the first comment of [Wayback/Archive] Naming Files and Directories the Right Way – YouTube as it holds not just for file management, but for naming anything including software development:
Iโve watched many videos on file management, but this one explains naming very clearly.
- 0:31 Rule 1: No Spaces
- 2:40 Rule 2: Avoid Special Characters
- 3:43 Rule 3: Be Descriptively Concise
- 4:24 Rule 4: Case Sensitivity
- 5:00 Rule 5: Dates and Sorting
- 6:40 Rule 6: Be Consistent!
--jeroen
Posted in *nix, Apple, BSD, Development, Linux, Mac OS X / OS X / MacOS, Power User, Software Development, Windows | Leave a Comment »
Posted by jpluimers on 2026/01/29
A cool way to unit-test JavaScript code on the browser side is [Wayback/Archive] Getting Started | QUnit:
To get started with QUnit in the browser, create a simple HTML file calledย test.htmlย and include the following markup:
<!DOCTYPE html>
<meta charset="utf-8">
<title>Test Suite</title>
<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-2.19.4.css">
<body>
<div id="qunit"></div>
<div id="qunit-fixture"></div>
<script src="https://code.jquery.com/qunit/qunit-2.19.4.js"></script>
</body>
Thatโs all the markup you need to start writing tests. Note that this loads the library from theย jQuery CDN.
I was so glad to find QUnit via the below links as I unconsciously wanted such a thing for a very very long time.
You can either run it locally or remotely or from the jQuery CDN as both it
- is a Node.js module so the source files are all available on the jQuery CDN
- it does not require the Node.js to load so it can run from any location you want (that CDN, locally or another on-line location)
Read the rest of this entry »
Posted in Chrome, Development, Edge, Firefox, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Browsers, Web Development | Leave a Comment »
Posted by jpluimers on 2026/01/28
In yesterday’s post Bookmarklet for Archive.is to navigate to the canonical link with the โredirected fromโ instead of โsaved fromโ I mentioned js-tokenizer for syntax highlighting. When writing that, I didn’t have time to dig deeper, but saved the links for later investigation.
Since I won’t have time to finish writing a complete article on this anytime soon, I decided to just publish the list:
Read the rest of this entry »
Posted in Development, JavaScript/ECMAScript, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2026/01/28
Posted in *nix, *nix-tools, bash, bash, Development, DNS, Hardware Development, Internet, Power User, Raspberry Pi, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2026/01/27
This is a follow-up on Bookmarklet for Archive.is to navigate to the canonical link which can be accessed from multiple URLs, some through redirection:
You can see the difference in these archived links (the navivate was a typo that I only spotted after the original blog post got published):
I wanted a Bookmarklet to find the last link; the one in the referenced blog post didn’t.
Read the rest of this entry »
Posted in Bookmarklet, Debugging, Development, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Browsers, Web Development | Leave a Comment »