Blog posts dated 2010 – Posts 16..20 of 22 posts found:

array_slice is not confused about negative length

I enjoy reading the amusingly named www.phpwtf.org on the rare occasions that they add a new post. A recent post complains about negative lengths when using array_slice (actually confusing it with array_splice at one point). Unfortunately, a technical issue means the site doesn't currently accept comments, so I'll simply make a blog post out of my comment there. The info may still be useful to other PHP programmers.
Read more

Created RunExit tool

A user at the VOGONS forums posted a question about being able to start Windows 3.1 (inside DOSBox) with another application and shutting down that Windows instance (and thus DOSBox) immediately when that application exits. This would normally be accomplished by setting the application as the shell in place of the default (Program Manager) by changing the shell=progman.exe line in SYSTEM.INI to the path of the application's executable.
Read more

Windows Update woes

Windows Update is a great technology. It ensures that most Windows users are automatically kept up to date with the latest security patches for their OS. Especially now that is no longer tied to Microsoft's Internet Explorer browser, I'm a big fan (with one exception). Unfortunately, on rare occasions, the Windows Update client gets in a corrupted state and things get messed up in a big way. This can be difficult to diagnose or troubleshoot.
Read more

Disabling Windows Update restart reminders

If, like roughly 90% of computer users, you run Microsoft Windows, you hopefully have Automatic Updates enabled. In that case, I predict the chances are virtually 100% that you've been annoyed more than once by the restart reminders pictured below.
Read more

The movie industry must really hate its customers

I quite enjoy a good movie, so I frequently visit the cinema. Very often, I also buy the DVD for the movies that I liked in the movie theater, as well as season boxed sets of episodes of TV-series. Even though downloading such material is technically legal in this country (as long as you don't upload or otherwise share it), I prefer to own the real thing. With more than a thousand DVDs bought, you'd think the studios would love me. Unfortunately, they don't. They treat their loyal customers like thieves. I'm talking about DRM, of course, and how it makes life difficult only for the honest users without impeding pirates in any significant way.
Read more