Category Archives: Technology

Beware the hidden proxy…

I lost several hours troubleshooting a particularly bizarre problem.

I’m currently developing a “simple” admin interface for our customer database here at IceTV and I found that certain pages would fail to load for no adequately explained reason.

I spent hours scowering logs, debuging our in-house Template engine, all to no avail.

The only things I noticed were

1) That the pages that failed to load had one thing in common, they contained some Javascript

and

2) That aditional javascript code was appearing in those pages, the extra code consisted of two blocks of Javascript, one at the top of the page and the other at the bottom of the pages, here they are…..

Top of page

function SymError()
{
  return true;
}

window.onerror = SymError;

var SymRealWinOpen = window.open;

function SymWinOpen(url, name, attributes)
{
  return (new Object());
}

window.open = SymWinOpen;

Bottom of page

var SymRealOnLoad;
var SymRealOnUnload;

function SymOnUnload()
{
  window.open = SymWinOpen;
  if(SymRealOnUnload != null)
     SymRealOnUnload();
}

function SymOnLoad()
{
  if(SymRealOnLoad != null)
     SymRealOnLoad();
  window.open = SymRealWinOpen;
  SymRealOnUnload = window.onunload;
  window.onunload = SymOnUnload;
}

SymRealOnLoad = window.onload;
window.onload = SymOnLoad;

It turns out that Norton Internet Security that came pre-installed on our machines is configured by default to do “Ad Blocking” and it does this by adding its own Javascript code to the downloaded pages (see above).

Unfortunately, for whatever reason it sometimes returns an empty page instead of the requested page, hence my problems.

Disabling the “Ad Blocking” functionality seems to have solved the problem.

It seems that a lot of the security tools around today intercept internet traffic, it may not be obvious so be warned!!!!

GTi – MacMini

How cool is this… A Mac mini and iPod dock built into a car… Sweet….

TunerTricks ? Blog Archive ? GTi – MacMini

It seems that the guy who did the mod does these kind of things for a living so it’s not the usual “Too much time on their hands” scenario.

My journey to the dark side is almost complete…

Well, after much waiting I have finally taken the plunge…

Yesterday I ordered a 20″ G5 iMac

g5_imac

Stats are as follows

  • 20″ Display ( 16:10 )
  • G5 1.8GHz
  • 2 GB RAM
  • 250 GB HDD
  • DVD Burner
  • Bluetooth
  • 802.11g
  • Bluetooth Keyboard & mouse

This cost the princely sum of $4002.65 due to a developer discount from Apple and purchasing the RAM from Streetwise

Hopefully this will be the first, but not only, Apple to become a member of the Drysdale Collective.

With a little luck we should be adding a Mac Mini in the near future for Viv.

My next TV….

Imagine a large HiDef TV, the thickness of a plasma, but the display quality of a CRT….

Here it is Flat-Panel SED they use significantly less juice then the current TV technologies as well.

Of course they cost a crack load at the moment so I guess I’ll be getting one around 2038.

Microsoft's AntiSpyware hit by Spyware

You’ve got to love this one……

M$ AntiSpyware application can be disabled by a recently discovered Trojan horse.

Microsoft’s AntiSpyware hit by a Spyware

Pepper Computer

I stumbled on a new gadget today called the Pepper Computer, basically a wireless web-pad running Linux on an Intel PXA270 CPU.

The feature set looks good, the use of Linux as the OS suggests that it might be hackable, a bit pricey at US$899 but certainly something to keep an eye on.

It can double as a remote control as well so I guess if the Remote software is decent then it might appeal to users who want a Pronto on steroids…

According to the Pepper Technology page, the apps are all written in Java and the pages are XML and are then transformed via XSLT to XHTML or XUL to be rendered by the Gecko engine, skinning is handled using CSS.

It certainly sounds like they’ve done their homework, the Pepper can handle JPEG, PNG, GIF, MP3, AAC, WMA, WAV, MPEG1, MPEG2 and MPEG4 so all the bases have been convered from a multimedia standpoint.

The Magic of NeXTSTEP

I was reading an Article on Slashdot yesterday about a video of Steve Jobs demonstrating NeXTSTEP 3.0, the video shows the advanced GUI, networking and collaboration features as well as the speed and ease of developing apps on the platform.

Most of the technology in NeXTSTEP has made it into the current Mac OS (OSX), I was doing a little development on a Mac a few months ago and found it amusing that most of the system APIs contained functions named NS_xxxxxx showing the links to the NeXT codebase.

The demo of application building was almost identical to the current application building framework ( XCode ) seen in OSX ( albiet with more eye candy ).

The NeXT and Mac OSX have a series of libraries called Kits that encapsulate various functions of the underlying OS, there is a Networking Kit, a Web Kit etc and this rich set of libraries ( along with a concept of modular design ) are responsible for the flexiblity and tight integration of the software on OSX.

If only technical excellence guaranteed success then Apple would have a hell of a bright future. Alas, as Sony found out with Betamax, it’s all about the marketing…..

NOTE: For those who would like to have a play with the NeXT environment without buying a Mac, you can check out GNUstep, which is based on the OpenStep specification originally created by NeXT.

Mac Mini, the perfect Kitchen Computer

Apple recently announced the latest ( and smallest ) in their line of desktop PCs, the Mac Mini

This sweet little thing is just what you need in the Kitchen/Family room to

  • Check email
  • Write up your shopping list
  • Look for recipes
  • Play a little music

The sky’s the limit.

It could also sit in the theatre room hooked up to your HiDef projector via DVI and let you surf the net on a BIG screen or play some of those DivX/XVid programs you downloaded off the net.

You can get it with 802.11g and Bluetooth to save on the cable clutter.

SCO and the Self Inflicted DoS Attack

You’re not going to believe this one….

I got a call from a long-time customer of my employer ( it was my turn with the pager :( ) at approx 3:00am on Monday 20/12/2004 reporting that a SCO machine on their network had gone down and that their investigations pointed to our machine ( also running SCO ) as the culprit.

As the machines in question had been installed and running for approx 6 years and neither machine had been modified in quite some time, I was to put it mildly, sceptical of their conclusions.

After a day of sifting through the system, application and other logs ( thanks mostly to the excellent sar utility from the Sysstat tools ) I came to the conclusion that one or more processes on our system had suddenly become very active, but I was unable to determine the identity of the culprit.

One thing I did notice was that the uptime was approx 248 days.

I passed the analysis on to a colleague who found that there is a known bug ( OSS456B ) in some versions of SCO OpenServer that result in unpredictable behavior once uptime exceeds 248 days, some sort of internal integer overflow error.

In the case of our machine, once the magic number was hit it started broadcasting packets to any SCO Licence daemons on machines connected to the network at an enormous rate effectively mounting a DoS attack on any machines listening on the desired port.

Mission Impossible: Personal Finance Apps

Why is it so hard to find a half-way decent personal finance app, that works on your platform of choice and doesn’t cost the earth??

If you’re a windows user then no-probs, Quicken have a nice product for the home user Personal Plus, you can also use Microsoft’s personal finance product Microsoft Money 2005.

For those of us anarchist non-windows types we can use Quicken 2005 for Mac if we own a mac AND are in the United States, no localised Australian version for us even though all the Quicken windows products are available here.

If you run Linux then you’re buggered, there are many Open source products in this category but few are more then toys and none fully replicates the feature sets of the low-end windows products.

Probably the best bet is GnuCash which does most of what you need for a Personal Finance App, but is missing two of the most useful features

GnuCash Runs on Linux and Mac OSX, there are no plans for it to be ported to Windows but you never now.

1) Budgeting – Allow you to set spending limits on categories and track your spending against these limits.

2) Debt Reduction Scenarios – The ability to determine the best way to allocate extra money to your current debts and prepare a plan to get out of debt. From memory this is handled very well in Quicken’s products.

Maybe I should go back to a spreadsheet, but it’s such a pain in the ass that it won’t get done, oh well, back to the salt mine….