profile
viewpoint
Leon Brocard acme Fastly London, UK http://www.astray.com/ Orange HTTP Hacker. Senior Solutions Architect at Fastly.

acme/cpan-mini-webserver 18

Search and browse Mini CPAN

acme/bouncy 5

Playing with SDL

acme/dackup 5

Back up

acme/catalyst-plugin-simpleauth 3

Simple authentication for Catalyst

acme/bisect-perl-using-git 2

Help you to bisect Perl

acme/catalyst-plugin-cookiedsession 2

Store sessions in a browser cookie

acme/cpan-mini-live 2

CPAN::Mini::Live - Keep a live CPAN

acme/data-page 2

Help when paging through sets of results

acme/data-uuid-base64urlsafe 2

URL-safe UUIDs

acme/digest-md5-file-cached 2

Caching MD5 sums for files

issue openedfastly/cli

Populate package name in Cargo.toml

Version

Fastly CLI version 0.16.1 (b12ad86)

What happened

It’d be super nice if fastly compute init could populate the package name in Cargo.toml when starting from the template.

❯ mkdir codename-moonshot
❯ cd codename-moonshot
❯ fastly compute init
This utility will walk you through creating a Compute@Edge project. It only covers the
most common items, and tries to guess sensible defaults.

Press ^C at any time to quit.

Name: [codename-moonshot] 
...
[1] Starter kit (https://github.com/fastly/fastly-template-rust-default.git)
Choose option or type URL: [1] 
...
❯ grep name Cargo.toml
name = "fastly-template-rust-default"

I would expect the name to be codename-moonshot.

created time in 13 days

issue openedpublichealthengland/coronavirus-dashboard

Invalid cache-control headers in v2

https://coronavirus-staging.data.gov.uk/ loads some assets which have invalid cache-control headers:

❯ curl -sI https://c19pubstaging.azureedge.net/assets/dispatch/website_timestamp | grep -i cache-control
cache-control: no-cache, max-age=0no-cache, max-age=0, stale-while-revalidate=300
❯ curl -sI https://c19pubstaging.azureedge.net/assets/structural_layouts/UKSummary.json | grep -i cache-control
cache-control: no-cache, max-age=0, stale-while-revalidate=300no-cache, max-age=0, stale-while-revalidate=300

Perhaps something along the way is concatenating to that header rather than replacing it?

created time in 3 months

issue openedpublichealthengland/coronavirus-dashboard

Don't mix up patients in hospital days

https://coronavirus-staging.data.gov.uk/about-data#patients-in-hospital says:

Due to the way Northern Ireland report, the UK figure is calculated by taking the most recent day for Great Britain plus the previous day for Northern Ireland.

The data for different days should not be added up and shown on the same day.

created time in 3 months

more