Embedding JavaScript In Java with Rhino

Recently I've I experimented with embedding JavaScript in Java with Rhino. Previously I had written a Python utility that parses text files in an AWK like fashion by allowing an expression to be passed in on the command line. In Python writing such a utility is easy because of it's dynamic nature - a user provided expression can be bits of Python which are then eval'd on the fly. But I was curious if I could make it faster by rewriting it in a faster language such as Java.

Twelve Tile Puzzle Published

I finally completed my port of my M12 Java applet to Android. Since I added some additional puzzle modes I decided to name it "Twelve Tile Puzzle". I created a small page for it where you can see a screenshot.

Sendmail And Fully Qualified Domain Names

Recently I attempted to get sendmail to work between two machines in my internal test network. Since it's my own small network I tend to use short unqualified hostnames such as "grey" or "white". As you may know this presents certain challenges when working with sendmail since sendmail prefers FQDNs (fully qualified domain names). In this blog entry I'll talk about what those challenges are and what I think is the most straight forward way to get sendmail to work in such a network.

Red Hat Certification

Recently I took one of Red Hat's certification exam which resulted in my becoming RHCT certified. Although there isn't much I can say about t the exam due to the non-disclosure agreement I signed what I can say, which you can find elsewhere, is that it's a challenging exam. Since time is limited it's important to distinguish between things that are important and things that aren't.

I'll probably try to upgrade to RHCE in April.

Orientation In Android

Recently I've been exploring the Android operating system. I was sufficiently curious to purchase an ADP1 (an android based developer phone from Google). I think I've done enough research to begin porting my M12 puzzle. I thought I'd share some of the things I've learned along the way starting with the way orientation works.

Encryption

This book is about areas of encryption that I've explored. It starts by going over how encryption works in OpenOffice. Then next page is about oodecr, a bash script and related utilities that I wrote that applies what I've learned about OpenOffice encryption. Finally the md5-cfb page is about a small shell script that I wrote that does encryption by applying MD5. The pages about OpenOffice are probably the most interesting.

Puzzles

I've written various small programs that solve puzzles. Currently the highlight is M12 since it has a Java applet, so you can run it in your browser. LightSim is an applet that I wrote years ago that attempts to show some properties of light. Binary In Doom is an odd Doom map that I wrote that counts in binary.

Emacsish

Emacsish

Emacsish is an Eclipse plugin that I wrote that I hope makes the transition from Emacs to Eclipse easier by recreating some of the functionality that I missed when I made the transition.

Emacsish adds features that mostly have to do with processing text, such as the ability to format paragraphs and running external shell commands. The commands added by Emacsish are:

  • Create Backup - Create a backup of the current file with a suffix.
  • Set Mode - Set the mode (file type) of the current file.
Syndicate content