Josh (the blog)

I’ve delivered simple, clear and easy-to-use services for 20 years, for startups, scaleups and government. I write about the nerdy bits here.


@joahua

Icing

On the cake that wasn’t. Well, it looked like itcould be a cake, but was actually an oversized muffin. Like the second 10Mbit hub I now own.

Anyway, this oversized-muffin isn’t even resolving the connectivity problems I was having. I have determined with some degree of certainty that the cause of rollercoaster-like Internet access lies exclusively with that D-Link piece of crap/excuse of a router. Which I have only once mentioned in the past here. Suffice to say it was bought chiefly because of my lack of time to get a proxy/PC-based router setup at the beginning of this year, and I didn’t like the idea at the time (‘usurped’ was the word I used, I believe), and like it even less now.

The first Battle of the Firmware has been fought, but, as with the Battle of the Cowshed (I just read Orwell’s Animal Farm), it ultimately just resulted in a change in title of those who were in power: the nature remains the same. Okay, enough trying to apply Communist theory to routers. Basically the firmware I settled on works fine until you actually start trying to use the wireless part of the router. Don’t buy D-Link.

Proposed solutions to the day’s problems:

  • Take the 12pt back with some grunting and moaning.
  • Use the shiny new Samba server as a caching proxy/Adblock proxy and router
  • Revert D-Link piece of crap to the firmware in which wireless works fine, but Bigpond login client does not. Proceed to use as a run-of-the-mill 802.11a/b/g/whatever-the-heck-it-does Access Point.
  • Check out the power supply in my Ubuntu desktop (it doesn’t have a cool name… it’s just “josh” on the network, and it wouldn’t do to say “check out the power supply in josh”. The new server, incidentally, is called Whisper.), because it’s possible plugging in a webcam was the straw that broke the camel’s back. Unlikely, but possible. If not, it’s going to be the motherboard. In which case I’ll probably cry for a while, then realise that the motherboard didn’t have Firewire, its onboard audio broke very early on, and that I could do with some more USB ports anyway. No, processor speed doesn’t come into the equation at all… though I’ll readily admit I’d be happy to have something faster. Oh, yeah… all this means I need to spend more money on a new motherboard and processor :(

Well, unless it’s just the power supply. In which case I can get away without buying any new toys. Thank goodness.

And whenever I finally get around to moving to Team Mac — though I’m not too keen on the Mini anymore, having got one at work and realising:

  1. They have an external power supply that is bloody enormous. Of course, being Apple-made, it’s a damn sexy power supply, but that doesn’t negate the fact it’s roughly the size of a house-brick.
  2. It’s impossible to have dual monitors, due to the lack-of-space-for-anything.

– But *when *I finally move to Team Mac, I’m looking forward to putting that system out to pasture in a working state. And never again will it have anything weird and wonderful plugged into it. It can just sit, and contemplate what on earth was going on when that strange bulbous thing with a USB lead was plugged into it.

Good, bad, broken

I thought I’d clinched a really good bargain. Being one of those people who see buying stuff as potentially being really good, that is, and not simply a loss of money. The guy at the computer shop–being the only one open within walking distance at this time of year, and myself not sufficiently motivated to travel to the city to buy things from people I hate–was particularly charming, in an Asian-computer-store-owner-with-whom-it-is-generally-difficult-to-communicate kind of way. He assumed I knew everything, which is a nice thing to get in computer stores (for me)… but thank God I wasn’t trying to buy anything more serious than a switch, or else I’d have been sorely regretting having stopped trying to keep up with processor/motherboard developments 18 months or so ago. As it stands, I am now regretting that… but we’ll come to that soon enough.

Anyway, I was adamant the switch I bought would be sufficiently devoid of extraneous power packs (external transformers, if we want to be like that), because of the awful mess that exists Where the Wild Things Are… err… I mean, that crevasse into which a wireless access point dangled some months ago. This created complications. Fortunately, the computer-store-owner-person deferred to the top of a microwave, upon which two moderately serious-looking (but vaguely dusty) pieces of networking equipment were perched. He brought one down to within sneezing range.

Glance: 3Com. Dusty.

First question: is it 10/100? It was an ostensibly intimidating device, vaguely reminiscent of my (10Mbps) Baystack enterprise-level gadget. We both assumed it was 16 ports at the time, though on later inspection (i.e. more than a cursory glance sufficient to fulfil the essential requirements of brand and ancillary textual information on the device’s front-plane, of which there was sparsely little) I discovered it was, in fact, a 12 port. As is the Baystack.

The speed, he assured me in enthusiastic tones, must be 10/100. “Are you kidding?” and then “Do you know how much these things cost?” I tried to tell him I’d bought a similar device (the 10Mbit Baystack) for $10 a few years ago, but he was in too much of a hurry. At any rate, I think the humour would have been wasted. His asking price was a mere $30. I could deal with that, for a rack-mount thing. What I really wanted was a smaller-than-rackmount switch with an internal PSU in a well-built metal casing, but for double the ports (so I thought, not realising there were only 12 — an 8 port switch was $30 also) and an internal PSU, it was sufficiently attractive. Bargain.

Having saved money on that (I was going to spend up to about $70 if there was a nice enough metal-enclosed switch), I was happy to spend a little more on the other thing I’d made the trip for, and ended up buying something nearly as good as the 16 port 10/100 switch that turned out to be a 12 port 10BaseT switch.

This second purchas is, largely, the fault of open-source software. aMSN had just released version 0.95, which incorporated MSN webcam support… on Linux. This was too cool to be true, and I had to see it in action! Logitech cameras seem to be the only ones with any kind of decent support on Linux (via V4L, if that means anything to anyone out there… do any regular-ish Linux users actually read this blog?), so it had to be one of them. They have a bottom-of-the-line version for about $40 or so, but I’d just saved money. So I spent $70 on the webcam instead.

Which subsequently blew up my computer.

Yes! Clemency!

Well… maybe not. Uncertain as to whether or not the changes to Australia’s notoriously retarded copyright law that are coming into force next year apply retro-actively… but who cares?! It’s not like they ever prosecuted because of it anyway!

Ah, reform. I might finally buy an iPod.

IE6 Scripting security

Well, IE is notoriously insecure, but today I was hit with one particularly stupid (though supposedly not undocumented — someone on WSG had encountered it before and alleviated much pain!) ‘feature’ of the browser. Basically, I’ve been dependent upon PNG alpha channel working. Hey, the design isn’t mine and I’m just trying to make the CSS work with as few images as humanly possible — though I have realised I have one that isn’t required, but can’t be bothered changing… because once I’ve slated my markup, I only ever add things to it as required, and never work backwards. Otherwise, I wind up in a perpetual cycle of markup optimisation that culminates in a loss of probably under 2KB over about as many days. Tis bad. Must post the way I do CSS/markup workflow here some day, coz it’s something I’d be interested to see other people’s processes of and how different it is/isn’t from my own.

Anyway! Digression aside, I was using IE5.5+’s filter thing (pretty well documented PNG fix with some caveats… it’s the best we can do until IE7 in all its splendiferous glory dribbles from Microsoft’s front door. Don’t ask me where that came from.) with great success, but for the incessant security warnings every time I loaded the page. Yeah, great, this really looks usable. Not. Every twit using XPSP2 is going to be pretty happy to stay on a page when their browser is blurting security warnings at them… and don’t get me started on IE7′s proposed phishing alert thing that lets users report false positives. Dumb users (i.e. 97% of the population) are going to be scared away regardless, and malicious users (i.e. 2% of the population) are going to write viruses that exploit the reporting mechanism to let sites through.

Wow. This is a really windy post.

Okay. On topic (hah!). The moral of the story is, don’t execute web pages locally. IE won’t trust you. However, if it’s on any random web server (I ended up installing Apache on loopback), IE is perfectly happy to let it execute whatever the hell weird kinda code it wants. And that, kiddies, is why we all love Microsoft.

Dying switch

I don’t know if I’ve blogged this before or not. Probably. Basically, my switch (network connecting thingy) that is screwed onto the wall from when we moved in is dying.

It’s bugging me. Lots.

It’s always made these high-pitched noises (kinda like “dying-capacitor”, but without the “essence-of-dying-capacitor” smell, so I always figured it was okay), which have traditionally denoted fluctuations in speed if not in connectivity. Of late, connectivity has become the principle benefactor (involuntarily) of these noises.

To the point that I just heard the sound and was turning around thinking how delightful it would be to punch its dinky, plasticy, 8-ports of junk through our dinky, plaster-board-y, cardboard-thickness external walls. There was a rare synergy in design between the two, there. I’m inclined to think the switch is dying/dead because of the fact that it’s bolted straight onto a wall that effectively acts as a big heatsink (think heating, not cooling). But whatever, it sucks.

It was saved by the fact there’s a moderate size solid piece of furniture in front of it (that’s the one I think I lost an Access Point/router behind) and I’m sleepy and I would have hurt myself if I’d tried. Probably would have felt better, though.

Anyway I’m probably going to buy a new switch tomorrow, coz this is driving me nuts. It’s kinda good, though. I decided it wasn’t worth trying to stay online and do stuff before, so I went and read [at home, here] for a bit. “At home” is kinda a big deal, because I only read when I’m away/on public transport and not completely zorked out to the world. Cool, though.

I also got a fileserver setup a night or two ago (only 11 months overdue!), ironically because the ‘net connection had been so pathetic I’d actually had time to think about what I was going to do. Woo, Samba for the masses! *dances* Yeah, sorry, joke that had to be made. For the record, I’m pretty cold on the idea of career journalism, so I’m allowed to make cliched to-be-expected-from-IT-journos-of-the-late-90s comments like that and get away with it. Uh huh. Smile, nod, keep walking.