Unique.exe is a small .Net utility that I wrote to dump only the unique lines of a text file. I found this useful when combining a few lists of user names and needed to retrieve only the unique ones. It additionally sorts the lines (forward and reverse) and outputs to stdout or a file.
I haven’t done any performance tuning (it’s 143 lines long) but I would expect it to work reasonably quickly with all but very large files. (Source and release exe included.)
While I was testing my latest release (1.2) of Vibratium I encountered a puzzling error. It took me a while to track this one down. Hopefully someone else can learn from this.
TL;DR: solution is at the end.
Vibratium worked fine on my dev box, but on my laptop as soon as I added a Render Object the application would crash.
In the Application event log I got Application Error 1005:
“Windows cannot access the file for one of the following reasons: there is a problem with the network connection, the disk that the file is stored on, or the storage drivers installed on this computer; or the disk is missing. Windows closed the program Vibratium because of this error.”
You’ve used regedit thousands of times and you know it inside and out, right? Wanna bet? I’ve got ten advanced tips that you probably didn’t know. And if you’re like most of the engineers I’ve taught your reaction to the first one will be audible.