Apache, svn, mod_dav: COPY (branch/tag): Error: COPY: Could not read status line

I just spent quite a few hours trying to figure out why I got the error message in the title of this post.
There were many suspects: The reverse proxy, threaded perl, bug in the authentication script, bug with SVN…

I ruled out these one by one.

In the end, I added the directive “SVNPathAuthz off” to the SVN locations configuration in apache. And the problem was solved. One line of config, five hours debugging. Wow.

Is the glass half full or half empty?

There’s a glass on the table. 50% of its total volume is filled with water. Is this glass half-full or half-empty?

I think: If water is still being added to the glass, it’s half full. Otherwise, the process of damping will make sure the water content in the glass will decrease, thus be half empty.The question has, in my opinion, hereby lost its philosophical use, as it’s completely solvable if you just consider the laws of physics.

Demoder’s Patcher: restructure is progressing

Except today, I haven’t been programming on the patcher since 30th October.

Today, I finished one major part: Streamlining how the patcher deals with distributions. Basically, one piece of software (application, map or GUI) will be considered a distribution. A GUI may contain multiple components, such as xml files (located in cd_image\gui\) and texture files (located in cd_image\textures\Archives). Continue reading

Dragon Age: Origins: Maximized Windowed Mode & Anisotropic Filtering

I like playing games in windowed mode, preferably with the game taking up the entire screen.

When I set the game to windowed mode & resolution 1920×1200, some of the display area goes outside the edge of the screen, because this resolution does not account for the borders added by the window manager.

To solve this, you need to go to your documents, Bioware, Dragon Age,  Settings. Copy DragonAge.ini to somewhere safe, then edit it. These settings are for my GUI (Win7 with various default-available eyecandy):

[VideoOptions]
FullScreen=0
ResolutionWidth=1920
ResolutionHeight=1170

If you want to enable Antisophic Filtering, try adding the following line in that section:
AnisotropicFilteringLevel=nn

Replace nn with the level you want (1,2,4,8 or 16)

FreeBSD: kern.securelevel

Quoting the security(7) man page: The kernel runs with five different security levels. Any super-user process can raise the level, but no process can lower it.

The security levels are:

  • -1 Permanently insecure mode – always run the system in insecure mode. This is the default initial value.
  • 0 Insecure mode – immutable and append-only flags may be turned off. All devices may be read or written subject to their permissions.
  • 1 Secure mode – the system immutable and system append-only flags may not be turned off; disks for mounted file systems, /dev/mem and /dev/kmem may not be opened for writing; /dev/io (if your platform has it) may not be opened at all; kernel modules (see kld(4)) may not be loaded or unloaded.
  • 2 Highly secure mode – same as secure mode, plus disks may not be opened for writing (except by mount(2)) whether mounted or not. This level precludes tampering with file systems by unmounting them, but also inhibits running newfs(8) while the system is multi- user. In addition, kernel time changes are restricted to less than or equal to one second. Attempts to change the time by more than this will log the message “Time adjustment clamped to +1 second”.
  • 3 Network secure mode – same as highly secure mode, plus IP packet filter rules (see ipfw(8), ipfirewall(4) and pfctl(8)) cannot be changed and dummynet(4) or pf(4) configuration cannot be adjusted.