1,126 reputation
58
bio website hypftier.de
location Germany
age 29
visits member for 5 years, 5 months
seen Dec 10 at 18:20

Software developer at yWorks GmbH.

Usually I'll answer questions here about Java, C#, PowerShell, batch files, random numbers, regular expressions and Unicode. At work I primarily deal with C++, C#, PHP and a few other things.

My interests are mostly HCI, Interaction Design and UX. Recently I18n joined that list as well. That does not mean I have profound knowledge in either of those fields, just that I am interested in them.

Note: People contacting me outside SO/SE is fine, but for discussing their own questions or answers SO already provides a mechanism, namely edits and comments. So please use those things first.
I do hang around on Freenode as Hypftier, though.


Mar
25
comment How does Windows handle program dependencies?
@Navin, I would doubt the smaller claim because the runtime is almost certainly already in memory due to another application.
Jan
22
comment Locale-unaware %DATE% and %TIME% in batch files?
It's a bit hard finding and updating all old instances where you wrote something :). I'd probably use Win32_UTCTime and Win32_LocalTime by now.
Jan
18
comment Powershell challenge
Quoting from the question: »Find the quickest and easiest way of sorting a directory listing by the LAST character of the filenames.«. It just needs to sort by the last character. If the easiest way of doing so is reversing the string, so be it, but if the easiest way of doing so is by just sorting by the last character, then this solves the task as well. The question wasn't about »How can I do this snippet of Unix shell exactly the same in PowerShell?«.
Nov
18
comment Why are Microsoft Windows Update taking so long to install?
I wouldn't really recommend turning system restore points off. They're a very good option of restoring a broken update which otherwise might require a reinstall
Oct
31
comment Why are Microsoft Windows Update taking so long to install?
And things break on both systems :). Some Windows installations don't like a particular update and on Linux all it takes is a library update with an incompatible API change (gettext tends to do that sometimes) where not all dependencies are prepared for it.
Sep
27
comment Better way to wait a few seconds in a bat file?
Note that the article says “Windows Server 2000”; that's not Windows 2000 and the server OSes may indeed have this. Not the consumer ones before Vista, though (and Vista mybe only because its starting point was the Server 2k3 codebase).
Sep
27
comment Better way to wait a few seconds in a bat file?
Massimo, you likely have the Server 2003 Resource Kit or similar installed which comes with a few utilities that shipped by default on later versions.
Sep
26
comment Better way to wait a few seconds in a bat file?
Massimo, it's a solution that works on pretty much any Windows without resorting to tools that may not exist on older versions.
Sep
26
comment Better way to wait a few seconds in a bat file?
Massimo: Only if you installed a resource kit, I guess. Not natively included.
May
17
comment Sudo !! equivalent in PowerShell
Actually, $^ is the first token of the previous command. If I dot-source a script with . ./foo.ps1 then $^ is .. This also means that arguments are not contained. Doing anything that exceeds a single token will not work this way.
Apr
4
comment Get directory containing the currently executed batch script
@Mohammad: Indeed, it is the current directory. The other one is the directory where the batch file is. Those two are not the same and your question asks explicitly for this one. So please edit it if that is not what you mean.
Mar
29
comment Split string line read by a batch file
You can also start a block with an opening parenthesis after the do.
Mar
21
comment Why does the Windows command line change the command when running from a .bat file?
+1. Indeed, cmd is just clarifying here (especially the 1> part). The statements are identical.
Feb
21
comment Stripping lines from text file with Powershell
Note that you may want to specify an encoding to Out-File in case some programs choke on UTF-16.
Feb
7
comment powershell or bat - counting files in all directories and subdirec
@I__: I have fun solving complex tasks in archaic or limited languages. Note though that this won't work for two directory trees within the same cmd session since it's all just environment variables I don't reset after use.
Feb
5
comment powershell or bat - counting files in all directories and subdirec
It'd be even more awesome if it supported agrregation without needing to go through group|foreach{$_.group|foreach{$_|Add-member ...}}
Feb
5
comment Better way to wait a few seconds in a bat file?
I have yet to see a recent version of Windows that didn't have at least IPv4 installed. ping -n 6 127.0.0.1 works fine to sleep 5 seconds, even if no network interface has a connection.
Feb
5
comment Better way to wait a few seconds in a bat file?
It waits x − 1 seconds.
Feb
5
comment Better way to wait a few seconds in a bat file?
timeout also is only available from Vista onwards.
Feb
1
comment Hidden Features of PowerShell
To be fair, though, treating text files in UTF-16 as binary files is a bug in Subversion. Yes, it makes life harder at times but ultimately it's not to blame on tools that choose a perfectly acceptable character encoding.