Skip to main content

A piece offering

Over the years, I’ve quasi-specialised in doing stuff other computer people baulk at...

Today’s more-of-the-same is taking a specific application, written (in gcc at least) on SCO Unix hard-coded (at the printf("\33[%d;%dH",row,col); level) for a particular VT-100B terminal clone’s terminal I/O, printing (hard-coded formatting) to a particular brand & model of dot-matrix impact printer via a specific hard-coded printer device, porting to Linux [basics done, including use of lpr in place of a hard-coded output device, works under Karmic Koala Kubuntu or Mandriva 2010.0], transmogrifying the terminal interface to something systematic wrapped in ncurses (with a view to wrapping it in something more GUI later) [work-in-progress], feeding all printer output through a to-PDF converter (probably via a to-PostScript converter) [work-in-progress] thus enabling use of any printer which can leave recognisable stuff on A4 (or Letter) paper plus emission of PDFs for emailing rather than impact-print-plus-snail-mail (which is the only current option for remote delivery), re-engineering the underlying db from C structs written to flat files with little-if-any indexing into something SQL-based (it’s simple enough that a PostgreSQL/MySQL interface should only involve a tiny portion of glue-logic, mostly in setup/knockdown) so enabling relatively transparent adaptation of generic reporting systems plus maybe a web interface for the basics.

This might result in an actual income again, at which point the committee of vultures (yes, that’s the correct group-collective noun) currently present may dissipate or become subject to a thorough beating off.

The final product will be international (ANZ, at least), portable, comprehensible, all manner of other good things, the key underlying features are “saleable/lessable by the current owners to other businesses in their trade” & “remotely manageable.”

Comments

Popular posts from this blog

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

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.

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.