Aardvark Daily aardvark (ard'-vark) a controversial animal with a long probing nose used for sniffing out the facts and stimulating thought and discussion.

NZ's leading source of Net-Industry news and commentary since 1995
Australasia's "New Economy" News And Commentary Site
Headlines | XML feed | Contact | New Sites | Archives | Job Centre | MARKETPLACE | For Sale
Aussie Domain Name Scammers At It Again
Updated 12:35pm, 24 April 2002
Having attracted the attention of the Australian Competition and Consumer Commission (ACCC) and now facing legal action over its allegedly misleading marketing practices, the Internet Name Group (ING) appears to have once again turned its attentions to this side of the Tasman
More...
Note: This column represents the opinions of the writer and as such, is not purported as fact
Gates Admits Bad Programming Practices (more or less) 24 April 2002 Edition
Previous Edition | Archives

Million $ Ideas
At last, the contents of Aardvark's "million-dollar ideas" notebook are revealed for all to see!
Click To See
A seemingly well coached Bill Gates has taken the stand in an attempt to avert a US court from handing out stiff punishments for Microsoft's breach of anti-trust laws.

Top of Bill's reasons why the company should not be forced to open up its software is the claim that the individual components are so tightly integrated that such changes are effectively impossible.

But hang on... didn't we hear a similar claim from Bill's boys a couple of years ago -- only to have them shown up as nothing but hype?

This time however, I really think that Bill is telling the truth -- and that explains why MS Windows and other Microsoft applications are such a wonderful playground for hackers, virus writers and other malevolent sods.

Need Cutting-Edge Copy?
As NZ's longest-running online commentator, I'm looking for extra syndication opportunities for this daily publication -- or I'm happy to write casual or regular material specifically to order for print or Net-based publications. If you're interested, drop me a line

Unless things have changed a whole lot since I was a programmer, one of the key strategies when trying to write software that is correct, robust, reliable and easy to maintain -- is modularity.

In fact the concept of "modular programming" has been a cornerstone of the software industry for as long as I can remember.

An essential element of producing modular code (with all the desirable attributes listed above) is to compartmentalise functionality such that its internal workings are accessed through a well-defined and well documented interface.

Readers Say
(updated hourly)
From Yesterday...
  • Xtra Jetstart... - Paul
  • Jetstream 'Starter'... - Joe
  • Data Capping... - Vincent
  • Jetstream Caps... - Brian
  • Xtra's JetStream Starter... - Dave
  • Reply to Chris Barton... - Craig
  • Changing DSL service... - Dominic
  • Difference between you... - Kurt
  • International charging test?... - Ian
  • Have Your Say

    Modular programming also promotes another desirable trait -- reusability.

    This means that instead of duplicating the code for a commonly used operation, it can be turned into a module and re-used whenever that function is required throughout the program. Older (FORTRAN or BASIC) programmers will have implemented such reusable components as "subroutines."

    When Pascal and C arrived on the scene, these little snippets became procedures or functions. And, with the arrival of object-oriented languages, some of them morphed into objects that are defined by "classes."

    These small modular, re-usable bits of code are then used to create larger, more functional modules which, in turn, are used to create even larger, even more functional modules - and so on -- until you have the top-most layer which is the application itself.

    (Note for experts: I realise that I've described the "bottom-up" method when top-down is far more commonplace -- but the concepts of nested modularlity are the same).

    The end result is that any program, or part of that program consists of a well defined and organised group of modules that cooperate in a well-defined manner. Changing or removing a single part of a program can then be done with full understanding of the effects and minimal disruption to the rest of the code.

    Now that we've finished the brief history of programming I'll get back to the point I'm trying to make.

    Well designed software doesn't consist of a huge monolithic block of code such as the one Mr Gates appears to be claiming has been used to build Windows.

    Large lumps of code little in the way of modular structure are notoriously hard to build, test and debug.

    Now can you see where I'm headed?

    This morning we have yet another report of an expert uncovering multiple flaws in Microsoft's IE6 web-browser -- the very browser that Microsoft says is too tightly integrated into Windows to remove.

    Now I'm sure that Microsoft didn't set out to create a huge, unmanageable block of code that ignored many of the basic rules of good programming -- but even the best project can degrade into an unmanageable mess of endless, poorly documented interdependencies if care isn't taken.

    What's more, this degradation from nice modular system into a monolithic mess often happens in response to the need to fix bugs and add functionality to very tight deadlines. Such pressure often forces programmers to break the rules and take shortcuts in order to keep the marketing and management teams happy.

    Unfortunately, once you start such a downhill slide it becomes a vicious circle that can be impossible to break.

    So, are Microsoft's seemingly endless list of security holes and bugs a direct result of abandoning one of the oldest and most basic of programming disciplines perhaps? Maybe they don't want to share their code because they'd die of embarrassment?

    Come on Bill -- If your code is up to spec then you should be able to rip out any single module of your OS or applications and allow third-party replacements by simply publishing the programming interface specifications.

    XTRA Double-charging For Over-Cap DSL Traffic
    I spoke to Matt Bostwick over at XTRA yesterday to try and get some answers to the issues raised in recent Aardvark columns regarding their crazy caching proxy server.

    Following that conversation it appears that Aardvark is no longer being over-cached (hooray) -- but many of the other overseas sites I rely on for news still are.

    If you're an over-cap DSL user who is paying $0.10-$0.20 per MB to access overseas websites be warned -- if you want the latest version of pages from these sites you will actually be paying DOUBLE the price thanks to XTRA's cache.

    Yes, when you enter the URL of a site that is being incorrectly cached by XTRA you will get the last cached version. To get the LATEST version you will have to hit refresh. XTRA will charge you the going rate for BOTH copies -- so you're paying twice. In effect, XTRA may have ripped you off the first time by selling you an old version which, in the case of news, might be already well out of date.

    So -- XTRA have slapped a bandaid on their ill-mannered caching proxy to address my own copyright issues -- but they're still rorting over-cap DSL users who just want to access up-to-date content from other international websites.

    Is this incompetence or just a smart way to earn extra money?

    I'm not going to provide XTRA with a long list of sites that should also be excluded from their caching proxy-server's grubby little hands. I want them to revise their caching rules to put the interests of their customers ahead of the desire to engage in gross profiteering.

    This whole issue has generated a raft of correspondence from readers -- and several have asked "why are you picking on XTRA" -- which is a valid question.

    Well XTRA is NZ's largest ISP so its caching practices are likely to have more effect than those of any other ISP. Secondly, I'm not in a position to comment on the caching practices of any other ISPs because I don't use them and therefore can't test them.

    Have Your Say
    As always, your comments are welcomed. Please remember to select "For Publication" if you want them included on this site.

    Have your say.

    Add Aardvark To Your Own Website!
    Got a moment? Want a little extra fresh content for your own website or page?

    Just add a couple of lines of JavaScript to your pages and you can get a free summary of Aardvark's daily commentary -- automatically updated each and every week-day.

    Aardvark also makes a summary of this daily column available via XML using the RSS format. More details can be found here.

    Contact me if you decide to use either of these feeds and have any problems.

    Linking Policy
    Want to link to this site? Check out Aardvark's Linking Policy.

    Did you tell someone else about Aardvark today? If not then do it now!

    Latest
    Security Alerts
    Security flaw in Microsoft Office for Mac (CNet - 18/04/2002)

    A trio of MS-Office security vulns (TheReg - 10/04/2002)

    Two new "critical" bugs patched in IE (ZDNet - 01/04/2002)

    Second Java hole poses Windows risk (CNet - 20/03/2002)

    Microsoft offers patch for Java software (CNet - 06/03/2002)

    Latest
    Virus Alerts
    New Klez worm squirms across Internet (CNet - 18/04/2002)

    Aphex E-mail Worm Has A Way With IRC, Instant Messenger (NewsBytes - 11/04/2002)

    'Bill Clinton' Worm Gets Around (NewsBytes - 22/03/2002)

    Bookmark This Page Now!

     

    MORE NEWS
    NZL Sites
    IDG.Net.nz
    NZ Netguide
    NZ Herald Tech
    PC World NZ
    Scoop
    NZOOM Technology WordWorx

    AUS Sites
    ZDNet
    Fairfax IT
    Australian IT
    AUS Netguide
    NineMSN Tech
    APC Magazine

    USA Sites
    Wired.com
    CNet
    CNNfn Tech
    TechWeb
    Yahoo Tech
    ZDNet Tech
    USA Today Tech
    7am.com SciTech

    UK Sites
    The Register
    BBC SciTech

     

    The Day's Top News
    Open in New Window = open in new window
    New Zealand

    Open in New Window Telecom Parkes itself in the Webb of access pricing
    Most telecomms users would favour the long-term benefit conferred by sufficient profit and investment funds for innovation than the short-term benefit of lower prices says Telecom's government relations manager Bruce Parkes...
    IDG

    Open in New Window Swain widens the e-commerce net
    Commerce Minister Paul Swain will launch a revamped website to showcase the E-Commerce Action Team at its first birthday party in Wellington on May 16...
    Stuff

    Other

    Open in New Window Firm Sues Movie Studios To Defend DVD-Copying Software
    Little-known software company 321 Studios is taking nine major motion picture companies to federal court in an effort to prove its $39.95 application for copying DVD discs is legal...
    NewsBytes

    Open in New Window IE 6 Privacy Features Open Users To Attack - Expert
    Security flaws in privacy features added to Microsoft's Web browser could enable attackers to perform several privacy-robbing attacks, including hijacking victims' MSN Messenger accounts, a security researcher warned...
    NewsBytes

    Open in New Window Musician to Napster judge: Let my music go
    A 1960s-era recording artist says he can't get Sony to pay royalties, so his psychedelic pop might as well be free...
    Salon

    Open in New Window Gates Sticks to Competitive Guns
    If one of the provisions of the government's proposed settlement with Microsoft goes through, Bill Gates says, the company wouldn't be able to compete with anybody...
    Wired

    Open in New Window Flash News Flash: It's Accessible
    Flash may be the de facto killer app to create Web animation but it's never been accessible to those who can't see or hear. Well, now it's an accessible killer app...
    Wired

    Australia

    Open in New Window Australians resist Internet addiction
    Australians lap-up new technology but have a long way to go before reaching the Internet addiction of other high-tech nations, a report issued today has found...
    SMH

    Open in New Window Nokia Australia set to compensate angry customers
    Nokia Australia has moved to appease angry customers and the NSW Department of Fair Trading after the mobile phone maker admitted to selling defective handsets to consumers...
    ZDNet

    Other

    Open in New Window Chuck D takes on the record industry
    A handful of leading musicians are embracing the possibilities offered by digital music, among them Chuck D, co-founder of rap group Public Enemy...
    BBC

    Open in New Window [US] Army proxy server closes Web back door
    As part of a larger effort to scour the Internet for sensitive information, the Army has set up a "proxy server" on which it can host its Web sites for public viewing without opening a back door for hackers...
    FCW

    Open in New Window SMS spam canned
    European Union companies may have to get permission from mobile users before sending commercial messages via SMS, following the progress of legislative plans in Brussels last week...
    The Register

    Open in New Window This @?#%! Digital Car Won't Drive
    Flip through a new luxury-car manual today and you'll discover a mind-boggling array of features. The new $33,000-plus E-Class sedan and $83,000 SL-Class roadster from Mercedes-Benz offer voice-activated phones, headlights that switch on automatically, and...
    BusinessWeek

    Open in New Window Anti-Spyware Program Targeted By Multimedia Player
    Calling the tactic "malware at its worst," Lavasoft said its privacy software is being silently deleted when users install a third-party multimedia player...
    NewsBytes


    Looking For More News or Information?

    Google
    Search WWW Search Aardvark

    Privacy Policy | Copyright © 2001, Bruce Simpson, republication rights available on request

    jet engine page