All posts by ajohnson
Links: 7-10-2006
- Slope One – Wikipedia, the free encyclopedia
(categories: collaborative_filtering recommendations toread ) - deviantART: Death and Taxes: … by *mibi
Great infoviz of the 2004 US Federal Discretionary Budget
(categories: government information infoviz military stats taxes visualization )
Links: 7-5-2006
- Put off Firefox 1.5’s “Unresponsive script” dialogue – Lifehacker
Apply the change mentioned on the page if you get these annoying messages from Firefox.
(categories: browser firefox hacks )
Links: 6-30-2006
- SIMILE | Timeline
“…a DHTML-based AJAXy widget for visualizing time-based events.”
(categories: ajax for:barrytallis infoviz javascript visualization )
Transparent PNG plus pngfix.js
A couple weeks back I mentioned that I used this JavaScript hack to enable IE to see transparent PNG’s in the way I wanted them to be seen (you know, with transparency). I should mention that I had to back out that change because pngfix.js
mucks with the DOM by wrapping the <img...>
tag in a span
and then moves the id
attribute of the image to the span. Bottom line: if you use pngfix.js
and then try to manipulate an img
tag that contains a PNG, you’ll need to remember that the image element with id = x will not be an image element at runtime, it’ll be a span that contains an image.
Wildfire Enterprise launches..
For the last couple weeks I’ve been working on the ‘Deep, Real-time Reporting’ features of Wildfire Enterprise, which officially launched today (if you’ve ever thought about messing around with instant messaging / XMPP / Jabber, I’d highly recommend checking it out and that’s the last corporate pitch you’ll hear out of me). Herewith (as Tim Bray likes to say) are some notes about the tools we used to develop said features.
- Prototype / script.aculo.us: Before I started working at Jive in April, I had done enough JavaScript to get by but my general attitude toward it was disdain. It seemed like it was always safer and easier to do things on the server. Prototype and script.aculo.us changed all that for me. If you haven’t worked with either: get started now. For whatever reason, the prototype website doesn’t contain a lick of documentation, so head on over to this site and this site once you’re ready to dive in. If nothing else, get rid of all your
document.getElementById('thisAndthat')
code and replace it with$('thisAndThat')
, you’ll feel cleaner afterward. Also, make sure you get the latest version of prototype by downloading the latest version of Script.aculo.us because there’s a nasty bug with prototype 1.4 which I’ve written about before.Which leads me to script.aculo.us. Go ahead, be amazed at the drag and drop shopping cart, the ‘sortable elements with AJAX callback’ and the sortable floats. Now, put all that useless stuff aside and look at the core library, called Visual Effects, which include the ability to do just about anything, but make it really easy to do things like slide elements in and out, show and hide elements, and highlight elements. You can see some of the cool effects in action by watching this movie our marketing team made ofthe dashboard in action.
- DWR: I didn’t mention anything about AJAX in the previous two paragraphs because all of the AJAX work is being done by DWR, which takes away all the hassle of binding the objects that exist on your server to the logic on the client and back again. You don’t have to deal with JSON, XML or HTTP requests. On the server you create a class, expose one or more methods and point your DWR config file at the class. On the client, you include a couple DWR JavaScript files and write JavaScript to call methods on the server. It’s drop dead simple. I highly recommend trying it out if you’re using a Java servlet container as your platform. We used DWR in a couple different places, but notably on the dashboard to create a digg.com/spy-esque view of the conversations on the server.
- JRobin: Before working on this project I had never seen JRobin or heard about RRD. In short, it’s a way of keeping statistics about your system over time without having to maintain giant log files or large databases. So if you ever find yourself in a situation where you want to keep track of oh, let’s say the number of database connections to a server, over a period of minutes, hours, days, weeks, months and years, take a look at JRobin. It’s fast, can record just about anything you want and the size of the log file(s) it generates will be the same on day one as it is on day 323.
- JFreeChart: I’ve used JFreeChart on a number of projects in the past, but I used it more on this project than any other. It is not the easiest tool in the world to use. There are about 600 different knobs you can turn, which makes it tedious to make something look exactly like you want it too and the full documentation costs $40, but the product itself is free.
- iText: Last but not least, we used iText to produce some pretty nifty looking reports in PDF format, which includ the graphs created by JFreeChart. I hadn’t ever used iText for anything more than messing around in ColdFusion back in the day, but it was still relatively easy to get something working quickly. It would be fantastic to be able to hand iText an HTML document and say ‘create a PDF’, but you can’t have everything in life.
And that’s the story! Send me an email if you have any questions about how we integrated the above tools, I’d be happy to help.
Links: 6-27-2006
- Data Mining
More infoviz love.
(categories: design infoviz stats visualization ) - Registering an Application to a URL Protocol
Found after a couple minutes of googling to help with this doc: http://wiki.jabber.org/index.php/XMPP_URIs. I think this means I could create a URI called aaron: and it launch: iexplore http://cephas.net/blog/. Worthless but funny.
(categories: registration scheme uri windows ) - Stat. Graphics & Data Vis.
new infoviz blog…
(categories: design infoviz stats visualization )
Links: 6-26-2006
- Gabbly – gabbly.com
Really cool inline chat on any webpage. Some really interesting applications. I’m subscribed to the feed for my blog, feel free to leave a message via gabbly if you want.
(categories: IM browser chat ) - La Chose – Doodim
Cool mac os x application that dims the background of the foremost application.
(categories: free gui osx software )
Links: 6-20-2006
- ewbi.develops: IE: Changing a Textbox Value in its OnChange Event
Read the comments for a good discussion of the difference between IE & FF re: radio buttons and the onchange event.
(categories: javascript onchange radio ) - Unix FAQ – The macosxhints Forums
Frequently asked questions about Unix on OS X
(categories: mac osx sysadmin unix ) - Yahoo! Messenger with Voice Plug-ins – Yahoo! Gallery
Nice tag cloud / slider visualization.
(categories: slider tags visualization ) - http://www.crockford.com/javascript/
Joe pointed this out on his blog awhile back, it’s a great resource for JavaScript hackers.
(categories: javascript programming reference )
Links: 6-12-2006
- andy » ScreenGrab 0.8!
Handy utility that automatically creates png screenshots in Firefox.
(categories: extensions firefox plugins screenshots ) - Paul Kedrosky’s Infectious Greed: The Web is the Database
Better said “web dumpster diving”.
(categories: web2.0 web_dumpster_diving )