Hacker’s diary

After approximately 20 years, I finally found the meaning of ‘MZ’: the string that appears in the beginning of every DOS/Windows/.NET executable. It stands for “Mark Zbikowski“, the architect in […]

I just accidently gave .EXE extension to a file that was actually a .ZIP archive and tried to run it on Windows 7. What error do I get? Lo and […]

I am trying to build a simple web application based on grids. Like, have this widget occupy 1/3 of the screen on bottom, that one one line of large bold […]

I wrote a little web page that “debugs” HTML 5 touch interface (requires touch screen device). Unlike regular mouse clicks, there is no “onTouch” attribute, you have to add and […]

I need to do some processing when rows are deleted from my DataTable. One would think it should be easy: after all, you have RowDeleting and RowDeleted events, that should […]

I was preparing for a presentation on MEF, and I stumbled upon this sentence: catalog.Catalogs.Add(new DirectoryCatalog(“C:\\SimpleCalculator\\SimpleCalculator\\Extensions”)); “This absolute path is for debugging purposes only. In a production application, you would […]