Turning all controls into open source

As some of you already may have noticed, I have published all controls on GitHub, under the MIT license.
During the last 3 years I have kind of lost the interest in developing software for the Win32 platform, especially for an ancient technology like VB6. In 2016 and 2017 I did not write many lines of code, at least not for the ActiveX controls. One reason is that I don’t really like Windows anymore. With Windows 8, 8.1 and 10, Microsoft managed to make me dislike the system that I have been loving for almost 20 years. It does not feel like “my system” anymore. Linux has taken over this place.
Also, independently from my dislike of Windows 10, my focus has moved away from Win32, towards web technology, mobile technology, machine learning and artificial intelligence.

You might see me committing changes to the GitHub repositories from time to time, but don’t expect any real development, at least not from me. Small bugfixes or even small new features that cost me like an hour to implement, might happen. But anything that requires days of work and changing big parts of the sourcecode is extremly unlikely to happen. Maybe someone else feels like picking up the projects and continue development.

You can find the projects here: https://github.com/TimoKunze

There’s still one project missing: A RichTextBox control that I have never managed to finish. I’ll publish it as well soon.

Zensi Zensa Zensursula

Our Federal Minister of Family Affairs, Ursula von der Leyen, has enforced a new law, that allows a mandatory blockage of child pornography in the internet through Internet service providers via a block list conducted by the Federal Criminal Police Office (BKA). While fighting child pornography is good, doing it by blocking websites is bad and a danger for our democracy. Why? Because those who want to access a blocked website, just need to enter a foreign DNS server, so the blocking is without effect (Note: it already is possible and very effective to shut the websites down). But to block the websites, an infrastructure is created that can easily be used to block other websites as well. The past has taught us, that the inhibition threshold to extend censorship and surveillance is very low once the technical infrastructure is available. Members of the CDU are already fighting to extend this new law to block “Killerspiele” (ego shooter games).
During the debate about the law, von der Leyen has got the nickname “Zensursula” which combines the German word for censorship (“Zensur”) and von der Leyen’s given name (“Ursula”). Oliver Kels, Rob Vegas and Diana Leder have made a nice song about the whole problem. It’s of rather good quality and could become a summer hit. If you drive a German radio station, please play this sond so that more people get advised.

Content not available.
Please allow cookies by clicking Accept on the banner

Why the desktop search of Windows Vista sucks

A week ago, I’ve upgraded from Windows XP SP3 to Vista x64 SP1. I already had been using Vista in early 2007 for ~2 months, but downgraded again due to its poor performance, bad driver support and many small annoyances. One thing that drove me nuts in 2007 already, is the new desktop search. While performance, driver support and so on have become much better since then, I still don’t like the new desktop search. Let me show you why.

Yesterday I wanted to search all files within C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\src\mfc for the string IOleInPlaceActiveObject. This folder and its sub-directories contain a total of 476 files. I browsed to this folder and the first problem arose: How do I search for file contents? There’s just this search box in the top-right corner. What do I enter there? The filename patterns I want to search for? The content I want to search for? Both? If both: in which syntax do I enter it? I decided to just enter IOleInPlaceActiveObject into this box and hit Enter.

The search was finished immediately, but didn’t find anything which I knew was wrong. But now Explorer displayed a link Search File Contents which I clicked. The search started again. I waited one minute. Still no file was found and the search was still running. I waited two minutes – no found file, search still running. Finally, after four minutes, the search was complete and now six hits were displayed. I couldn’t believe that searching 476 files for a specific string would take 4 minutes, so I started xplorer² and told it to search the directory again for the same string. It took less than 1 second and 19 files were found. This started to become interesting…

The first question that came to my mind was why Explorer finds 6 files and xplorer² 19 files. The answer is that xplorer² really searches all files while Explorer skips binary files. Okay, so Explorer tries to be smart and for most users skipping binary files indeed is a good idea. But not for me. Sometimes I want to search binaries for a specific content. How do I tell Explorer to not skip them then?

The second question was why does Explorer need about 240x the time that xplorer² needs although it doesn’t even search within binary files?? Yes, the directory is not part of my search index. But xplorer² doesn’t use any index either! What the hell is Explorer doing that it is so much slower???

So if you don’t want to miss any file no matter which directory on your hard disk you search, you’ll have to tweak the indexing service to include all directories and any file type or you’ll have died before the end of the search. But can the indexing service be tweaked to include binary files? I’m not sure and I won’t try it because indexing my whole hard disk would probably take a day or two and keeping this index current would probably put some nice extra load to my hard disk.

I also don’t understand why found files are not displayed before the end of the search. Imagine a search that will result in hundreds of hits, but take half an hour to complete. You have to wait 30 minutes, in which you already could work with the first hits, and then you get hundreds of hits at once. Yeah! Great!

For me the Vista desktop search is just crap. Its usability is poor, it is extremely slow as soon as the index can’t be used and it swallows hits. The search of Windows XP wasn’t that much better, but on XP you could activate the legacy search that was the default up to Windows 2000 and I always used this one.

So whenever I have to search something on my hard disk, I’ll start xplorer² and search it there. Let’s see what annoying things Windows 7 will introduce…