November 2009
12 posts
1 tag
MarkEdit Documentation
For those interested, I finished the preliminary documentation and sample code for MarkEdit. It can be viewed via the Bitbucket Wiki. The documentation includes… Installation Sample code Complete API reference Complete configuration option reference
Developer Blog Entries
I haven’t done any development in the past few days thanks to this holiday weekend, however I did have a chance to catch up on my blog subscriptions (which were really beginning to pile up). My wife just peeked over my should and said I was also spending quality time with her. Ryan Tomayko on Unicorn (ruby), “because it’s Unix.” A neat post on using some of the unixy...
3 tags
WMD Editor & jQuery
I’ve been using Dana Robinson’s WMD Editor fork for a couple of months now. It was a great place to start. The problem is, it’s becoming a real pain to customize. Small things were taking huge amounts of time to accomplish so I had a tough decision to make: Continue to use WMD Editor and have to spend hours for customization that should only take a minute or two -OR- re-write...
2 tags
Using jQuery's Dialog Function to Get User Input
The jQuery UI library provides a really useful method: dialog. It allows any tag to be rendered as a fake “window” in the browser in either a modal or non-modal way. It’s easily a natural choice for any time we need a dialog to fetch input from a user. What makes it somewhat difficult for some programmers to use is that it’s an asynchronous function. It opens the dialog...
4 tags
A Truly Modular Web Framework
Web development is weird. It’s weird because the rendering of the UI (in HTML) feels so incredibly disconnected from the logic and objects that are represented by the UI. It’s weird because the UI is usually rendered by a server-side template facility, but is occasionally rendered by cilent-side javascript. Here’s an example. I find the decorator pattern really cool. ...
3 tags
Django South Fork
I really like South (the database migration app for Django). I even wrote about it a little bit on Stack Overflow (#1590944). In short, South lets you create python-based migrations to change the database schema. The translation is that you can have a Django model, make a change to it, and then have south change the database schema for you. It’s generally awesome. But there’s this...
2 tags
Komodo Edit Theme: Candybar Ver 1
Well what’s the fun of a new editor without a new color scheme to go along with it? Here’s my latest Komodo Edit color scheme. The colors were inspired by Mozilla Bespin, but I’ve certainly taken things in my own direction. Python HTML Instead of uploading the file somewhere (which would create a broken link a year from now), I’m going to insert the text right here. To...
1 tag
Komodo Edit
I’ve been using Netbeans for Python for several releases now. Don’t get me wrong, it’s not a bad editor. The problem is that I’ve used Visual Studio which includes Intellisense. In Episode 50 of the Stack Overflow podcast Joel refereed to Intellisense as “crack” — once developers try it they’re hooked. After coding in Visual Basic, VB.NET, and...
3 tags
Mercurial hgwebdir under Apache using WSGI
The doc for setting up HgWebDirStepByStep sure make it seem harder than it really is. Maybe it is hard. Maybe it’s just that I spent so much time trying to understand the doc, that when I actually just tried it myself it wasn’t that bad. I’ve been thinking of moving over from SVN to Mercurial (hg) but wasn’t sure if it was worth the fuss. I moved. It seems nice. ...
2 tags
Javascript: The Good Parts (the Video)
Kudos to Google and MIT for uploading such great quality stuff to YouTube (if you’ve been scared off by the drones of webcam-yourself-complaining-about-current-events then give it another try). I stumbled upon Doug Crockford at google speaking on “Javascript: The Good Parts”. He has a book by the same title as well. In his presentation he also mentions JSLint, a tool he wrote...
2 tags
FizzBuzz Ruby
Well since I was in the mood writing FizzBuzz and since I’ve been working on learning Ruby, I figured, why not do recursive fizzbuzz in ruby? Ruby is quite an expressive language. It feels like it comes with more built-in keywords and default methods than python, so I’m sensing it is a bit more complex to learn. However, it has some neat stuff. I’m thinking of writing...
Toshiba T135-1309 13.3" Laptop Review
It’s funny how times changes. 9 years ago I purchased a Toshiba laptop for college. It set me back $1800 and came “loaded” with a Pentium 3 @ 600Mhz and 64MB RAM. I promptly maxed out the RAM to 192MB. I ended up hating it and vowed never to buy a laptop again. Fast forward now a decade into the future. Things have changed. I’m married, have a full time job, and...