Skip to main content

Visual/spatial logic on Squid & on children

The Problem

I ran across an example of visual/spatial perception today which fell into place when I thought about how I’d arrived at a conclusion which happened to use it.

Customer was using Squid at a remote office to interact with intranet work pages served by Apache from a central machine.

Clients were sometimes getting good results, sometimes getting part-pages, occasionally getting nothing.

This did not “feel” right for either Squid or Apache, either of which tends to die fairly obviously, with an error page or a log entry, or both.

So I asked a simple question: did the internet pages get fetched over the VPN (OpenVPN) or directly? Through the VPN. Hmmm.

Careful scanning of the VPN config files revealed that it was using ping & ping-restart to keep the link alive. The ping time had been set to 280 seconds, which is right for not hammering the NAT/Masquerading on a router, which is often set to timeout at 5 minutes (300 seconds). The ping-restart time, however, was much less, at 120 seconds.

This meant that the link would be shut down & rebuilt about every 6 minutes, which syslog showed was happening. Setting them to 230 & 280 then restarting the openvpn service resulted in steady operation.

The lesson?

Thinking about the process visually/spatially (wholistically), rather than in terms of the operations of individual components, had yielded an effectively instantaneous solution. Customer had spent days approaching it from an auditory/sequential perspective & is definitely not a dumb bunny.

The children

I know a young lad & his sister who think like that, with an even younger brother who hasn’t yet had to show his stripes — but odds are strong that he will think alike too. In fact, I’m willing to bet that the youngest also has an emotive cognate like his sister & a niece of mine (niece can walk through a room in seconds & then tell you how the people in it are feeling, how they’re related to each other, etc).

I really do hope to get an opportunity to work with these young geniuses to find out how to actually use this talent rather than ignoring it, letting it be buried under the mundanity of a school which clearly does not understand how these yungun’s actually work.

Comments

Popular posts from this blog

new life for an old (FTX) PSU, improved life for one human

the LEDs on this 5m strip happen to emit light centred on a red that does unexpectedly helpful things to (and surprisingly deeply within) a human routinely exposed to it. it has been soldered to a Molex connector, plugged into a TFX power supply from a (retired: the MoBo is cactus) Small Form Factor PC, the assorted PSU connectors (and loose end from the strip) have been taped over. the LED strip cost $10.24 including postage, the rest cost $0, the PSU is running at 12½% of capacity, consumes less power than a laptop plug-pack despite running a fan. trial runs begin today.

every-application-is-part-of-a-toolkit at work

I have a LibreOffice Impress slideshow that I wish to turn into a narrated video. 1. export the slideshow as PNG images (if that is partially broken — as at now — at higher resolutions, Export Directly as PDF then use ‘pdftoppm’ (from the poppler-utils package) to do the same). 2. write a small C program (63 lines including comments) to display those images one at a time, writing a config file entry for Imagination (default transition: ‘cross fade’) based on when the image-viewer application (‘display,’ from the GraphicsMagick suite) is closed on each one; run that, read each image aloud, then close each image in turn. 3. run ‘Imagination’ over the config file to produce a silent MP4 video with the correct timings. 4. run ‘Audacity’ to record speech while using ‘SMPlayer’ to display the silent video, then export that recording as a WAV file. 4a. optionally, use ‘TiMIDIty’ to convert a non-copyright-encumbered MIDI tune to WAV, then import that and blend it with the speech (as a quiet b...

boundaries

pushing the actual boundaries of the physical (not extremes, the boundaries themselves) can often remove barriers not otherwise perceived. one can then often resolve an issue itself, rather than merely stonewalling at the physical consequences of the issue.