Full Width [alt+shift+f] Shortcuts [alt+shift+k]
Sign Up [alt+shift+s] Log In [alt+shift+l]
SplitDuck.com Use A/B testing to increase revenue

Stay updated

Get a weekly newsletter with the top 5 articles worth reading every week.

More from Ruud van Asseldonk

Adding unpack syntax to RCL
7th Dec 2025 • 1 votes
Abstraction, not syntax
12th Oct 2025 • 1 votes
The story of Musium
21st Sep 2025 • 1 votes
Rotating my PGP key
1st Aug 2025 • 1 votes

More in programming

Sumatra File Manager new features: September 1, 2026

Sumatra File Manager is a file manager for Windows and Mac. Places in the home view The home view is split into Locations, Places and Favorites. Places lists the generated views, such as Clipboard History, Screenshots, Installed Programs, Startup Programs and %PATH%. Installed program details Installed Programs shows the install date and can be sorted by it. Selecting a program shows its details in a pane below the list. Refresh a screenshot In the screenshot window, Refresh or F5 captures the same window again. See this day in the changelog, the full changelog, or download Sumatra File Manager.

16 minutes ago • 1 votes
SumatraPDF new features: July 11, 2026

SumatraPDF is a PDF reader for Windows and Mac. New in the pre-release builds: Light/dark theme toggle and a theme that follows Windows Toggle Light/Dark Theme (CmdToggleLightDarkTheme, in the Ctrl + K command palette) switches between the light and dark themes you used last. Those themes are remembered in LastLightTheme / LastDarkTheme. Setting Theme = System makes SumatraPDF follow the Windows light/dark app mode and switch automatically when Windows does. Change Theme dialog The new Change Theme… command (CmdChangeTheme) opens a dialog that lists all themes and previews your choice live. Change keeps the theme, and Cancel or Esc goes back to the previous one. The dialog also has a drop-down for how document colors follow the theme. The separate “Set theme ” commands no longer appear in the command palette, but they are still in the Settings menu. Smarter dark mode for documents When pages are shown in dark colors, photos and artwork now keep their original colors instead of being inverted. Choose the behavior with the DocumentColorsFollowTheme advanced setting or in the Change Theme dialog. The options are off (original page colors, the default), smart (recolor text and background but not images) and legacy (recolor everything, as in 3.6). Invert Colors (Shift + I) swaps the page colors for the current session, whatever this setting is. Toggle Preserve PDF Image Colors in Dark Mode (CmdTogglePreservePdfImages) turns image preservation on or off for the current session. This works for PDF, XPS, EPUB, MOBI, FB2 and other MuPDF documents, and for DjVu. It was ported from the SumatraPDF Plus fork. Light Warm theme New built-in Light Warm theme: warm, paper-like window colors that are easier on the eyes. It was ported from the SumatraPDF Plus fork. Windows 11 style title bar buttons The minimize, maximize/restore and close buttons in the title bar now use Windows 11 style rounded icons that scale with DPI. Translate button in the selection toolbar The floating selection toolbar has a new Translate button after Copy. It translates the selected text. Home page list view shows folders In the home page list view, each row now shows the file’s folder, right-aligned in a muted color, so files with the same name from different folders are easy to tell apart. The view is chosen with the new HomePageViewMode = thumbnails | list advanced setting. More: changes from July 11, 2026 and the full changelog.

23 minutes ago • 1 votes
SumatraPDF new features: July 10, 2026

SumatraPDF is a PDF reader for Windows and Mac. New in the pre-release builds: Floating selection toolbar After you select text, a small toolbar appears next to the selection with Copy, Read Aloud, Highlight, Underline, Squiggly and Strike Out. The annotation buttons only appear for documents that support annotations. Turn it off with the SelectionToolbar advanced setting. It was ported from the SumatraPDF Plus fork. Clearer CAD / engineering drawings PDFs of CAD and engineering drawings are easier to read, especially when zoomed out. Very thin lines get a minimum width that depends on zoom, and pale gray lines are darkened. Turn it on with the EngineeringDrawingEnhance advanced setting: auto enhances drawings it detects, on enhances every PDF and off is the default. You can also turn it on or off per document with Toggle Engineering Drawing Enhancement (CmdToggleEngineeringDrawingEnhance) in the command palette. More: changes from July 10, 2026 and the full changelog.

an hour ago • 1 votes
AI is making capital & labor interchangeable

For the first time in human history, capital and labor are becoming directly fungible for more tasks

yesterday • 1 votes
What’s fixed in RestAssured.Net 5.2.0

Last week, I released version 5.2.0 of RestAssured.Net. It contains fixes for no less than 23 issues, the largest number of bug fixes in a single release by a long margin. All 23 bugs were found and fixed by Claude, under my strict supervision. I will describe the process I used to find and fix the issues in more detail in an upcoming newsletter issue, but I think it could be useful to give a short overview of all the fixes in 5.2.0 beyond what’s in the CHANGELOG, so here goes. Sending requests Requests without a body no longer send a JSON content type (#161) GET, DELETE and HEAD requests (and any other request without a body) used to be sent with Content-Type: application/json and an empty body, which some servers, gateways and firewalls reject. Requests without a body are now sent without one, so what goes over the wire is what you wrote in your test. Values in the request now take precedence over the request specification (#153, #179) When a header, content type or other setting was set both in a RequestSpecification and in the request itself, the specification won. It’s now the other way around: a specification provides defaults, and the request can always override them. The path in a base URI is no longer dropped (#160) WithBaseUri("http://host/api") silently ignored the /api part, so requests went to the wrong path. The path is now included, and the BaseUri property of the specification shows the URI you configured. Relative endpoints with a query string are sent to the right path (#159) With a request specification, Get("/users?id=1") was sent to /users%3Fid=1, because the question mark was encoded as part of the path. The query string is now sent as a query string. Trailing slashes in endpoints are kept (#172) With a request specification, Get("/users/") was sent to /users. Some APIs treat these as different resources, so the slash is now kept. Collections in query parameters send their values (#167) Passing a list as a query parameter value sent the name of the collection type (System.Collections.Generic.List...) instead of its contents. Each value is now sent as a separate parameter, for example ?id=1&id=2. Square brackets that aren’t path parameters are left alone (#154) Any text between square brackets in an endpoint, such as filter[name]=x, was treated as a path parameter placeholder. Only placeholders for path parameters you actually supplied are replaced now, and their values are no longer HTML-encoded. Basic authentication supports non-ASCII characters (#168) Credentials were encoded as ASCII, so characters like ü or € were sent as ? and authentication failed. Credentials are now encoded as UTF-8. Your own cookies are no longer modified (#175, #183) A Cookie object passed to a request was changed while the request was sent: its domain was set to the request host. A cookie reused for another host then silently wasn’t sent. RestAssured.Net now works on a copy, and request cookies are logged with the domain they’re actually sent for. Using your own HttpClient Timeouts, cookies and other settings now work with your own HttpClient (#156) When you passed your own HttpClient, timeouts and cookies were silently ignored, and setting a timeout could even crash on a client that had already been used. Timeouts and cookies now work without changing your client. Proxy, SSL and NTLM settings can’t be applied to a client you created yourself, so setting them on the request now throws a clear exception instead of being ignored; settings from a specification or the global configuration log a warning. Verifying and extracting responses Cookie checks only pass for cookies the server actually set (#155) The cookies you sent with the request were mixed with the cookies in the response, so verifying or extracting a cookie could pass even when the server never set it. Only cookies set by the server are seen as response cookies now. All response headers can be verified and extracted (#162) Headers that describe the body, such as Content-Disposition, Content-Type and Last-Modified, couldn’t be found with Header(), because .NET stores them separately. Header() now finds every header in the response. XML and HTML assertions work the same on every machine (#163) A value like 1.5 in an XML or HTML body was read using the language settings of the machine, so on a Dutch or German machine it became 15 and assertions failed. Values are now always read the same way, regardless of the machine’s culture. Response body length is measured in bytes (#169) ResponseBodyLength() was documented as counting bytes, but counted characters, which differs for bodies with non-ASCII characters. It now counts bytes, so the value matches the Content-Length header. Square brackets in custom error messages are kept (#170) Custom error messages treated any text in square brackets as a template tag, so a message like [TICKET-123] status was [actual] lost its ticket reference. Only [expected] and [actual] are replaced now; all other text stays as you wrote it. Errors keep their original cause (#165) When a request failed, for example because the connection was refused or the certificate was invalid, the original exception was thrown away and every error was reported as “Unhandled exception”. The original exception is now kept as the inner exception, which makes failures in CI much easier to diagnose. Logging Masking sensitive data can no longer be bypassed (#158) Headers and cookies configured as sensitive could still end up in the logs, for example when the casing of the header name differed, or as part of a Cookie or Set-Cookie header. Sensitive values are now masked in all of these cases. Logging no longer crashes on invalid JSON or XML (#157) With body logging enabled, a response labeled as JSON or XML that wasn’t valid (an HTML error page from a gateway, for example) made the request fail. Bodies that can’t be parsed are now logged as they are. All content headers are logged (#185) Only Content-Type and Content-Length were logged from the headers that describe the body, so headers like Content-Disposition and Content-Encoding were missing from the log. All of them are logged now, and they can be masked like any other header. Response times are logged the same way everywhere (#182) The response time in the log used the decimal separator of the machine’s culture, for example 3,75 ms on a Dutch machine. It’s now always logged with a period, so logs look the same on every machine. The logger is only called when there’s something to log (#174) With logging switched off, a custom logger was still called twice per request, with empty messages. It’s now only called when there is actually something to log. As you can see from the list above, RestAssured.Net just got a lot better and/or more consistent and/or more compliant with documented HTTP behaviour with version 5.2.0. There are still quite a few open issues, but I decided to leave those for the next release, which hopefully sees the light of day in the next few weeks.

yesterday • 1 votes
📚 BoredReading

You seem to be enjoying this.

Join free to unlock everything.

Create free account

Already have an account? Sign in