New & Improved! PHAT COCK 2.0

9 02 2008

Over Christmas break I spent the week re-writing Phat Cock Tees, the first Rails app I did in 2005. It was finally deployed today.

Crawling through the code it was clear had a very limited understanding of what the hell I was doing back then. It was still running as a CGI on Postgres in the development environment. Gee. Wonder why it was slow?

I think you’ll like this version much betteh! And still Not (always) Safe for Work.
View at your own risk.
Parental Guidance Suggested.
Dangerous Curves Ahead.
Maximum Load 3000lbs.
Do Not Use Near Open Flame.

Technically, I played with more cool stuff like RSpec, Scriptaculous effects, Haml, Sass, MySQL, more modern version of Rails (but not yet 2.0), Capistrano, ActionMailer, REST, siFR, and no more HTML tables.

1882 shirts for your viewing pleasure.



TortoiseSVN. …member?

5 02 2008

So back when you used Win98 to develop webs apps in PHP, there was that cool plugin for SVN that integrated with Windows Explorer. You could see the status of a file because its icon would change colors if you modified it. You could right-click and do most of the SVN actions.

I’ve been wanting that for the Finder in Mac OS X ever since I switched in 2006.

At the end of December, besides the year crashing to an end, a tool I’d written off for dead, was updated!

SCPlugin is like Tortoise for Mac! I’ve installed it and will let you know how it goes.

I’ve been using svnX. It’s ok for general work but doesn’t let you easily check out a previous previous version of a file or handle svn properties.



Jack Slocum’s Blog » WordPress Comments System built with Yahoo! UI

9 10 2006

Jack Slocum’s Blog » WordPress Comments System built with Yahoo! UI

Lookie there! He’s using the “Purple Number” concept from wayback to append comments inline to content nodes. Smells like a living document to me!

When adding a comment, check out the custom cursors for the re-size of the dialog window: vertical, horizontal, and diagonal. Nice touch.

Cool stuff. Thanks AJAX.

(Having looked at the Yahoo UI Lib, its powerful, has some nice widgets, but is way too complicated for my taste.)



AJAX + DOM + BrowJax

8 10 2006

I’ve been going through Pragmatic AJAX: A Web 2.0 Primer and got to the debugging section this morning. They mentioned some Firefox plugins and other useful things:

Firefox Plugins

View Source Chart - shows you the page’s structure in colored, nested boxes.

View Formatted Source - color-coded source with CSS properties

MODI

MODI v2.0.2 - A bookmarklet that lets you mouseOver elements to get more info.

DOM and Debug in Safari

To turn on the Debug Menu in Safari, open a Terminal and run:

$ defaults write com.apple.Safari IncludeDebugMenu 1

You’ll now get the Debug Menu and be able to access the DOM Inspector and other goodness.