You might find this interesting

Or I might be wrong

Troubleshooting Coldfusion When the Instancemanager Won’t Load.

| Comments

I ran into a problem where I was unable to create new instances because the ColdFusion instance manager wouldn’t load when I clicked link.


It would just sit in a “loading” status.  Restarting the coldfusion9multi server didn’t help.  Here’s how to debug.

  • Find the process id if the coldfusion instance manager
  • ps axu | grep cfusion | grep jrun | grep -v grep | awk ‘{print $2}’
  • Find all established connections from that process ID
    • lsof -P -n | grep $pid | grep ESTABLISHED


  • Look for any established connections to the local IP that are duplicated or remain for more than a few seconds
  • Find the process using the port it’s trying to connect to.  This should be another coldfusion process that (likely) unresponsive

    • lsof -P -ni :2936
    • ps axu | grep $pid | grep -v grep blocking_connection
  • Kill that process

  • Repeat for any others

Viola!  Your Instance Manager should now load again.

Display Markdown Text in a Termal

| Comments

I really like the idea of Markdown text.  Being able to write in a natural format and then quickly convert to HTML (or a PDF) appeals to me in a way that is difficult to explain.  I thought that Latex would solve this need, but it’s far too complex to use on a regular basis for simple documents.

Markdown does exactly what I want.  It’s simple, easy to learn, natural syntax makes creating documentation a breeze.  I also want to be able to quickly display text in a terminal (because who wants formatting marks when you’re actually trying to read something?).  There were a few solutions online, none of them I was happy with, so I’ve chained a few tools together, threw it in a shell script and off we go.

  • Download Markdown.

    • Copy to /usr/local/bin/Markdown
  • Make sure you have w3m installed

    • ‘sudo apt-get install w3m’
  • Download this Gist and place it somewhere in your $PATH

[inline] [script src=“”][/script] [/inline]

Doing so can quickly turn this:


To this:


Parsing HP - RHEL System Information via SSH

| Comments

I’m often asked to give specifications quickly for systems I manage. I don’t often know this off the top of my head… that’s what computers are for.

This script assumes a few things:

  • You are running the script against an HP system with hpacucli installed
  • It’s running against RHEL 5 or 6.

You can likely adapt it to fit your needs.  It’s pretty simple, but gives a quick rundown of what most people ask about. Here’s the output:

`System Info
Model Name: ProLiant DL380 G6`

CPU Info
Model Name: Intel(R) Xeon(R) CPU E5540 @ 2.53GHz
Physical CPUs: 2
Cores per CPU: 4
Total Processing Cores: 8
Total Threads (including HT): 16

Memory Info
Installed Memory: 72 GB
Total Memory Slots: 18
Memory Type: DDR3
Memory Speed: 1333 MHz
Memory Size(s):
4096 MB (18)

Disk Info
array A (SAS, Unused Space: 0 MB)
logicaldrive 1 (136.7 GB, RAID 1, OK)
physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 146 GB, OK)
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 146 GB, OK)
array B (SAS, Unused Space: 0 MB)
logicaldrive 2 (279.4 GB, RAID 1, OK)
physicaldrive 2I:1:5 (port 2I:box 1:bay 5, SAS, 300 GB, OK)
physicaldrive 2I:1:6 (port 2I:box 1:bay 6, SAS, 300 GB, OK)

Software Information
Operating System: Red Hat Enterprise Linux Server release 6.3 (Santiago)

And here’s the script:

[gist id=“4982876”]

Progression of a Smartphone Geek

| Comments

It’s come to my attention that I’ve owned a lot of smartphones in my day.  I’ve decided to chronicle my journey.

HP Jornada 545 + Kyocera 2135:

While not technically a smart phone, this was my first PDA. I also carried around a cheap Kyrocera phone as my first cell phone.

It had a color screen, and I could keep track of my calendar and contacts in a single location. There were a few productivity apps on it, and I could surf the web when it was docked to my computer.

This is what got me hooked on PDA’s

OS: PocketPC 2000 Processor: 133Mhz Storage: 16MB RAM: 16MB

Kyocera 6035: (2001)

This was my first smartphone or “pda phone” as they were called.

It was monochrome and used the PalmOS.  The front number pad flipped down, to allow a full stylus enabled touch screen.

While it wasn’t very “cool”, I could do basic calendaring and task management.  It has a few games and a WEP enabled web broswer where the airtime usage came out of my minutes.  I had an external fold out keyboard I used to take notes in class.

I could even play a copter/cave game on it.

Because it was so low powered, the battery life was amazing. It rivaled even today’s feature phones.

OS: PalmOS Processor: ?? Storage: 8MB

Samsung SPH-i700: (2003)

My second smart phone was the samsung i700.

This was my first Windows Mobile smartphone. While it didn’t have nearly the battery life of the Kyocera, it was far more powerful. It had a color screen with a “real” operating system, and even a camera! I thought the camera design was brilliant at the time, you could swivel it to take pictures or video of yourself, or turn it forward to take normal camera shots.

It also had a built in IE webbrowser. While it wasn’t very good, it was useful for looking up information like movie times and weather.

OS: Windows Mobile 2003 Processor: 300Mhz Storage: 16MB RAM: 16MB

Samsung i730: (2004)

I bought the i730 the day it came out (and thus started my desire to always have the best smartphone available)

It was a really nice phone. The battery life wasn’t great, but I was used to it by then. I loved the slide up keyboard, I could easily type with one hand and then get it out of the way.

The screen was smaller than the i700, but that was fine because it no longer looked like I was holding a brick to my face when I talked on it. It didn’t, however, have a camera. I believe this was when I bought my digital camera w/ bluetooth connectivity to make up for it.

This was also my first 3G (EVDO) smartphone.

OS: Windows Mobile 2003 2nd Edition Processor: 520Mhz Storage: 128MB w/ expandable SD card RAM: 64MB

Kyocera 7135: (2006)

I was forced to use the Kyocera 7135 as a work phone when I got a new job. This was a serious downgrade form my i730, as it was only a generation higher than my first smartphone (the 6035).

At this point, I seriously disliked the PalmOS, and while the battery life was respectable, I couldn’t really do anything on it other than calendaring and contacts.

OS: PalmOS Processor: 33mhz Storage: 16MB

Samsung i760: (2007)

I was looking to upgrade my i730 to something faster and with better memory when the i760 came out.

In hindsight, it was only an incremental upgrade to the i760, but it looked far more like a modern phone. and I finally had a solution to get my email “pushed” to my phone instead of it having to poll the server for updates.

Windows Mobile 6 was getting to be quite popular around this time, so I had no trouble finding apps and games for the OS.

OS: Windows Mobile 6 Processor: 400Mhz Storage: 128MB w/ expandable MicroSD card RAM: 64MB

Treo 650: (2007)

I finally was able to upgrade my work phone to something that was at least tolerable.

The Treo 650 was another hand-me-down. But it had a nice color screen, a decent processor, and a few nice productivity apps. It still didn’t get much use, as the i760 was my primary phone.

OS: PalmOS Processor: 312Mhz Storage: 32MB

HTC Touch Pro: (2008)

The Touch Pro was another incremental improvement over the i760. At this point, I was loosing hope that I’d ever have a phone as cool or fast as the iPhone on Verizon’s network.

The touch pro was nice phone. The processor was fast enough that you can browse the web at 3G speeds without too much difficulty (especially with the Skyfire Browser). This was also the first phone I could really install custom ROMs on and customize to my liking.

HTC also had a nice interface that made the Windows Mobile OS seem far less bland than it had gotten over the years. However, it was still a windows mobile phone underneath.

OS: Windows Mobile 6.1 Processor: 528Mhz Storage: 328MB w/ expandable MicroSD card RAM: 128MB

Motorola Droid: (2009)

When I first heard Google was building a phone OS, I thought “cool, I hope it takes off”. When the Droid was announced, I knew I immediately had to have one.

This was (and continues to be) the greatest phone I have ever owned. It had turn-by-turn navigation, a great app marketplace, and an unlocked and fully customizeable OS. This was the first phone I owned that didn’t have a reset button built into it because the OS was stable enough to not lock up on a semi-weekly basis. It was also the first phone I owned without touch screen that required a styuls.

The Droid has me thoughoughly hooked on the Android operating system. Not only is it geek friendly, it’s good enough for the average person. I recommend it to anyone looking for a smartphone.

OS: Android 2.2 Processor: 550Mhz Storage: 256MB w/ expandable MicroSD card RAM: 256MB

What’s next?

So what’s coming next?

I’m currently waiting for my “super phone” as I call it. It will be built on android, but I want it to have an impressive performance increase over my previous phones. All of my WinMo phones were just slight improvements over each other. My next phone will likely have a 4.2” screen, dual core (tegra?) processor, more than 512MB of RAM, a few gigabytes of built in storage, and a forward facing camera. All this in addition to 4G (LTE) data reception.

While there aren’t any devices on the market that fit my requirements yet, there are a few to be rumoured in the works. I’ve always longed for a computer in my pocket (or rather, on my hip), with today’s technology dream is very close to becoming a reality.

Jump to Conclusions App

| Comments

Anyone who knows me, knows I have a certain obsession with the movie office space. I have a few red Swingline staplers, Initech coffee mugs, and various T-Shirts.

I decided that I was in need of a “Jump to Conclusions” app for my phone (for those difficult decisions). If you don’t know what this is, it’s based on the Jump to Conclusion mat described by Tom Smykowski as a “Mat that you put on the floor, that has different “conclusions” written on it that you can “jump” to”.

While some claimed it was a horrible idea, Tom went ahead with it and built a prototype. mat

I followed his design to build my Android application. Jump to Conclusions App

Similar to the mat, you open the app, hold the phone in your hand, and jump to conclusions. It will give you a random conclusion every time.

I’ve published it in the play store:

I’m quite happy with the results.

iRex Reader 1000

| Comments

Details are starting to emerge about iRex’s new reading device lineup.

There will be 3 10.2 ince devices. One base model, one with the touch screen, and the third with wifi, bluetooth, and 3g.

This is exciting news. I’ve always wanted the iLiad to be a little bit bigger. I mostly use mine for business purposes (notes in meetings, reading documents, etc). A bigger screen will be great for a paper alternative. Especially if the device will be able read more documents natively.

It’ll be interesting to see the device and user interface. I assume they’re going to use the same software for the touchscreen and non touchscreen versions. Maybe they will have more buttons and a scroll wheel like the kindle, or maybe use context menus like the cybook. Time will tell.

I do know for sure that I intend to buy the top level unit with all the bells and whistles. I’ll have to start saving now though… I do intend to keep developing and porting for the platform. This is going to be an exciting time.

A quick overview of what we know:

  • Name: iRex Reader 1000
  • 10.2 Inch Screen
  • eBook (Mobipocket?), PDF, Word, and html support (probably others)
  • Stylus input (wacom?)
  • 60-70 hour battery life
  • 3 Versions
  • Base – $650
  • Touch Screen – $750
  • Touchscreen + Bluetooth, Wifi, and 3G, $850
  • 16 levels of greyscale

iLiad Traveling to Germany

| Comments

I’ll be difficult, but I think I’ll manage. I’ll be without my iLiad for at least the next week. It’s going in for the battery replacement program, and I’ve opted for the upgraded backplane. It’s great that an early adopter will be able to have what is basically a 2nd edition iLiad.

First Midori/WebKit iLiad Beta Release

| Comments

I’ve created an early beta release for my port of the Webkit based Midori internet browser.

There are quite a few bugs that need to be worked out before it’s ready for the average user, but it works well enough as a tech demo.

You can see some screenshots below:

If you’d like to try it, you can download the first beta here: Midori Beta 1

You will need developer access on your iLiad to launch it. You’ll also need to start an internet connection with another script.

Building a Better Web Browser

| Comments

I don’t know why, but I’ve decided I really want a good, working, web browser on the iLiad. Maybe it’s Kindle envy, maybe I spend too much time porting when I should be working, who knows.

WebKit seems to be all the rage these days. They have builds of it for just about every platform, and the iPhone has really brought it into the mainstream. So my goal is to port WebKit to the iLiad and provide a useful interface for browsing.

  • It must be able to use the pagebar to page up and down.
  • Screen refreshes must not be obtrusive, and should be responsive. (Native refreshes only, no hacked libX11)

  • Support for Bookmarks and Recent URL’s.

  • Easy to install package that can run from anywhere. WebKit is compiling now. Next, I’ll build Epiphany and use the webkit core. As long as that goes smoothly, I can work on refreshes and the rest of the application. Wish me luck…

Edit: I think I found a better front end than Epipany. Midori is much smaller and more light weight than Epiphany. It should be able to do everything required and be relatively quick on the iLiad.

I had Midori up and running with the Webkit backend, but nothing would display because WebKit was made to work with gtk 2.8, and the iLiad has 2.6. I believe I’ve found a patch, so I’m recompiling (takes about 2 hours on my dev pc). Hopefully I should have an early working application soon….

Finally!: Integrated FBReader 0.8.14 With ePub and Registry Support

| Comments

It’s been about 6 months since my last port of FBReader. The talented FBReader developers have done a lot. The most important addition is the support for ePub books. You can view the full changelog at

I, myself, have done a lot of things different for this release as well.

  • I’ve removed the FBReader toolbar, and thus, disabled the internal library.
    • This was mostly done to speed up porting time. With the library removed, much less needed to be done to the code of the program to port it.
    • All refreshes are done internally. No hacked libX11 is used!
  • By default, FBReader will add supported file extensions to the registry
    • This makes FBReader act like any other viewer on the iLiad.
    • FBReader settings and configuration will be saved to /mnt/settings so a software update should not erase them.
  • The installer no longer requires a memory card, and will be installed to internal memory.
    • The internal memory of the iLiad has 7.8MB free after installing FBReader. It should not interfere with anything else installed internally.

Based on a support thread I made, file extensions supported are:

  • chm
  • rtf
  • oeb
  • opf
  • epub
  • fb2
  • tcr Because the toolbar is gone, most of the important functions can now be accessed by the hardware buttons:

  • Upper Left/Quit Button

    • Will cancel out of TOC screen, and will quit when inside the book.
  • Page Bar Forward
    • Short Press
      • Next Page
    • Long Press
      • Redo
  • Page Bar Backward
    • Short Press
      • Previous Page
    • Long Press
      • Undo
  • Up Arrow
    • Short Press
      • Previous TOC Section
    • Long Press
      • Increase Font Size
  • Dot or “Enter” Button
    • Short Press
      • Show Table of Contents
    • Long Press
      • Rotate Page
  • Down Arrow
    • Short Press
      • Next TOC Section
    • Long Press
      • Decrease Font Size

Installation of this is simple. You’ll need firmware 2.12 and Developer Shell access. Unzip the file, and copy anywhere on your iLiad. You will need to restart your iLiad when it prompts you. After you’ve restarted, you can delete the installation directory.

There will be no icon to run FBReader, you’ll need to select a book from the contentlister with one of the file extensions listed above.

Supported books will have a valid icon.

You can find the release and discussion at MobileRead: