Category Archives: English

Stuff written in English

Dialog boxes for file handling missing in AutoCAD?

A student came by my office today and wondered if I knew how to bring back the usual dialog boxes for file handling in AutoCAD. A quick search using Google revealed the filedia command.

The solution is to execute the filedia command, enter 1 (the digit one) as the requested input, hit the enter key, and voilà, normal dialog boxes appear whenever the new, open, and saveas commands are executed.

FreeBSD 9.0 as IPv6-only

At work we have native IPv6 connectivity along with IPv4. We’ve had IPv6 for nearly 5 years and IPv4 for the past 17 years.

On 2011-08-16, I grabbed an IPv6-only snapshot of FreeBSD/i386 9.0-BETA1 dated 20110727 and started experimenting with internet life using only IPv6. This particular machine is a virtual machine running inside VirtualBox 4.1.2 on my Windows 7 desktop at work. Continue reading FreeBSD 9.0 as IPv6-only

Make cupcakes, not war

I was catching up on some usenet reading at the end of my summer holiday, and after reading comp.risks 26.48 and this posting in particular, I created the following snippet of a Makefile.

# Ref. comp.risks 26.48
# Subject: Fwd: British Spies Replace Terrorists' Online
# Bomb Instructions with Cupcake Recipe
# Date: Sun, 12 Jun 2011 10:37:13 -0400

        @echo not war

To the uninitiated an explanation is probably in order. Given an Unix-like system and a file named Makefile stored in the current working directory, a file whose contents is as shown above, although not necessarily the sole contents of said file. When the command “make cupcakes” is issued, the output yielded on the standard output device is “not war“. See below.

trond@enterprise:~>make cupcakes
not war

Epson DiscProducer PP-100N and Total Disc Net Administrator 1.21

Last year at work we acquired an Epson DiscProducer PP-100N as an aid for creating in-house CDs and DVDs. No more manual labour other than creating the ISO images and designing the layouts to be printed on the disc’s surfaces, and yes, placing the finished discs in their paper envelopes or jewel cases. Continue reading Epson DiscProducer PP-100N and Total Disc Net Administrator 1.21

How to forcefully upgrade all your FreeBSD ports using portupgrade

When moving from one major FreeBSD branch to another, you are almost compelled to upgrade all of your installed FreeBSD ports. If you move from the RELENG_7 branch to RELENG_8, as an example, the old pty interface is deprecated, and ports such as screen (sysutils/screen) must be recompiled and reinstalled to take advantage of the new pts interface. Continue reading How to forcefully upgrade all your FreeBSD ports using portupgrade