This Just In...

Inspect and save apache request headers

I wrote this function because one of our web apps that was communicating with our web server suddenly began receiving Error 406: Not Acceptable (The requested resource is only capable of generating content not acceptable according to the Accept headers sent in the request). So I inserted this bit of code to capture exactly what that accept header was and see if we could fix the problem. It writes the output to a file on the webserver.

Engine removal time-lapse

Custom JPlayer Skin

This is a skin for the JQuery plugin JPlayer I developed for Kansas Public Radio. It's designed to look like a display screen on a piece of professional audio equipment. You can view it live here:

Product Review: Nikon J1 with Nikon AI-S manual focus lenses

I bought a Nikon J1 mirror-less camera to use with my old manual focus lenses. This review will focus on the camera's ability to use old manual focus lenses. I'll explain how well the camera body pairs up with lenses, and if they're easy to use with it. Long story short: they're not. And here's why...

Vintage Scrambler Build, part 1

I love my 1974 Honda CL200, but some features are just... dorky. And what they're doing in Japan with old Hondas and Yamahas inspired me to do the same with mine. So what started off as a mild, stock-ish restoration project, began to steer in the direction of darkness when I decided to add some bratstyle/tracker styling cues. One thing led to another, and the next thing I find myself doing is bobbing the rear fender.

Motorcycle Side Cover Repair

I'm no expert in automotive body repair, just an amateur with a camera and a desire to do things my way. Sure, I could take it to a pro, but I like the idea of learning how to do things myself, which provides me with confidence and gusto. Or I could try to find one on ebay, but they're so rare these days that it will cost a gigabuck and it's likely to be just a cracked, brittle, and broken. What fallows is my attempt at repairing them with a few supplies from the hardware store and willingness to learn and take risks.

How to refinish aluminum

While restoring my CL200, all the aluminum had to be refinished: the engine side covers, wheel hubs, and fork tubes. Honda originaly covered them in a clear coat to protect from oxidation, but over the years that clear coat turned yellow, and any scratches and nicks allowed oxidation to creep in and crawl around. The result was a very ugly, very tarnished surface. Here's how I cleaned them up.

Whelp, I found her, my dream bike: Honda CL200 Scrambler

For as long as I can remember, I've had my eyes peeled for a sweet old motorcycle. Not a Harley, not a crotchrocket, just a nice, standard motorcycle. And from the 60s or 70s. Well, I think I finally found her: a 1974 Honda CL200 Scrambler. Turns out it's a rare bird–it's the much less popular, "scrambler" twin to the CB200. 1974 was actually the only year they made them! It features high pipes for better off-road clearance, the moto-style bars, and off-road styling cues. I dig it!

Why You Should Not Use WYSIWYG Website Editors

I built a perfect, beautiful, wonderful website using the Drupal CMS, Amason S3 and CloudFront for Atipa Technologies. Everything worked flawlessly and looked amazing. After I left the company, they decided to duplicated the work of a real web developer with one of those WYSWYG website editor (Adobe Muse by the looks of the source code). The result, as you can see, is pitiful. An uninspired child could make a better website than that. For shame...

How to rapidly build html5 web applications

This article is an abridged version of the presentation I gave at the Texas Advanced Computing Center, which was the motivation for creating a web app in the first place–one that went on to become


A few months ago while thinking about purchasing a new suit, I was looking for some sort of website that would let me mix and match different colors and patterns and see how they would look. There was no website like that. So I decided to build me own! helps you find the best color combination to choose that perfect suit you've been looking for. It provides a way to test ideas before trying them out at the store.

Modern Seinfeld Plots From Ya Boy Danny

Not too long ago, a parody Twitter account went viral and had us all laughing. Lately though, it's gotten a little stale. Here are a few Modern Seinfeld plot lines of my own, in 150 chars or less.

The Future of HPC: Advanced Computing Interfaces?

My article on wikiHow, How to Build a Supercomputer must have struck the right chord–it's been read over 50,000 times as of writing this. The hardware part is easy, if you have the cash. The software part, however, requires much more know-how and experience. Many of the tuning tricks–such as turning off IGMP snooping to reduce overhead in the switches, and using an 8x8GB memory configuration (as opposed to 4x16GB) to reduce the latency/bandwidth bottleneck of Piledriver CPUs–are crucial to making the investment worth the money.

How to write your first blog post

Step 1: Start off with something ambiguous.

Beautiful is better than ugly / Explicit is better than implicit / Simple is better than complex / Complex is better than complicated – The Zen of Python

Step 2: Now decide what it is you're writing about.

So you want to learn Python? Here's how...

Sorting Algorithms Proof-of-Concept

This program tests the efficiency of several sorting algorithms, including bubbleSort, insertionSort, mergeSort, quickSort, and selectionSort. It can sort any size of array from size 10 to size 10 million, and in either ascending, descending, or random order. The purpose is to find the time it took to search the array for research purposes.

About Dan Mantyla

Dan Mantyla is a freelance web developer and the webmaster for Kansas Public Radio. As a utility infielder of all things software development and with a BS in Computer Science from the University of Kansas, Dan has done everything from contributing to open-source web frameworks to designing advanced HPC cluster management architectures in Python. In 2015, Dan wrote Functional Programming in JavaScript. Dan lives in beautiful Lawrence, KS, home of Linux New Media and birthplace of Python Django.

Introducing: dan·nix

Dan - noun (dein) - First name of Daniel Mantyla, utility infielder of all things software development, and creator of this website.

*nix - noun (stahr·nix) - A Unix-like operating system, one that behaves in a manner similar to a Unix system, while not necessarily conforming to or being certified to any version of the Single UNIX Specification.