Skip to content
Archive of posts tagged Objects And Classes

Killing Tynt’s “Read More:” Clipboard Copy Hijacker With The Adblock Plus Plug-In For Firefox

I love Firefox. It’s pretty much the only Web browser I use. I hate Tynt. If you’ve ever copied text from a Web page, then pasted it, only to find a mysterious “Read More:” link inserted at the end of the text you copied, you just ran headfirst into Tynt. Each time a user pastes [...]

How To (Not) Add Numbers In JavaScript, And How To Troll

And now, for some levity, courtesy of Andrew Clover at doxdesk.com: An obvious trolling of Stack Overflow (and one which they have removed), but a funny one, nonetheless. (Click for full-size pic) So full of win, from start to finish. Even the “Related” links are hilarious. FYI, bobince — the straight man in this joke [...]

Good Coding Practices Should Replace Comments In Code

I recently came across a post on elegantcode.com that really struck a nerve. The premise: If you write good code, comments should not only be unnecessary, they could actually be counterproductive. Says author John Sonmez: “As my experience has increased, I have realized more and more that comments are actually bad. They indicate a failure.” [...]

MSDN Northeast Roadshow: Sept. 24 in Augusta, ME

The MSDN Roadshow returns to Augusta, ME and the Central Maine Commerce Center’s Florian Auditorium on Sept. 24, from 1 p.m. – 6 p.m. (That’s a later start than recent roadshows, because directly before it, there’s a TechNet event about Windows 7 and Remote Desktop.) MSDN Roadshows are a chance for Microsoft evangelists — namely, [...]

Working With The Authorize.net Customer Information Manager (CIM), Part 1: Overview

I’m going to spend several posts discussing authorize.net’s Customer Information Manager, a Web service for storing and retrieving personally identifiable information about the people who place credit card orders on your Web site. Today, I’m focusing solely on an overview of CIM: What it is, how it works, why it works that way, and approaches [...]

JavaScript Function Arguments: They’re An Array And You Can Treat Them As Such

One of the nicest features of JavaScript is the ability to treat function arguments as an array. We all know how to write a function that takes a known number of arguments: function foo(bar) { alert(bar); }   function getArea(shape, measure, unit) { var output = ‘The area of a ‘ + measure + ‘ [...]