crazyscot: Me at an outside broadcast (Default)
posted by [personal profile] crazyscot at 09:27pm on 11/11/2014 under , , ,
Every now and then I find myself needing to remember the gcc rune (above) to list the built-in pre-processor symbols. Google knows it, of course, but I just came across a scrap of paper with the scrawling. How very 1990s. So rather than keeping it buried amidst the silt of my physical desk, I'm going to try keeping it buried amid the silt of my virtual consciousness to see if that's a more useful place for it.
crazyscot: Me on Mt Hutt (skiing2013)
posted by [personal profile] crazyscot at 01:00pm on 01/01/2014 under
I stopped posting publicly, largely because of privacy concerns.

There doesn't seem to be any point in retrospectively hiding my back posts because the internet already has them archived.
crazyscot: Me at an outside broadcast (Default)
posted by [personal profile] crazyscot at 04:36pm on 27/10/2013 under

I played around with MTUs, which might have helped a little but there aren't many data points.

My current suspicion is that my own slightly wacky network setup may have been to blame.
  • I had been running two different IP nets on the same physical net.
  • Clients were allocated an address by DHCP (running on my server), server was DNS and gateway (amongst other things) to the second logical net. (My server has but a single ethernet interface.)
  • Only my server and the DSL modem were on the second logical net.
  • The DSL modem was itself running NAT.

So my desktop was behind double-NAT, which the internets (and my colleague Thomas) pointed out were likely to break many things. Having moved the DSL modem to be on the same part of RFC1918-space as the rest of the wired net, I have started using the DSL modem as a direct gateway for desktop clients - and it all works much better. I don't think I've had a single blackhole event since making the change a couple of days ago.

The only downside that I can see is that I no longer have the fine-grained firewall control that I enjoyed with iptables. Right?
crazyscot: Me at an outside broadcast (Default)
posted by [personal profile] crazyscot at 09:46am on 13/10/2013
[personal profile] rustica insists I propagate this link, so: Netflix win at customer service.
Almost makes me want to subscribe, but we can't get it here...
crazyscot: Me at an outside broadcast (Default)
posted by [personal profile] crazyscot at 10:19pm on 11/10/2013 under
OK, internets, help me out here, my google-fu is deserting me and possibly because I'm using the wrong terminology...

I have some regular weirdness with networking on my desktop PC at home. I regularly lose the ability to route packets to certain destinations. It tends to be the same destinations. For a long time it was feedproxy; now it's that and facebook. The interface remains up, and I can reach those destinations from the Linux PC that is the immediate router; just that those failing destinations seem to be blackholed on my desktop.

So it's obviously (?) entirely my machine at fault.

If I bounce the interface, it all works again. For a while, but it usually blackholes again soon.

It may be relevant that I am running the dreaded double NAT; once on my router/fileserver PC, and again on the DSL modem. I did briefly try to make the DSL modem not do NAT, but couldn't readily make it work. I suppose I ought to try again; and I could also try putting my PC outside the inner NAT to see if that makes a difference (though it wouldn't then be able to see the fileserver unless I reconfigured that *sigh*).

My googling did take me as far as a possible kernel bug to do with ARP caching and ICMP redirects and suggested echo 0 >/proc/sys/net/ipv4/conf/eth0/accept_redirects - but it hasn't helped. ip route list cache shows affected destinations as redirected, but I'm not entirely sure what that means or how I might prevent it. via dev eth0  src 
    cache   ipid 0xc125 rtt 206ms rttvar 67ms cwnd 10 from via dev eth0 
    cache   ipid 0xc125 rtt 206ms rttvar 67ms cwnd 10 is my desktop. is the DSL router.

Any ideas?
crazyscot: A large red sphere with many small coloured spheres orbiting it (planet weird)
posted by [personal profile] crazyscot at 07:57pm on 05/07/2013 under
Here in NZ, if you want to build a building, you need (amongst other things) Building Consent. It's pretty similar to the system of building regulations and building control surveyors in the UK - just that we have a more stringent Building Code owing to the, ah, more lively nature of the ground here. Like in the UK, they are administered at a local government level. The consent-issuing bodies are audited and accredited by International Auditing NZ, which provides a compliance and conformance oversight.

Here in Chch, there has been a storm brewing since a few weeks ago, when it emerged that the city council here were at risk of having their accreditation to issue building consents revoked. Local politics )
crazyscot: Me at an outside broadcast (Default)
posted by [personal profile] crazyscot at 08:38pm on 24/05/2013
I am quite a heavy Google Maps user. I got an invite to try the new Google Maps.

I found it completely unusable, at least on my home machine; the CPU pegged out at 100% constantly and whenever I moved, it took many seconds for the screen to update. Even typing into the feedback form took many seconds to show my keystrokes. Thankfully the email welcoming me to the preview program had a return-to-classic link that worked, taking me to a more useful (ordinary-web-based) feedback survey.

Possibly it's because I'm a Luddite with a five-year-old machine with an elderly graphics card, running Linux where the driver support is often lacking. But I am not really minded to spend $$$ upgrading when my current machine works perfectly adequately for my existing needs, TYVM.
crazyscot: Me at an outside broadcast (Default)
posted by [personal profile] crazyscot at 10:02pm on 06/03/2013
Has anybody heard of AstraZip, which appears to be some sort of Russian-language social network based in Belarus that scrapes and reposts public content from LJ (including mine), in what appears to be a blatant violation of copyright? If this post appears on AstraZip it will be there without my permission.
crazyscot: An empty beach scene, looking off-shore to infinity. (blank)
posted by [personal profile] crazyscot at 07:32pm on 22/02/2013
We remember a short few minutes
of sheer terror
of death, of destruction
Lives, like buildings-
rent asunder.

We remember the aftermath
tears, fires, and liquefaction.
Cordons, confusion,
the narrow escapes,
the fallen.

We remember everyone affected
the old, the young,
the foreign, the local,
the tall, the short,

We remember the heroes
the students, the farmies,
our friends from across
the world; the neighbours,
the strangers.

We remember broken homes -
long drops and portaloos,
tangled webs, and a long time
to closure.

We remember a city as it was
and will never be again.
Demolition, deconstruction,
our past turned
Into dust.

We are Christchurch.
We will rebuild.
We will be back
Better than ever!
crazyscot: Roadsign warning of kiwis (kiwi)
posted by [personal profile] crazyscot at 10:07pm on 16/02/2013 under ,
An eventful Saturday.

This morning I went to visit the electrical wholesalers, for the last couple of bits I need for tidying up the shed electrics, then to the PO box (nothing of import) and the supermarket.

This afternoon was scheduled for some of the last bits of the shed painting, until disaster struck: the kettle broke! OMG, oh noes, etc. The lid fixings had sheared, the upshot of which was that the lid wouldn't close, so the steam cut-off wouldn't operate. The priority of doing the painting was rapidly dwarfed by the need to have the ability to reliably summon hot drinks - especially as [personal profile] rustica's term starts on Monday - so we set off to the kettle mine (which looked suspiciously like Noel Leeming). The chap agreed it was a warranty failure and started working through the options... but as it was obsolete (bought 19 months ago), he couldn't authorise a replacement without talking to the service centre on Monday to see precisely which kettle he could replace it with.

48 hours without a kettle?!? In the words of a famous-in-NZ ad campaign, "Yeah, right." But he thought his manager (who was busy helping another customer) could authorise it. Thankfully he could and did, so we returned triumphant with a shiny metallic red kettle. (Somewhat alarmingly, it seems that Russell Hobbs are doing a whole line of brushed metal appliances in vivid colours.)

I observe that having bought a kettle in July 2011 with a tag price of $90, on which we got 50% discount because we were buying nearly $2k of other appliances at the time, we now have a brand new kettle (tag price $150) and a fresh two years warranty. I don't think I'll ever understand retail mark-up...

Melodrama averted, we set about the painting.

Afterwards I was noodling around on FB and one of those sponsored suggested pages (also known as ads) came up in my news feed. Crabbies Ginger Beer NZ. That got my attention. We used to love that stuff; got through a lot of it before emigrating but it wasn't available here.

Inside my head, Picard's voice declared a Red Alert and called for some scans to identify the source of the signature. Some searching revealed that Crabbies have been importing since November last year, and it's available nationwide in Liquorland (a chain of bottle shops).

Picard ordered an away team (of one) to go out in a shuttlecraft (which looked suspiciously like our car) to the asteroid (bottle shop) suspected to contain the precious dilithium ore. I tore out of the house, muttering cryptic mutterings to C, who was still working in the garden at the time.

The chaps in the bottle store were slightly surprised to see a punter walk in, look around, make a bee line for the Crabbies, then pick up an entire case of the stuff. (Seems it normally sells in single bottles.) They scratched their heads for a second over promotional pricing, then asked me for ID. That made my week :-D

When I got back I called [personal profile] rustica over and opened the boot. Her jaw dropped :)

But having responded to an ad (and how!), having demonstrated I am sliding into a certain target demographic - I feel a bit dirty now.


11 12