What developers
can learn from
Russian space failures

Andrey Sitnik, Evil Martians

The creator of

Autoprefixer

PostCSS

Browserslist

Wikipedia and space are my passions

Space industry sometimes looks like IT

Every country makes mistakes

Story 1

1968

New Soviet spaceship, Soyuz

Like

DHTML

jQuery

React

To the Moon: direct vs. two ships

Two ships flight requires docking

Soyuz 2 & Soyuz 3 docking test

Pilots

Soviet Robot (Soyuz 2)

Georgy Beregovoy (Soyuz 3)

Docking

Error

ERROR

Next try

Error again

ERROR

Landing without success

Why?

The spaceship was upside down

What did they do with him?

Changed docking instructions

  • Dock only on the solar side of the orbit
  • Give time for acclimatization

Lesson 1

There is no such thing as stupid users.

There is only bad UI.

PostCSS has special checks for popular mistakes

} else if ( typeof i === 'object' && (i.parse || i.stringify) ) {
    throw new Error('PostCSS syntaxes cannot be used as plugins. ' +
                    'Instead, please use one of the ' +
                    'syntax/parser/stringifier options as ' +
                    'outlined in your PostCSS ' +
                    'runner documentation.');
if ( e.name === 'CssSyntaxError' && opts && opts.from ) {
    if ( /\.scss$/i.test(opts.from) ) {
        e.message += '\nYou tried to parse SCSS with ' +
                     'the standard CSS parser; ' +
                     'try again with the postcss-scss parser';

Story 2

1969

Start in Soyuz 4, land in Soyuz 5

Boris Volynov

Boris Volynov should land alone

Boris Volynov

Soyuz spaceship

Separation before landing

Soyuz 5 separation

Thermal shield

Hatch was in the front during re-entry

What will you do?

Blame USSR

Blame engineers

Pray to God

He recorded every detail of separation

Luckily, second connection was melted

He landed successfully

Lesson 2

Always report about issues.

Even if it was a documentation issue.

My favorite type of PRs to PostCSS

Story 3

1997

Mir space station

Mir was the first modular space station

Every module is an independent spaceship

Modules could even change the position

1990

1995

Like multicellular organism

Modules and ships dock automatically

Mir crew

Vasili Tsibliyev
Aleksandr Lazutkin
Michael Foale

Automatic docking system was made in Ukraine

Remote control to replace Ukranian system

Commands

Video

Like

Radar interfered with the video

Like

— Radar interfered with the video
Switch it off

— Changes broke test
Switch off tests

The result

The result

Decompression

Cut cables, close hatch

They lost power

40 % of solar panels

Not the best day

Like

Module was decompressed until Mir deorbit

Lesson 3

Let the Robots do the work.
Robots must suffer.

yaspeller: robot for spelling check

$ yaspeller /home/ai/Dev/postcss/README.md
✗ /home/ai/Dev/postcss/README.md 453 ms
-----
Typos: 1
1. transorming (suggest: transforming, transporting)
-----

Size Limit: robot to check JS library size

Contacts

What developers can learn from Russian space program failures

By Andrey Sitnik

What developers can learn from Russian space program failures

  • 2,973
Loading comments...

More from Andrey Sitnik