Amazon AWS

  • Amazon AWS,  Technology

    Speech to Text Accuracy

    I wanted to test the relative accuracy of various speech to text engines. I tested Line 1, Amazon, Deepgram and Google. All vastly exceeded my expectations. Here is my original text. I tried doing a normal speaking voice. I left myself a voicemail and used the resulting recording as the basis for the other tests, so all tests were from the same file: "The quick brown fox jumps over the lazy dog. Fourscore and seven years ago our fathers brought forth, on this continent, a new nation, conceived in liberty, and dedicated to the proposition that all men are created equal. His palms are sweaty, knees weak, arms are heavy…

  • Amazon AWS,  Technology

    Remove Bitnami Logo in Amazon Lightsail

    Amazon Lightsail is their new low-volume Web hosting environment.  One of the options for Lightsail is to launch with WordPress.  This site is on Lightsail with WordPress in an Linux environment. When you first launch a WWW Site, you get a “Bitnami” logo on the bottom right corner of every page.  This is convenient at first to allow you as the site administrator to log in to your new WWW site to make posts like this.  However, once you get the swing of things, that logo is a blight on your otherwise lovely WWW Site. Luckily, it’s very easy to remove the logo. Log into AWS and into the Lightsail…

  • Amazon AWS

    Amazon Lambda – E-mail via SNS the URL of an S3 file when created

    I threw together the following Lambda function to send an e-mail via SNS (Amazon’s Simple Notification Service) whenever a file is created in S3 (Amazon’s Simple Storage Service.)  Yes, it’s barely commented and overly loggy, but you get the idea:   'use strict'; console.log('Loading function'); const aws = require('aws-sdk'); const s3 = new aws.S3({ apiVersion: '2006-03-01' }); exports.handler = (event, context, callback) => { //console.log('Received event:', JSON.stringify(event, null, 2)); // Get the object from the event and show its content type const bucket = event.Records[0]; const key = decodeURIComponent(event.Records[0].s3.object.key.replace(/\+/g, ' ')); const params = { Bucket: bucket, Key: key, }; s3.getObject(params, (err, data) => { if (err) { console.log(err); const…