Archive for the Technology Category

Fix for IE’s lack of application/xhtml+xml by Mit The Destroyer

Have you ever tried sending a 100% strictly compliant xhtml to IE, so that IE would use It’s xml engine to render the page? If so, you know that IE borks on it and forces you to download the xhtml file. I’m here to tell you that I’ve found a work around, that is standards compliant and gets around that limitation and forces IE to use the XML rendering engine. Two steps are required for it to work:

  1. Configure web server to send xhtml files with the mime type of application/xml
  2. Then attach a XSL sheet to each xhtml file you serve to IE

Exmple File

Example xhtml code


<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="fixMe.xsl"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
<title>Simple Example < /title>
</head>
<body>
<!-- xhtml code here -->
<body>
</html>

Required fixMe.xsl code


<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
<xsl:output method="xml" encoding="utf-8"/>
<xsl:template match="/">
<xsl:copy-of select="node()"/>
</xsl:template>
</xsl:stylesheet>

Why does this work?

As far as IE is concerned you sent it a XML file, with an XSLT sheet applied to it. It’s XML rendering engine then applies the XSLT sheet which converts the XML page into an XHTML page. Without the XSLT sheet applied IE would have just showed us the source code to the page.

How did you ever figure this out?

I discovered this when I was developing this website, to teach myself XSLT. And knowing what I know about mime-types I figured it should work if I just changed the mime-type for XHTML from application/xhtml+xml to it’s alternate compliant mime-type of application/xml1, seeing as IE wasn’t having any issues displaying XML files sent as application/xml.

Additional Notes

Update: To see an example with SVG and MathML mixed in with the XHTML read So now that IE unerstands pure XHTML…

YHWH in Unicode DSS Font by slaveofone

In many Dead Sea Scrolls, the divine name or Tetragrammaton was written using a different script…Paleo-Hebrew (this is true even in the earliest Greek LXX fragments). The script characters of The Name chosen for this font were taken from the Psalm Scroll 11QPs. The entire Tetragrammaton is instantly triggered by a single keystroke.

Unicode DSS Font 0.2 by slaveofone

By a stroke of luck, I stumbled on a high quality image of one of the earliest Leviticus scroll fragments and am now using it in combination with the smaller Great Isaiah Scroll pics for reference. As you can see, the font is taking on a stylized typesetting which is not only readable and printable, but makes the archaic script look quite elegant.

Unicode DSS Font In The Works by slaveofone

After rummaging around online and only finding a couple fonts for the script of the Dead Sea Scrolls (which looked like handwritten scribbles other than any kind of typeface and were not Unicode), I decided to take it upon myself to create one. The Unicode DSS Font will be based on the script of the Great Isaiah Scroll (since it had the highest quality images I could find online for reference). When finished, it will be available here under the Open Source General Public License to freely download, copy, manipulate, distribute, print, or use in any program or software for any purpose. Pictured is an example of a few preliminary script characters from the Unicode DSS font (lower) in comparison with the SBL Hebrew font (upper).

Photobucket - Video and Image Hosting

Learning the Israeli Keyboard by slaveofone

So you have Hebrew working in OpenOffice under Linux and a handy keyboard map for reference (see previous entry). Or perhaps you are ready to write Hebrew using some other piece of software…

The problem is…you have no experience using an Israeli keyboard! You have to learn to type all over again. Fortunately, Yale University has made it easy. Learn to use an Israeli keyboard online with the Hebrew Keyboard Tutor.

Writing Hebrew in OpenOffice under Linux by slaveofone

This quick tutorial is provided to help those who, like myself, are or have been interested in utilizing Hebrew in OpenOffice under the KDE desktop.

I’m going to assume, first of all, that you’ve downloaded and installed the latest stable version of OpenOffice. Apparently, versions previous to 2.0.0 have been somewhat buggy trying to render vowel points/diacritics or nikud. Since I’m using Fedora Core 5, I simply used my package manager to update everything and install any extra language components. It doesn’t hurt to update KDE to the lastest release either.

Next, download the SBL Hebrew font from the Society of Biblical Literature website. This is a Unicode Hebrew font (which means you can copy and paste the Hebrew into other software applications and it will be recognized and displayed correctly). Trust me when I say this Hebrew font looks immaculate.

Once you have the font, install it in your KDE Control Center (kcontrol in the terminal) under System Administration – Font Installer

While you’re in Control Center, you need to enable a Hebrew keyboard (so that when you type, it will display Hebrew characters instead of English ones).

click on Regional and Accessibility – Keyboard Layout – double click on Israel (il) to add it

Note: To enable use of vowel points/diacritics or nikud, go to layout variant and select lyx. Now you can write vowels.

Hit apply.

KDE automatically generated a keystroke shortcut for you to switch easily between English and Hebrew keyboards (CTL+ALT+K). To check or change your keystroke shortcut, go to Keyboard Shortcuts. I changed mine to CTL+ALT+Up Arrow.

Lastly, set up OpenOffice.

Go to Tools – Options – Language Settings – Languages – and check to see that Complex Text Language (CTL) is enabled. Then set SBL Hebrew as your default font in Format – Character – CTL font.

Hopefully, you already have two buttons in your menu bar which change the direction of writing from a left-to-right orientation to a right-to-left one. If not, the default shortcuts are CTL+SHIFT+A (left-to-right) and CTL+SHIFT+D (right-to-left).

Diacritical marks are:

  • SHIFT+E = qamets/quamets-chatuf
  • SHIFT+R = dagesh/shureq
  • SHIFT+U = cholem/cholem-vav
  • SHIFT+P = patach
  • SHIFT+A = sheva
  • SHIFT+S = dagesh/shureq
  • SHIFT+G = cholem/cholem-vav
  • SHIFT+H = the mark for shin
  • SHIFT+J = chireq
  • SHIFT+X = segol
  • SHIFT+C = qibbuts
  • SHIFT+V = chatef-segol
  • SHIFT+B = chatef-patach
  • SHIFT+N = chatef-qamets
  • SHIFT+M = tsere

Check out the keyboard chart map below and get your Hebrew on.

Free Your Music. by Mit The Destroyer

Here’s to hoping that the music industry and Movie industry actually listen to Steve Job’s for a change:

Imagine a world where every online store sells DRM-free music encoded in open licensable formats. In such a world, any player can play music purchased from any store, and any store can sell music which is playable on all players. This is clearly the best alternative for consumers, and Apple would embrace it in a heartbeat. If the big four music companies would license Apple their music without the requirement that it be protected with a DRM, we would switch to selling only DRM-free music on our iTunes store. Every iPod ever made will play this DRM-free music.

Steve Job’s February 6, 2007

Go to Steve’s blog to read more about Steve Job’s thoughts on DRM

Welcome to Echo Of Eden by Mit The Destroyer

It’s been a long and tough two years. But it has finally materialized. take your time and explore and see what you can find.

Due to the the kinds of things that will be discussed here I highly recomend downloading and installing one of these Hebrew fonts (listed in the order of our preference):

  1. SBL Hebrew
  2. Ezra SIL SR
  3. Ezra SIL
  4. The Cardo Font

Desktop Images, Nov 2006 by slaveofone

Click on the links to check out my current Fedora Core 5 incarnation…

ILM trusts Linux by slaveofone

Old news, but still cool news…

When it comes to one of the greatest special effects outfits in the business, it’s not Microsoft or Apple, but Linux that ILM trusts to get the job done and get it done better than anyone else. Star Wars Episode II and Episode III depended on linux computers.

The old system is so slow that the clones firing lasers appear to be throwing javelins. We’ve seen about a five times speed improvement with Linux, which is appreciated! I’d say Linux is one of the most successful efforts we’ve had.

Due to the speed of Linux, for the first time in my life, 15 years in the business, I’m starting to feel some RSI [repetitive strain injury]’’, says Technical Director Robert Weaver. “Usually you are working the machine, but Linux is so fast it can overwork you.’’ Weaver has to remember to take breaks because with Linux he doesn’t get any breaks waiting for the machine anymore.