Polynomial Interpolation (Lagrange Interpolation) with Vandermonde Matrix - Matlab / GNU Octave Code

May 16, 2017

A quick but ill-conditioned way to compute a Lagrange polynomial interpolation…

Tags: math, matlab, octave

Announcing exiftool.el

Mar 02, 2017

This is to announce the release of exiftool.el, an emacs lisp wrapper around ExifTool. ExifTool is a command line application supporting reading and writing metadata in various formats including EXIF, XMP and IPTC.

Tags: software, project, freesoftware

Finding a puncture without water on the road

Dec 07, 2016

When you are out on the road and don't have access to water, you can identify punctures by putting them on sandy ground and look for the dust being blown away by the air leaking out.

Tags: cycling

Black body energy as a sum of photon oscillator energies

Nov 01, 2016

This is a graph I made for contributing to Wikipedia. It shows the energy of a black body as the sum of energies from oscillators with 1 photon, 2 photons, 3 photons, etc.

Tags: physics, gnuplot, software

Reading "Manufacturing Consent"

Oct 26, 2016

Two weeks ago, on October 15, in one of Concern 's reading sessions, we read the first chapter of Manufacturing Consent by Edward Herman and Noam Chomsky . The book describes a propaganda model that describes how the mass media are not objective but rather publish news favourable to the government and the ruling elite. This is a short summary of the five filters of the propaganda model developed in the book.

Tags: politics

FSFTN Camp 2016 Tiruchi

Oct 10, 2016

I attended the FSFTN Camp held from September 30 to October 2. This is an account of my experience there.

Tags: freesoftware, fsftn, tiruchi

User script to remove noscript mask on ebay

Aug 30, 2016

A greasemonkey user script that removes the noscript mask on ebay and lets the user browse ebay without enabling javascript…

Tags: javascript, software, greasemonkey

Elegant bash one liner to generate passphrase

Jul 27, 2016

An elegant bash one liner to generate a passphrase – shuf from coreutils is the secret ingredient.

Tags: software, bash

IISc makes Aadhaar mandatory for admission

Jul 25, 2016

IISc has made Aadhaar mandatory for new admissions this term. This comes as yet another violation of the Supreme Court ruling making Aadhaar purely voluntary – only this time so close to home.

Tags: aadhaar, privacy, iisc

A simple passphrase generator in bash

Jul 20, 2016

Yet another passphrase generator, this time one in bash…

Tags: project, software, bash

NASA Astronomy Picture of the Day bot for GNU Social

Jun 11, 2016

A bash script, run periodically by a cron job, to post the day's NASA Astronomy Picture of the Day to GNU Social. The script uses GNU Social's Twitter compatible API to publish notices.

Tags: gnusocial, astronomy, project, software, bash

fold and stream-fold pass arguments to proc in different orders

Mar 24, 2016

SRFI-1 fold and SRFI-41 stream-fold pass arguments to proc in different orders. Violating the principle of least astonishment, this comes as a rather inconvenient surprise to the programmer.

Tags: lisp, scheme, functionalprogramming, software