Category Archives: Leftbrain

Trigger

Another year down. I remember thinking about how the years after 2000 would be (during my school days). A couple of days ago 4 of my relatives appeared online (all at once!), which was quite surprising to me. I had not seen them online for long (some like ‘ever’).

The absence of any messing with code at home is troubling me. Last week I tried out trigger. It did not work out-of-the-box. First it failed to start complaining about needing OpenGL 1.1 or below (Actually it said it wont for OpenGL > 1.1). After hard wiring that one came the terrain problem – segfault. It took some time to figure out that glDrawRangeElements was failing but glDrawElements worked. The most of last weekend was with playing that one – The physics is good (actually (too?) real). I got really worked up with one of the levels (the ‘Pulp: Cars can fly’ available at trigger homepage).

This week I wanted to try chaning the sun thingy for flightgear. I went right into the source code and found that no related code is there !! Most of it has been moved to Simgear. Now flight gear source just has flight sim stuff (kinda cool). The biggest discovery was the nasal thingy in Flightgear. FGFS has a virtual machine now (just like all those pro games – ID FPS family, Ultima (usecode)) and is in Simgear.

Flightgear after long

Its after quite a quiet period that I tried Flightgear (except once while checking the GeForce muscle when I got the new squarehead). So much has changed; Lot to unlearn and learn about the data file(s) (which has grown to 84 MB from the ~30 MB a couple of years ago). Things I noticed are:

  • Shadows are present.
  • I grepped for VOBG in the airport file; No meridians (the file is normalized, I guess).
  • The setting and rising sun still sux (I guess I’ve got some ideas on that one).

I also visited X-Plane site and sorta felt sorry about it. They have beautiful rendering of the landscape. An enviable amount of detail in the terrain texture (*sob* when would I see that in Flightgear). Browsing through the flight-sim pages I also reached LO-MAC site. Another drool piece for me (*sigh* when would somebody make a combat-sim out of flightgear engine).

Watched Shawshank Redemption after its being in the movie hit list for (quite) some time. Moderately tickling, I would say. I had too much of an anticipation getting it (mostly from my friends’ comments).

Trying powernow-k8 again

Cant see any way out. The bios does not have anything remotely resembling AMDK7NOW! which the driver is looking for. (*sigh*).

Emacs: I’ve split the emacs configuration into various files which are loaded by the .emacs. If your car were emacs : here.

Also met GNU ID Utils while trying to find how the people work with crossrefernce in source trees (that of linux kernel, say). I use etags at work, but it gives false jumps at times. I guess I’ve to look at the command line options a bit closer.

There is an emacs interface (a bit thin one, though) to call the gid program (to query the ID database) giving it any string to look up. The way I see it, its effectively indexing the find - grep combination. More reading on the ID utils remain. If it is capable of differentiating definition and reference of various language entities it would be cool.

Yay ! found it.

Just found this variable that should fix the problem. Quote
the help on mml-insert-mime-headers-always:

mml-insert-mime-headers-always's value is t

Documentation:
If non-nil, always put Content-Type: text/plain at top of empty parts.
It is necessary to work against a bug in certain clients.

You can customize this variable.

Defined in `mml'.

Looks like, in emacs, solutions just wait there to be discovered.

More emacs.

Recent Emacs thingies

I started using gnus at work.

Started using emacs-snapshot-gtk package (from Debian). And a win32 build of emacs 22.0.50 at work.

Wrote some elisp to send multipart alternative (for html mail and plain text). This
needs some fixing though; It does not put the content-type for the plain text part and
many mail clients would not would not show the plain-text content.

Learned about putting window configuration in registers (I could not stop telling
people about it for a couple of hours). Now I don’t use frames (at-least I for the reason
I had before this piece of learning).

I am all sold out on Emacs.

HTML Mail

BTW, do not think that I am for HTML mail. Its just that the M$ outlook and many other clients (and Gmail) show plain text in variable width fonts (when I want fixed width font to show off my ascii-art signature). They say HTML mail is rude.

Recent findings

Just found that the ‘netiquette guidelines‘ is an RFC ! and that (mail) clients are supposed to
assume the ‘default’ Content-Type (which is text/plain with us-ascii encoding) as per
RFC 2045 (Sec 5.2 – let me know if I did not read it enough). I wonder why that Thunder-bird was not showing the plain text alternative in my gnus made mail. The only problem that is apparent is the absence of Content-Type.

OT: Scott Adam’s blog is here.