Random Passphrase Generator
I’ve activated a small random pass phrase secure service based on DWScript Web Server.
You can reach it at
I’ve activated a small random pass phrase secure service based on DWScript Web Server.
You can reach it at
The twist is that the computations are handled server-side, using DWScript JIT compiler, so exploration can be fairly fast and comfortable even on low-powered hardware, be it an iPad, a Smartphone or an old laptop.
Here is a small utility I made whose purpose is to flush (empty) the Windows file cache. It can also flush and purge memory working sets, standby and modified lists.
It can be useful to reduce memory usage of a particular VM (on a host with dynamic memory) or for testing and bench-marking purposes.
Delphi offers two ways of enumerating files in a directory and its sub-directories, the first is the classic (and buggy) FindFirst/FindNext, the second is IOUtils TDirectory.GetFiles and not very efficient.
Here is why and how I implemented DWScript‘s dwsXPlatform.CollectFiles, and a tip about getting a small system-wide boost as a bonus.
A month ago I started experimenting with various VPS hosting solutions for this website. Well I now consider myself settled for the time being.
Here are a few of my findings for those that were interested. Nothing Delphi-related there.
Or in other words, before getting to the gory details, DWScript now works when compiled with {$HIGHCHARUNICODE ON} on a machine with Cyrillic code-page 1251.
DWScript was converted years ago to Unicode, and been working just fine.
But there was a leftover bug from that crossing of the Styx.
MapFileStats v1.4 is now available, this version provides a lot more details about where the bytes in your executables come from. It also features improved visualization and performance.
A new version 1.8.1 is available from the SamplingProfiler page.
This minor updates fixes the displayed source code for samples gathered on a generic method (“Show Source Location” option) and other minor fixes.
By popular request, here is the source code used for the previous String benchmarks StringConcatBench.zip, essentially to test alternative memory managers.
The source is nothing complicated as you will see, just a set of simple function with the test cases, and a couple function that measure run times.