Tag Archives: software

Perl as a 2nd language: Modules

This is part 2 of a series on Perl, intended for experienced software developers.

Re-learning Perl has not been easy. Continue reading

Advertisements

Perl as a second language: Step 1

Why 2nd languages? With hello world, and readme.pl

I want to help other people kickstart new programming languages. As an experienced developer, you already what a loop is, or any other common feature: you just want to make it work. The goal of my “second language” posts is to provide that level of help. Continue reading

New Java 1.7 vulnerability

I found this in my email:

http://www.h-online.com/developer/news/item/Dangerous-vulnerability-in-latest-Java-version-1781156.html

I will disable Java plugin in all browsers on my machines at work on Monday.

Cert.org is taking this seriously: http://www.kb.cert.org/vuls/id/625617

This could be used against Linux, Mac or Android, not just Windows, if anyone cared to try. They would not have access to root without further exploits, although popping up a window that looks like your Updater, or Microsoft’s, would catch some inexperienced Linux users.

Template Files in DITA Open Toolkit may not be needed

I learned in Eliot Kimber’s “DITA for Practitioners”, after some re-reading, how the integrator.xml ant script works. It looks for template files and creates the corresponding file from it. When the integrator script creates the corresponding xml file from the template, it inserts “stuff” (different for Ant files or SXL files) from all the places that add to that extension point.

As far as I can tell, and this is not explicit in any documentation I have seen, including Kimber’s book, you only need to create a template file in your new plugin when you have defined a toolkit extension point in it. For plugins that you are sharing, you probably want to add extension points to your plugin. For plugins only used in your own DITA deployment, you probably don’t need to do that.

Review: DITA for Practitioners, Vol. 1

Author: Eliot Kimber, XML Press

I will start this review with my conclusion:
I recommend this book for the DITA developer, and also for the person designing your DITA Information Model. Some parts are useful for the writer who is using DITA, but there are other books for them. Continue reading

Search in DTD’s on Windows – Fail!

So you have some DTD files: the main DTD files, model files, and entity files, in a number of folders and sub-folders on Windows XP.

They have extensions as follows:

  • dtd
  • mod
  • ent

Search for something using Windows Explorer, in it’s Search pane. Tell it to search all files and folders. Results? Only from some of the files, not all. Why?

Look at the no-search, no-folders mode of Windows Explorer. It offers to help you view videos, but can’t actually find any to show you. Odd, but related. This is because Windows is aware of a video file type with an extension of “mod”. So it won’t search those files.

Fail.

Let’s try the command line! You can use “find” to search the contents of files, but only in the current folder.

Fail.

Fix it with GetGnuWin32! And use grep to find your stuff.

paranoia part 2

The software isn’t out to get me, it got me already.