Turning an eInk screen into a monochrome art gallery

by @edent | , , , , , | 6 comments | Read ~5,138 times.

Previously on Terence Eden's Blog: I turned an old eReader into an Information Screen. This time, I'm taking a different Nook, and turning it into a magic gallery. Here's what it looks like in action: Upcycled an old eReader into an art frame.Displays a new black & white piece of art from Flickr every few…

Animated TreeMaps in R - the hard way

by @edent | , , , , | 1 comment

A treemap which show a volumetric view of data.

As I am a bear of very little brain, these are notes to myself on my slightly shonky process for creating animated TreeMaps in R. The aim is to end up with something like this: Generate the images Getting the data is left as an exercise for the reader (sorry!). This loops through the data…

Quick and Dirty Self-Hosted Alexa Skills (2019)

by @edent | , , , , , | 3 comments | Read ~1,188 times.

I hate creating Alexa skills. What should be a 3-click process inevitably ends up requiring trips to multiple websites, to set up weird parameters, and reading outdated tutorials for obsolete libraries. So this is how to create a self-hosted Skill, using PHP. It runs on your own server and doesn't require any interaction. The Skill…

Adjusting timestamps on images with Python

by @edent | , , , , | Read ~2,419 times.

A cute penguin.

As ever, mostly notes to myself. I have a bunch of old images which don't have any timestamp associated with them. This quick Python script will add a DateTime EXIF metadata tag to an image. This uses piexif which can be installed using pip install piexif This simple script reads a photo, adds a timestamp,…

Easy Tutorial For Getting Twitter Friends Using Python & Tweepy

by @edent | , , , | 1 comment | Read ~3,562 times.

Here's a very simple introduction to getting started with Tweepy - a Python program which lets you access Twitter. This will work on small computers like the Raspberry Pi. Everything here takes place in the Terminal on the Command Line. This should work on Windows and Mac - but I'm using Linux. Get Python Open…

Sort Folders Into Alphabetic Sub-Folders

by @edent | , , , | 1 comment | Read ~936 times.

Scratching my own itch. I have a bunch of directories which I want moved into alphabetic sub-directories. This is handy is you have a bunch of MP3s, books, or other catalogued files. This bash script moves a top level directory (and all the files and subdirectories under it), to a folder based on the (upper-case)…

Replacing IFTTT - Part 1: RSS & Tumblr

by @edent | , , , | 5 comments | Read ~530 times.

I've grown to loath IFTTT. What started out as a cool way to plug internet things together has being an opaque an uncommunicative company with no real interest in customer service. That's not surprising, I suppose, its paying customers are the companies who can't be bothered to develop a proper API and so just shove…

Converting RAR to ZIP in Linux

by @edent | , , , | 5 comments | Read ~8,102 times.

As ever, mostly notes to myself. RAR is a silly and proprietary format. I prefer free software and I find that ZIP files are smaller and decompress faster. Not everyone agrees, and that's fine. Assuming you've downloaded a RAR file and want to convert it to ZIP, what's the easiest way? Install P7Zip sudo apt-get…

Easy ways to add watermarks to images and videos in Linux

by @edent | , , | 1 comment | Read ~6,844 times.

Mostly notes to myself 🙂 Here is a quick way to add watermarks to photos and videos. All Linux command line based - so perfect if you've got a lot of images you want to manipulate. Here is a delightful photo I've taken of a bee covered in pollen. I want to add a little…

Reducing the filesize of complex 3D .OBJ models

by @edent | , , | Read ~10,398 times.

Loading large 3D Models in the browser is extremely resource intensive. 2D images are trivial to resize and resample with negligible loss of perceived quality. 3D resizing is complex. As part of my "Pirate Museum" I wanted to display 3D scans of statues using WebVR. The only problem is, these files are huge. Take The…