I gotta go with Gilles here. Can't expect people to figure out how to load
a container! Gotta be a service.

The recent left pad debacle in Node.js offers sage lessons:

http://left-pad.io/

"8 d'b o 8 o

8         8     8                           8
8 .oPYo. o8P   o8P       .oPYo. .oPYo. .oPYo8    o8 .oPYo.
8 8oooo8  8     8  ooooo 8    8 .oooo8 8    8     8 8    8
8 8.      8     8        8    8 8    8 8    8     8 8    8
8 `Yooo'  8     8        8YooP' `YooP8 `YooP' 88  8 `YooP'
..:.....::..::::..:::::::8 ....::.....::.....:..::..:.....:
:::::::::::::::::::::::::8 ::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::..::::::::::::::::::::::::::::::::

Welcome to left-pad.io!

## History

On March 22nd 2016, a terrible tragedy befell the Node.JS community. A
popular
microframework for robust string expansion, `left-pad`, was removed from
npmjs.com <https://github.com/azer/left-pad/issues/4>.

This resulted in broken deploys worldwide, a sudden and complete inability to
appropriately zero-pad the fractional real cent value of many stock options,
and untold billions of dollars in economic damage to the still nascent
startup
ecosystem of String Manipulation as a Service.

## A microservice saviour appears

In order to prevent such a terrible tragedy from occurring ever again during
our lifetimes, `left-pad.io` has been created to provide all the
functionality
of `left-pad` AND the overhead of a TLS handshake and an HTTP request.

Less code is better code, leave the heavy lifting to `left-pad.io`, The
String
Experts™.

## How do I make use of left-pad.io?

Simple! Just make a request to `https://api.left-pad.io`:

```
$ curl 'https://api.left-pad.io/?str=paddin%27%20oswalt&len=68&ch=@'
{"str":"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@paddin'
oswalt"}
```

The query parameter names `str`, `len`, and `ch` match the argument names of
our fallen comrade in left-stringist thought, `leftpad()`. May the Developer
Happiness achieved forever commemorate its sacrifice.

`left-pad.io` is 100% REST-compliant as defined by some guy on Hacker News
with
maximal opinions and minimal evidence.

## Are there any limits?

Padding and the input string are limited to 1024 characters in the free
version, because we have to monetize to have enough runway to launch
`right-pad.io` in Q3 2017.

## Can I buy an enterprise license?

Yes. Email r...@left-pad.io with your account and ABA routing numbers.

## Who?

2016 JavaScript Hero candidate @gabrielgironda
<https://twitter.com/gabrielgironda>."


On Fri, Mar 25, 2016 at 8:24 AM, Bob Beck <b...@openbsd.org> wrote:

> Now now, we can be more hipster than that.. a docker image that runs
> the man command for you after downloading
> all the openbsd man pages as a dependency - you can just deploy it
> automatically with vagrant and run it in AWS.. etc.
>
> After all, isn't there no simple command that can't be made better by
> installing an os image someone else built to run?
>
>
>
>
> On Fri, Mar 25, 2016 at 8:45 AM, Ingo Schwarze <schwa...@usta.de> wrote:
> > Hi Gilles,
> >
> > Gilles Chehade wrote on Fri, Mar 25, 2016 at 03:34:02PM +0100:
> >
> >> maybe we could provide MaaS (man as a service, copyright eric@)
> >>
> >> if user issues `man` and the man page is not found locally, man
> >> would transparently ssh to gu...@man.openbsd.org ?
> >
> > Hilarious on so many levels...  :-D
> >   Ingo

Reply via email to