Category Archives: Computers

Hardware, Linux, Programming

Getting started with #snobol – a programming curiousity

Snobol is a computer language from the 60’s with some intriguing pattern-matching factilities. It was designed originally for the symbolic manipulation of polynomials. At first glance it looks like an “esoteric programming language” – a fun but useless language – … Continue reading

Posted in Computers | Leave a comment

A lesson in data file formats

I have written a number of accounting packages in the languages C, Go, Haskell Python, Tcl (non-working), and C++. My C, Go, Python and Tcl efforts have been lost in the mists of time. I write my input data in … Continue reading

Posted in Computers | Tagged , | 1 Comment

#cinelerra-cv: navigating the codec maze

Bottom line up front Use DV files for importing and exporting to/from Cinelerra, transcoding with ffmpeg where necessary. MP3 files are good for sound-only tracks. Other formats are often problematical, and you’ll save yourself a lot of grief if you … Continue reading

Posted in Computers | Tagged , | Leave a comment

coprocesses in bash using dc as an example

Coprocesses are a feature of bash which allow you to communicate with the stdin and stdout of a subprocess. I illustrate this by having a bash script to interact with “dc”, the arbitrary precision calculator, to sum up a sequence … Continue reading

Posted in Computers, Uncategorized | Tagged , , | Leave a comment

A newbie Haskeller revisits Rust

Back in March, I did a comparison between old and new progamming languages. I was very new to Haskell, and knew nothing about Rust. Since then: Haskell has replaced Python as my “go to” language of choice, although for data … Continue reading

Posted in Computers | Tagged , | Leave a comment

#sourceforge – the beginning of the end?

I’ve had problems looking at Sourceforge projects. There were some sit-related problems earlier this month, but they had ostenbily been cleared up. The problems seem to have arisen again, though. The official problem has been stated on Jul 17: #SourceForge … Continue reading

Posted in Computers | Leave a comment

Bash script for selecting tmux session

Problem You want to list and select from several available tmux sessions Solution If necessary, install iselect: sudo apt-get install iselect Create an executable script called tsel: #!/usr/bin/env bash CHOICE=`tmux ls | iselect -a` [[ ${#CHOICE} == 0 ]] && … Continue reading

Posted in Computers | Tagged , , , , | Leave a comment