Oops! Something went sideways.

Looks like the styling got goofed up. Sorry about that, unless it's what you wanted. If this isn't what you were looking for, try force refreshing your page. You can do that by pressing Shift + F5, or holding Shift and clicking on the "reload" icon. (It's the weird circle arrow thing "⟳" just above this page, usually next to where it says https://blog.unitedheroes.net...)

isn't quite ashamed enough to present

jr conlin's ink stained banana

:: I Don’ Need No Stinkin’ Bodges!

It’s the latest rage, you know. It seems like everyone is offering “badges” for bloggers, web-site folks, or really anyone to toss up onto their pages. For those that don’t know, badges are little bits of javascript that you can add to your pages.

A few words about that:
1. Javascript sucks. Well, to be accurate, it sucks CPU. To be even MORE accurate, it halts page loads while it goes and fetches the script content and gets executed. This makes sense from a browser/DOM/DHTML sense since the very page you’re looking at is about to become RADICALLY different. That’s the reason all the web page design speed freaks out there tell you to load CSS at the top of your document, and Javascript at the bottom. (i cheat and put the javascript in the side bars that load up last anyway and then use CSS to move them into place.)

2. Their problems are your problems. Remember, if their site is overloaded, or hung, or taking a nap, your page loads will too. (See #1)

3. Other Reasons. There are other reasons too. Some depend on the thickness of the crainial foil, but there’s good reason none the less.

Still, if you’re not a programming whiz, they’re darn handy none the less.

Fortunately, i am. You’ll note that the MyWeb 2.0 list to the right doesn’t look like the normal badged version. That’s because i’ve got a nifty script that goes out and fetches that list every so often. It stores it and loads it up as needed. i get more flexibility with what goes on it and how it’s displayed.

Mind you, the flickr badge on the left is a real javascript badge. That’s because it’s literally the last thing on the page and by the time it shows up, you’re usually pretty far down the article. (ooh, magic!). Plus i didn’t feel like rebuilding it.

Still, the stupid thing is that as much as i don’t like badges, i definitely see their use. Still, i wish that there were some way to display content on a page without a) risking your cookies b) slogging your pages and c) being difficult.

Lo and behold, guess what Y!Developer just came out with?

If you guess PHP native interfaces, you get a cookie.

Yep, the hack i was planning on offering soon is now reality as you can code up quicky plugins for any PHP app (wordpress anyone?) to use Yahoo! stuff. You can now write caching versions of whatever service you’d like to create. Wanna build a plugin that tracks the price history of flights from San Francisco to Washington DC? Now you can, and you can use native PHP to do it.


Cripes, with this and the Javascript UI elements, there’s ALL SORTS of crap you can do. To clone Mr. Winer’s suggestion to clone the Google API, why the heck would i want to restrict myself to that?

Blogs of note
personal Christopher Conlin USMC memoirs of hydrogen guy rhapsodic.org Henriette's Herbal Blog
geek ultramookie

Powered by WordPress
Hosted on Dreamhost.